From: Steve L. (JIRA) <ji...@sm...> - 2008-03-19 13:30:08
|
[ http://jira.smartfrog.org/jira/browse/SFOS-137?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Steve Loughran resolved SFOS-137. --------------------------------- Resolution: Cannot Reproduce Appears to have gone away with SFOS-138 Move to cargo 0.9 > NPE in Cargo Tests on Cargo 0.8 > ------------------------------- > > Key: SFOS-137 > URL: http://jira.smartfrog.org/jira/browse/SFOS-137 > Project: SmartFrog > Issue Type: Bug > Components: _service_www > Affects Versions: 3.11.x > Reporter: Steve Loughran > Assignee: Steve Loughran > Priority: Minor > Time Spent: 2 hours > Remaining Estimate: 0 minutes > > Not planning a fix until after the next release; the cargo components are NPE-ing on startup. This may be a linux-specific problem, based on the hints in bugs in the cargo repository. > SmartFrogLifecycleException:: [sfStart] HOST localhost:rootProcess:testTomcat:server, cause: org.codehaus.cargo.container.ContainerException: Failed to start the Tomcat 5.x container., data: Failed object class: org.smartfrog.services.www.cargo.CargoServerImpl, primSFCompleteName: HOST localhost:rootProcess:testTomcat, primContext: included, reference: HOST localhost:rootProcess:testTomcat, primContext: included > at org.smartfrog.sfcore.common.SmartFrogLifecycleException.forward(SmartFrogLifecycleException.java:232) > at org.smartfrog.sfcore.common.SmartFrogLifecycleException.sfStart(SmartFrogLifecycleException.java:126) > at org.smartfrog.sfcore.compound.CompoundImpl.sfStartChildren(CompoundImpl.java:564) > at org.smartfrog.sfcore.compound.CompoundImpl.sfStart(CompoundImpl.java:531) > 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 sun.rmi.server.UnicastServerRef.dispatch(UnicastServerRef.java:305) > at sun.rmi.transport.Transport$1.run(Transport.java:159) > at java.security.AccessController.doPrivileged(Native Method) > at sun.rmi.transport.Transport.serviceCall(Transport.java:155) > at sun.rmi.transport.tcp.TCPTransport.handleMessages(TCPTransport.java:535) > at sun.rmi.transport.tcp.TCPTransport$ConnectionHandler.run0(TCPTransport.java:790) > at sun.rmi.transport.tcp.TCPTransport$ConnectionHandler.run(TCPTransport.java:649) > at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:885) > at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:907) > at java.lang.Thread.run(Thread.java:619) > at sun.rmi.transport.StreamRemoteCall.exceptionReceivedFromServer(StreamRemoteCall.java:255) > at sun.rmi.transport.StreamRemoteCall.executeCall(StreamRemoteCall.java:233) > at sun.rmi.server.UnicastRef.invoke(UnicastRef.java:142) > at org.smartfrog.sfcore.compound.CompoundImpl_Stub.sfStart(Unknown Source) > at org.smartfrog.sfcore.common.ActionDeploy.Deploy(ActionDeploy.java:144) > at org.smartfrog.sfcore.common.ActionDeploy.execute(ActionDeploy.java:219) > at org.smartfrog.sfcore.common.ConfigurationAction.execute(ConfigurationAction.java:81) > at org.smartfrog.sfcore.common.ConfigurationDescriptor.execute(ConfigurationDescriptor.java:922) > at org.smartfrog.SFSystem.runConfigurationDescriptor(SFSystem.java:322) > at org.smartfrog.test.SmartFrogTestBase.deployApplication(SmartFrogTestBase.java:525) > at org.smartfrog.test.SmartFrogTestBase.deployExpectingSuccess(SmartFrogTestBase.java:477) > at org.smartfrog.services.www.cargo.test.system.CargoTestBase.deployAppServer(CargoTestBase.java:96) > at org.smartfrog.services.www.cargo.test.system.tomcat.TomcatTest.testTomcat(TomcatTest.java:14) > 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 junit.framework.TestCase.runTest(TestCase.java:164) > at junit.framework.TestCase.runBare(TestCase.java:130) > at junit.framework.TestResult$1.protect(TestResult.java:106) > at junit.framework.TestResult.runProtected(TestResult.java:124) > at junit.framework.TestResult.run(TestResult.java:109) > at junit.framework.TestCase.run(TestCase.java:120) > at junit.framework.TestSuite.runTest(TestSuite.java:230) > at junit.framework.TestSuite.run(TestSuite.java:225) > at org.apache.tools.ant.taskdefs.optional.junit.JUnitTestRunner.run(JUnitTestRunner.java:421) > at org.apache.tools.ant.taskdefs.optional.junit.JUnitTestRunner.launch(JUnitTestRunner.java:912) > at org.apache.tools.ant.taskdefs.optional.junit.JUnitTestRunner.main(JUnitTestRunner.java:766) > Caused by: org.codehaus.cargo.container.ContainerException: Failed to start the Tomcat 5.x container. > at org.codehaus.cargo.container.spi.AbstractLocalContainer.start(AbstractLocalContainer.java:154) > at org.smartfrog.services.www.cargo.CargoServerImpl.run(CargoServerImpl.java:536) > at java.lang.Thread.run(Thread.java:619) > at org.smartfrog.services.www.cargo.CargoServerImpl.startInNewThread(CargoServerImpl.java:522) > at org.smartfrog.services.www.cargo.CargoServerImpl.sfStart(CargoServerImpl.java:421) > at org.smartfrog.sfcore.compound.CompoundImpl.sfStartChildren(CompoundImpl.java:560) > at org.smartfrog.sfcore.compound.CompoundImpl.sfStart(CompoundImpl.java:531) > 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 sun.rmi.server.UnicastServerRef.dispatch(UnicastServerRef.java:305) > at sun.rmi.transport.Transport$1.run(Transport.java:159) > at java.security.AccessController.doPrivileged(Native Method) > at sun.rmi.transport.Transport.serviceCall(Transport.java:155) > at sun.rmi.transport.tcp.TCPTransport.handleMessages(TCPTransport.java:535) > at sun.rmi.transport.tcp.TCPTransport$ConnectionHandler.run0(TCPTransport.java:790) > at sun.rmi.transport.tcp.TCPTransport$ConnectionHandler.run(TCPTransport.java:649) > at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:885) > at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:907) > at java.lang.Thread.run(Thread.java:619) > Caused by: org.codehaus.cargo.container.ContainerException: Failed to create a Tomcat 5.x standalone configuration > at org.codehaus.cargo.container.spi.configuration.AbstractLocalConfiguration.configure(AbstractLocalConfiguration.java:161) > at org.codehaus.cargo.container.tomcat.internal.AbstractTomcatInstalledLocalContainer.doStart(AbstractTomcatInstalledLocalContainer.java:74) > at org.codehaus.cargo.container.spi.AbstractInstalledLocalContainer.startInternal(AbstractInstalledLocalContainer.java:225) > at org.codehaus.cargo.container.spi.AbstractLocalContainer.start(AbstractLocalContainer.java:146) > ... 20 more > Caused by: java.lang.NullPointerException > at org.codehaus.cargo.container.spi.configuration.AbstractStandaloneLocalConfiguration.createConfigurationDir(AbstractStandaloneLocalConfiguration.java:67) > at org.codehaus.cargo.container.tomcat.internal.AbstractCatalinaStandaloneLocalConfiguration.doConfigure(AbstractCatalinaStandaloneLocalConfiguration.java:64) > at org.codehaus.cargo.container.spi.configuration.AbstractLocalConfiguration.configure(AbstractLocalConfiguration.java:157) > ... 23 more > To fix this, we have to first move up to cargo 0.9, which will be filed as a separate task. -- This message is automatically generated by JIRA. - If you think it was sent incorrectly contact one of the administrators: http://jira.smartfrog.org/jira/secure/Administrators.jspa - For more information on JIRA, see: http://www.atlassian.com/software/jira |