Bugs item #520655, was opened at 2002-02-20 13:27 You can respond by visiting: http://sourceforge.net/tracker/?func=detail&atid=376685&aid=520655&group_id=22866
Category: JBossCMP Group: v3.0 Rabbit Hole Status: Open Resolution: None Priority: 5 Submitted By: Jason Robertson (jrslim) Assigned to: Nobody/Anonymous (nobody) Summary: Trans-Attrib 'Supports' Fails in Entity Initial Comment: I have an entity bean that I labeled with: <trans-attribute>Supports</trans-attribute> When I access the bean from a test case (and thus there is no transaction), I get a NullPointerException in JDBCStoreManager.getApplicationTxDataMap(). This is happening because the first thing that happens in this function is this call: Transaction tx = tm.getTransaction() which returns null. A moment later, because there is no existing map, this line is executed: tx.registerSynchronization(synch); and that's all she wrote. I'd submit a patch, but I don't have any clue how anything outside this method works! :) Changing the trans-attribute to Requires is a work around. ---------------------------------------------------------------------- You can respond by visiting: http://sourceforge.net/tracker/?func=detail&atid=376685&aid=520655&group_id=22866 _______________________________________________ Jboss-development mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-development
