File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/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


Win a copy of Java 8 in Action this week in the Java 8 forum!
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: 1268

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: 1268

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: 1268

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: 1268

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

Kaustubh
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Hibernate null pointer exception help?
 
Similar Threads
Array Problems
Paths
Set Chained OFF error while executing from my Bean
Symbol cannot be solved
Invalidating a valid session in jsp