[
https://issues.jboss.org/browse/JBIDE-11424?page=com.atlassian.jira.plugi...
]
Viacheslav Kabanovich commented on JBIDE-11424:
-----------------------------------------------
Issue
https://bugs.eclipse.org/bugs/show_bug.cgi?id=386452 is created.
Class CMNamedNodeMapForBuddySystem iterates on a thread unsafe iterator without
synchronization block.
I still cannot find a way to reproduce the exception. Instances of CMNamedNodeMap are
created just a few times for the Eclipse session as well as method
CMNamedNodeMapForBuddySystem.makeBuddySystem is called just a few times, and it is of very
low probability that the same instance will be accessed from two threads, I cannot make it
happen even in debugger.
ConcurrentModificationException in Error Log after creating JSF2
Kickstart Project
----------------------------------------------------------------------------------
Key: JBIDE-11424
URL:
https://issues.jboss.org/browse/JBIDE-11424
Project: Tools (JBoss Tools)
Issue Type: Bug
Components: JSF, UpStream
Affects Versions: 3.3.0.Beta2
Environment: JBDS5Beta2 #115, L64
Reporter: Jiri Peterka
Assignee: Viacheslav Kabanovich
Fix For: 3.4.0.M1
java.util.ConcurrentModificationException
at java.util.Hashtable$Enumerator.next(Hashtable.java:1031)
at
org.eclipse.wst.html.core.internal.modelquery.CMNamedNodeMapForBuddySystem.makeBuddySystem(CMNamedNodeMapForBuddySystem.java:100)
at
org.eclipse.wst.html.core.internal.modelquery.CMDocumentForBuddySystem$Elements.<init>(CMDocumentForBuddySystem.java:36)
at
org.eclipse.wst.html.core.internal.modelquery.CMDocumentForBuddySystem.getElements(CMDocumentForBuddySystem.java:90)
at
org.eclipse.wst.xml.core.internal.contentmodel.modelqueryimpl.SimpleAssociationProvider.getCMElementDeclaration(SimpleAssociationProvider.java:45)
at
org.eclipse.wst.xml.core.internal.contentmodel.modelqueryimpl.ModelQueryImpl.getCMElementDeclaration(ModelQueryImpl.java:116)
at
org.eclipse.wst.html.core.internal.modelquery.HTMLModelQueryImpl.getCMElementDeclaration(HTMLModelQueryImpl.java:152)
at
org.eclipse.wst.xml.core.internal.document.ElementImpl.getDeclaration(ElementImpl.java:369)
at
org.eclipse.wst.xml.core.internal.document.CMNodeUtil.getElementDeclaration(CMNodeUtil.java:40)
at
org.eclipse.wst.html.core.internal.document.HTMLModelParserAdapter.canContain(HTMLModelParserAdapter.java:86)
at
org.eclipse.wst.xml.core.internal.document.XMLModelParser.insertNode(XMLModelParser.java:1327)
at
org.eclipse.wst.xml.core.internal.document.XMLModelParser.insertStartTag(XMLModelParser.java:1402)
at
org.eclipse.wst.xml.core.internal.document.XMLModelParser.insertStartTag(XMLModelParser.java:1499)
at
org.eclipse.wst.xml.core.internal.document.XMLModelParser.insertStructuredDocumentRegion(XMLModelParser.java:1510)
at
org.eclipse.wst.xml.core.internal.document.XMLModelParser.replaceStructuredDocumentRegions(XMLModelParser.java:2354)
at
org.eclipse.wst.xml.core.internal.document.DOMModelImpl.internalSetNewDocument(DOMModelImpl.java:661)
at
org.eclipse.wst.xml.core.internal.document.DOMModelImpl.setStructuredDocument(DOMModelImpl.java:936)
at
org.eclipse.wst.sse.core.internal.model.AbstractModelLoader.createModel(AbstractModelLoader.java:127)
at
org.eclipse.wst.sse.core.internal.FileBufferModelManager.getModel(FileBufferModelManager.java:725)
at
org.eclipse.wst.sse.core.internal.FileBufferModelManager.getModel(FileBufferModelManager.java:685)
at
org.eclipse.wst.sse.core.internal.model.ModelManagerImpl._doCommonGetModel(ModelManagerImpl.java:544)
at
org.eclipse.wst.sse.core.internal.model.ModelManagerImpl._commonGetModel(ModelManagerImpl.java:508)
at
org.eclipse.wst.sse.core.internal.model.ModelManagerImpl._commonGetModel(ModelManagerImpl.java:481)
at
org.eclipse.wst.sse.core.internal.model.ModelManagerImpl.getModelForRead(ModelManagerImpl.java:1419)
at
org.jboss.tools.jst.web.kb.PageContextFactory.createPageContext(PageContextFactory.java:379)
at
org.jboss.tools.jst.web.kb.PageContextFactory.createPageContext(PageContextFactory.java:222)
at
org.jboss.tools.jst.web.kb.PageContextFactory.createPageContext(PageContextFactory.java:211)
at
org.jboss.tools.jst.web.kb.PageContextFactory.createPageContext(PageContextFactory.java:200)
at
org.jboss.tools.jsf.web.validation.composite.CompositeComponentValidator.validateResource(CompositeComponentValidator.java:188)
at
org.jboss.tools.jsf.web.validation.composite.CompositeComponentValidator.validateAll(CompositeComponentValidator.java:167)
at
org.jboss.tools.common.validation.ValidatorManager.validateAll(ValidatorManager.java:132)
at
org.jboss.tools.common.validation.ValidatorManager.validateInJob(ValidatorManager.java:84)
at
org.eclipse.wst.validation.internal.operations.ValidatorJob.run(ValidatorJob.java:78)
at org.eclipse.core.internal.jobs.Worker.run(Worker.java:54)
--
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