[jbosstools-issues] [JBoss JIRA] Created: (JBIDE-7622) SeamCoreValidator may validate a wrong Seam project in case of there is more than one project in workspace
Victor Rubezhny (JIRA)
jira-events at lists.jboss.org
Tue Nov 16 18:01:46 EST 2010
SeamCoreValidator may validate a wrong Seam project in case of there is more than one project in workspace
----------------------------------------------------------------------------------------------------------
Key: JBIDE-7622
URL: https://jira.jboss.org/browse/JBIDE-7622
Project: Tools (JBoss Tools)
Issue Type: Bug
Components: Seam
Affects Versions: 3.2.0.Beta1
Reporter: Victor Rubezhny
Assignee: Victor Rubezhny
Fix For: 3.2.0.Beta2
If there are 2 or more projects exist in workspace and at least one of them is a Seam project then SeamCoreValidator may validate previously validated Seam project instead the project which is really requested to be validated. If this happens then it may try to validate the projects which have been closed and even removed from the workspace.
The following log says that SeamCoreValidator tries to validate numberguess project which actually was removed a few seconds ago. (Additional print out is made due to see what project is actually validated in SeamCoreValidator.init() method):
init() => WAR project not found: project (P/test_seam12_ear_t-ejb) ==>> seamProject (org.jboss.tools.seam.internal.core.SeamProject at 27d0820, numberguess) ==>> projectName (numberguess)
!ENTRY org.jboss.tools.seam.core 4 0 2010-11-17 01:48:39.878
!MESSAGE NumberGuess [in NumberGuess.java [in org.jboss.seam.example.numberguess [in src [in numberguess]]]] does not exist
!STACK 1
Java Model Exception: Java Model Status [NumberGuess [in NumberGuess.java [in org.jboss.seam.example.numberguess [in src [in numberguess]]]] does not exist]
at org.eclipse.jdt.internal.core.JavaModelOperation.runOperation(JavaModelOperation.java:784)
at org.eclipse.jdt.internal.core.SourceType.newSupertypeHierarchy(SourceType.java:726)
at org.eclipse.jdt.internal.core.SourceType.newSupertypeHierarchy(SourceType.java:678)
at org.jboss.tools.common.el.core.resolver.TypeInfoCollector$SuperTypeInfo.<init>(TypeInfoCollector.java:800)
at org.jboss.tools.common.el.core.resolver.TypeInfoCollector.getSuperTypes(TypeInfoCollector.java:822)
at org.jboss.tools.seam.internal.core.validation.SeamCoreValidator.validateComponent(SeamCoreValidator.java:575)
at org.jboss.tools.seam.internal.core.validation.SeamCoreValidator.validateAll(SeamCoreValidator.java:349)
at org.jboss.tools.jst.web.kb.internal.validation.ValidatorManager.validateAll(ValidatorManager.java:116)
at org.jboss.tools.jst.web.kb.internal.validation.ValidatorManager.validateInJob(ValidatorManager.java:81)
at org.eclipse.wst.validation.internal.operations.ValidatorJob.run(ValidatorJob.java:78)
at org.eclipse.core.internal.jobs.Worker.run(Worker.java:54)
!SUBENTRY 1 org.eclipse.jdt.core 4 969 2010-11-17 01:48:39.879
!MESSAGE NumberGuess [in NumberGuess.java [in org.jboss.seam.example.numberguess [in src [in numberguess]]]] does not exist
--
This message is automatically generated by JIRA.
-
For more information on JIRA, see: http://www.atlassian.com/software/jira
More information about the jbosstools-issues
mailing list