portals-jetspeed-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From tay...@apache.org
Subject svn commit: r345591 - /portals/jetspeed-2/trunk/components/portal/src/java/org/apache/jetspeed/Jetspeed.java
Date Fri, 18 Nov 2005 22:41:45 GMT
Author: taylor
Date: Fri Nov 18 14:41:40 2005
New Revision: 345591

URL: http://svn.apache.org/viewcvs?rev=345591&view=rev
Log:
check for NPE

Modified:
    portals/jetspeed-2/trunk/components/portal/src/java/org/apache/jetspeed/Jetspeed.java

Modified: portals/jetspeed-2/trunk/components/portal/src/java/org/apache/jetspeed/Jetspeed.java
URL: http://svn.apache.org/viewcvs/portals/jetspeed-2/trunk/components/portal/src/java/org/apache/jetspeed/Jetspeed.java?rev=345591&r1=345590&r2=345591&view=diff
==============================================================================
--- portals/jetspeed-2/trunk/components/portal/src/java/org/apache/jetspeed/Jetspeed.java
(original)
+++ portals/jetspeed-2/trunk/components/portal/src/java/org/apache/jetspeed/Jetspeed.java
Fri Nov 18 14:41:40 2005
@@ -48,7 +48,8 @@
      */
     public static void shutdown() throws JetspeedException
     {
-        engine.shutdown();
+        if (engine != null)
+            engine.shutdown();
     }
 
     public static Engine getEngine()



---------------------------------------------------------------------
To unsubscribe, e-mail: jetspeed-dev-unsubscribe@portals.apache.org
For additional commands, e-mail: jetspeed-dev-help@portals.apache.org


Mime
View raw message