incubator-clerezza-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Manuel Innerhofer (JIRA)" <j...@apache.org>
Subject [jira] Resolved: (CLEREZZA-343) SCB Core: ServiceRegistrations not removed from map after unregistration
Date Mon, 25 Oct 2010 16:21:21 GMT

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

Manuel Innerhofer resolved CLEREZZA-343.
----------------------------------------

    Resolution: Fixed

> SCB Core: ServiceRegistrations not removed from map after unregistration
> ------------------------------------------------------------------------
>
>                 Key: CLEREZZA-343
>                 URL: https://issues.apache.org/jira/browse/CLEREZZA-343
>             Project: Clerezza
>          Issue Type: Bug
>            Reporter: Manuel Innerhofer
>            Assignee: Manuel Innerhofer
>
> This can lead to the following exception: 
> java.lang.IllegalStateException: Service already unregistered.
> 	at org.apache.felix.framework.ServiceRegistrationImpl.unregister(ServiceRegistrationImpl.java:125)
> 	at org.apache.clerezza.rdf.core.access.TcManager.tcDisappears(TcManager.java:440)
> 	at org.apache.clerezza.rdf.core.access.TcProviderMultiplexer.weightedProviderRemoved(TcProviderMultiplexer.java:188)
> 	at org.apache.clerezza.rdf.core.access.TcProviderMultiplexer.updateLockableMGraphCache(TcProviderMultiplexer.java:137)
> 	at org.apache.clerezza.rdf.core.access.TcProviderMultiplexer.removeWeightedTcProvider(TcProviderMultiplexer.java:77)
> 	at org.apache.clerezza.rdf.core.access.TcManager.unbindWeightedTcProvider(TcManager.java:382)
> 	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.manager.DependencyManager.invokeUnbindMethod(DependencyManager.java:1094)
> 	at org.apache.felix.scr.impl.manager.DependencyManager.unbind(DependencyManager.java:956)
> 	at org.apache.felix.scr.impl.manager.DependencyManager.close(DependencyManager.java:843)
> 	at org.apache.felix.scr.impl.manager.ImmediateComponentManager.disposeImplementationObject(ImmediateComponentManager.java:269)
> 	at org.apache.felix.scr.impl.manager.ImmediateComponentManager.deleteComponent(ImmediateComponentManager.java:135)
> 	at org.apache.felix.scr.impl.manager.DelayedComponentManager.deleteComponent(DelayedComponentManager.java:66)
> 	at org.apache.felix.scr.impl.manager.AbstractComponentManager$Satisfied.deactivate(AbstractComponentManager.java:1066)
> 	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.updateBundle(Felix.java:1935)
> 	at org.apache.felix.framework.BundleImpl.update(BundleImpl.java:937)
> 	at org.apache.felix.framework.BundleImpl.update(BundleImpl.java:924)
> 	at org.apache.felix.shell.impl.UpdateCommandImpl.execute(UpdateCommandImpl.java:96)
> 	at org.apache.felix.shell.impl.Activator$ExecutePrivileged.run(Activator.java:375)
> 	at java.security.AccessController.doPrivileged(Native Method)
> 	at org.apache.felix.shell.impl.Activator$ShellServiceImpl.executeCommand(Activator.java:274)
> 	at org.apache.felix.shell.tui.Activator$ShellTuiRunnable.run(Activator.java:184)
> To reproduce: Stop and start your rdf storage provider then stop scb core.

-- 
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