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(JDBCCommand.jav
a:651)
        at
org.jboss.ejb.plugins.jaws.jdbc.JDBCLoadEntityCommand.loadOneEntity(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

Reply via email to