You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@aries.apache.org by "Hendy Irawan (JIRA)" <ji...@apache.org> on 2012/11/07 12:15:13 UTC

[jira] [Updated] (ARIES-904) Blueprint throws java.util.ConcurrentModificationException when starting bundle

     [ https://issues.apache.org/jira/browse/ARIES-904?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Hendy Irawan updated ARIES-904:
-------------------------------

          Environment: 
Originally Karaf 2.2.8 and blueprint 0.3.2.
But still occur with Blueprint 1.0.1 in Karaf 2.3.0:
Karaf
  Karaf version               2.3.0
  Karaf home                  /home/ceefour/git/bippo-commerce5/karaf
  Karaf base                  /home/ceefour/git/bippo-commerce5/karaf
  OSGi Framework              org.apache.felix.framework - 4.0.3

JVM
  Java Virtual Machine        OpenJDK 64-Bit Server VM version 23.2-b09
  Version                     1.7.0_07
  Vendor                      Oracle Corporation
  Uptime                      2 hours 3 minutes
  Total compile time          38.300 seconds
Threads
  Live threads                106
  Daemon threads              91
  Peak                        138
  Total started               443
Memory
  Current heap size           73,629 kbytes
  Maximum heap size           466,048 kbytes
  Committed heap size         309,184 kbytes
  Pending objects             0
  Garbage collector           Name = 'PS Scavenge', Collections = 834, Time = 5.028 seconds
  Garbage collector           Name = 'PS MarkSweep', Collections = 5, Time = 1.238 seconds
Classes
  Current classes loaded      12,992
  Total classes loaded        13,353
  Total classes unloaded      361
Operating system
  Name                        Linux version 3.2.0-32-generic
  Architecture                amd64
  Processors                  8

    Affects Version/s: blueprint-core-1.0.1
    
> Blueprint throws java.util.ConcurrentModificationException when starting bundle
> -------------------------------------------------------------------------------
>
>                 Key: ARIES-904
>                 URL: https://issues.apache.org/jira/browse/ARIES-904
>             Project: Aries
>          Issue Type: Bug
>          Components: Blueprint
>    Affects Versions: blueprint-core-0.3.2, blueprint-core-1.0.1
>         Environment: Originally Karaf 2.2.8 and blueprint 0.3.2.
> But still occur with Blueprint 1.0.1 in Karaf 2.3.0:
> Karaf
>   Karaf version               2.3.0
>   Karaf home                  /home/ceefour/git/bippo-commerce5/karaf
>   Karaf base                  /home/ceefour/git/bippo-commerce5/karaf
>   OSGi Framework              org.apache.felix.framework - 4.0.3
> JVM
>   Java Virtual Machine        OpenJDK 64-Bit Server VM version 23.2-b09
>   Version                     1.7.0_07
>   Vendor                      Oracle Corporation
>   Uptime                      2 hours 3 minutes
>   Total compile time          38.300 seconds
> Threads
>   Live threads                106
>   Daemon threads              91
>   Peak                        138
>   Total started               443
> Memory
>   Current heap size           73,629 kbytes
>   Maximum heap size           466,048 kbytes
>   Committed heap size         309,184 kbytes
>   Pending objects             0
>   Garbage collector           Name = 'PS Scavenge', Collections = 834, Time = 5.028 seconds
>   Garbage collector           Name = 'PS MarkSweep', Collections = 5, Time = 1.238 seconds
> Classes
>   Current classes loaded      12,992
>   Total classes loaded        13,353
>   Total classes unloaded      361
> Operating system
>   Name                        Linux version 3.2.0-32-generic
>   Architecture                amd64
>   Processors                  8
>            Reporter: Hendy Irawan
>
> I'm not sure what combination exactly causes this, but current state of my project (which is unfortunately already quite complex) can always trigger this bug.
> Probably related to #FELIX-3242.
> {code}
> 2012-08-15 07:09:45,081 | ERROR | rint Extender: 1 | BlueprintContainerImpl           | container.BlueprintContainerImpl  364 | 9 - org.apache.aries.blueprint - 0.3.2 | Unable to start blueprint container for bundle id.co.bippo.commerce.core
> java.util.ConcurrentModificationException
>         at java.util.LinkedHashMap$LinkedHashIterator.nextEntry(LinkedHashMap.java:390)[:1.7.0_03]
>         at java.util.LinkedHashMap$KeyIterator.next(LinkedHashMap.java:401)[:1.7.0_03]
>         at java.util.Collections$UnmodifiableCollection$1.next(Collections.java:1067)[:1.7.0_03]
>         at org.apache.aries.blueprint.container.RecipeBuilder.createRepository(RecipeBuilder.java:87)[9:org.apache.aries.blueprint:0.3.2]
>         at org.apache.aries.blueprint.container.BlueprintContainerImpl.processProcessors(BlueprintContainerImpl.java:495)[9:org.apache.aries.blueprint:0.3.2]
>         at org.apache.aries.blueprint.container.BlueprintContainerImpl.doRun(BlueprintContainerImpl.java:320)[9:org.apache.aries.blueprint:0.3.2]
>         at org.apache.aries.blueprint.container.BlueprintContainerImpl.run(BlueprintContainerImpl.java:230)[9:org.apache.aries.blueprint:0.3.2]
>         at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:471)[:1.7.0_03]
>         at java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:334)[:1.7.0_03]
>         at java.util.concurrent.FutureTask.run(FutureTask.java:166)[:1.7.0_03]
>         at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.access$201(ScheduledThreadPoolExecutor.java:178)[:1.7.0_03]
>         at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.run(ScheduledThreadPoolExecutor.java:292)[:1.7.0_03]
>         at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1110)[:1.7.0_03]
>         at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:603)[:1.7.0_03]
>         at java.lang.Thread.run(Thread.java:722)[:1.7.0_03]
> {code}

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira