Brad Maxwell created AS7-6069:
---------------------------------
Summary: EAP 6.0.0 - EJB2 entity bean CMP collection toArray throws NPE
Key: AS7-6069
URL:
https://issues.jboss.org/browse/AS7-6069
Project: Application Server 7
Issue Type: Bug
Components: EJB
Affects Versions: 7.1.1.Final, 7.1.3.Final (EAP)
Environment: MAC OSX, Java7
Reporter: Brad Maxwell
Assignee: Pieter Bos
Fix For: 7.2.0.Alpha1, 7.1.4.Final (EAP)
From an EJB2 entity bean that has a CMP collection of entities,
calling toArray() on the CMP collection throws NullPointerException
Caused by: java.lang.NullPointerException
at org.jboss.as.cmp.jdbc.bridge.RelationSet.toArray(RelationSet.java:291)
[jboss-as-cmp-7.1.1.Final.jar:7.1.1.Final]
Normal iteration thru the collection using the iterator works as expected.
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see:
http://www.atlassian.com/software/jira