I am facing a new kind of error in my EntityBean.
Please suggest me the solution if any one of you have faced the same problem.
Thanks in advance.
I created a EntityBean and deployed it in the Jboss server.
And I tried to connect it with a client program.But I am facing a problem,which I have never faced before:
Exception in thread "main" java.lang.NullPointerException
at $Proxy0.findByPrimaryKey(Unknown Source)
And my client Program is:
Not only for the findByPrimaryKey method,I am getting the error.For All the methods including user defined methods ,I am getting the same error.
Please suggest me the solution.
Thanks in Advance.