[
https://jira.jboss.org/jira/browse/JBIDE-2859?page=com.atlassian.jira.plu...
]
Snjezana Peco resolved JBIDE-2859.
----------------------------------
Resolution: Done
NPE when deleting an ESB project
--------------------------------
Key: JBIDE-2859
URL:
https://jira.jboss.org/jira/browse/JBIDE-2859
Project: Tools (JBoss Tools)
Issue Type: Bug
Components: esb
Affects Versions: 3.0.0.beta1
Reporter: Snjezana Peco
Assignee: Snjezana Peco
If you try to delete an ESB project, you will get the following exception:
java.lang.NullPointerException
at org.jboss.tools.esb.core.module.JBossESBModule.getModuleType(JBossESBModule.java:45)
at
org.eclipse.jst.j2ee.refactor.operations.ProjectRefactorOperation.updateServerRefs(ProjectRefactorOperation.java:119)
at
org.eclipse.jst.j2ee.refactor.operations.ProjectDeleteOperation.updateDependentProjects(ProjectDeleteOperation.java:48)
at
org.eclipse.jst.j2ee.refactor.operations.ProjectRefactorOperation.execute(ProjectRefactorOperation.java:61)
at
org.eclipse.wst.common.frameworks.internal.datamodel.DataModelPausibleOperationImpl$1.run(DataModelPausibleOperationImpl.java:376)
at org.eclipse.core.internal.resources.Workspace.run(Workspace.java:1800)
at
org.eclipse.wst.common.frameworks.internal.datamodel.DataModelPausibleOperationImpl.runOperation(DataModelPausibleOperationImpl.java:401)
at
org.eclipse.wst.common.frameworks.internal.datamodel.DataModelPausibleOperationImpl.runOperation(DataModelPausibleOperationImpl.java:352)
at
org.eclipse.wst.common.frameworks.internal.datamodel.DataModelPausibleOperationImpl.doExecute(DataModelPausibleOperationImpl.java:242)
at
org.eclipse.wst.common.frameworks.internal.datamodel.DataModelPausibleOperationImpl.executeImpl(DataModelPausibleOperationImpl.java:214)
at
org.eclipse.wst.common.frameworks.internal.datamodel.DataModelPausibleOperationImpl.cacheThreadAndContinue(DataModelPausibleOperationImpl.java:89)
at
org.eclipse.wst.common.frameworks.internal.datamodel.DataModelPausibleOperationImpl.execute(DataModelPausibleOperationImpl.java:202)
at
org.eclipse.jst.j2ee.refactor.listeners.ProjectRefactoringListener$2.runInWorkspace(ProjectRefactoringListener.java:227)
at
org.eclipse.core.internal.resources.InternalWorkspaceJob.run(InternalWorkspaceJob.java:38)
at org.eclipse.core.internal.jobs.Worker.run(Worker.java:55)
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
https://jira.jboss.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see:
http://www.atlassian.com/software/jira