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

SeamTests are filing with exception in setUp method when new semRuntime is created

    Details

    • Type: Feature Request
    • Status: Closed (View Workflow)
    • Priority: Major
    • Resolution: Done
    • Affects Version/s: 4.0.1.Final
    • Fix Version/s: 4.0.1.Final
    • Component/s: seam2
    • Labels:
      None

      Description

      Usually happens when projects cannot be deleted from workspace in tearDown method. It means there are opened projects with seam feature but without seam preferences. It leads to exception below:

      java.lang.IllegalStateException: Preference node "org.jboss.tools.seam.core" has been removed.
      	at org.eclipse.core.internal.preferences.EclipsePreferences.checkRemoved(EclipsePreferences.java:200)
      	at org.eclipse.core.internal.preferences.EclipsePreferences.internalGet(EclipsePreferences.java:630)
      	at org.eclipse.core.internal.preferences.EclipsePreferences.get(EclipsePreferences.java:477)
      	at org.jboss.tools.seam.internal.core.SeamProject.getRuntimeName(SeamProject.java:161)
      	at org.jboss.tools.seam.core.project.facet.SeamRuntimeManager.updateProjectsForRuntime(SeamRuntimeManager.java:228)
      	at org.jboss.tools.seam.core.project.facet.SeamRuntimeManager.addRuntime(SeamRuntimeManager.java:170)
      	at org.jboss.tools.seam.core.project.facet.SeamRuntimeManager.addRuntime(SeamRuntimeManager.java:193)
      	at org.jboss.tools.seam.core.test.project.facet.AbstractSeamFacetTest.setUp(AbstractSeamFacetTest.java:93)
      

        Gliffy Diagrams

          Attachments

            Activity

              People

              • Assignee:
                dgolovin Denis Golovin
                Reporter:
                dgolovin Denis Golovin
              • Votes:
                0 Vote for this issue
                Watchers:
                2 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: