db-derby-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From kahat...@apache.org
Subject svn commit: r434018 - /db/derby/code/trunk/java/drda/org/apache/derby/impl/drda/DRDAProtocolException.java
Date Wed, 23 Aug 2006 12:02:54 GMT
Author: kahatlen
Date: Wed Aug 23 05:02:52 2006
New Revision: 434018

URL: http://svn.apache.org/viewvc?rev=434018&view=rev
Log:
DERBY-1743: derbynet/testSecMec.java fails with NullPointerException
(intermittent failure)

Make sure the logWriter is not null before printing the stack trace.

Modified:
    db/derby/code/trunk/java/drda/org/apache/derby/impl/drda/DRDAProtocolException.java

Modified: db/derby/code/trunk/java/drda/org/apache/derby/impl/drda/DRDAProtocolException.java
URL: http://svn.apache.org/viewvc/db/derby/code/trunk/java/drda/org/apache/derby/impl/drda/DRDAProtocolException.java?rev=434018&r1=434017&r2=434018&view=diff
==============================================================================
--- db/derby/code/trunk/java/drda/org/apache/derby/impl/drda/DRDAProtocolException.java (original)
+++ db/derby/code/trunk/java/drda/org/apache/derby/impl/drda/DRDAProtocolException.java Wed
Aug 23 05:02:52 2006
@@ -294,8 +294,7 @@
 								   agent.getSession().drdaID, 
 								   msg);
 			NetworkServerControlImpl s = agent.getServer();
-			s.consoleMessage(msg);
-			this.printStackTrace(s.logWriter);
+			s.consoleExceptionPrintTrace(this);
 		}
 	}
 	



Mime
View raw message