Details
-
Bug
-
Status: Open
-
Major
-
Resolution: Unresolved
-
servicemix-xmpp-2009.02
-
None
-
$ mvn -version
Maven version: 2.0.9
Java version: 1.5.0_12
OS name: "linux" version: "2.6.9-11.elsmp" arch: "amd64" Family: "unix"
Description
The QuartzComponentTest sometimes fails with an NPE during shutdown, but not when run individually.
------------------------------------------------------------------------------- Test set: org.apache.servicemix.quartz.QuartzComponentTest ------------------------------------------------------------------------------- Tests run: 1, Failures: 0, Errors: 1, Skipped: 0, Time elapsed: 2.098 sec <<< FAILURE! test(org.apache.servicemix.quartz.QuartzComponentTest) Time elapsed: 2.083 sec <<< ERROR! java.lang.NullPointerException at org.apache.servicemix.jbi.nmr.flow.seda.SedaQueue.stop(SedaQueue.java:159) at org.apache.servicemix.jbi.nmr.flow.seda.SedaQueue.shutDown(SedaQueue.java:168) at org.apache.servicemix.jbi.nmr.flow.seda.SedaFlow.shutDown(SedaFlow.java:140) at org.apache.servicemix.jbi.nmr.DefaultBroker.shutDown(DefaultBroker.java:191) at org.apache.servicemix.jbi.container.JBIContainer.shutDown(JBIContainer.java:719) at org.apache.servicemix.quartz.QuartzComponentTest.test(QuartzComponentTest.java:68) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)