[jbosstools-issues] [JBoss JIRA] (JBIDE-9677) NullPointerException in SingleDeployableWorkspaceListener when project's closed in workspace
Rob Stryker (Resolved) (JIRA)
jira-events at lists.jboss.org
Thu Nov 3 12:24:46 EDT 2011
[ https://issues.jboss.org/browse/JBIDE-9677?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Rob Stryker resolved JBIDE-9677.
--------------------------------
Resolution: Done
THis was created by Dennis, so he would know. I suspect he was just looking through code as a review and did not actually produce this bug at all. The only way it can suffer from an NPE is if a workspaceChangeListener gets a null event, and I have no idea how to cause a null event to be fired to workspace change listeners. However, even if one did now, there's no way it would break.
I am resolving this as closed again. Fixed in m4
> 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
More information about the jbosstools-issues
mailing list