aspose file tools*
The moose likes Object Relational Mapping and the fly likes Hibernate  null pointer exception help? Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Databases » Object Relational Mapping
Bookmark "Hibernate  null pointer exception help?" Watch "Hibernate  null pointer exception help?" New topic
Author

Hibernate null pointer exception help?

Kaustubh G Sharma
Ranch Hand

Joined: May 13, 2010
Posts: 1270

Node to traverse can not be null

getting this in hibernate's one of table home file.

help me out

thanks
kaustubh


No Kaustubh No Fun, Know Kaustubh Know Fun..
Paul Sturrock
Bartender

Joined: Apr 14, 2004
Posts: 10336

If you provide more detail we can help. There is not much anyone can suggest based on the information you've supplied so far.


JavaRanch FAQ HowToAskQuestionsOnJavaRanch
Kaustubh G Sharma
Ranch Hand

Joined: May 13, 2010
Posts: 1270

I am getting this error from table's home file where I am executing one query. There is something wrong in the query but I didn't forget it out.
Paul Sturrock
Bartender

Joined: Apr 14, 2004
Posts: 10336

There is still too little detail in your question to help. Please have a read of this.
Kaustubh G Sharma
Ranch Hand

Joined: May 13, 2010
Posts: 1270

Paul Sturrock
Bartender

Joined: Apr 14, 2004
Posts: 10336

That looks like a SQL Query to me (since HQL doesn't support unions). Perhaps you could show us how you are running it?
Kaustubh G Sharma
Ranch Hand

Joined: May 13, 2010
Posts: 1270

Hey Paul I made some changes in sql query and now everything is working fine thanks for your suggestion It works for me...

Kaustubh
 
It is sorta covered in the JavaRanch Style Guide.
 
subject: Hibernate null pointer exception help?