Can you put this in the bug database?  I've been meaning to fix this for
awhile.  I've run into this "2 hours wasted" problem as well and fixed it on
my last project but never checked it into CVS.

> -----Original Message-----
> From: [EMAIL PROTECTED]
> [mailto:[EMAIL PROTECTED]]On
> Behalf Of Alexey Yudichev
> Sent: Tuesday, January 15, 2002 10:03 AM
> To: [EMAIL PROTECTED]
> Subject: [JBoss-dev] jboss 2.4.4: CMP field of primitive type
> and NULL database value
>
>
>   While loading entity in the case of SUBJ
> java.lang.reflect.Field.set()
> throws NullPointerException like this:
>
> java.lang.NullPointerException
>         at java.lang.reflect.Field.set(Native Method)
>         at
> org.jboss.ejb.plugins.jaws.jdbc.JDBCCommand.setCMPFieldValue(J
> DBCCommand.jav
> a:651)
>         at
> org.jboss.ejb.plugins.jaws.jdbc.JDBCLoadEntityCommand.loadOneE
> ntity(JDBCLoad
> EntityCommand.java:217)
>
> ...
>
>   I suppose it should be wrapped by more informative
> exception with the
> message like "cannot set the value CMP field of primitive
> type to NULL".
>
>   I spent 2 hours today finding the cause :)
>
> Best wishes,
>   Alexei Yudichev   mailto:[EMAIL PROTECTED]
>
> _______________________________________________
> Jboss-development mailing list
> [EMAIL PROTECTED]
> https://lists.sourceforge.net/lists/listinfo/jboss-development


_______________________________________________
Jboss-development mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-development

Reply via email to