-
Task
-
Resolution: Done
-
Major
-
JBossAS-4.0.5.GA, JBossAS-5.0.0.Beta1, JBossAS-4.2.0.CR1
-
None
java.lang.NullPointerException
at org.jboss.ejb.plugins.cmp.jdbc2.bridge.JDBCCMRFieldBridge2$CollectionValuedFieldState.loadOnlyFromCache(JDBCCMRFieldBridge2.java:1085)
was caused by calling size() on a CMR collection w/o a transaction. It would be better to throw an exception with a message explaining the problem.