[jbosstools-issues] [JBoss JIRA] (JBIDE-13811) SeamTests are filing with exception in setUp method when new semRuntime is created

Denis Golovin (JIRA) jira-events at lists.jboss.org
Mon Mar 18 17:42:42 EDT 2013


     [ https://issues.jboss.org/browse/JBIDE-13811?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Denis Golovin updated JBIDE-13811:
----------------------------------

    Summary: SeamTests are filing with exception in setUp method when new semRuntime is created  (was: SeamTest are filing with exception in setUp method when new semRuntime is created)

    
> SeamTests are filing with exception in setUp method when new semRuntime is created
> ----------------------------------------------------------------------------------
>
>                 Key: JBIDE-13811
>                 URL: https://issues.jboss.org/browse/JBIDE-13811
>             Project: Tools (JBoss Tools)
>          Issue Type: Feature Request
>          Components: Seam 2
>    Affects Versions: 4.0.1.Final
>            Reporter: Denis Golovin
>            Assignee: Denis Golovin
>
> 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:
> {code}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)
> {code}

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira


More information about the jbosstools-issues mailing list