geronimo-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Han Hong Fang (JIRA)" <j...@apache.org>
Subject [jira] Created: (GERONIMODEVTOOLS-719) NPE if delete a project with is deployed on geronimo server
Date Tue, 01 Mar 2011 06:41:37 GMT
NPE if delete a project with is deployed on geronimo server
-----------------------------------------------------------

                 Key: GERONIMODEVTOOLS-719
                 URL: https://issues.apache.org/jira/browse/GERONIMODEVTOOLS-719
             Project: Geronimo-Devtools
          Issue Type: Bug
          Components: eclipse-plugin
    Affects Versions: 3.0
         Environment: WindowXP SP3 + Helios SR1
            Reporter: Han Hong Fang


1. Create a geronimo sever v3.0
2. Create a dynamic web project
3. Deploy dynamic web project via "Run As" -> "Run on Server"
4. Delete dynamic web project

dynamic web project is removed in server view, but several seconds an error dialog (screenshot
is attached) is popuped which indicates NullPointerException. dynamic web project module is
still on server, and eclipse log shows below.

!MESSAGE Module config Id not found for undeployment
!STACK 0
java.lang.NullPointerException
	at org.apache.geronimo.st.v30.core.GeronimoUtils.getWebDeploymentPlanFile(GeronimoUtils.java:200)
	at org.apache.geronimo.st.v30.core.GeronimoUtils.getWebDeploymentPlan(GeronimoUtils.java:331)
	at org.apache.geronimo.st.v30.core.GeronimoUtils.getWebDeploymentPlan(GeronimoUtils.java:328)
	at org.apache.geronimo.st.v30.core.GeronimoUtils.getConfigId(GeronimoUtils.java:157)
	at org.apache.geronimo.st.v30.core.GeronimoVersionHandler.getConfigID(GeronimoVersionHandler.java:39)
	at org.apache.geronimo.st.v30.core.commands.UndeployCommand.execute(UndeployCommand.java:53)
	at org.apache.geronimo.st.v30.core.commands.SynchronizedDeploymentOp.run(SynchronizedDeploymentOp.java:84)
	at org.apache.geronimo.st.v30.core.commands.SynchronizedDeploymentOp.execute(SynchronizedDeploymentOp.java:76)
	at org.apache.geronimo.st.v30.core.GeronimoServerBehaviourDelegate.unDeploy(GeronimoServerBehaviourDelegate.java:742)
	at org.apache.geronimo.st.v30.core.GeronimoServerBehaviourDelegate.doRemoved(GeronimoServerBehaviourDelegate.java:668)
	at org.apache.geronimo.st.v30.core.GeronimoServerBehaviourDelegate.invokeCommand(GeronimoServerBehaviourDelegate.java:467)
	at org.apache.geronimo.st.v30.core.GeronimoServerBehaviourDelegate.publishModule(GeronimoServerBehaviourDelegate.java:336)
	at org.eclipse.wst.server.core.model.ServerBehaviourDelegate.publishModule(ServerBehaviourDelegate.java:1025)
	at org.apache.geronimo.st.v30.core.GeronimoServerBehaviourDelegate.publishModules(GeronimoServerBehaviourDelegate.java:291)
	at org.eclipse.wst.server.core.model.ServerBehaviourDelegate.publish(ServerBehaviourDelegate.java:948)
	at org.eclipse.wst.server.core.model.ServerBehaviourDelegate.publish(ServerBehaviourDelegate.java:775)
	at org.eclipse.wst.server.core.internal.Server.publishImpl(Server.java:2889)
	at org.eclipse.wst.server.core.internal.Server$PublishJob.run(Server.java:337)
	at org.eclipse.core.internal.jobs.Worker.run(Worker.java:54)	

-- 
This message is automatically generated by JIRA.
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

Mime
View raw message