node to traverse cannot be null! - problem with a simple one to many query
Joined: Aug 16, 2012
I had 2 tables set up without any relationship specified in the objects and the query worked fine. I changed the objects to specify the one to many relationship and now I get the error "node to traverse cannot be null!".
Here is a snippet of the domain objects:
These are two methods from the DAO. The first method is the one that worked fine before adding the one to many relationship.
The DAO methods are actually being called from a JUnittest. I wouldn't think that would be a problem though.
I'm guessing that I have something wrong in my domain classes. Any ideas?
Thank you for your time.
Joined: Oct 01, 2007
Please include the full exception and stack trace.