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

XMLWordPrintable

    • Icon: Feature Request Feature Request
    • Resolution: Done
    • Icon: Major Major
    • 4.0.1.Final
    • 4.0.1.Final
    • seam2
    • None

      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)
      

              nivologd@gmail.com Denis Golovin (Inactive)
              nivologd@gmail.com Denis Golovin (Inactive)
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

                Created:
                Updated:
                Resolved: