[JBoss JIRA] (JBOSGI-638) ClassCircularityError with Aries Blueprint on JDK1.7
by Thomas Diesler (JIRA)
[ https://issues.jboss.org/browse/JBOSGI-638?page=com.atlassian.jira.plugin... ]
Thomas Diesler resolved JBOSGI-638.
-----------------------------------
Fix Version/s: JBossOSGi 2.0.0
(was: JBossOSGi 2.0.1)
Resolution: Done
Fixed in jbosgi-framework-3.0.0.CR17
> ClassCircularityError with Aries Blueprint on JDK1.7
> ----------------------------------------------------
>
> Key: JBOSGI-638
> URL: https://issues.jboss.org/browse/JBOSGI-638
> Project: JBoss OSGi
> Issue Type: Task
> Security Level: Public(Everyone can see)
> Components: Blueprint
> Reporter: Thomas Diesler
> Assignee: Thomas Diesler
> Fix For: JBossOSGi 2.0.0
>
>
> {code}
> [tdiesler@localhost jbosgi]$ mvn -Dtest=BlueprintTestCase test
> 09:13:24,538 DEBUG [org.jboss.osgi.framework] (Blueprint Extender: 2) Register service: ServiceState{service.id=19, objectClass=[org.jboss.test.osgi.example.blueprint.bundle.ServiceB]}
> 09:13:24,537 ERROR [org.jboss.osgi.framework] (Blueprint Extender: 1) JBOSGI011026: Framework Error: org.osgi.framework.ServiceException: Cannot get factory value
> at org.jboss.osgi.framework.internal.ServiceStateImpl.getScopedValue(ServiceStateImpl.java:152)
> at org.jboss.osgi.framework.internal.ServiceManagerImpl.getService(ServiceManagerImpl.java:266)
> at org.jboss.osgi.framework.internal.AbstractBundleContext.getService(AbstractBundleContext.java:475)
> at org.apache.aries.blueprint.namespace.NamespaceHandlerRegistryImpl.addingService(NamespaceHandlerRegistryImpl.java:101)
> at org.osgi.util.tracker.ServiceTracker$Tracked.customizerAdding(ServiceTracker.java:932)
> at org.osgi.util.tracker.ServiceTracker$Tracked.customizerAdding(ServiceTracker.java:864)
> at org.osgi.util.tracker.AbstractTracked.trackAdding(AbstractTracked.java:256)
> at org.osgi.util.tracker.AbstractTracked.track(AbstractTracked.java:229)
> at org.osgi.util.tracker.ServiceTracker$Tracked.serviceChanged(ServiceTracker.java:894)
> at org.jboss.osgi.framework.internal.FrameworkEventsImpl.fireServiceEvent(FrameworkEventsImpl.java:606)
> at org.jboss.osgi.framework.internal.ServiceManagerImpl.registerService(ServiceManagerImpl.java:149)
> at org.jboss.osgi.framework.internal.AbstractBundleContext.registerService(AbstractBundleContext.java:383)
> at org.apache.aries.blueprint.container.BlueprintContainerImpl$3.run(BlueprintContainerImpl.java:412)
> at org.apache.aries.blueprint.container.BlueprintContainerImpl$3.run(BlueprintContainerImpl.java:410)
> at java.security.AccessController.doPrivileged(Native Method)
> at org.apache.aries.blueprint.container.BlueprintContainerImpl.registerService(BlueprintContainerImpl.java:410)
> at org.apache.aries.blueprint.container.ServiceRecipe.register(ServiceRecipe.java:191)
> at org.apache.aries.blueprint.container.BlueprintContainerImpl.registerServices(BlueprintContainerImpl.java:670)
> at org.apache.aries.blueprint.container.BlueprintContainerImpl.doRun(BlueprintContainerImpl.java:339)
> at org.apache.aries.blueprint.container.BlueprintContainerImpl.run(BlueprintContainerImpl.java:242)
> at org.apache.aries.blueprint.utils.threading.impl.DiscardableRunnable.run(DiscardableRunnable.java:48)
> at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:471)
> at java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:334)
> at java.util.concurrent.FutureTask.run(FutureTask.java:166)
> at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.access$201(ScheduledThreadPoolExecutor.java:178)
> at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.run(ScheduledThreadPoolExecutor.java:292)
> at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145)
> at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615)
> at java.lang.Thread.run(Thread.java:722)
> Caused by: java.lang.ClassCircularityError: org/apache/aries/blueprint/container/BlueprintContainerImpl$5$1
> at org.apache.aries.blueprint.container.BlueprintContainerImpl$5.combine(BlueprintContainerImpl.java:435)
> at java.security.AccessControlContext.goCombiner(AccessControlContext.java:493)
> at java.security.AccessControlContext.optimize(AccessControlContext.java:401)
> at java.security.AccessController.getContext(AccessController.java:502)
> at org.jboss.modules.ConcurrentClassLoader.performLoadClassChecked(ConcurrentClassLoader.java:406)
> at org.jboss.modules.ConcurrentClassLoader.performLoadClass(ConcurrentClassLoader.java:374)
> at org.jboss.modules.ConcurrentClassLoader.loadClass(ConcurrentClassLoader.java:119)
> at org.apache.aries.blueprint.container.BlueprintContainerImpl.loadClass(BlueprintContainerImpl.java:391)
> at org.apache.aries.blueprint.container.BlueprintRepository.loadClass(BlueprintRepository.java:410)
> at org.apache.aries.blueprint.container.GenericType.parse(GenericType.java:113)
> at org.apache.aries.blueprint.di.AbstractRecipe.doLoadType(AbstractRecipe.java:168)
> at org.apache.aries.blueprint.di.AbstractRecipe.loadType(AbstractRecipe.java:161)
> at org.apache.aries.blueprint.container.BeanRecipe.loadClass(BeanRecipe.java:245)
> at org.apache.aries.blueprint.container.BeanRecipe.getType(BeanRecipe.java:891)
> at org.apache.aries.blueprint.container.BeanRecipe.getInstance(BeanRecipe.java:319)
> at org.apache.aries.blueprint.container.BeanRecipe.internalCreate2(BeanRecipe.java:802)
> at org.apache.aries.blueprint.container.BeanRecipe.internalCreate(BeanRecipe.java:783)
> at org.apache.aries.blueprint.di.AbstractRecipe.create(AbstractRecipe.java:106)
> at org.apache.aries.blueprint.container.ServiceRecipe.createService(ServiceRecipe.java:280)
> at org.apache.aries.blueprint.container.ServiceRecipe.internalGetService(ServiceRecipe.java:247)
> at org.apache.aries.blueprint.container.ServiceRecipe.getService(ServiceRecipe.java:349)
> at org.apache.aries.blueprint.container.ServiceRecipe$TriggerServiceFactory.getService(ServiceRecipe.java:502)
> at org.jboss.osgi.framework.internal.ServiceStateImpl$ServiceFactoryHolder.getService(ServiceStateImpl.java:468)
> at org.jboss.osgi.framework.internal.ServiceStateImpl.getScopedValue(ServiceStateImpl.java:141)
> ... 28 more
> {code}
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira
12 years, 6 months
[JBoss JIRA] (JBOSGI-632) ConcurrentModificationException in BundleContext.getServiceReferences()
by Thomas Diesler (JIRA)
[ https://issues.jboss.org/browse/JBOSGI-632?page=com.atlassian.jira.plugin... ]
Thomas Diesler resolved JBOSGI-632.
-----------------------------------
Resolution: Done
Fixed in jbosgi-framework-3.0.0.CR17
> ConcurrentModificationException in BundleContext.getServiceReferences()
> -----------------------------------------------------------------------
>
> Key: JBOSGI-632
> URL: https://issues.jboss.org/browse/JBOSGI-632
> Project: JBoss OSGi
> Issue Type: Bug
> Security Level: Public(Everyone can see)
> Components: Core Framework
> Environment: Linux and Windows
> Reporter: Ed Roberts
> Assignee: Thomas Diesler
> Fix For: JBossOSGi 2.0.0
>
>
> Starting up JBoss AS with a number of deployments, some of which use blueprint to activate services. One of the blueprint activations exposes the concurrency issue
> {code}
> 2013-02-22 15:57:08,193 ERROR [org.eclipse.gemini.blueprint.extender.internal.blueprint.activator.BlueprintLoaderListener](EclipseGeminiBlueprintExtenderThread-29) Application context refresh failed (OsgiBundleXmlApplicationContext(bundle=com.saaconsultants.x, config=bundle://com.saaconsultants.x-170-0-0/OSGI-INF/blueprint/private-beans.xml,bundle://com.saaconsultants.x-170-0-0/OSGI-INF/blueprint/osgi-context.xml,bundle://com.saaconsultants.x-170-0-0/OSGI-INF/blueprint/ee-beans.xml)): org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'otEclInterpreterServiceBean' defined in OSGi resource[bundle://com.saaconsultants.x-170-0-0/OSGI-INF/blueprint/private-beans.xml|bnd.id=170|bnd.sym=com.saaconsultants.x]: Cannot resolve reference to bean 'xService' while setting constructor argument; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'xService': FactoryBean threw exception on object creation; nested exception is java.util.ConcurrentModificationException
> at org.springframework.beans.factory.support.BeanDefinitionValueResolver.resolveReference(BeanDefinitionValueResolver.java:328)
> at org.springframework.beans.factory.support.BeanDefinitionValueResolver.resolveValueIfNecessary(BeanDefinitionValueResolver.java:106)
> at org.springframework.beans.factory.support.ConstructorResolver.resolveConstructorArguments(ConstructorResolver.java:630)
> at org.springframework.beans.factory.support.ConstructorResolver.autowireConstructor(ConstructorResolver.java:148)
> at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.autowireConstructor(AbstractAutowireCapableBeanFactory.java:1035)
> at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBeanInstance(AbstractAutowireCapableBeanFactory.java:939)
> at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.doCreateBean(AbstractAutowireCapableBeanFactory.java:485)
> at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBean(AbstractAutowireCapableBeanFactory.java:456)
> at org.springframework.beans.factory.support.AbstractBeanFactory$1.getObject(AbstractBeanFactory.java:294)
> at org.springframework.beans.factory.support.DefaultSingletonBeanRegistry.getSingleton(DefaultSingletonBeanRegistry.java:225)
> at org.springframework.beans.factory.support.AbstractBeanFactory.doGetBean(AbstractBeanFactory.java:291)
> at org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:193)
> at org.springframework.beans.factory.support.DefaultListableBeanFactory.preInstantiateSingletons(DefaultListableBeanFactory.java:585)
> at org.springframework.context.support.AbstractApplicationContext.finishBeanFactoryInitialization(AbstractApplicationContext.java:913)
> at org.eclipse.gemini.blueprint.context.support.AbstractDelegatedExecutionApplicationContext.access$1600(AbstractDelegatedExecutionApplicationContext.java:60)
> at org.eclipse.gemini.blueprint.context.support.AbstractDelegatedExecutionApplicationContext$4.run(AbstractDelegatedExecutionApplicationContext.java:325)
> at org.eclipse.gemini.blueprint.util.internal.PrivilegedUtils.executeWithCustomTCCL(PrivilegedUtils.java:85)
> at org.eclipse.gemini.blueprint.context.support.AbstractDelegatedExecutionApplicationContext.completeRefresh(AbstractDelegatedExecutionApplicationContext.java:290)
> at org.eclipse.gemini.blueprint.extender.internal.dependencies.startup.DependencyWaiterApplicationContextExecutor$CompleteRefreshTask.run(DependencyWaiterApplicationContextExecutor.java:137)
> at java.lang.Thread.run(Thread.java:722)
> Caused by: org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'xService': FactoryBean threw exception on object creation; nested exception is java.util.ConcurrentModificationException
> at org.springframework.beans.factory.support.FactoryBeanRegistrySupport.doGetObjectFromFactoryBean(FactoryBeanRegistrySupport.java:149)
> at org.springframework.beans.factory.support.FactoryBeanRegistrySupport.getObjectFromFactoryBean(FactoryBeanRegistrySupport.java:102)
> at org.springframework.beans.factory.support.AbstractBeanFactory.getObjectForBeanInstance(AbstractBeanFactory.java:1442)
> at org.springframework.beans.factory.support.AbstractBeanFactory.doGetBean(AbstractBeanFactory.java:248)
> at org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:193)
> at org.springframework.beans.factory.support.BeanDefinitionValueResolver.resolveReference(BeanDefinitionValueResolver.java:322)
> ... 19 more
> Caused by: java.util.ConcurrentModificationException
> at java.util.HashMap$HashIterator.nextEntry(HashMap.java:894)
> at java.util.HashMap$ValueIterator.next(HashMap.java:922)
> at org.jboss.osgi.framework.internal.ServiceManagerImpl.getServiceReferencesInternal(ServiceManagerImpl.java:205)
> at org.jboss.osgi.framework.internal.ServiceManagerImpl.getServiceReferences(ServiceManagerImpl.java:189)
> at org.jboss.osgi.framework.internal.AbstractBundleContext.getServiceReferences(AbstractBundleContext.java:344)
> at org.eclipse.gemini.blueprint.util.OsgiServiceReferenceUtils.getServiceReferences(OsgiServiceReferenceUtils.java:155)
> at org.eclipse.gemini.blueprint.util.OsgiServiceReferenceUtils.getServiceReference(OsgiServiceReferenceUtils.java:70)
> at org.eclipse.gemini.blueprint.util.OsgiServiceReferenceUtils.getServiceReference(OsgiServiceReferenceUtils.java:129)
> at org.eclipse.gemini.blueprint.util.OsgiListenerUtils.addSingleServiceListener(OsgiListenerUtils.java:168)
> at org.eclipse.gemini.blueprint.util.OsgiListenerUtils.addSingleServiceListener(OsgiListenerUtils.java:138)
> at org.eclipse.gemini.blueprint.service.importer.support.internal.aop.ServiceDynamicInterceptor.afterPropertiesSet(ServiceDynamicInterceptor.java:467)
> at org.eclipse.gemini.blueprint.service.importer.support.OsgiServiceProxyFactoryBean$2.run(OsgiServiceProxyFactoryBean.java:196)
> at org.eclipse.gemini.blueprint.service.importer.support.AbstractServiceImporterProxyFactoryBean.getObject(AbstractServiceImporterProxyFactoryBean.java:103)
> at org.eclipse.gemini.blueprint.service.importer.support.OsgiServiceProxyFactoryBean.getObject(OsgiServiceProxyFactoryBean.java:125)
> at org.springframework.beans.factory.support.FactoryBeanRegistrySupport.doGetObjectFromFactoryBean(FactoryBeanRegistrySupport.java:142)
> ... 24 more
> {code}
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira
12 years, 6 months
[JBoss JIRA] (JBOSGI-632) ConcurrentModificationException in BundleContext.getServiceReferences()
by Thomas Diesler (JIRA)
[ https://issues.jboss.org/browse/JBOSGI-632?page=com.atlassian.jira.plugin... ]
Work on JBOSGI-632 started by Thomas Diesler.
> ConcurrentModificationException in BundleContext.getServiceReferences()
> -----------------------------------------------------------------------
>
> Key: JBOSGI-632
> URL: https://issues.jboss.org/browse/JBOSGI-632
> Project: JBoss OSGi
> Issue Type: Bug
> Security Level: Public(Everyone can see)
> Components: Core Framework
> Environment: Linux and Windows
> Reporter: Ed Roberts
> Assignee: Thomas Diesler
> Fix For: JBossOSGi 2.0.0
>
>
> Starting up JBoss AS with a number of deployments, some of which use blueprint to activate services. One of the blueprint activations exposes the concurrency issue
> {code}
> 2013-02-22 15:57:08,193 ERROR [org.eclipse.gemini.blueprint.extender.internal.blueprint.activator.BlueprintLoaderListener](EclipseGeminiBlueprintExtenderThread-29) Application context refresh failed (OsgiBundleXmlApplicationContext(bundle=com.saaconsultants.x, config=bundle://com.saaconsultants.x-170-0-0/OSGI-INF/blueprint/private-beans.xml,bundle://com.saaconsultants.x-170-0-0/OSGI-INF/blueprint/osgi-context.xml,bundle://com.saaconsultants.x-170-0-0/OSGI-INF/blueprint/ee-beans.xml)): org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'otEclInterpreterServiceBean' defined in OSGi resource[bundle://com.saaconsultants.x-170-0-0/OSGI-INF/blueprint/private-beans.xml|bnd.id=170|bnd.sym=com.saaconsultants.x]: Cannot resolve reference to bean 'xService' while setting constructor argument; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'xService': FactoryBean threw exception on object creation; nested exception is java.util.ConcurrentModificationException
> at org.springframework.beans.factory.support.BeanDefinitionValueResolver.resolveReference(BeanDefinitionValueResolver.java:328)
> at org.springframework.beans.factory.support.BeanDefinitionValueResolver.resolveValueIfNecessary(BeanDefinitionValueResolver.java:106)
> at org.springframework.beans.factory.support.ConstructorResolver.resolveConstructorArguments(ConstructorResolver.java:630)
> at org.springframework.beans.factory.support.ConstructorResolver.autowireConstructor(ConstructorResolver.java:148)
> at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.autowireConstructor(AbstractAutowireCapableBeanFactory.java:1035)
> at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBeanInstance(AbstractAutowireCapableBeanFactory.java:939)
> at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.doCreateBean(AbstractAutowireCapableBeanFactory.java:485)
> at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBean(AbstractAutowireCapableBeanFactory.java:456)
> at org.springframework.beans.factory.support.AbstractBeanFactory$1.getObject(AbstractBeanFactory.java:294)
> at org.springframework.beans.factory.support.DefaultSingletonBeanRegistry.getSingleton(DefaultSingletonBeanRegistry.java:225)
> at org.springframework.beans.factory.support.AbstractBeanFactory.doGetBean(AbstractBeanFactory.java:291)
> at org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:193)
> at org.springframework.beans.factory.support.DefaultListableBeanFactory.preInstantiateSingletons(DefaultListableBeanFactory.java:585)
> at org.springframework.context.support.AbstractApplicationContext.finishBeanFactoryInitialization(AbstractApplicationContext.java:913)
> at org.eclipse.gemini.blueprint.context.support.AbstractDelegatedExecutionApplicationContext.access$1600(AbstractDelegatedExecutionApplicationContext.java:60)
> at org.eclipse.gemini.blueprint.context.support.AbstractDelegatedExecutionApplicationContext$4.run(AbstractDelegatedExecutionApplicationContext.java:325)
> at org.eclipse.gemini.blueprint.util.internal.PrivilegedUtils.executeWithCustomTCCL(PrivilegedUtils.java:85)
> at org.eclipse.gemini.blueprint.context.support.AbstractDelegatedExecutionApplicationContext.completeRefresh(AbstractDelegatedExecutionApplicationContext.java:290)
> at org.eclipse.gemini.blueprint.extender.internal.dependencies.startup.DependencyWaiterApplicationContextExecutor$CompleteRefreshTask.run(DependencyWaiterApplicationContextExecutor.java:137)
> at java.lang.Thread.run(Thread.java:722)
> Caused by: org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'xService': FactoryBean threw exception on object creation; nested exception is java.util.ConcurrentModificationException
> at org.springframework.beans.factory.support.FactoryBeanRegistrySupport.doGetObjectFromFactoryBean(FactoryBeanRegistrySupport.java:149)
> at org.springframework.beans.factory.support.FactoryBeanRegistrySupport.getObjectFromFactoryBean(FactoryBeanRegistrySupport.java:102)
> at org.springframework.beans.factory.support.AbstractBeanFactory.getObjectForBeanInstance(AbstractBeanFactory.java:1442)
> at org.springframework.beans.factory.support.AbstractBeanFactory.doGetBean(AbstractBeanFactory.java:248)
> at org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:193)
> at org.springframework.beans.factory.support.BeanDefinitionValueResolver.resolveReference(BeanDefinitionValueResolver.java:322)
> ... 19 more
> Caused by: java.util.ConcurrentModificationException
> at java.util.HashMap$HashIterator.nextEntry(HashMap.java:894)
> at java.util.HashMap$ValueIterator.next(HashMap.java:922)
> at org.jboss.osgi.framework.internal.ServiceManagerImpl.getServiceReferencesInternal(ServiceManagerImpl.java:205)
> at org.jboss.osgi.framework.internal.ServiceManagerImpl.getServiceReferences(ServiceManagerImpl.java:189)
> at org.jboss.osgi.framework.internal.AbstractBundleContext.getServiceReferences(AbstractBundleContext.java:344)
> at org.eclipse.gemini.blueprint.util.OsgiServiceReferenceUtils.getServiceReferences(OsgiServiceReferenceUtils.java:155)
> at org.eclipse.gemini.blueprint.util.OsgiServiceReferenceUtils.getServiceReference(OsgiServiceReferenceUtils.java:70)
> at org.eclipse.gemini.blueprint.util.OsgiServiceReferenceUtils.getServiceReference(OsgiServiceReferenceUtils.java:129)
> at org.eclipse.gemini.blueprint.util.OsgiListenerUtils.addSingleServiceListener(OsgiListenerUtils.java:168)
> at org.eclipse.gemini.blueprint.util.OsgiListenerUtils.addSingleServiceListener(OsgiListenerUtils.java:138)
> at org.eclipse.gemini.blueprint.service.importer.support.internal.aop.ServiceDynamicInterceptor.afterPropertiesSet(ServiceDynamicInterceptor.java:467)
> at org.eclipse.gemini.blueprint.service.importer.support.OsgiServiceProxyFactoryBean$2.run(OsgiServiceProxyFactoryBean.java:196)
> at org.eclipse.gemini.blueprint.service.importer.support.AbstractServiceImporterProxyFactoryBean.getObject(AbstractServiceImporterProxyFactoryBean.java:103)
> at org.eclipse.gemini.blueprint.service.importer.support.OsgiServiceProxyFactoryBean.getObject(OsgiServiceProxyFactoryBean.java:125)
> at org.springframework.beans.factory.support.FactoryBeanRegistrySupport.doGetObjectFromFactoryBean(FactoryBeanRegistrySupport.java:142)
> ... 24 more
> {code}
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira
12 years, 6 months
[JBoss JIRA] (JBOSGI-643) NPE on unregister service during shutdown
by Thomas Diesler (JIRA)
[ https://issues.jboss.org/browse/JBOSGI-643?page=com.atlassian.jira.plugin... ]
Thomas Diesler updated JBOSGI-643:
----------------------------------
Component/s: Core Framework
> NPE on unregister service during shutdown
> -----------------------------------------
>
> Key: JBOSGI-643
> URL: https://issues.jboss.org/browse/JBOSGI-643
> Project: JBoss OSGi
> Issue Type: Bug
> Security Level: Public(Everyone can see)
> Components: Core Framework
> Reporter: Thomas Diesler
> Assignee: Thomas Diesler
> Fix For: JBossOSGi 2.0.0
>
>
> {code}
> 10:31:54,446 WARN [org.jboss.msc.service.fail] (MSC service thread 1-7) MSC000004: Failure during stop of service jboss.deployment.unit."org.apache.aries.jndi:org.apache.aries.jndi:1.0.0".Activate: java.lang.NullPointerException
> at org.jboss.osgi.framework.internal.FrameworkEventsImpl.fireServiceEvent(FrameworkEventsImpl.java:589)
> at org.jboss.osgi.framework.internal.ServiceManagerImpl.unregisterService(ServiceManagerImpl.java:307)
> at org.jboss.osgi.framework.internal.ServiceStateImpl.unregisterInternal(ServiceStateImpl.java:201)
> at org.jboss.osgi.framework.internal.UserBundleState.removeServicesAndListeners(UserBundleState.java:780)
> at org.jboss.osgi.framework.internal.UserBundleState.stopInternalNow(UserBundleState.java:675)
> at org.jboss.osgi.framework.internal.UserBundleState.stopInternal(UserBundleState.java:634)
> at org.jboss.osgi.framework.internal.BundleManagerPlugin.stopBundle(BundleManagerPlugin.java:574)
> at org.jboss.as.osgi.deployment.BundleActivateProcessor$BundleActivateService.stop(BundleActivateProcessor.java:138)
> at org.jboss.msc.service.ServiceControllerImpl$StopTask.stopService(ServiceControllerImpl.java:2082) [jboss-msc-1.1.2.Final.jar:1.1.2.Final]
> at org.jboss.msc.service.ServiceControllerImpl$StopTask.run(ServiceControllerImpl.java:2043) [jboss-msc-1.1.2.Final.jar:1.1.2.Final]
> at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145) [rt.jar:1.7.0_13]
> at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615) [rt.jar:1.7.0_13]
> at java.lang.Thread.run(Thread.java:722) [rt.jar:1.7.0_13]
> {code}
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira
12 years, 6 months
[JBoss JIRA] (JBOSGI-643) NPE on unregister service during shutdown
by Thomas Diesler (JIRA)
Thomas Diesler created JBOSGI-643:
-------------------------------------
Summary: NPE on unregister service during shutdown
Key: JBOSGI-643
URL: https://issues.jboss.org/browse/JBOSGI-643
Project: JBoss OSGi
Issue Type: Bug
Security Level: Public (Everyone can see)
Reporter: Thomas Diesler
Assignee: Thomas Diesler
Fix For: JBossOSGi 2.0.0
{code}
10:31:54,446 WARN [org.jboss.msc.service.fail] (MSC service thread 1-7) MSC000004: Failure during stop of service jboss.deployment.unit."org.apache.aries.jndi:org.apache.aries.jndi:1.0.0".Activate: java.lang.NullPointerException
at org.jboss.osgi.framework.internal.FrameworkEventsImpl.fireServiceEvent(FrameworkEventsImpl.java:589)
at org.jboss.osgi.framework.internal.ServiceManagerImpl.unregisterService(ServiceManagerImpl.java:307)
at org.jboss.osgi.framework.internal.ServiceStateImpl.unregisterInternal(ServiceStateImpl.java:201)
at org.jboss.osgi.framework.internal.UserBundleState.removeServicesAndListeners(UserBundleState.java:780)
at org.jboss.osgi.framework.internal.UserBundleState.stopInternalNow(UserBundleState.java:675)
at org.jboss.osgi.framework.internal.UserBundleState.stopInternal(UserBundleState.java:634)
at org.jboss.osgi.framework.internal.BundleManagerPlugin.stopBundle(BundleManagerPlugin.java:574)
at org.jboss.as.osgi.deployment.BundleActivateProcessor$BundleActivateService.stop(BundleActivateProcessor.java:138)
at org.jboss.msc.service.ServiceControllerImpl$StopTask.stopService(ServiceControllerImpl.java:2082) [jboss-msc-1.1.2.Final.jar:1.1.2.Final]
at org.jboss.msc.service.ServiceControllerImpl$StopTask.run(ServiceControllerImpl.java:2043) [jboss-msc-1.1.2.Final.jar:1.1.2.Final]
at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145) [rt.jar:1.7.0_13]
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615) [rt.jar:1.7.0_13]
at java.lang.Thread.run(Thread.java:722) [rt.jar:1.7.0_13]
{code}
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira
12 years, 6 months