openwebbeans-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From gerdo...@apache.org
Subject svn commit: r1040169 - /openwebbeans/trunk/webbeans-ejb/src/main/java/org/apache/webbeans/ejb/common/interceptor/OpenWebBeansEjbInterceptor.java
Date Mon, 29 Nov 2010 16:22:37 GMT
Author: gerdogdu
Date: Mon Nov 29 16:22:36 2010
New Revision: 1040169

URL: http://svn.apache.org/viewvc?rev=1040169&view=rev
Log:
Prevent NullPointer exception in case of null creational context

Modified:
    openwebbeans/trunk/webbeans-ejb/src/main/java/org/apache/webbeans/ejb/common/interceptor/OpenWebBeansEjbInterceptor.java

Modified: openwebbeans/trunk/webbeans-ejb/src/main/java/org/apache/webbeans/ejb/common/interceptor/OpenWebBeansEjbInterceptor.java
URL: http://svn.apache.org/viewvc/openwebbeans/trunk/webbeans-ejb/src/main/java/org/apache/webbeans/ejb/common/interceptor/OpenWebBeansEjbInterceptor.java?rev=1040169&r1=1040168&r2=1040169&view=diff
==============================================================================
--- openwebbeans/trunk/webbeans-ejb/src/main/java/org/apache/webbeans/ejb/common/interceptor/OpenWebBeansEjbInterceptor.java
(original)
+++ openwebbeans/trunk/webbeans-ejb/src/main/java/org/apache/webbeans/ejb/common/interceptor/OpenWebBeansEjbInterceptor.java
Mon Nov 29 16:22:36 2010
@@ -339,7 +339,10 @@ public class OpenWebBeansEjbInterceptor 
         
 
         // Release the CC that lives as long as our interceptor instance
-        this.cc.release();
+        if(this.cc != null)
+        {
+            this.cc.release();   
+        }
         
     }
 



Mime
View raw message