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 ...
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.
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.