From 76f94c1b186f8a041e83169d0680c99b99ce1f8d Mon Sep 17 00:00:00 2001 From: Martin Ritchie Date: Fri, 7 Aug 2009 07:50:55 +0000 Subject: QPID-2002 : Fix for BrokerLoggingTest NPE. git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@801904 13f79535-47bb-0310-9956-ffa450edef68 --- .../main/java/org/apache/qpid/server/logging/BrokerLoggingTest.java | 3 +++ 1 file changed, 3 insertions(+) (limited to 'java') diff --git a/java/systests/src/main/java/org/apache/qpid/server/logging/BrokerLoggingTest.java b/java/systests/src/main/java/org/apache/qpid/server/logging/BrokerLoggingTest.java index 33f4d5402b..d417349c7f 100644 --- a/java/systests/src/main/java/org/apache/qpid/server/logging/BrokerLoggingTest.java +++ b/java/systests/src/main/java/org/apache/qpid/server/logging/BrokerLoggingTest.java @@ -49,6 +49,9 @@ public class BrokerLoggingTest extends AbstractTestLogging { public void setUp() throws Exception { + // We either do this here or have a null check in tearDown. + // As when this test is run against profiles other than java it will NPE + _monitor = new LogMonitor(_outputFile); //We explicitly do not call super.setUp as starting up the broker is //part of the test case. } -- cgit v1.2.1