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

NullPointerException in SeamXMLHelper in case of repeatedly created Seam EAR projects with the same name

    Details

    • Type: Bug
    • Status: Closed (View Workflow)
    • Priority: Critical
    • Resolution: Done
    • Affects Version/s: 2.1.0.CR1
    • Fix Version/s: 2.1.1, 3.0.0.alpha
    • Component/s: seam2
    • Labels:
      None
    • Environment:

      Eclipse 3.3, Seam 1.2 branch2.1.x

      Description

      A NullPointerException occures in SeamXMLHelper while executing the Seam12EARNewOperationTest JUnit TestCase.

      See the log-file attached

      TestCase:
      EXECUTE: Create Seam EAR project with name "SeamTestProject"
      EXECUTE: Wait while the project is built
      EXECUTE: Delete the project
      EXECUTE: Create yet another Seam EAR project with name "SeamTestProject" (the same name)
      EXECUTE: Wait while the project is built
      ASSERT: The project crfeated successfully and no NullPointerException is in the .log

      Probably the latency between delete and create project operation is meaningfull. The exception was caught while executing the Seam12EARNewOperationTest. The test creates a Seam EAR project, then performs one of "Create Seam..." operations on the project created (create an Action or Form or Conversation or Entity), then deletes the project. Then it creates the project again with the same name to test the next operation. That was the moment the exception appeared.

      TestCase2:
      EXECUTE: Start the SeamUiAllTests JUnit Tests
      ASSERT: The JUnit Tests are successfully passed

        Gliffy Diagrams

          Attachments

            Activity

              People

              • Assignee:
                anis Aliaksey Nis
                Reporter:
                vrubezhny Victor Rubezhny
              • Votes:
                0 Vote for this issue
                Watchers:
                1 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: