Uploaded image for project: 'Tools (JBoss Tools)'
  1. Tools (JBoss Tools)
  2. JBIDE-9677

NullPointerException in SingleDeployableWorkspaceListener when project's closed in workspace

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Done
    • Icon: Blocker Blocker
    • 3.3.0.M4
    • 3.3.0.M4
    • server
    • None
    • Hide

      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

      Show
      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

      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:

      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

      so potential NPE in this line

            rob.stryker Rob Stryker (Inactive)
            fisheye-jira-integration Fisheye JIRA Integration
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

              Created:
              Updated:
              Resolved: