Quantcast
Channel: zeroturnaround.com » All Posts
Viewing all articles
Browse latest Browse all 2540

java.util.ConcurrentModificationException during application startup on Jboss

$
0
0

setup:
JRebel Agent 6.2.3 (201508181414)
JBoss EAP 6.1.0.GA (AS 7.2.0.Final-redhat-8)
IntelliJ 14.1.4 on Windows 7

Application startup fails about 50% of the time with the error java.util.ConcurrentModificationException.

More details:
Caused by: java.util.ConcurrentModificationException

15:41:37,686 ERROR [org.jboss.msc.service.fail] (MSC service thread 1-6) MSC000001: Failed to start service jboss.deployment.subunit.”exploitanten-work.ear”.”exploitanten-inzetten-informatie-webservice.war”.STRUCTURE: org.jboss.msc.service.StartException in service jboss.deployment.subunit.”exploitanten-work.ear”.”exploitanten-inzetten-informatie-webservice.war”.STRUCTURE: JBAS018733: Failed to process phase STRUCTURE of subdeployment “exploitanten-inzetten-informatie-webservice.war” of deployment “exploitanten-work.ear”
at org.jboss.as.server.deployment.DeploymentUnitPhaseService.start(DeploymentUnitPhaseService.java:127) [jboss-as-server-7.2.0.Final-redhat-8.jar:7.2.0.Final-redhat-8]
at org.jboss.msc.service.ServiceControllerImpl$StartTask.startService(ServiceControllerImpl.java:1811) [jboss-msc-1.0.4.GA-redhat-1.jar:1.0.4.GA-redhat-1]
at org.jboss.msc.service.ServiceControllerImpl$StartTask.run(ServiceControllerImpl.java:1746) [jboss-msc-1.0.4.GA-redhat-1.jar:1.0.4.GA-redhat-1]
at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:895) [jrebel-bootstrap-9db61e823e68540f69ecf598deda727d.jar:1.6.0_45]
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:918) [jrebel-bootstrap-9db61e823e68540f69ecf598deda727d.jar:1.6.0_45]
at java.lang.Thread.run(Thread.java:662) [jrebel-bootstrap-9db61e823e68540f69ecf598deda727d.jar:]
Caused by: org.jboss.as.server.deployment.DeploymentUnitProcessingException: JBAS018736: Failed to index deployment root for annotations
at org.jboss.as.server.deployment.annotation.ResourceRootIndexer.indexResourceRoot(ResourceRootIndexer.java:111) [jboss-as-server-7.2.0.Final-redhat-8.jar:7.2.0.Final-redhat-8]
at org.jboss.as.server.deployment.annotation.AnnotationIndexProcessor.deploy(AnnotationIndexProcessor.java:51) [jboss-as-server-7.2.0.Final-redhat-8.jar:7.2.0.Final-redhat-8]
at org.jboss.as.server.deployment.DeploymentUnitPhaseService.start(DeploymentUnitPhaseService.java:120) [jboss-as-server-7.2.0.Final-redhat-8.jar:7.2.0.Final-redhat-8]
… 5 more
Caused by: java.util.ConcurrentModificationException
at java.util.HashMap$HashIterator.nextEntry(HashMap.java:793) [jrebel-bootstrap-9db61e823e68540f69ecf598deda727d.jar:1.6.0_45]
at java.util.HashMap$ValueIterator.next(HashMap.java:822) [jrebel-bootstrap-9db61e823e68540f69ecf598deda727d.jar:1.6.0_45]
at org.zeroturnaround.javarebel.jboss7.ejb.helpers.ejb.RebelSourcesWatcher.update(RebelSourcesWatcher.java:31) [jboss7-jr-plugin-6.2.3.jar:]
at org.zeroturnaround.javarebel.jboss7.ejb.helpers.ejb.DeployedApplication.isFileNewOrChanged(DeployedApplication.java:269) [jboss7-jr-plugin-6.2.3.jar:]
at org.zeroturnaround.javarebel.jboss7.ejb.helpers.ejb.Jboss7EjbReloader.isFileNewOrChanged(Jboss7EjbReloader.java:422) [jboss7-jr-plugin-6.2.3.jar:]
at org.jboss.as.server.deployment.annotation.ResourceRootIndexer.indexResourceRoot(ResourceRootIndexer.java:95) [jboss-as-server-7.2.0.Final-redhat-8.jar:7.2.0.Final-redhat-8]
… 7 more

Retrying a few times solves the issue.

Any idea what could be causing this?

More logfiles available on request


Viewing all articles
Browse latest Browse all 2540

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>