Bugs item #504246, was opened at 2002-01-15 23:52
You can respond by visiting:
http://sourceforge.net/tracker/?func=detail&atid=376685&aid=504246&group_id=22866
Category: JBossCMP
Group: v2.4 (stable)
Status: Open
Resolution: None
Priority: 5
Submitted By: Alexei Yudichev (sflexus)
Assigned to: Nobody/Anonymous (nobody)
Summary: NULL and CMP field of primitive type
Initial Comment:
While loading entity in the case of CMP field of
prvitive type and corresponding NULL database value
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.setCMPField
Value(JDBCCommand.jav
a:651)
at
org.jboss.ejb.plugins.jaws.jdbc.JDBCLoadEntityCommand.l
oadOneEntity(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".
----------------------------------------------------------------------
You can respond by visiting:
http://sourceforge.net/tracker/?func=detail&atid=376685&aid=504246&group_id=22866
_______________________________________________
Jboss-development mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-development