[jbosstools-issues] [JBoss JIRA] Commented: (JBIDE-5820) SeamAllTests.testButton test fails with java.util.ConcurrentModificationException

Maxim Areshkau (JIRA) jira-events at lists.jboss.org
Mon Feb 15 14:43:28 EST 2010


    [ https://jira.jboss.org/jira/browse/JBIDE-5820?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12514542#action_12514542 ] 

Maxim Areshkau commented on JBIDE-5820:
---------------------------------------

I have changed VPE Junit Test Logic.
Early we have imported projects and begun tests. Now we have import projects, wait for validation and  build jobs, and then begin vpe tests.  Also validation for test projects easy can be disabled by adding a Suspend Validation property. I added this property and tested how it influence on test execution time. Time with validation and without almost the same. So for now I just changed a logic of test cases.

> SeamAllTests.testButton test fails with java.util.ConcurrentModificationException
> ---------------------------------------------------------------------------------
>
>                 Key: JBIDE-5820
>                 URL: https://jira.jboss.org/jira/browse/JBIDE-5820
>             Project: Tools (JBoss Tools)
>          Issue Type: Bug
>          Components: Seam
>    Affects Versions: 3.1.0.CR2
>            Reporter: Nick Boldt
>            Assignee: Maxim Areshkau
>             Fix For: 3.2.next
>
>
> Stack trace:
> java.util.ConcurrentModificationException
> 	at org.eclipse.emf.common.util.ArrayDelegatingEList$EIterator.checkModCount(ArrayDelegatingEList.java:885)
> 	at org.eclipse.emf.common.util.AbstractEList$EIterator.doNext(AbstractEList.java:710)
> 	at org.eclipse.emf.common.util.AbstractEList$EIterator.next(AbstractEList.java:696)
> 	at org.eclipse.emf.common.notify.impl.AdapterFactoryImpl.adapt(AdapterFactoryImpl.java:86)
> 	at org.eclipse.wst.dtd.core.internal.contentmodel.DTDImpl$DTDAdapterFactoryImpl.adapt(DTDImpl.java:139)
> 	at org.eclipse.wst.dtd.core.internal.contentmodel.DTDImpl.getAdapter(DTDImpl.java:97)
> 	at org.eclipse.wst.dtd.core.internal.contentmodel.DTDImpl$DTDFileAdapter.getElements(DTDImpl.java:661)
> 	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:149)
> 	at org.eclipse.wst.html.core.internal.validate.CMUtil.getDeclaration(CMUtil.java:47)
> 	at org.eclipse.wst.html.core.internal.validate.HTMLAttributeValidator.validate(HTMLAttributeValidator.java:99)
> 	at org.eclipse.wst.html.core.internal.validate.CompositeValidator.validate(CompositeValidator.java:54)
> 	at org.eclipse.wst.xml.core.internal.validate.AbstractPropagatingValidator.validate(AbstractPropagatingValidator.java:38)
> 	at org.eclipse.wst.xml.core.internal.validate.AbstractPropagatingValidator.propagateToChildElements(AbstractPropagatingValidator.java:60)
> 	at org.eclipse.wst.xml.core.internal.validate.AbstractPropagatingValidator.validate(AbstractPropagatingValidator.java:40)
> 	at org.eclipse.wst.html.core.internal.validate.DocumentPropagatingValidator.validate(DocumentPropagatingValidator.java:32)
> 	at org.eclipse.wst.html.internal.validation.HTMLValidator.validate(HTMLValidator.java:432)
> 	at org.eclipse.wst.html.internal.validation.HTMLValidator.validateFile(HTMLValidator.java:494)
> 	at org.eclipse.wst.html.internal.validation.HTMLValidator.validateDelta(HTMLValidator.java:476)
> 	at org.eclipse.wst.html.internal.validation.HTMLValidator.validate(HTMLValidator.java:239)
> 	at org.eclipse.wst.sse.ui.internal.reconcile.validator.ReconcileStepForValidator.validate(ReconcileStepForValidator.java:292)
> 	at org.eclipse.wst.sse.ui.internal.reconcile.validator.ReconcileStepForValidator.reconcileModel(ReconcileStepForValidator.java:258)
> 	at org.eclipse.jface.text.reconciler.AbstractReconcileStep.reconcile(AbstractReconcileStep.java:95)
> 	at org.eclipse.wst.sse.ui.internal.reconcile.validator.ValidatorStrategy.reconcile(ValidatorStrategy.java:257)
> 	at org.eclipse.wst.sse.ui.internal.reconcile.DocumentRegionProcessor.process(DocumentRegionProcessor.java:199)
> 	at org.eclipse.wst.sse.ui.internal.reconcile.StructuredRegionProcessor.process(StructuredRegionProcessor.java:221)
> 	at org.eclipse.wst.sse.ui.internal.reconcile.DirtyRegionProcessor.run(DirtyRegionProcessor.java:641)
> 	at org.eclipse.core.internal.jobs.Worker.run(Worker.java:55)
> http://hudson.qa.jboss.com/hudson/view/DevStudio/job/jbosstools-nightly-3.1.0.CR2/lastCompletedBuild/testReport/(root)/SeamAllTests/testButton/
> Test has been failing for 6 builds. 

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: https://jira.jboss.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        


More information about the jbosstools-issues mailing list