incubator-clerezza-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Reto Bachmann-Gmür (JIRA) <j...@apache.org>
Subject [jira] Updated: (CLEREZZA-268) PlatformConfig: ConcurrentModificationException
Date Mon, 09 Aug 2010 14:26:16 GMT

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

Reto Bachmann-Gmür updated CLEREZZA-268:
----------------------------------------

    Description: 
The message at http://mail-archives.apache.org/mod_mbox/incubator-clerezza-dev/201008.mbox/%3CAANLkTina3xiq5O4q5_EPjeJ_dKi-DYCk4zbVwSUHoz0v@mail.gmail.com%3E

quotes the following exception

java.util.ConcurrentModificationException
    at
com.hp.hpl.jena.tdb.store.GraphTDBBase$MapperIteratorTriples.checkCourrentModification(GraphTDBBase.java:209)
    at
com.hp.hpl.jena.tdb.store.GraphTDBBase$MapperIteratorTriples.hasNext(GraphTDBBase.java:217)
    at
org.apache.clerezza.rdf.jena.storage.JenaGraphAdaptor$1.hasNext(JenaGraphAdaptor.java:80)
    at
org.apache.clerezza.rdf.core.impl.AbstractTripleCollection$1.hasNext(AbstractTripleCollection.java:77)
    at
org.apache.clerezza.rdf.core.access.LockingIterator.hasNext(LockingIterator.java:47)
    at
org.apache.clerezza.rdf.core.access.SecuredTripleCollection$1.hasNext(SecuredTripleCollection.java:61)
    at
org.apache.clerezza.platform.config.PlatformConfig.getPlatformInstanceResource(PlatformConfig.java:119)
    at
org.apache.clerezza.platform.config.PlatformConfig.getPlatformInstance(PlatformConfig.java:114)
    at
org.apache.clerezza.platform.config.PlatformConfig$2.run(PlatformConfig.java:136)
    at
org.apache.clerezza.platform.config.PlatformConfig$2.run(PlatformConfig.java:132)
    at java.security.AccessController.doPrivileged(Native Method)
    at
org.apache.clerezza.platform.config.PlatformConfig.getBaseUris(PlatformConfig.java:132)
    at
org.apache.clerezza.platform.content.hierarchy.HierarchyService.activate(HierarchyService.java:421)
    at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
    at
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
    at
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
    at java.lang.reflect.Method.invoke(Method.java:597)
    at
org.apache.felix.scr.impl.helper.BaseMethod.invokeMethod(BaseMethod.java:213)
    at
org.apache.felix.scr.impl.helper.BaseMethod.access$500(BaseMethod.java:38)
    at
org.apache.felix.scr.impl.helper.BaseMethod$Resolved.invoke(BaseMethod.java:542)
    at
org.apache.felix.scr.impl.helper.BaseMethod.invoke(BaseMethod.java:434)
    at
org.apache.felix.scr.impl.helper.ActivateMethod.invoke(ActivateMethod.java:138)
    at
org.apache.felix.scr.impl.manager.ImmediateComponentManager.createImplementationObject(ImmediateComponentManager.java:226)
    at
org.apache.felix.scr.impl.manager.ImmediateComponentManager.createComponent(ImmediateComponentManager.java:118)
    at
org.apache.felix.scr.impl.manager.DelayedComponentManager.createRealComponent(DelayedComponentManager.java:91)
    at
org.apache.felix.scr.impl.manager.AbstractComponentManager$Registered.getService(AbstractComponentManager.java:1139)
    at
org.apache.felix.scr.impl.manager.DelayedComponentManager.getService(DelayedComponentManager.java:85)
    at
org.apache.felix.framework.ServiceRegistrationImpl.getFactoryUnchecked(ServiceRegistrationImpl.java:306)
    at
org.apache.felix.framework.ServiceRegistrationImpl.access$100(ServiceRegistrationImpl.java:34)
    at
org.apache.felix.framework.ServiceRegistrationImpl$ServiceFactoryPrivileged.run(ServiceRegistrationImpl.java:369)
    at java.security.AccessController.doPrivileged(Native Method)
    at
org.apache.felix.framework.ServiceRegistrationImpl.getService(ServiceRegistrationImpl.java:215)
    at
org.apache.felix.framework.ServiceRegistry.getService(ServiceRegistry.java:322)
    at org.apache.felix.framework.Felix.getService(Felix.java:2913)
    at
org.apache.felix.framework.BundleContextImpl.getService(BundleContextImpl.java:330)
    at
org.apache.felix.scr.impl.manager.DependencyManager.getService(DependencyManager.java:761)
    at
org.apache.felix.scr.impl.manager.DependencyManager$1.getInstance(DependencyManager.java:1003)
    at
org.apache.felix.scr.impl.helper.BindMethod.getParameters(BindMethod.java:436)
    at
org.apache.felix.scr.impl.helper.BaseMethod.invokeMethod(BaseMethod.java:212)
    at
org.apache.felix.scr.impl.helper.BaseMethod.access$500(BaseMethod.java:38)
    at
org.apache.felix.scr.impl.helper.BaseMethod$Resolved.invoke(BaseMethod.java:542)
    at
org.apache.felix.scr.impl.helper.BaseMethod$NotResolved.invoke(BaseMethod.java:500)
    at
org.apache.felix.scr.impl.helper.BaseMethod.invoke(BaseMethod.java:434)
    at
org.apache.felix.scr.impl.manager.DependencyManager.invokeBindMethod(DependencyManager.java:991)
    at
org.apache.felix.scr.impl.manager.DependencyManager.bind(DependencyManager.java:907)
    at
org.apache.felix.scr.impl.manager.DependencyManager.open(DependencyManager.java:831)
    at
org.apache.felix.scr.impl.manager.ImmediateComponentManager.createImplementationObject(ImmediateComponentManager.java:200)
    at
org.apache.felix.scr.impl.manager.ImmediateComponentManager.createComponent(ImmediateComponentManager.java:118)
    at
org.apache.felix.scr.impl.manager.DelayedComponentManager.createRealComponent(DelayedComponentManager.java:91)
    at
org.apache.felix.scr.impl.manager.AbstractComponentManager$Registered.getService(AbstractComponentManager.java:1139)
    at
org.apache.felix.scr.impl.manager.DelayedComponentManager.getService(DelayedComponentManager.java:85)
    at
org.apache.felix.framework.ServiceRegistrationImpl.getFactoryUnchecked(ServiceRegistrationImpl.java:306)
    at
org.apache.felix.framework.ServiceRegistrationImpl.access$100(ServiceRegistrationImpl.java:34)
    at
org.apache.felix.framework.ServiceRegistrationImpl$ServiceFactoryPrivileged.run(ServiceRegistrationImpl.java:369)
    at java.security.AccessController.doPrivileged(Native Method)
    at
org.apache.felix.framework.ServiceRegistrationImpl.getService(ServiceRegistrationImpl.java:215)
    at
org.apache.felix.framework.ServiceRegistry.getService(ServiceRegistry.java:322)
    at org.apache.felix.framework.Felix.getService(Felix.java:2913)
    at
org.apache.felix.framework.BundleContextImpl.getService(BundleContextImpl.java:330)
    at
org.osgi.util.tracker.ServiceTracker.addingService(ServiceTracker.java:442)
    at
org.osgi.util.tracker.ServiceTracker$Tracked.customizerAdding(ServiceTracker.java:896)
    at
org.osgi.util.tracker.AbstractTracked.trackAdding(AbstractTracked.java:261)
    at
org.osgi.util.tracker.AbstractTracked.trackInitial(AbstractTracked.java:184)
    at org.osgi.util.tracker.ServiceTracker.open(ServiceTracker.java:339)
    at org.osgi.util.tracker.ServiceTracker.open(ServiceTracker.java:273)
    at
org.apache.clerezza.platform.content.representations.core.AlternativeRepresentationGenerator$2.run(AlternativeRepresentationGenerator.java:127)


  was:
The message at http://mail-archives.apache.org/mod_mbox/incubator-clerezza-dev/201008.mbox/%3C5863FB4055D90542A7A7DAE0CEF2ACB0060AEDD310@E2K7CCR1.netvigour.com%3E

quotes the following stack-trace (fixed line number  in "RenderletRendererFactoryImpl.java:36"
)

at com.hp.hpl.jena.tdb.store.GraphTDBBase$MapperIteratorTriples.checkCourrentModification(GraphTDBBase.java:209)
   at com.hp.hpl.jena.tdb.store.GraphTDBBase$MapperIteratorTriples.next(GraphTDBBase.java:226)
   at com.hp.hpl.jena.tdb.store.GraphTDBBase$MapperIteratorTriples.next(GraphTDBBase.java:187)
   at org.apache.clerezza.rdf.jena.storage.JenaGraphAdaptor$1.next(JenaGraphAdaptor.java:89)
   at org.apache.clerezza.rdf.jena.storage.JenaGraphAdaptor$1.next(JenaGraphAdaptor.java:70)
   at org.apache.clerezza.rdf.core.impl.AbstractTripleCollection$1.next(AbstractTripleCollection.java:82)
   at org.apache.clerezza.rdf.core.impl.AbstractTripleCollection$1.next(AbstractTripleCollection.java:71)
   at org.apache.clerezza.rdf.core.access.LockingIterator.next(LockingIterator.java:57)
   at org.apache.clerezza.rdf.core.access.LockingIterator.next(LockingIterator.java:31)
   at org.apache.clerezza.rdf.core.access.SecuredTripleCollection$1.next(SecuredTripleCollection.java:67)
   at org.apache.clerezza.rdf.core.access.SecuredTripleCollection$1.next(SecuredTripleCollection.java:56)
   at org.apache.clerezza.rdf.utils.GraphNode$3.next(GraphNode.java:246)
   at org.apache.clerezza.rdf.utils.GraphNode$3.next(GraphNode.java:237)
   at org.apache.clerezza.rdf.utils.GraphNode.hasProperty(GraphNode.java:291)
   at org.apache.clerezza.platform.typerendering.RenderletDefinition.<init>(RenderletDefinition.java:65)
   at org.apache.clerezza.platform.typerendering.RenderletRendererFactoryImpl.createType2DefinitionMap(RenderletRendererFactoryImpl.java:366
   at org.apache.clerezza.platform.typerendering.RenderletRendererFactoryImpl.getType2DefinitionMap(RenderletRendererFactoryImpl.java:351)
   at org.apache.clerezza.platform.typerendering.RenderletRendererFactoryImpl.getRenderer(RenderletRendererFactoryImpl.java:125)
   at org.apache.clerezza.platform.typerendering.RenderletRendererFactoryImpl.createRenderer(RenderletRendererFactoryImpl.java:114)
   at org.apache.clerezza.platform.typerendering.GenericGraphNodeMBW.writeTo(GenericGraphNodeMBW.java:140)
   at org.apache.clerezza.platform.typerendering.GenericGraphNodeMBW.writeTo(GenericGraphNodeMBW.java:75)
   at org.apache.clerezza.triaxrs.ResponseProcessor$1.writeTo(ResponseProcessor.java:313)
   at org.apache.clerezza.triaxrs.ResponseProcessor$1.access$200(ResponseProcessor.java:260)
   at org.apache.clerezza.triaxrs.ResponseProcessor$1$3.run(ResponseProcessor.java:293)
   at java.security.AccessController.doPrivileged(Native Method)
   at javax.security.auth.Subject.doAs(Unknown Source)
   at org.apache.clerezza.triaxrs.ResponseProcessor$1.writeTo(ResponseProcessor.java:289)
   at org.wymiwyg.wrhapi.osgi.OsgiWebServerFactory$1.service(OsgiWebServerFactory.java:112)
   at javax.servlet.http.HttpServlet.service(HttpServlet.java:820)
   at org.eclipse.equinox.http.servlet.internal.ServletRegistration.handleRequest(ServletRegistration.java:90)
   at org.eclipse.equinox.http.servlet.internal.ProxyServlet.processAlias(ProxyServlet.java:109)
   at org.eclipse.equinox.http.servlet.internal.ProxyServlet.service(ProxyServlet.java:75)
   at javax.servlet.http.HttpServlet.service(HttpServlet.java:820)
   at org.eclipse.jetty.servlet.ServletHolder.handle(ServletHolder.java:527)
   at org.eclipse.jetty.servlet.ServletHandler.doHandle(ServletHandler.java:423)
   at org.eclipse.jetty.server.session.SessionHandler.doHandle(SessionHandler.java:223)
   at org.eclipse.jetty.server.handler.ContextHandler.doHandle(ContextHandler.java:930)
   at org.eclipse.jetty.servlet.ServletHandler.doScope(ServletHandler.java:358)
   at org.eclipse.jetty.server.session.SessionHandler.doScope(SessionHandler.java:183)
   at org.eclipse.jetty.server.handler.ContextHandler.doScope(ContextHandler.java:866)
   at org.eclipse.jetty.server.handler.ScopedHandler.handle(ScopedHandler.java:117)
   at org.eclipse.jetty.server.handler.HandlerWrapper.handle(HandlerWrapper.java:113)
   at org.eclipse.jetty.server.Server.handle(Server.java:337)
   at org.eclipse.jetty.server.HttpConnection.handleRequest(HttpConnection.java:595)
   at org.eclipse.jetty.server.HttpConnection$RequestHandler.headerComplete(HttpConnection.java:1038)
   at org.eclipse.jetty.http.HttpParser.parseNext(HttpParser.java:549)
   at org.eclipse.jetty.http.HttpParser.parseAvailable(HttpParser.java:211)
   at org.eclipse.jetty.server.HttpConnection.handle(HttpConnection.java:424)
   at org.eclipse.jetty.io.nio.SelectChannelEndPoint.run(SelectChannelEndPoint.java:489)
   at org.eclipse.jetty.util.thread.QueuedThreadPool$2.run(QueuedThreadPool.java:436)
   at java.lang.Thread.run(Unknown Source)



> PlatformConfig: ConcurrentModificationException
> -----------------------------------------------
>
>                 Key: CLEREZZA-268
>                 URL: https://issues.apache.org/jira/browse/CLEREZZA-268
>             Project: Clerezza
>          Issue Type: Bug
>            Reporter: Reto Bachmann-Gmür
>
> The message at http://mail-archives.apache.org/mod_mbox/incubator-clerezza-dev/201008.mbox/%3CAANLkTina3xiq5O4q5_EPjeJ_dKi-DYCk4zbVwSUHoz0v@mail.gmail.com%3E
> quotes the following exception
> java.util.ConcurrentModificationException
>     at
> com.hp.hpl.jena.tdb.store.GraphTDBBase$MapperIteratorTriples.checkCourrentModification(GraphTDBBase.java:209)
>     at
> com.hp.hpl.jena.tdb.store.GraphTDBBase$MapperIteratorTriples.hasNext(GraphTDBBase.java:217)
>     at
> org.apache.clerezza.rdf.jena.storage.JenaGraphAdaptor$1.hasNext(JenaGraphAdaptor.java:80)
>     at
> org.apache.clerezza.rdf.core.impl.AbstractTripleCollection$1.hasNext(AbstractTripleCollection.java:77)
>     at
> org.apache.clerezza.rdf.core.access.LockingIterator.hasNext(LockingIterator.java:47)
>     at
> org.apache.clerezza.rdf.core.access.SecuredTripleCollection$1.hasNext(SecuredTripleCollection.java:61)
>     at
> org.apache.clerezza.platform.config.PlatformConfig.getPlatformInstanceResource(PlatformConfig.java:119)
>     at
> org.apache.clerezza.platform.config.PlatformConfig.getPlatformInstance(PlatformConfig.java:114)
>     at
> org.apache.clerezza.platform.config.PlatformConfig$2.run(PlatformConfig.java:136)
>     at
> org.apache.clerezza.platform.config.PlatformConfig$2.run(PlatformConfig.java:132)
>     at java.security.AccessController.doPrivileged(Native Method)
>     at
> org.apache.clerezza.platform.config.PlatformConfig.getBaseUris(PlatformConfig.java:132)
>     at
> org.apache.clerezza.platform.content.hierarchy.HierarchyService.activate(HierarchyService.java:421)
>     at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
>     at
> sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
>     at
> sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
>     at java.lang.reflect.Method.invoke(Method.java:597)
>     at
> org.apache.felix.scr.impl.helper.BaseMethod.invokeMethod(BaseMethod.java:213)
>     at
> org.apache.felix.scr.impl.helper.BaseMethod.access$500(BaseMethod.java:38)
>     at
> org.apache.felix.scr.impl.helper.BaseMethod$Resolved.invoke(BaseMethod.java:542)
>     at
> org.apache.felix.scr.impl.helper.BaseMethod.invoke(BaseMethod.java:434)
>     at
> org.apache.felix.scr.impl.helper.ActivateMethod.invoke(ActivateMethod.java:138)
>     at
> org.apache.felix.scr.impl.manager.ImmediateComponentManager.createImplementationObject(ImmediateComponentManager.java:226)
>     at
> org.apache.felix.scr.impl.manager.ImmediateComponentManager.createComponent(ImmediateComponentManager.java:118)
>     at
> org.apache.felix.scr.impl.manager.DelayedComponentManager.createRealComponent(DelayedComponentManager.java:91)
>     at
> org.apache.felix.scr.impl.manager.AbstractComponentManager$Registered.getService(AbstractComponentManager.java:1139)
>     at
> org.apache.felix.scr.impl.manager.DelayedComponentManager.getService(DelayedComponentManager.java:85)
>     at
> org.apache.felix.framework.ServiceRegistrationImpl.getFactoryUnchecked(ServiceRegistrationImpl.java:306)
>     at
> org.apache.felix.framework.ServiceRegistrationImpl.access$100(ServiceRegistrationImpl.java:34)
>     at
> org.apache.felix.framework.ServiceRegistrationImpl$ServiceFactoryPrivileged.run(ServiceRegistrationImpl.java:369)
>     at java.security.AccessController.doPrivileged(Native Method)
>     at
> org.apache.felix.framework.ServiceRegistrationImpl.getService(ServiceRegistrationImpl.java:215)
>     at
> org.apache.felix.framework.ServiceRegistry.getService(ServiceRegistry.java:322)
>     at org.apache.felix.framework.Felix.getService(Felix.java:2913)
>     at
> org.apache.felix.framework.BundleContextImpl.getService(BundleContextImpl.java:330)
>     at
> org.apache.felix.scr.impl.manager.DependencyManager.getService(DependencyManager.java:761)
>     at
> org.apache.felix.scr.impl.manager.DependencyManager$1.getInstance(DependencyManager.java:1003)
>     at
> org.apache.felix.scr.impl.helper.BindMethod.getParameters(BindMethod.java:436)
>     at
> org.apache.felix.scr.impl.helper.BaseMethod.invokeMethod(BaseMethod.java:212)
>     at
> org.apache.felix.scr.impl.helper.BaseMethod.access$500(BaseMethod.java:38)
>     at
> org.apache.felix.scr.impl.helper.BaseMethod$Resolved.invoke(BaseMethod.java:542)
>     at
> org.apache.felix.scr.impl.helper.BaseMethod$NotResolved.invoke(BaseMethod.java:500)
>     at
> org.apache.felix.scr.impl.helper.BaseMethod.invoke(BaseMethod.java:434)
>     at
> org.apache.felix.scr.impl.manager.DependencyManager.invokeBindMethod(DependencyManager.java:991)
>     at
> org.apache.felix.scr.impl.manager.DependencyManager.bind(DependencyManager.java:907)
>     at
> org.apache.felix.scr.impl.manager.DependencyManager.open(DependencyManager.java:831)
>     at
> org.apache.felix.scr.impl.manager.ImmediateComponentManager.createImplementationObject(ImmediateComponentManager.java:200)
>     at
> org.apache.felix.scr.impl.manager.ImmediateComponentManager.createComponent(ImmediateComponentManager.java:118)
>     at
> org.apache.felix.scr.impl.manager.DelayedComponentManager.createRealComponent(DelayedComponentManager.java:91)
>     at
> org.apache.felix.scr.impl.manager.AbstractComponentManager$Registered.getService(AbstractComponentManager.java:1139)
>     at
> org.apache.felix.scr.impl.manager.DelayedComponentManager.getService(DelayedComponentManager.java:85)
>     at
> org.apache.felix.framework.ServiceRegistrationImpl.getFactoryUnchecked(ServiceRegistrationImpl.java:306)
>     at
> org.apache.felix.framework.ServiceRegistrationImpl.access$100(ServiceRegistrationImpl.java:34)
>     at
> org.apache.felix.framework.ServiceRegistrationImpl$ServiceFactoryPrivileged.run(ServiceRegistrationImpl.java:369)
>     at java.security.AccessController.doPrivileged(Native Method)
>     at
> org.apache.felix.framework.ServiceRegistrationImpl.getService(ServiceRegistrationImpl.java:215)
>     at
> org.apache.felix.framework.ServiceRegistry.getService(ServiceRegistry.java:322)
>     at org.apache.felix.framework.Felix.getService(Felix.java:2913)
>     at
> org.apache.felix.framework.BundleContextImpl.getService(BundleContextImpl.java:330)
>     at
> org.osgi.util.tracker.ServiceTracker.addingService(ServiceTracker.java:442)
>     at
> org.osgi.util.tracker.ServiceTracker$Tracked.customizerAdding(ServiceTracker.java:896)
>     at
> org.osgi.util.tracker.AbstractTracked.trackAdding(AbstractTracked.java:261)
>     at
> org.osgi.util.tracker.AbstractTracked.trackInitial(AbstractTracked.java:184)
>     at org.osgi.util.tracker.ServiceTracker.open(ServiceTracker.java:339)
>     at org.osgi.util.tracker.ServiceTracker.open(ServiceTracker.java:273)
>     at
> org.apache.clerezza.platform.content.representations.core.AlternativeRepresentationGenerator$2.run(AlternativeRepresentationGenerator.java:127)

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


Mime
View raw message