aries-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Torsten Mielke (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (ARIES-904) Blueprint throws java.util.ConcurrentModificationException when starting bundle
Date Thu, 27 Jun 2013 17:30:20 GMT

    [ https://issues.apache.org/jira/browse/ARIES-904?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13694896#comment-13694896
] 

Torsten Mielke commented on ARIES-904:
--------------------------------------


Could this error and stack trace be related to this bug or do you think its a different issue?

Using Aries 0.3.1 and Karaf 2.2.2.

{noformat}
2013-02-07 16:28:32,503 | ERROR | rint Extender: 1 | BlueprintContainerImpl           | 11
- 
org.apache.aries.blueprint - 0.3.1.fuse-08-15 | Unable to start blueprint container for bundle
xxx
java.util.ConcurrentModificationException
        at java.util.LinkedList$ListItr.checkForComodification(LinkedList.java:761)[:1.6.0_31]
        at java.util.LinkedList$ListItr.next(LinkedList.java:696)[:1.6.0_31]
        at java.util.AbstractMap$1$1.next(AbstractMap.java:312)[:1.6.0_31]
        at org.apache.aries.blueprint.namespace.NamespaceHandlerRegistryImpl.getSchema(NamespaceHandlerRegistryImpl.java:230)[11:org.apache.aries.blueprint:0.3.1.fuse-08-15]
        at org.apache.aries.blueprint.namespace.NamespaceHandlerRegistryImpl.access$200(NamespaceHandlerRegistryImpl.java:72)[11:org.apache.aries.blueprint:0.3.1.fuse-08-15]
        at org.apache.aries.blueprint.namespace.NamespaceHandlerRegistryImpl$NamespaceHandlerSetImpl.getSchema(NamespaceHandlerRegistryImpl.java:511)[11:org.apache.aries.blueprint:0.3.1.fuse-08-15]
        at org.apache.aries.blueprint.container.BlueprintContainerImpl.doRun(BlueprintContainerImpl.java:291)[11:org.apache.aries.blueprint:0.3.1.fuse-08-15]
        at org.apache.aries.blueprint.container.BlueprintContainerImpl.run(BlueprintContainerImpl.java:240)[11:org.apache.aries.blueprint:0.3.1.fuse-08-15]
        at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:441)[:1.6.0_31]
        at java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:303)[:1.6.0_31]
        at java.util.concurrent.FutureTask.run(FutureTask.java:138)[:1.6.0_31]
        at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.access$301(ScheduledThreadPoolExecutor.java:98)[:1.6.0_31]
        at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.run(ScheduledThreadPoolExecutor.java:206)[:1.6.0_31]
        at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:886)[:1.6.0_31]
        at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:908)[:1.6.0_31]
        at java.lang.Thread.run(Thread.java:662)[:1.6.0_31]
{noformat}
                
> 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

Mime
View raw message