Its impossible to say without seeing the exception message. Its very difficult to say without seeing the code that generates the exception too. Perhaps you could post both?
I'm executing a hibernate code inside a servlet, but it throws a null pointer exception. What is usually the error with this?
Nullpointer happens to you,if you call any method on object that is null
thats the best answer any one can give,with kind of information you have provided
-P
All desirable things in life are either illegal, banned, expensive or married to someone else !!!
pascal betz
Ranch Hand
Joined: Jun 19, 2001
Posts: 547
posted
0
almost enough information... now we know the problem (NPE) the only things that we need now is hibernate config files, source code and stacktrace.
sorry... i just wonder .... how can anyone who is working with advanced java think that someone can tell the problem by naming the most common java exception ?