incubator-clerezza-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Tsuyoshi Ito <tsuy....@trialox.org>
Subject Re: ConcurrntModificationException
Date Fri, 06 Aug 2010 07:50:47 GMT
Hi

I have the same problem sometimes, not reproducible:

[Thread-19] ERROR org.apache.clerezza.platform.content -
[org.apache.clerezza.platform.content.hierarchy.HierarchyService] The
activate method has thrown an 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)


On Thu, Aug 5, 2010 at 4:59 PM, Oliver Strässer <
oliver.straesser@getunik.com> wrote:

> hi sometimes the following exceptions is thrown:
> because it's not in my packages and classes i can't fix it.
>
> please fix it
>
>
> 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:36
>   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)
>
> --getunik ag-------------------------------------------
>  oliver straesser              oliver.straesser@getunik.com<mailto:
> oliver.straesser@getunik.com>
>  hardturmstrasse 101    fon: +41 (0)44 388 55 88
>  ch-8005 zuerich              fax: +41 (0)44 388 55 89
>
>   --aktuelles getunik projekt-------------------------
>   Agieren Sie lokal! Geo Marketing für Ihre E-Mail Kampagne:
> www.geomarketing.com<http://www.geomarketing.com/>
>
>  --best of swiss web awards 2009------------------
>   Gold & Silber für Connect2Earth / Bronze für WWF UK
>
> we make the web a better place - www.getunik.com<http://www.getunik.com/>
>
>
>
>
> *****************************************************************
> P Bitte drucken Sie dieses E-Mail nur bei Bedarf aus. Die Umwelt dankt es
> Ihnen.
> *****************************************************************
>
>

Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message