That's often caused by having a NULL in a database column that's mapped to
a primitive type (int, long). Either make the field NOT NULL in the
database or change the type of the ejb field to a wrapper class (Integer,
Long)



On Wed, 4 Apr 2001, fractals wrote:

> Hi,
> 
> I dunno understand this error (must be VERY common, I know):
> 
> TRANSACTION ROLLBACK EXCEPTION: Load failed; nested exception is:
> 
>     java.lang.NullPointerException; nested exception is:
>     java.rmi.ServerException: Load failed; nested exception is:
>     java.lang.NullPointerException
> jaava.rmi.ServerException: Load Failed: 
> ...
>     at java.lang.reflect.Field.set (Native Method)
>     at org.jboss.ejb.plugins.jaws.jdbc.JDBCCommand.setCMPFieldValue
> 
> This appears when I call some finder method on some entity bean...
> 
> Please help !
> 
> Thanks in advance,
> 
> Candide Kemmler
> 
> 
> _______________________________________________
> JBoss-user mailing list
> [EMAIL PROTECTED]
> http://lists.sourceforge.net/lists/listinfo/jboss-user
> 

-- 
Dan Christopherson (danch) 
nVisia Technical Architect (www.nvisia.com)

Opinions expressed are mine and do not neccessarily reflect any 
position or opinion of nVISIA.

---------------------------------------------------------------------------
If you're a capitalist and you have the best goods and they're 
free, you don't have to proselytize, you just have to wait.
-Eben Moglen


_______________________________________________
JBoss-user mailing list
[EMAIL PROTECTED]
http://lists.sourceforge.net/lists/listinfo/jboss-user

Reply via email to