Originally posted by Isomorphic
View Post
In your log, before the NumberFormatException, when we attempt to call getParentDomainId() there is a NullPointerException. That appears to be the root cause so you should see why your getter would crash.
So is it possible that the "int/long" type processing for ids don't handle nulls very well? That would seem to be my experience. It would seem the only way to work around that is to treat the domainParentId as junk (where nulls seem to be tolerated, but it would seem to be relying on some unreliable behavior) or use root id of 0 or some other reserved Id and then hack up my getDomainParent and related accessors such that they treat a domainParentId as null.
I'll try to rework using 0 and hack up my accessors, but I'll have to go back to our original database schema and change things from expecting null column values for that field.
Comment