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

Guillaume Nodet commented on ARIES-858:
---------------------------------------

I've added a better namespace registry which should fix the concurrency issues.
                
> Build break: Blueprint container sometimes fails to start, causing 
> application test failures
> --------------------------------------------------------------------------------------------
>
>                 Key: ARIES-858
>                 URL: https://issues.apache.org/jira/browse/ARIES-858
>             Project: Aries
>          Issue Type: Bug
>          Components: Blueprint
>            Reporter: Holly Cummins
>            Assignee: Holly Cummins
>            Priority: Blocker
>
> Since build ARES-1461, we're seeing around 13 failures, although the exact 
> tests which fail varies slightly. Usually there's a failure in 
> org.apache.aries.application.runtime.itests.IsolatedRuntimeTest and 
> org.apache.aries.application.runtime.itests.OBRResolverAdvancedTest.
> The root cause seems to be an NPE in NamespaceHandlerRegistryImpl:
> [Blueprint Extender: 2] ERROR 
> org.apache.aries.blueprint.container.BlueprintContainerImpl - Unable to start 
> blueprint container for bundle 
> org.apache.aries.application.default.local.platform
> java.lang.NullPointerException
>         at java.util.LinkedList.remove(LinkedList.java:792)
>         at java.util.LinkedList.remove(LinkedList.java:226)
>         at 
> org.apache.aries.blueprint.namespace.NamespaceHandlerRegistryImpl$LRUMap.get(NamespaceHandlerRegistryImpl.java:682)
>         at 
> org.apache.aries.blueprint.namespace.NamespaceHandlerRegistryImpl.getSchema(NamespaceHandlerRegistryImpl.java:243)
>         at 
> org.apache.aries.blueprint.namespace.NamespaceHandlerRegistryImpl.access$200(NamespaceHandlerRegistryImpl.java:74)
>         at 
> org.apache.aries.blueprint.namespace.NamespaceHandlerRegistryImpl$NamespaceHandlerSetImpl.getSchema(NamespaceHandlerRegistryImpl.java:502)
>         at 
> org.apache.aries.blueprint.container.BlueprintContainerImpl.doRun(BlueprintContainerImpl.java:291)
>         at 
> org.apache.aries.blueprint.container.BlueprintContainerImpl.run(BlueprintContainerImpl.java:242)
> This issue seems to have been introduced in revision 1341258 on 22.05.2012 
> 01:12:57, "Improve concurrency in the namespace registry".

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: 
https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

Reply via email to