Closed glassfishrobot closed 15 years ago
@glassfishrobot Commented sirajg said: Requesting Tim to look at the AutoDeploy issue.
@glassfishrobot Commented @tjquinno said: Fixed
Author: tjquinn Date: 2009-10-27 01:26:44+0000 New Revision: 33343
Modified:
trunk/v3/deployment/autodeploy/src/main/java/org/glassfish/deployment/autodeploy/AutoDeployService.java
@glassfishrobot Commented @tjquinno said: I forgot to set the target milestone.
@glassfishrobot Commented This issue was imported from java.net JIRA GLASSFISH-10558
@glassfishrobot Commented Reported by alexismp
@glassfishrobot Commented Marked as fixed on Monday, October 26th 2009, 12:03:54 pm
This is with rev 33218. After starting the container with EJBContainer.createEJBContainer, shutting it down using EJBContainer.close() triggers this NPE :
java.lang.NullPointerException at org .glassfish .deployment .autodeploy .AutoDeployService.stopAutoDeployer(AutoDeployService.java: 226) at org .glassfish .deployment .autodeploy.AutoDeployService.preDestroy(AutoDeployService.java: 152) at com .sun .hk2 .component .AbstractWombInhabitantImpl .dispose(AbstractWombInhabitantImpl.java:74) at com .sun .hk2 .component.SingletonInhabitant.release(SingletonInhabitant.java: 66) at com.sun.hk2.component.LazyInhabitant.release(LazyInhabitant.java: 112) at com .sun .enterprise .v3.server.AppServerStartup.stop(AppServerStartup.java: 383) at org.glassfish.api.embedded.Server.stop(Server.java:591) at org .glassfish .ejb.embedded.EJBContainerImpl.stop(EJBContainerImpl.java: 284) at org .apache .tools .ant .taskdefs .optional.junit.JUnitTestRunner.run(JUnitTestRunner.java: 515) at org .glassfish .ejb.embedded.EJBContainerImpl.forceClose(EJBContainerImpl.java: 179) at org .glassfish .ejb.embedded.EJBContainerImpl.close(EJBContainerImpl.java: 165) at com .apress .javaee6.chapter06.BookEJBTest.closeContainer(BookEJBTest.java: 60) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun .reflect .NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java: 39) at sun .reflect .DelegatingMethodAccessorImpl .invoke(DelegatingMethodAccessorImpl.java: 25) at java.lang.reflect.Method.invoke(Method.java:597) at org .junit .internal .runners .BeforeAndAfterRunner.invokeMethod(BeforeAndAfterRunner.java:74) at org .junit .internal .runners .BeforeAndAfterRunner.runAfters(BeforeAndAfterRunner.java: 65) at org .junit .internal .runners .BeforeAndAfterRunner.runProtected(BeforeAndAfterRunner.java:37) at org .junit.internal.runners.TestClassRunner.run(TestClassRunner.java: 52) at junit.framework.JUnit4TestAdapter.run(JUnit4TestAdapter.java:32) at org .apache .tools .ant .taskdefs .optional.junit.JUnitTestRunner.run(JUnitTestRunner.java: 515) at org .apache .tools .ant .taskdefs .optional.junit.JUnitTestRunner.launch(JUnitTestRunner.java: 1031) at org .apache .tools .ant .taskdefs .optional.junit.JUnitTestRunner.main(JUnitTestRunner.java: 888)
Environment
Operating System: All Platform: All
Affected Versions
[V3]