[
https://jira.jboss.org/jira/browse/JBIDE-5331?page=com.atlassian.jira.plu...
]
Alexey Kazakov resolved JBIDE-5331.
-----------------------------------
Fix Version/s: 3.1.0.GA
Resolution: Done
java.lang.NullPointerException exception is occured after jsp page
reneming on Struts Diagram.
----------------------------------------------------------------------------------------------
Key: JBIDE-5331
URL:
https://jira.jboss.org/jira/browse/JBIDE-5331
Project: Tools (JBoss Tools)
Issue Type: Bug
Components: struts/shale
Affects Versions: 3.1.0.CR1
Reporter: Anton Klimkovich
Assignee: Alexey Kazakov
Fix For: 3.1.0.GA
EXECUTE: Create Struts project
EXECUTE: Open struts-config.xml
EXECUTE: Select inputname.jsp and Rename page using context menu.
FAILURE: java.lang.NullPointerException
at
org.jboss.tools.jst.web.kb.internal.validation.ValidationContext.addRemovedFile(ValidationContext.java:130)
at
org.jboss.tools.jst.web.kb.internal.validation.ContextValidationHelper.registerResource(ContextValidationHelper.java:55)
at org.eclipse.wst.validation.internal.FilterUtil.addToFileList(FilterUtil.java:290)
at org.eclipse.wst.validation.internal.FilterUtil.filterOut(FilterUtil.java:380)
at org.eclipse.wst.validation.internal.FilterUtil.filterOut(FilterUtil.java:433)
at org.eclipse.wst.validation.internal.FilterUtil$2.visit(FilterUtil.java:631)
at org.eclipse.core.internal.events.ResourceDelta.accept(ResourceDelta.java:68)
at org.eclipse.core.internal.events.ResourceDelta.accept(ResourceDelta.java:79)
at org.eclipse.core.internal.events.ResourceDelta.accept(ResourceDelta.java:79)
at org.eclipse.core.internal.events.ResourceDelta.accept(ResourceDelta.java:79)
at org.eclipse.core.internal.events.ResourceDelta.accept(ResourceDelta.java:55)
at org.eclipse.wst.validation.internal.FilterUtil.loadDeltas(FilterUtil.java:647)
at
org.eclipse.wst.validation.internal.operations.ValidationOperation.loadFileDeltas(ValidationOperation.java:547)
at
org.eclipse.wst.validation.internal.operations.ValidationOperation.getFileDeltas(ValidationOperation.java:519)
at
org.eclipse.wst.validation.internal.operations.ValidationOperation.preValidate(ValidationOperation.java:791)
at
org.eclipse.wst.validation.internal.operations.ValidationOperation.run(ValidationOperation.java:653)
at
org.eclipse.wst.validation.internal.operations.ValidationBuilder.build(ValidationBuilder.java:192)
at org.eclipse.core.internal.events.BuildManager$2.run(BuildManager.java:627)
at org.eclipse.core.runtime.SafeRunner.run(SafeRunner.java:42)
at org.eclipse.core.internal.events.BuildManager.basicBuild(BuildManager.java:170)
at org.eclipse.core.internal.events.BuildManager.basicBuild(BuildManager.java:201)
at org.eclipse.core.internal.events.BuildManager$1.run(BuildManager.java:253)
at org.eclipse.core.runtime.SafeRunner.run(SafeRunner.java:42)
at org.eclipse.core.internal.events.BuildManager.basicBuild(BuildManager.java:256)
at org.eclipse.core.internal.events.BuildManager.basicBuildLoop(BuildManager.java:309)
at org.eclipse.core.internal.events.BuildManager.build(BuildManager.java:341)
at org.eclipse.core.internal.events.AutoBuildJob.doBuild(AutoBuildJob.java:140)
at org.eclipse.core.internal.events.AutoBuildJob.run(AutoBuildJob.java:238)
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