[jbosstools-issues] [JBoss JIRA] Commented: (JBIDE-2090) ConcurrentModificationException occurs during the Seam validation

Victor Rubezhny (JIRA) jira-events at lists.jboss.org
Wed Apr 23 10:35:46 EDT 2008


    [ http://jira.jboss.com/jira/browse/JBIDE-2090?page=comments#action_12410254 ] 
            
Victor Rubezhny commented on JBIDE-2090:
----------------------------------------

Snjezana, 

could you make the following:

1. Start the studio, disable any Seam validation. How to do it:

For each project in the Project Explorer:

- Select a project and press Alt+Enter to edit its Properties. 
- Select Validation and disable both, Seam Project Property Validator and Seam Validator, manual and build checkboxes. This will turn off the Seam validation. 
- Select Builders and disable Seam Builder. This will completely stop Seam stuff to work.
- Close the Preferences Dialog

Then try to reproduce the Deadlock and see stack traces.

It happens in my environment.The reason is not the Seam Validation or Seam Content Assistant, but the Editor itself.


> ConcurrentModificationException occurs during the Seam validation
> -----------------------------------------------------------------
>
>                 Key: JBIDE-2090
>                 URL: http://jira.jboss.com/jira/browse/JBIDE-2090
>             Project: Tools (JBoss Tools)
>          Issue Type: Bug
>          Components: Seam
>    Affects Versions: 2.1.0.beta1
>         Environment: I got the exception a few times on Linux, but I am not sure if this is a Linux specific issue
>            Reporter: Snjezana Peco
>         Assigned To: Victor Rubezhny
>            Priority: Critical
>             Fix For: 2.1
>
>         Attachments: s1.txt, s2.txt, StringIndexOutOfBoundsException.txt
>
>
> Sometimes when executing the Seam validation, I get ConcurrentModificationException.
> Steps to reproduce:
> - create a large Seam project (as described in http://jira.jboss.com/jira/browse/JBIDE-1105#action_12394448 , for instance)
> - open a few files in the VPE editor 
> - select the WebContent directory and choose Source>Format
> - edit  files during the Seam validation
> Stack trace:
> 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.common.model.util.TypeInfoCollector.getProperties(TypeInfoCollector.java:843)
>         at org.jboss.tools.common.model.util.TypeInfoCollector.getPropertyPresentations(TypeInfoCollector.java:883)
>         at org.jboss.tools.seam.internal.core.el.SeamELCompletionEngine.resolveSeamELOperand(SeamELCompletionEngine.java:620)
>         at org.jboss.tools.seam.internal.core.el.SeamELCompletionEngine.resolveSeamELOperand(SeamELCompletionEngine.java:330)
>         at org.jboss.tools.seam.internal.core.validation.SeamELValidator.validateElOperand(SeamELValidator.java:293)
>         at org.jboss.tools.seam.internal.core.validation.SeamELValidator.validateEl(SeamELValidator.java:271)
>         at org.jboss.tools.seam.internal.core.validation.SeamELValidator.validateString(SeamELValidator.java:260)
>         at org.jboss.tools.seam.internal.core.validation.SeamELValidator.validateNodeContent(SeamELValidator.java:240)
>         at org.jboss.tools.seam.internal.core.validation.SeamELValidator.validateChildNodes(SeamELValidator.java:221)
>         at org.jboss.tools.seam.internal.core.validation.SeamELValidator.validateChildNodes(SeamELValidator.java:225)
>         at org.jboss.tools.seam.internal.core.validation.SeamELValidator.validateChildNodes(SeamELValidator.java:225)
>         at org.jboss.tools.seam.internal.core.validation.SeamELValidator.validateDom(SeamELValidator.java:194)
>         at org.jboss.tools.seam.internal.core.validation.SeamELValidator.validateFile(SeamELValidator.java:153)
>         at org.jboss.tools.seam.internal.core.validation.SeamELValidator.validate(SeamELValidator.java:106)
>         at org.jboss.tools.seam.internal.core.validation.SeamValidatorManager.validate(SeamValidatorManager.java:79)
>         at org.jboss.tools.seam.internal.core.validation.SeamValidatorManager.validateInJob(SeamValidatorManager.java:64)
>         at org.eclipse.wst.validation.internal.operations.ValidatorJob.run(ValidatorJob.java:75)
>         at org.eclipse.core.internal.jobs.Worker.run(Worker.java:55)

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

        



More information about the jbosstools-issues mailing list