-
1. Re: NullPointerException on LocalHomeProxy.invoke(...)
steffenboehme Jul 22, 2003 4:04 AM (in response to steffenboehme)Hurra ... i have found the solution ...
for them, how are interested:
i have used the local interfaces to create a entity from remote ... so there came the exception ... is realy simply, isn't it :-)
maybe it helps someone other ...
Steffen -
2. Re: NullPointerException on LocalHomeProxy.invoke(...)
brice Aug 7, 2003 11:01 AM (in response to steffenboehme)Hi,
I'm just having the same error. I could deploy an Entity Bean. But when it comes to execute the "create" or "findByPrimaryKey" method, a NullPointerException is raised. Can you please explain how you figured out this problem.
Thanks,
Brice -
3. Re: NullPointerException on LocalHomeProxy.invoke(...)
vijay_radha Aug 15, 2003 10:45 PM (in response to steffenboehme)Hi,
Check your implementation class. Especially the ejbLoad ()'s implementation, if you are using DAO pattern then check the load() method implementation in your DAO implememtation class.
Remove the trim() function from the value passing method to the Query(i.e, pstmt.setXXX(n, pk.getXXX().trim()*))and try now!
I faced this problem, now it's working fine.
Hope that it may helps to get different ideas to sovle the problem.
Vijay