geronimo-scm mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From sppa...@apache.org
Subject svn commit: r405509 - /geronimo/devtools/eclipse-plugin/trunk/plugins/org.apache.geronimo.st.core/src/org/apache/geronimo/st/core/internal/Trace.java
Date Tue, 09 May 2006 19:16:06 GMT
Author: sppatel
Date: Tue May  9 12:16:03 2006
New Revision: 405509

URL: http://svn.apache.org/viewcvs?rev=405509&view=rev
Log:
fix npe on shutdown

Modified:
    geronimo/devtools/eclipse-plugin/trunk/plugins/org.apache.geronimo.st.core/src/org/apache/geronimo/st/core/internal/Trace.java

Modified: geronimo/devtools/eclipse-plugin/trunk/plugins/org.apache.geronimo.st.core/src/org/apache/geronimo/st/core/internal/Trace.java
URL: http://svn.apache.org/viewcvs/geronimo/devtools/eclipse-plugin/trunk/plugins/org.apache.geronimo.st.core/src/org/apache/geronimo/st/core/internal/Trace.java?rev=405509&r1=405508&r2=405509&view=diff
==============================================================================
--- geronimo/devtools/eclipse-plugin/trunk/plugins/org.apache.geronimo.st.core/src/org/apache/geronimo/st/core/internal/Trace.java
(original)
+++ geronimo/devtools/eclipse-plugin/trunk/plugins/org.apache.geronimo.st.core/src/org/apache/geronimo/st/core/internal/Trace.java
Tue May  9 12:16:03 2006
@@ -67,7 +67,7 @@
 	 *            a throwable
 	 */
 	public static void trace(byte level, String s, Throwable t) {
-		if (!Activator.getDefault().isDebugging())
+		if (Activator.getDefault() == null || !Activator.getDefault().isDebugging())
 			return;
 
 		System.out.println(Activator.PLUGIN_ID + ":  " + s);



Mime
View raw message