Hi,

This looks a lot better with the CVS sources of today.
I had another NPE, but with the fix below my test now
passes.


Best Regards,

Ole Husgaard.
------------------------------------------------------
diff -ur 
jboss-cvs20000825/src/main/org/jboss/ejb/plugins/EntitySynchronizationInterceptor.java 
jboss/src/main/org/jboss/ejb/plugins/EntitySynchronizationInterceptor.java
--- 
jboss-cvs20000825/src/main/org/jboss/ejb/plugins/EntitySynchronizationInterceptor.java 
     Fri Aug 25 20:05:53 2000
+++ jboss/src/main/org/jboss/ejb/plugins/EntitySynchronizationInterceptor.java  Fri 
+Aug 25 19:33:16 2000
@@ -170,7 +170,7 @@
        }
        
        // So we can go on with the invocation
-       Logger.log("Tx is "+tx.toString());
+       Logger.log("Tx is " + ((tx==null) ? "null" : tx.toString()) );
        if (tx != null &&
            tx.getStatus() == Status.STATUS_ACTIVE) {

Reply via email to