JBoss Profile Service
  1. JBoss Profile Service
  2. JBPROFILE-6

ConcurrentModificationException in getDeploymentNamesForType()

    Details

    • Type: Bug Bug
    • Status: Open Open (View Workflow)
    • Priority: Major Major
    • Resolution: Unresolved
    • Affects Version/s: None
    • Fix Version/s: None
    • Component/s: None
    • Labels:
      None
    • Environment:
      EWP 5.0.1 CR2
    • Steps to Reproduce:
      Hide

      From the nature of the bug, it's not easy to reproduce, but this is how it happened:
      1) Start the default profile
      2) Log in to the AS console
      3) Deploy some Ear with embedded war
      4) When AS console page is rendering (and RHQ is scanning the ProfileService), this CMEx occurs.

      Show
      From the nature of the bug, it's not easy to reproduce, but this is how it happened: 1) Start the default profile 2) Log in to the AS console 3) Deploy some Ear with embedded war 4) When AS console page is rendering (and RHQ is scanning the ProfileService), this CMEx occurs.
    • Similar Issues:
      None

      Description

      05:26:26,652 INFO [DeployHandler] Stop, [vfszip:/home/brq/ozizka/work/JON/jboss-ewp-5.0/server/default/deploy/EarWithWar-Counter.ear/]
      05:26:26,656 INFO [TomcatDeployment] undeploy, ctxPath=/EarWithWar-Counter-war
      05:26:26,869 INFO [DeployHandler] End stop, [vfszip:/home/brq/ozizka/work/JON/jboss-ewp-5.0/server/default/deploy/EarWithWar-Counter.ear/]
      05:26:26,870 INFO [DeployHandler] Begin start, [vfszip:/home/brq/ozizka/work/JON/jboss-ewp-5.0/server/default/deploy/EarWithWar-Counter.ear/]
      05:26:27,282 INFO [TomcatDeployment] deploy, ctxPath=/EarWithWar-Counter-war
      05:26:27,382 INFO [DeployHandler] End start, [vfszip:/home/brq/ozizka/work/JON/jboss-ewp-5.0/server/default/deploy/EarWithWar-Counter.ear/]
      05:26:29,016 ERROR [StandaloneManagedDeploymentDiscoveryComponent] Unable to get deployment for type ejb2x
      java.util.ConcurrentModificationException
      at java.util.HashMap$HashIterator.nextEntry(HashMap.java:793)
      at java.util.HashMap$ValueIterator.next(HashMap.java:822)
      at org.jboss.profileservice.management.ManagementViewImpl.getDeploymentNamesForType(ManagementViewImpl.java:1104)
      at org.rhq.plugins.jbossas5.AbstractManagedDeploymentDiscoveryComponent.discoverResources(AbstractManagedDeploymentDiscoveryComponent.java:69)
      at sun.reflect.GeneratedMethodAccessor249.invoke(Unknown Source)
      at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
      at java.lang.reflect.Method.invoke(Method.java:597)
      at org.rhq.core.pc.util.DiscoveryComponentProxyFactory$ComponentInvocationThread.call(DiscoveryComponentProxyFactory.java:266)
      at java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:303)
      at java.util.concurrent.FutureTask.run(FutureTask.java:138)
      at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:886)
      at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:908)
      at java.lang.Thread.run(Thread.java:619)
      05:26:29,017 WARN [InventoryManager] Failure during discovery for [EJB2 JAR] Resources - failed after 2809 ms.
      java.lang.Exception: Discovery component invocation failed.
      at org.rhq.core.pc.util.DiscoveryComponentProxyFactory$ComponentInvocationThread.call(DiscoveryComponentProxyFactory.java:270)
      at java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:303)
      at java.util.concurrent.FutureTask.run(FutureTask.java:138)
      at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:886)
      at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:908)
      at java.lang.Thread.run(Thread.java:619)
      Caused by: java.lang.NullPointerException
      at org.rhq.plugins.jbossas5.AbstractManagedDeploymentDiscoveryComponent.discoverResources(AbstractManagedDeploymentDiscoveryComponent.java:76)
      at sun.reflect.GeneratedMethodAccessor249.invoke(Unknown Source)
      at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
      at java.lang.reflect.Method.invoke(Method.java:597)
      at org.rhq.core.pc.util.DiscoveryComponentProxyFactory$ComponentInvocationThread.call(DiscoveryComponentProxyFactory.java:266)
      ... 5 more

        Activity

        There are no comments yet on this issue.

          People

          • Assignee:
            Emanuel Muckenhuber
            Reporter:
            Ondrej Zizka
          • Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

            • Created:
              Updated: