[
https://issues.jboss.org/browse/JBIDE-9590?page=com.atlassian.jira.plugin...
]
Alexey Kazakov commented on JBIDE-9590:
---------------------------------------
Martin, this issue is one more example of bugs which is hard to reproduce for sure.
We definitely had unsafe code which we believe caused this exception. This code was fixed
and we can't reproduce that exception anymore.
And since we can't provide any good steps to verify it and we do have JUnit tests that
check any exceptions occurred during validation I think we can close the issue.
ConcurrentModificationException in KB PageContextFactory
--------------------------------------------------------
Key: JBIDE-9590
URL:
https://issues.jboss.org/browse/JBIDE-9590
Project: Tools (JBoss Tools)
Issue Type: Bug
Components: common/jst/core
Affects Versions: 3.3.0.M3
Reporter: Alexey Kazakov
Assignee: Alexey Kazakov
Priority: Critical
Fix For: 3.3.0.M4
{code}
org.jboss.tools.common.validation.JBTValidationException
at
org.jboss.tools.common.validation.ValidatorManager.validateInJob(ValidatorManager.java:99)
at
org.eclipse.wst.validation.internal.operations.ValidatorJob.run(ValidatorJob.java:78)
at org.eclipse.core.internal.jobs.Worker.run(Worker.java:54)
Caused by: java.util.ConcurrentModificationException
at java.util.AbstractList$Itr.checkForComodification(AbstractList.java:372)
at java.util.AbstractList$Itr.next(AbstractList.java:343)
at
org.jboss.tools.jst.web.kb.include.IncludeContextBuilder.getIncludeContextDefinition(IncludeContextBuilder.java:135)
at
org.jboss.tools.jst.web.kb.include.IncludeContextBuilder.processIncludeContextElement(IncludeContextBuilder.java:117)
at
org.jboss.tools.jst.web.kb.include.IncludeContextBuilder.readElement(IncludeContextBuilder.java:210)
at
org.eclipse.ui.internal.registry.RegistryReader.readElements(RegistryReader.java:144)
at
org.eclipse.ui.internal.registry.RegistryReader.readExtension(RegistryReader.java:155)
at
org.eclipse.ui.internal.registry.RegistryReader.readRegistry(RegistryReader.java:176)
at
org.jboss.tools.jst.web.kb.include.IncludeContextBuilder.readContributions(IncludeContextBuilder.java:265)
at
org.jboss.tools.jst.web.kb.include.IncludeContextBuilder.initCache(IncludeContextBuilder.java:252)
at
org.jboss.tools.jst.web.kb.include.IncludeContextBuilder.getIncludeContextDefinitions(IncludeContextBuilder.java:274)
at
org.jboss.tools.jst.web.kb.include.IncludeContextBuilder.getContextType(IncludeContextBuilder.java:317)
at
org.jboss.tools.jst.web.kb.PageContextFactory.createPageContextInstance(PageContextFactory.java:457)
at
org.jboss.tools.jst.web.kb.PageContextFactory.createPageContext(PageContextFactory.java:421)
at
org.jboss.tools.jst.web.kb.PageContextFactory.createPageContext(PageContextFactory.java:190)
at
org.jboss.tools.jst.web.kb.PageContextFactory.createPageContext(PageContextFactory.java:179)
at
org.jboss.tools.jst.web.kb.internal.validation.ELValidator.validateFile(ELValidator.java:245)
at
org.jboss.tools.jst.web.kb.internal.validation.ELValidator.validateAll(ELValidator.java:230)
at
org.jboss.tools.common.validation.ValidatorManager.validateAll(ValidatorManager.java:131)
at
org.jboss.tools.common.validation.ValidatorManager.validateInJob(ValidatorManager.java:83)
... 2 more
{code}
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators:
https://issues.jboss.org/secure/ContactAdministrators!default.jspa
For more information on JIRA, see:
http://www.atlassian.com/software/jira