incubator-clerezza-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Hasan (JIRA)" <j...@apache.org>
Subject [jira] Commented: (CLEREZZA-429) Error while shutting down the platform.
Date Thu, 24 Feb 2011 17:42:38 GMT

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

Hasan commented on CLEREZZA-429:
--------------------------------

well, with the resolution of CLEREZZA-441, I got the following on shutdown (note that the
line number in BundleFsLoader.scala is different in my case)

-> shutdown
-> Exception in thread "Thread-21" java.lang.IllegalStateException: Can only register services
while bundle is active or activating.
	at org.apache.felix.framework.Felix.registerService(Felix.java:2824)
	at org.apache.felix.framework.BundleContextImpl.registerService(BundleContextImpl.java:251)
	at org.apache.clerezza.rdf.core.access.TcManager.registerTripleCollectionAsService(TcManager.java:418)
	at org.apache.clerezza.rdf.core.access.TcManager.mGraphAppears(TcManager.java:390)
	at org.apache.clerezza.rdf.core.access.TcProviderMultiplexer.createMGraph(TcProviderMultiplexer.java:309)
	at org.apache.clerezza.rdf.core.access.TcManager.createMGraph(TcManager.java:201)
	at org.apache.clerezza.platform.content.fsadaptor.BundleFsLoader.org$apache$clerezza$platform$content$fsadaptor$BundleFsLoader$$updateCache(BundleFsLoader.scala:141)
	at org.apache.clerezza.platform.content.fsadaptor.BundleFsLoader$UpdateThread.run(BundleFsLoader.scala:83)
2011-02-24 18:36:14,979 [SCR Component Actor] ERROR [SCR Component Actor] (?\:?) - [org.apache.clerezza.platform.content.ContentPostSupport]
Cannot create component instance due to failure to bind reference handler
2011-02-24 18:36:14,990 [SCR Component Actor] ERROR [SCR Component Actor] (?\:?) - [org.apache.clerezza.platform.content.ContentPostSupport]
Cannot create component instance due to failure to bind reference handler
2011-02-24 18:36:15,067 [FelixStartLevel]  WARN [FelixStartLevel] (JaxRsHandler.java\:288)
- Failed to unregister [java.lang.Object] as no service could be located
org.ops4j.pax.logging.pax-logging-api[org.ops4j.pax.logging.internal.Activator] : Disabling
SLF4J API support.


> Error while shutting down the platform.
> ---------------------------------------
>
>                 Key: CLEREZZA-429
>                 URL: https://issues.apache.org/jira/browse/CLEREZZA-429
>             Project: Clerezza
>          Issue Type: Bug
>            Reporter: Tsuyoshi Ito
>
> ERROR: EventDispatcher: Error during dispatch. (org.apache.clerezza.rdf.core.access.NoSuchEntityException:
No such entity: <http://zz.localhost/web-resources.graph>)
> org.apache.clerezza.rdf.core.access.NoSuchEntityException: No such entity: <http://zz.localhost/web-resources.graph>
> 	at org.apache.clerezza.rdf.core.access.TcProviderMultiplexer.getUnsecuredMGraphAndAddToCache(TcProviderMultiplexer.java:266)
> 	at org.apache.clerezza.rdf.core.access.TcProviderMultiplexer.getMGraph(TcProviderMultiplexer.java:234)
> 	at org.apache.clerezza.rdf.core.access.TcManager.getMGraph(TcManager.java:180)
> 	at org.apache.clerezza.platform.content.fsadaptor.BundleFsLoader.removeFromGraph(BundleFsLoader.scala:91)
> 	at org.apache.clerezza.platform.content.fsadaptor.BundleFsLoader.bundleChanged(BundleFsLoader.scala:76)
> 	at org.apache.felix.framework.util.EventDispatcher$4.run(EventDispatcher.java:793)
> 	at java.security.AccessController.doPrivileged(Native Method)
> 	at org.apache.felix.framework.util.EventDispatcher.invokeBundleListenerCallback(EventDispatcher.java:790)
> 	at org.apache.felix.framework.util.EventDispatcher.fireEventImmediately(EventDispatcher.java:728)
> 	at org.apache.felix.framework.util.EventDispatcher.run(EventDispatcher.java:942)
> 	at org.apache.felix.framework.util.EventDispatcher.access$000(EventDispatcher.java:54)
> 	at org.apache.felix.framework.util.EventDispatcher$1.run(EventDispatcher.java:106)
> 	at java.lang.Thread.run(Thread.java:619)
> ERROR: EventDispatcher: Error during dispatch. (org.apache.clerezza.rdf.core.access.NoSuchEntityException:
No such entity: <http://zz.localhost/web-resources.graph>)
> org.apache.clerezza.rdf.core.access.NoSuchEntityException: No such entity: <http://zz.localhost/web-resources.graph>
> 	at org.apache.clerezza.rdf.core.access.TcProviderMultiplexer.getUnsecuredMGraphAndAddToCache(TcProviderMultiplexer.java:266)
> 	at org.apache.clerezza.rdf.core.access.TcProviderMultiplexer.getMGraph(TcProviderMultiplexer.java:234)
> 	at org.apache.clerezza.rdf.core.access.TcManager.getMGraph(TcManager.java:180)
> 	at org.apache.clerezza.platform.content.fsadaptor.BundleFsLoader.removeFromGraph(BundleFsLoader.scala:91)
> 	at org.apache.clerezza.platform.content.fsadaptor.BundleFsLoader.bundleChanged(BundleFsLoader.scala:76)
> 	at org.apache.felix.framework.util.EventDispatcher$4.run(EventDispatcher.java:793)
> 	at java.security.AccessController.doPrivileged(Native Method)
> 	at org.apache.felix.framework.util.EventDispatcher.invokeBundleListenerCallback(EventDispatcher.java:790)
> 	at org.apache.felix.framework.util.EventDispatcher.fireEventImmediately(EventDispatcher.java:728)
> 	at org.apache.felix.framework.util.EventDispatcher.run(EventDispatcher.java:942)
> 	at org.apache.felix.framework.util.EventDispatcher.access$000(EventDispatcher.java:54)
> 	at org.apache.felix.framework.util.EventDispatcher$1.run(EventDispatcher.java:106)
> 	at java.lang.Thread.run(Thread.java:619)
> 2011-02-19 23:47:46,634 [FelixStartLevel] ERROR [FelixStartLevel] (?\:?) - [org.apache.clerezza.platform.content.fsadaptor.BundleFsLoader]
The deactivate method has thrown an exception
> org.apache.clerezza.rdf.core.access.NoSuchEntityException: No such entity: <http://zz.localhost/web-resources.graph>
> 	at org.apache.clerezza.rdf.core.access.TcProviderMultiplexer.getTriples(TcProviderMultiplexer.java:288)
> 	at org.apache.clerezza.rdf.core.access.TcManager.getTriples(TcManager.java:192)
> 	at org.apache.clerezza.rdf.core.access.TcProviderMultiplexer.deleteTripleCollection(TcProviderMultiplexer.java:365)
> 	at org.apache.clerezza.rdf.core.access.TcManager.deleteTripleCollection(TcManager.java:213)
> 	at org.apache.clerezza.platform.content.fsadaptor.BundleFsLoader.deactivate(BundleFsLoader.scala:67)
> 	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.disposeImplementationObject(ImmediateComponentManager.java:260)
> 	at org.apache.felix.scr.impl.manager.ImmediateComponentManager.deleteComponent(ImmediateComponentManager.java:135)
> 	at org.apache.felix.scr.impl.manager.AbstractComponentManager$Satisfied.deactivate(AbstractComponentManager.java:1066)
> 	at org.apache.felix.scr.impl.manager.AbstractComponentManager.deactivateInternal(AbstractComponentManager.java:303)
> 	at org.apache.felix.scr.impl.manager.DependencyManager.serviceRemoved(DependencyManager.java:343)
> 	at org.apache.felix.scr.impl.manager.DependencyManager.serviceChanged(DependencyManager.java:251)
> 	at org.apache.felix.framework.util.EventDispatcher$5.run(EventDispatcher.java:857)
> 	at java.security.AccessController.doPrivileged(Native Method)
> 	at org.apache.felix.framework.util.EventDispatcher.invokeServiceListenerCallback(EventDispatcher.java:853)
> 	at org.apache.felix.framework.util.EventDispatcher.fireEventImmediately(EventDispatcher.java:732)
> 	at org.apache.felix.framework.util.EventDispatcher.fireServiceEvent(EventDispatcher.java:662)
> 	at org.apache.felix.framework.Felix.fireServiceEvent(Felix.java:3733)
> 	at org.apache.felix.framework.Felix.access$000(Felix.java:80)
> 	at org.apache.felix.framework.Felix$2.serviceChanged(Felix.java:717)
> 	at org.apache.felix.framework.ServiceRegistry.unregisterService(ServiceRegistry.java:135)
> 	at org.apache.felix.framework.ServiceRegistrationImpl.unregister(ServiceRegistrationImpl.java:129)
> 	at org.apache.felix.scr.impl.manager.AbstractComponentManager.unregisterComponentService(AbstractComponentManager.java:429)
> 	at org.apache.felix.scr.impl.manager.AbstractComponentManager$Satisfied.deactivate(AbstractComponentManager.java:1065)
> 	at org.apache.felix.scr.impl.manager.AbstractComponentManager.deactivateInternal(AbstractComponentManager.java:303)
> 	at org.apache.felix.scr.impl.manager.DependencyManager.serviceRemoved(DependencyManager.java:343)
> 	at org.apache.felix.scr.impl.manager.DependencyManager.serviceChanged(DependencyManager.java:251)
> 	at org.apache.felix.framework.util.EventDispatcher$5.run(EventDispatcher.java:857)
> 	at java.security.AccessController.doPrivileged(Native Method)
> 	at org.apache.felix.framework.util.EventDispatcher.invokeServiceListenerCallback(EventDispatcher.java:853)
> 	at org.apache.felix.framework.util.EventDispatcher.fireEventImmediately(EventDispatcher.java:732)
> 	at org.apache.felix.framework.util.EventDispatcher.fireServiceEvent(EventDispatcher.java:662)
> 	at org.apache.felix.framework.Felix.fireServiceEvent(Felix.java:3733)
> 	at org.apache.felix.framework.Felix.access$000(Felix.java:80)
> 	at org.apache.felix.framework.Felix$2.serviceChanged(Felix.java:717)
> 	at org.apache.felix.framework.ServiceRegistry.unregisterService(ServiceRegistry.java:135)
> 	at org.apache.felix.framework.ServiceRegistrationImpl.unregister(ServiceRegistrationImpl.java:129)
> 	at org.apache.felix.scr.impl.manager.AbstractComponentManager.unregisterComponentService(AbstractComponentManager.java:429)
> 	at org.apache.felix.scr.impl.manager.AbstractComponentManager$Satisfied.deactivate(AbstractComponentManager.java:1065)
> 	at org.apache.felix.scr.impl.manager.AbstractComponentManager.deactivateInternal(AbstractComponentManager.java:303)
> 	at org.apache.felix.scr.impl.manager.DependencyManager.serviceRemoved(DependencyManager.java:343)
> 	at org.apache.felix.scr.impl.manager.DependencyManager.serviceChanged(DependencyManager.java:251)
> 	at org.apache.felix.framework.util.EventDispatcher$5.run(EventDispatcher.java:857)
> 	at java.security.AccessController.doPrivileged(Native Method)
> 	at org.apache.felix.framework.util.EventDispatcher.invokeServiceListenerCallback(EventDispatcher.java:853)
> 	at org.apache.felix.framework.util.EventDispatcher.fireEventImmediately(EventDispatcher.java:732)
> 	at org.apache.felix.framework.util.EventDispatcher.fireServiceEvent(EventDispatcher.java:662)
> 	at org.apache.felix.framework.Felix.fireServiceEvent(Felix.java:3733)
> 	at org.apache.felix.framework.Felix.access$000(Felix.java:80)
> 	at org.apache.felix.framework.Felix$2.serviceChanged(Felix.java:717)
> 	at org.apache.felix.framework.ServiceRegistry.unregisterService(ServiceRegistry.java:135)
> 	at org.apache.felix.framework.ServiceRegistrationImpl.unregister(ServiceRegistrationImpl.java:129)
> 	at org.apache.felix.scr.impl.manager.AbstractComponentManager.unregisterComponentService(AbstractComponentManager.java:429)
> 	at org.apache.felix.scr.impl.manager.AbstractComponentManager$Satisfied.deactivate(AbstractComponentManager.java:1065)
> 	at org.apache.felix.scr.impl.manager.AbstractComponentManager.disposeInternal(AbstractComponentManager.java:322)
> 	at org.apache.felix.scr.impl.manager.AbstractComponentManager.dispose(AbstractComponentManager.java:185)
> 	at org.apache.felix.scr.impl.config.ConfiguredComponentHolder.disposeComponents(ConfiguredComponentHolder.java:275)
> 	at org.apache.felix.scr.impl.BundleComponentActivator.dispose(BundleComponentActivator.java:319)
> 	at org.apache.felix.scr.impl.Activator.disposeComponents(Activator.java:277)
> 	at org.apache.felix.scr.impl.Activator.bundleChanged(Activator.java:178)
> 	at org.apache.felix.framework.util.EventDispatcher$4.run(EventDispatcher.java:793)
> 	at java.security.AccessController.doPrivileged(Native Method)
> 	at org.apache.felix.framework.util.EventDispatcher.invokeBundleListenerCallback(EventDispatcher.java:790)
> 	at org.apache.felix.framework.util.EventDispatcher.fireEventImmediately(EventDispatcher.java:728)
> 	at org.apache.felix.framework.util.EventDispatcher.fireBundleEvent(EventDispatcher.java:610)
> 	at org.apache.felix.framework.Felix.fireBundleEvent(Felix.java:3722)
> 	at org.apache.felix.framework.Felix.stopBundle(Felix.java:2187)
> 	at org.apache.felix.framework.Felix.setActiveStartLevel(Felix.java:1172)
> 	at org.apache.felix.framework.StartLevelImpl.run(StartLevelImpl.java:264)
> 	at java.lang.Thread.run(Thread.java:619)

-- 
This message is automatically generated by JIRA.
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

Mime
View raw message