geronimo-scm mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From djen...@apache.org
Subject svn commit: r292831 - /geronimo/trunk/modules/naming-builder/src/java/org/apache/geronimo/naming/deployment/ENCConfigBuilder.java
Date Fri, 30 Sep 2005 18:24:42 GMT
Author: djencks
Date: Fri Sep 30 11:24:41 2005
New Revision: 292831

URL: http://svn.apache.org/viewcvs?rev=292831&view=rev
Log:
GERONIMO-1034 avoid NPE

Modified:
    geronimo/trunk/modules/naming-builder/src/java/org/apache/geronimo/naming/deployment/ENCConfigBuilder.java

Modified: geronimo/trunk/modules/naming-builder/src/java/org/apache/geronimo/naming/deployment/ENCConfigBuilder.java
URL: http://svn.apache.org/viewcvs/geronimo/trunk/modules/naming-builder/src/java/org/apache/geronimo/naming/deployment/ENCConfigBuilder.java?rev=292831&r1=292830&r2=292831&view=diff
==============================================================================
--- geronimo/trunk/modules/naming-builder/src/java/org/apache/geronimo/naming/deployment/ENCConfigBuilder.java
(original)
+++ geronimo/trunk/modules/naming-builder/src/java/org/apache/geronimo/naming/deployment/ENCConfigBuilder.java
Fri Sep 30 11:24:41 2005
@@ -398,7 +398,7 @@
 
                 String ejbLink = null;
                 GerEjbRefType remoteRef = (GerEjbRefType) ejbRefMap.get(ejbRefName);
-                if (remoteRef.isSetNsCorbaloc()) {
+                if (remoteRef != null && remoteRef.isSetNsCorbaloc()) {
                     try {
                         ObjectName cssBean;
                         if (remoteRef.isSetCssName()) {



Mime
View raw message