[
https://issues.jboss.org/browse/JBIDE-9677?page=com.atlassian.jira.plugin...
]
Denis Golovin updated JBIDE-9677:
---------------------------------
Steps to Reproduce:
EXEC: Install AS Module from update site on Eclipse SDK.
EXEC: Create Dynamic Web Project
EXEC: Create new empty xml file and mark it as deployable
EXEC: Close Project
ASSERT: No NullPointerExceptions reported in Error Log View
was:
EXEC: Install AS Module from update site on Eclipse SDK.
EXEC: Create Project
EXEC: Close Project
ASSERT: No NullPointerExceptions reported in Error Log View
Still can replicate it for AS Tools installed on Eclipse SDK and the exception is:
{noformat}java.lang.NullPointerException
at org.eclipse.wst.server.core.internal.Server.getModules(Server.java:2426)
at
org.jboss.ide.eclipse.as.core.modules.SingleDeployableFactory$UndeployFromServerJob.run(SingleDeployableFactory.java:454)
at org.eclipse.core.internal.jobs.Worker.run(Worker.java:54){noformat}
The same scenario works for installation on Jave EE IDE, but closing the project removes
file marked as deloyable from server view. Opening project doesn't restore state.
I'm not sure is is an issue, but it takes time to realize that files marked as
deployable should be marked again after reopening the project
NullPointerException in SingleDeployableWorkspaceListener when
project's closed in workspace
---------------------------------------------------------------------------------------------
Key: JBIDE-9677
URL:
https://issues.jboss.org/browse/JBIDE-9677
Project: Tools (JBoss Tools)
Issue Type: Bug
Components: JBossAS/Servers
Affects Versions: 3.3.0.M4
Reporter: Fisheye JIRA Integration
Assignee: Rob Stryker
Priority: Blocker
Fix For: 3.3.0.M4
Created by Denis Golovin from Crucible comment on SingleDeployableWorkspaceListener.java
line 44
https://source.jboss.org/cru/REV-JBIDE-4#c157 :
Documentation for getDelta() says:
{quote}Returns a resource delta, rooted at the workspace, describing the set of changes
that happened to resources in the workspace. Returns null if not applicable to this type
of event.
Returns:
the resource delta, or null if not applicable{quote}
so potential NPE in this line
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators:
https://issues.jboss.org/secure/ContactAdministrators!default.jspa
For more information on JIRA, see:
http://www.atlassian.com/software/jira