[JBoss JIRA] (WFLY-183) Concurrent cache start causes NPE in MarshallerFactory with Infinispan 5.2.1.Final
by RH Bugzilla Integration (JIRA)
[ https://issues.jboss.org/browse/WFLY-183?page=com.atlassian.jira.plugin.s... ]
RH Bugzilla Integration commented on WFLY-183:
----------------------------------------------
Jitka Kudrnacova <jkudrnac(a)redhat.com> made a comment on [bug 918118|https://bugzilla.redhat.com/show_bug.cgi?id=918118]
Verified.
> Concurrent cache start causes NPE in MarshallerFactory with Infinispan 5.2.1.Final
> ----------------------------------------------------------------------------------
>
> Key: WFLY-183
> URL: https://issues.jboss.org/browse/WFLY-183
> Project: WildFly
> Issue Type: Bug
> Components: Clustering
> Reporter: Radoslav Husar
> Assignee: Radoslav Husar
> Fix For: 8.0.0.Alpha1
>
>
> After 5.2.1.Final upgrade an NPE was spotted in org.jboss.as.test.integration.jpa.secondlevelcache.JPA2LCTestCase
> {noformat}
> [0m[31m16:22:36,784 ERROR [org.jboss.msc.service.fail] (ServerService Thread Pool -- 77) MSC00001: Failed to start service jboss.persistenceunit."jpa_SecondLevelCacheTestCase.jar#mypc2": org.jboss.msc.service.StartException in service jboss.persistenceunit."jpa_SecondLevelCacheTestCase.jar#mypc2": javax.persistence.PersistenceException: [PersistenceUnit: mypc2] Unable to build EntityManagerFactory
> at org.jboss.as.jpa.service.PersistenceUnitServiceImpl$1.run(PersistenceUnitServiceImpl.java:103)
> at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:886) [rt.jar:1.6.0_29]
> at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:908) [rt.jar:1.6.0_29]
> at java.lang.Thread.run(Thread.java:662) [rt.jar:1.6.0_29]
> at org.jboss.threads.JBossThread.run(JBossThread.java:122)
> Caused by: javax.persistence.PersistenceException: [PersistenceUnit: mypc2] Unable to build EntityManagerFactory
> at org.hibernate.ejb.Ejb3Configuration.buildEntityManagerFactory(Ejb3Configuration.java:915)
> at org.hibernate.ejb.Ejb3Configuration.buildEntityManagerFactory(Ejb3Configuration.java:890)
> at org.hibernate.ejb.HibernatePersistence.createContainerEntityManagerFactory(HibernatePersistence.java:74)
> at org.jboss.as.jpa.service.PersistenceUnitServiceImpl.createContainerEntityManagerFactory(PersistenceUnitServiceImpl.java:200)
> at org.jboss.as.jpa.service.PersistenceUnitServiceImpl.access$600(PersistenceUnitServiceImpl.java:57)
> at org.jboss.as.jpa.service.PersistenceUnitServiceImpl$1.run(PersistenceUnitServiceImpl.java:99)
> ... 4 more
> Caused by: org.hibernate.service.spi.ServiceException: Unable to create requested service [org.hibernate.engine.spi.CacheImplementor]
> at org.hibernate.service.internal.AbstractServiceRegistryImpl.createService(AbstractServiceRegistryImpl.java:186)
> at org.hibernate.service.internal.AbstractServiceRegistryImpl.initializeService(AbstractServiceRegistryImpl.java:150)
> at org.hibernate.service.internal.AbstractServiceRegistryImpl.getService(AbstractServiceRegistryImpl.java:131)
> at org.hibernate.internal.SessionFactoryImpl.<init>(SessionFactoryImpl.java:264)
> at org.hibernate.cfg.Configuration.buildSessionFactory(Configuration.java:1742)
> at org.hibernate.ejb.EntityManagerFactoryImpl.<init>(EntityManagerFactoryImpl.java:94)
> at org.hibernate.ejb.Ejb3Configuration.buildEntityManagerFactory(Ejb3Configuration.java:905)
> ... 9 more
> Caused by: java.lang.NullPointerException
> at org.infinispan.factories.MarshallerFactory.construct(MarshallerFactory.java:48)
> at org.infinispan.factories.AbstractComponentRegistry.getOrCreateComponent(AbstractComponentRegistry.java:290)
> at org.infinispan.factories.ComponentRegistry.getOrCreateComponent(ComponentRegistry.java:161)
> at org.infinispan.factories.AbstractComponentRegistry.invokeInjectionMethod(AbstractComponentRegistry.java:246)
> at org.infinispan.factories.AbstractComponentRegistry.access$000(AbstractComponentRegistry.java:86)
> at org.infinispan.factories.AbstractComponentRegistry$Component.injectDependencies(AbstractComponentRegistry.java:811)
> at org.infinispan.factories.AbstractComponentRegistry.registerComponentInternal(AbstractComponentRegistry.java:220)
> at org.infinispan.factories.ComponentRegistry.registerComponentInternal(ComponentRegistry.java:170)
> at org.infinispan.factories.AbstractComponentRegistry.registerComponent(AbstractComponentRegistry.java:175)
> at org.infinispan.factories.AbstractComponentRegistry.getOrCreateComponent(AbstractComponentRegistry.java:295)
> at org.infinispan.factories.ComponentRegistry.getOrCreateComponent(ComponentRegistry.java:161)
> at org.infinispan.factories.AbstractComponentRegistry.invokeInjectionMethod(AbstractComponentRegistry.java:246)
> at org.infinispan.factories.AbstractComponentRegistry.access$000(AbstractComponentRegistry.java:86)
> at org.infinispan.factories.AbstractComponentRegistry$Component.injectDependencies(AbstractComponentRegistry.java:811)
> at org.infinispan.factories.AbstractComponentRegistry.registerComponentInternal(AbstractComponentRegistry.java:220)
> at org.infinispan.factories.ComponentRegistry.registerComponentInternal(ComponentRegistry.java:170)
> at org.infinispan.factories.AbstractComponentRegistry.registerComponent(AbstractComponentRegistry.java:175)
> at org.infinispan.factories.AbstractComponentRegistry.getOrCreateComponent(AbstractComponentRegistry.java:295)
> at org.infinispan.factories.ComponentRegistry.getOrCreateComponent(ComponentRegistry.java:161)
> at org.infinispan.factories.AbstractComponentRegistry.invokeInjectionMethod(AbstractComponentRegistry.java:246)
> at org.infinispan.factories.AbstractComponentRegistry.access$000(AbstractComponentRegistry.java:86)
> at org.infinispan.factories.AbstractComponentRegistry$Component.injectDependencies(AbstractComponentRegistry.java:811)
> at org.infinispan.factories.AbstractComponentRegistry.registerComponentInternal(AbstractComponentRegistry.java:220)
> at org.infinispan.factories.ComponentRegistry.registerComponentInternal(ComponentRegistry.java:170)
> at org.infinispan.factories.AbstractComponentRegistry.registerComponent(AbstractComponentRegistry.java:175)
> at org.infinispan.factories.AbstractComponentRegistry.getOrCreateComponent(AbstractComponentRegistry.java:295)
> at org.infinispan.factories.ComponentRegistry.getOrCreateComponent(ComponentRegistry.java:161)
> at org.infinispan.factories.AbstractComponentRegistry.invokeInjectionMethod(AbstractComponentRegistry.java:246)
> at org.infinispan.factories.AbstractComponentRegistry.access$000(AbstractComponentRegistry.java:86)
> at org.infinispan.factories.AbstractComponentRegistry$Component.injectDependencies(AbstractComponentRegistry.java:811)
> at org.infinispan.factories.AbstractComponentRegistry.registerComponentInternal(AbstractComponentRegistry.java:220)
> at org.infinispan.factories.ComponentRegistry.registerComponentInternal(ComponentRegistry.java:170)
> at org.infinispan.factories.AbstractComponentRegistry.registerComponent(AbstractComponentRegistry.java:175)
> at org.infinispan.factories.AbstractComponentRegistry.getOrCreateComponent(AbstractComponentRegistry.java:295)
> at org.infinispan.factories.ComponentRegistry.getOrCreateComponent(ComponentRegistry.java:161)
> at org.infinispan.factories.AbstractComponentRegistry.invokeInjectionMethod(AbstractComponentRegistry.java:246)
> at org.infinispan.factories.AbstractComponentRegistry.access$000(AbstractComponentRegistry.java:86)
> at org.infinispan.factories.AbstractComponentRegistry$Component.injectDependencies(AbstractComponentRegistry.java:811)
> at org.infinispan.factories.AbstractComponentRegistry.registerComponentInternal(AbstractComponentRegistry.java:220)
> at org.infinispan.factories.ComponentRegistry.registerComponentInternal(ComponentRegistry.java:170)
> at org.infinispan.factories.AbstractComponentRegistry.registerComponent(AbstractComponentRegistry.java:175)
> at org.infinispan.factories.AbstractComponentRegistry.getOrCreateComponent(AbstractComponentRegistry.java:295)
> at org.infinispan.factories.ComponentRegistry.getOrCreateComponent(ComponentRegistry.java:161)
> at org.infinispan.factories.AbstractComponentRegistry.invokeInjectionMethod(AbstractComponentRegistry.java:246)
> at org.infinispan.factories.AbstractComponentRegistry.access$000(AbstractComponentRegistry.java:86)
> at org.infinispan.factories.AbstractComponentRegistry$Component.injectDependencies(AbstractComponentRegistry.java:811)
> at org.infinispan.factories.AbstractComponentRegistry.registerComponentInternal(AbstractComponentRegistry.java:220)
> at org.infinispan.factories.ComponentRegistry.registerComponentInternal(ComponentRegistry.java:170)
> at org.infinispan.factories.AbstractComponentRegistry.registerComponent(AbstractComponentRegistry.java:175)
> at org.infinispan.factories.InternalCacheFactory.bootstrap(InternalCacheFactory.java:101)
> at org.infinispan.factories.InternalCacheFactory.createAndWire(InternalCacheFactory.java:80)
> at org.infinispan.factories.InternalCacheFactory.createCache(InternalCacheFactory.java:64)
> at org.infinispan.manager.DefaultCacheManager.wireAndStartCache(DefaultCacheManager.java:681)
> at org.infinispan.manager.DefaultCacheManager.createCache(DefaultCacheManager.java:649)
> at org.infinispan.manager.DefaultCacheManager.getCache(DefaultCacheManager.java:545)
> at org.infinispan.manager.DefaultCacheManager.getCache(DefaultCacheManager.java:559)
> at org.jboss.as.clustering.infinispan.DefaultEmbeddedCacheManager.getCache(DefaultEmbeddedCacheManager.java:109)
> at org.jboss.as.clustering.infinispan.DefaultEmbeddedCacheManager.getCache(DefaultEmbeddedCacheManager.java:100)
> at org.hibernate.cache.infinispan.InfinispanRegionFactory.getCache(InfinispanRegionFactory.java:526)
> at org.hibernate.cache.infinispan.InfinispanRegionFactory.buildTimestampsRegion(InfinispanRegionFactory.java:260)
> at org.hibernate.cache.spi.UpdateTimestampsCache.<init>(UpdateTimestampsCache.java:62)
> at org.hibernate.internal.CacheImpl.<init>(CacheImpl.java:72)
> at org.hibernate.engine.spi.CacheInitiator.initiateService(CacheInitiator.java:40)
> at org.hibernate.engine.spi.CacheInitiator.initiateService(CacheInitiator.java:35)
> at org.hibernate.service.internal.SessionFactoryServiceRegistryImpl.initiateService(SessionFactoryServiceRegistryImpl.java:91)
> at org.hibernate.service.internal.AbstractServiceRegistryImpl.createService(AbstractServiceRegistryImpl.java:176)
> ... 15 more
> {noformat}
> http://lightning.mw.lab.eng.bos.redhat.com/jenkins/job/as7-master-testsui...
> (backup here)
> https://gist.github.com/rhusar/5040146
--
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, 4 months
[JBoss JIRA] (WFLY-183) Concurrent cache start causes NPE in MarshallerFactory with Infinispan 5.2.1.Final
by RH Bugzilla Integration (JIRA)
[ https://issues.jboss.org/browse/WFLY-183?page=com.atlassian.jira.plugin.s... ]
RH Bugzilla Integration commented on WFLY-183:
----------------------------------------------
Radoslav Husar <rhusar(a)redhat.com> changed the Status of [bug 918118|https://bugzilla.redhat.com/show_bug.cgi?id=918118] from ASSIGNED to ON_QA
> Concurrent cache start causes NPE in MarshallerFactory with Infinispan 5.2.1.Final
> ----------------------------------------------------------------------------------
>
> Key: WFLY-183
> URL: https://issues.jboss.org/browse/WFLY-183
> Project: WildFly
> Issue Type: Bug
> Components: Clustering
> Reporter: Radoslav Husar
> Assignee: Radoslav Husar
> Fix For: 8.0.0.Alpha1
>
>
> After 5.2.1.Final upgrade an NPE was spotted in org.jboss.as.test.integration.jpa.secondlevelcache.JPA2LCTestCase
> {noformat}
> [0m[31m16:22:36,784 ERROR [org.jboss.msc.service.fail] (ServerService Thread Pool -- 77) MSC00001: Failed to start service jboss.persistenceunit."jpa_SecondLevelCacheTestCase.jar#mypc2": org.jboss.msc.service.StartException in service jboss.persistenceunit."jpa_SecondLevelCacheTestCase.jar#mypc2": javax.persistence.PersistenceException: [PersistenceUnit: mypc2] Unable to build EntityManagerFactory
> at org.jboss.as.jpa.service.PersistenceUnitServiceImpl$1.run(PersistenceUnitServiceImpl.java:103)
> at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:886) [rt.jar:1.6.0_29]
> at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:908) [rt.jar:1.6.0_29]
> at java.lang.Thread.run(Thread.java:662) [rt.jar:1.6.0_29]
> at org.jboss.threads.JBossThread.run(JBossThread.java:122)
> Caused by: javax.persistence.PersistenceException: [PersistenceUnit: mypc2] Unable to build EntityManagerFactory
> at org.hibernate.ejb.Ejb3Configuration.buildEntityManagerFactory(Ejb3Configuration.java:915)
> at org.hibernate.ejb.Ejb3Configuration.buildEntityManagerFactory(Ejb3Configuration.java:890)
> at org.hibernate.ejb.HibernatePersistence.createContainerEntityManagerFactory(HibernatePersistence.java:74)
> at org.jboss.as.jpa.service.PersistenceUnitServiceImpl.createContainerEntityManagerFactory(PersistenceUnitServiceImpl.java:200)
> at org.jboss.as.jpa.service.PersistenceUnitServiceImpl.access$600(PersistenceUnitServiceImpl.java:57)
> at org.jboss.as.jpa.service.PersistenceUnitServiceImpl$1.run(PersistenceUnitServiceImpl.java:99)
> ... 4 more
> Caused by: org.hibernate.service.spi.ServiceException: Unable to create requested service [org.hibernate.engine.spi.CacheImplementor]
> at org.hibernate.service.internal.AbstractServiceRegistryImpl.createService(AbstractServiceRegistryImpl.java:186)
> at org.hibernate.service.internal.AbstractServiceRegistryImpl.initializeService(AbstractServiceRegistryImpl.java:150)
> at org.hibernate.service.internal.AbstractServiceRegistryImpl.getService(AbstractServiceRegistryImpl.java:131)
> at org.hibernate.internal.SessionFactoryImpl.<init>(SessionFactoryImpl.java:264)
> at org.hibernate.cfg.Configuration.buildSessionFactory(Configuration.java:1742)
> at org.hibernate.ejb.EntityManagerFactoryImpl.<init>(EntityManagerFactoryImpl.java:94)
> at org.hibernate.ejb.Ejb3Configuration.buildEntityManagerFactory(Ejb3Configuration.java:905)
> ... 9 more
> Caused by: java.lang.NullPointerException
> at org.infinispan.factories.MarshallerFactory.construct(MarshallerFactory.java:48)
> at org.infinispan.factories.AbstractComponentRegistry.getOrCreateComponent(AbstractComponentRegistry.java:290)
> at org.infinispan.factories.ComponentRegistry.getOrCreateComponent(ComponentRegistry.java:161)
> at org.infinispan.factories.AbstractComponentRegistry.invokeInjectionMethod(AbstractComponentRegistry.java:246)
> at org.infinispan.factories.AbstractComponentRegistry.access$000(AbstractComponentRegistry.java:86)
> at org.infinispan.factories.AbstractComponentRegistry$Component.injectDependencies(AbstractComponentRegistry.java:811)
> at org.infinispan.factories.AbstractComponentRegistry.registerComponentInternal(AbstractComponentRegistry.java:220)
> at org.infinispan.factories.ComponentRegistry.registerComponentInternal(ComponentRegistry.java:170)
> at org.infinispan.factories.AbstractComponentRegistry.registerComponent(AbstractComponentRegistry.java:175)
> at org.infinispan.factories.AbstractComponentRegistry.getOrCreateComponent(AbstractComponentRegistry.java:295)
> at org.infinispan.factories.ComponentRegistry.getOrCreateComponent(ComponentRegistry.java:161)
> at org.infinispan.factories.AbstractComponentRegistry.invokeInjectionMethod(AbstractComponentRegistry.java:246)
> at org.infinispan.factories.AbstractComponentRegistry.access$000(AbstractComponentRegistry.java:86)
> at org.infinispan.factories.AbstractComponentRegistry$Component.injectDependencies(AbstractComponentRegistry.java:811)
> at org.infinispan.factories.AbstractComponentRegistry.registerComponentInternal(AbstractComponentRegistry.java:220)
> at org.infinispan.factories.ComponentRegistry.registerComponentInternal(ComponentRegistry.java:170)
> at org.infinispan.factories.AbstractComponentRegistry.registerComponent(AbstractComponentRegistry.java:175)
> at org.infinispan.factories.AbstractComponentRegistry.getOrCreateComponent(AbstractComponentRegistry.java:295)
> at org.infinispan.factories.ComponentRegistry.getOrCreateComponent(ComponentRegistry.java:161)
> at org.infinispan.factories.AbstractComponentRegistry.invokeInjectionMethod(AbstractComponentRegistry.java:246)
> at org.infinispan.factories.AbstractComponentRegistry.access$000(AbstractComponentRegistry.java:86)
> at org.infinispan.factories.AbstractComponentRegistry$Component.injectDependencies(AbstractComponentRegistry.java:811)
> at org.infinispan.factories.AbstractComponentRegistry.registerComponentInternal(AbstractComponentRegistry.java:220)
> at org.infinispan.factories.ComponentRegistry.registerComponentInternal(ComponentRegistry.java:170)
> at org.infinispan.factories.AbstractComponentRegistry.registerComponent(AbstractComponentRegistry.java:175)
> at org.infinispan.factories.AbstractComponentRegistry.getOrCreateComponent(AbstractComponentRegistry.java:295)
> at org.infinispan.factories.ComponentRegistry.getOrCreateComponent(ComponentRegistry.java:161)
> at org.infinispan.factories.AbstractComponentRegistry.invokeInjectionMethod(AbstractComponentRegistry.java:246)
> at org.infinispan.factories.AbstractComponentRegistry.access$000(AbstractComponentRegistry.java:86)
> at org.infinispan.factories.AbstractComponentRegistry$Component.injectDependencies(AbstractComponentRegistry.java:811)
> at org.infinispan.factories.AbstractComponentRegistry.registerComponentInternal(AbstractComponentRegistry.java:220)
> at org.infinispan.factories.ComponentRegistry.registerComponentInternal(ComponentRegistry.java:170)
> at org.infinispan.factories.AbstractComponentRegistry.registerComponent(AbstractComponentRegistry.java:175)
> at org.infinispan.factories.AbstractComponentRegistry.getOrCreateComponent(AbstractComponentRegistry.java:295)
> at org.infinispan.factories.ComponentRegistry.getOrCreateComponent(ComponentRegistry.java:161)
> at org.infinispan.factories.AbstractComponentRegistry.invokeInjectionMethod(AbstractComponentRegistry.java:246)
> at org.infinispan.factories.AbstractComponentRegistry.access$000(AbstractComponentRegistry.java:86)
> at org.infinispan.factories.AbstractComponentRegistry$Component.injectDependencies(AbstractComponentRegistry.java:811)
> at org.infinispan.factories.AbstractComponentRegistry.registerComponentInternal(AbstractComponentRegistry.java:220)
> at org.infinispan.factories.ComponentRegistry.registerComponentInternal(ComponentRegistry.java:170)
> at org.infinispan.factories.AbstractComponentRegistry.registerComponent(AbstractComponentRegistry.java:175)
> at org.infinispan.factories.AbstractComponentRegistry.getOrCreateComponent(AbstractComponentRegistry.java:295)
> at org.infinispan.factories.ComponentRegistry.getOrCreateComponent(ComponentRegistry.java:161)
> at org.infinispan.factories.AbstractComponentRegistry.invokeInjectionMethod(AbstractComponentRegistry.java:246)
> at org.infinispan.factories.AbstractComponentRegistry.access$000(AbstractComponentRegistry.java:86)
> at org.infinispan.factories.AbstractComponentRegistry$Component.injectDependencies(AbstractComponentRegistry.java:811)
> at org.infinispan.factories.AbstractComponentRegistry.registerComponentInternal(AbstractComponentRegistry.java:220)
> at org.infinispan.factories.ComponentRegistry.registerComponentInternal(ComponentRegistry.java:170)
> at org.infinispan.factories.AbstractComponentRegistry.registerComponent(AbstractComponentRegistry.java:175)
> at org.infinispan.factories.InternalCacheFactory.bootstrap(InternalCacheFactory.java:101)
> at org.infinispan.factories.InternalCacheFactory.createAndWire(InternalCacheFactory.java:80)
> at org.infinispan.factories.InternalCacheFactory.createCache(InternalCacheFactory.java:64)
> at org.infinispan.manager.DefaultCacheManager.wireAndStartCache(DefaultCacheManager.java:681)
> at org.infinispan.manager.DefaultCacheManager.createCache(DefaultCacheManager.java:649)
> at org.infinispan.manager.DefaultCacheManager.getCache(DefaultCacheManager.java:545)
> at org.infinispan.manager.DefaultCacheManager.getCache(DefaultCacheManager.java:559)
> at org.jboss.as.clustering.infinispan.DefaultEmbeddedCacheManager.getCache(DefaultEmbeddedCacheManager.java:109)
> at org.jboss.as.clustering.infinispan.DefaultEmbeddedCacheManager.getCache(DefaultEmbeddedCacheManager.java:100)
> at org.hibernate.cache.infinispan.InfinispanRegionFactory.getCache(InfinispanRegionFactory.java:526)
> at org.hibernate.cache.infinispan.InfinispanRegionFactory.buildTimestampsRegion(InfinispanRegionFactory.java:260)
> at org.hibernate.cache.spi.UpdateTimestampsCache.<init>(UpdateTimestampsCache.java:62)
> at org.hibernate.internal.CacheImpl.<init>(CacheImpl.java:72)
> at org.hibernate.engine.spi.CacheInitiator.initiateService(CacheInitiator.java:40)
> at org.hibernate.engine.spi.CacheInitiator.initiateService(CacheInitiator.java:35)
> at org.hibernate.service.internal.SessionFactoryServiceRegistryImpl.initiateService(SessionFactoryServiceRegistryImpl.java:91)
> at org.hibernate.service.internal.AbstractServiceRegistryImpl.createService(AbstractServiceRegistryImpl.java:176)
> ... 15 more
> {noformat}
> http://lightning.mw.lab.eng.bos.redhat.com/jenkins/job/as7-master-testsui...
> (backup here)
> https://gist.github.com/rhusar/5040146
--
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, 4 months
[JBoss JIRA] (WFLY-183) Concurrent cache start causes NPE in MarshallerFactory with Infinispan 5.2.1.Final
by RH Bugzilla Integration (JIRA)
[ https://issues.jboss.org/browse/WFLY-183?page=com.atlassian.jira.plugin.s... ]
RH Bugzilla Integration commented on WFLY-183:
----------------------------------------------
Radoslav Husar <rhusar(a)redhat.com> made a comment on [bug 918118|https://bugzilla.redhat.com/show_bug.cgi?id=918118]
Fix is present in EAP 6.1 release. Should have been moved to ON_QA, moving now.
> Concurrent cache start causes NPE in MarshallerFactory with Infinispan 5.2.1.Final
> ----------------------------------------------------------------------------------
>
> Key: WFLY-183
> URL: https://issues.jboss.org/browse/WFLY-183
> Project: WildFly
> Issue Type: Bug
> Components: Clustering
> Reporter: Radoslav Husar
> Assignee: Radoslav Husar
> Fix For: 8.0.0.Alpha1
>
>
> After 5.2.1.Final upgrade an NPE was spotted in org.jboss.as.test.integration.jpa.secondlevelcache.JPA2LCTestCase
> {noformat}
> [0m[31m16:22:36,784 ERROR [org.jboss.msc.service.fail] (ServerService Thread Pool -- 77) MSC00001: Failed to start service jboss.persistenceunit."jpa_SecondLevelCacheTestCase.jar#mypc2": org.jboss.msc.service.StartException in service jboss.persistenceunit."jpa_SecondLevelCacheTestCase.jar#mypc2": javax.persistence.PersistenceException: [PersistenceUnit: mypc2] Unable to build EntityManagerFactory
> at org.jboss.as.jpa.service.PersistenceUnitServiceImpl$1.run(PersistenceUnitServiceImpl.java:103)
> at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:886) [rt.jar:1.6.0_29]
> at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:908) [rt.jar:1.6.0_29]
> at java.lang.Thread.run(Thread.java:662) [rt.jar:1.6.0_29]
> at org.jboss.threads.JBossThread.run(JBossThread.java:122)
> Caused by: javax.persistence.PersistenceException: [PersistenceUnit: mypc2] Unable to build EntityManagerFactory
> at org.hibernate.ejb.Ejb3Configuration.buildEntityManagerFactory(Ejb3Configuration.java:915)
> at org.hibernate.ejb.Ejb3Configuration.buildEntityManagerFactory(Ejb3Configuration.java:890)
> at org.hibernate.ejb.HibernatePersistence.createContainerEntityManagerFactory(HibernatePersistence.java:74)
> at org.jboss.as.jpa.service.PersistenceUnitServiceImpl.createContainerEntityManagerFactory(PersistenceUnitServiceImpl.java:200)
> at org.jboss.as.jpa.service.PersistenceUnitServiceImpl.access$600(PersistenceUnitServiceImpl.java:57)
> at org.jboss.as.jpa.service.PersistenceUnitServiceImpl$1.run(PersistenceUnitServiceImpl.java:99)
> ... 4 more
> Caused by: org.hibernate.service.spi.ServiceException: Unable to create requested service [org.hibernate.engine.spi.CacheImplementor]
> at org.hibernate.service.internal.AbstractServiceRegistryImpl.createService(AbstractServiceRegistryImpl.java:186)
> at org.hibernate.service.internal.AbstractServiceRegistryImpl.initializeService(AbstractServiceRegistryImpl.java:150)
> at org.hibernate.service.internal.AbstractServiceRegistryImpl.getService(AbstractServiceRegistryImpl.java:131)
> at org.hibernate.internal.SessionFactoryImpl.<init>(SessionFactoryImpl.java:264)
> at org.hibernate.cfg.Configuration.buildSessionFactory(Configuration.java:1742)
> at org.hibernate.ejb.EntityManagerFactoryImpl.<init>(EntityManagerFactoryImpl.java:94)
> at org.hibernate.ejb.Ejb3Configuration.buildEntityManagerFactory(Ejb3Configuration.java:905)
> ... 9 more
> Caused by: java.lang.NullPointerException
> at org.infinispan.factories.MarshallerFactory.construct(MarshallerFactory.java:48)
> at org.infinispan.factories.AbstractComponentRegistry.getOrCreateComponent(AbstractComponentRegistry.java:290)
> at org.infinispan.factories.ComponentRegistry.getOrCreateComponent(ComponentRegistry.java:161)
> at org.infinispan.factories.AbstractComponentRegistry.invokeInjectionMethod(AbstractComponentRegistry.java:246)
> at org.infinispan.factories.AbstractComponentRegistry.access$000(AbstractComponentRegistry.java:86)
> at org.infinispan.factories.AbstractComponentRegistry$Component.injectDependencies(AbstractComponentRegistry.java:811)
> at org.infinispan.factories.AbstractComponentRegistry.registerComponentInternal(AbstractComponentRegistry.java:220)
> at org.infinispan.factories.ComponentRegistry.registerComponentInternal(ComponentRegistry.java:170)
> at org.infinispan.factories.AbstractComponentRegistry.registerComponent(AbstractComponentRegistry.java:175)
> at org.infinispan.factories.AbstractComponentRegistry.getOrCreateComponent(AbstractComponentRegistry.java:295)
> at org.infinispan.factories.ComponentRegistry.getOrCreateComponent(ComponentRegistry.java:161)
> at org.infinispan.factories.AbstractComponentRegistry.invokeInjectionMethod(AbstractComponentRegistry.java:246)
> at org.infinispan.factories.AbstractComponentRegistry.access$000(AbstractComponentRegistry.java:86)
> at org.infinispan.factories.AbstractComponentRegistry$Component.injectDependencies(AbstractComponentRegistry.java:811)
> at org.infinispan.factories.AbstractComponentRegistry.registerComponentInternal(AbstractComponentRegistry.java:220)
> at org.infinispan.factories.ComponentRegistry.registerComponentInternal(ComponentRegistry.java:170)
> at org.infinispan.factories.AbstractComponentRegistry.registerComponent(AbstractComponentRegistry.java:175)
> at org.infinispan.factories.AbstractComponentRegistry.getOrCreateComponent(AbstractComponentRegistry.java:295)
> at org.infinispan.factories.ComponentRegistry.getOrCreateComponent(ComponentRegistry.java:161)
> at org.infinispan.factories.AbstractComponentRegistry.invokeInjectionMethod(AbstractComponentRegistry.java:246)
> at org.infinispan.factories.AbstractComponentRegistry.access$000(AbstractComponentRegistry.java:86)
> at org.infinispan.factories.AbstractComponentRegistry$Component.injectDependencies(AbstractComponentRegistry.java:811)
> at org.infinispan.factories.AbstractComponentRegistry.registerComponentInternal(AbstractComponentRegistry.java:220)
> at org.infinispan.factories.ComponentRegistry.registerComponentInternal(ComponentRegistry.java:170)
> at org.infinispan.factories.AbstractComponentRegistry.registerComponent(AbstractComponentRegistry.java:175)
> at org.infinispan.factories.AbstractComponentRegistry.getOrCreateComponent(AbstractComponentRegistry.java:295)
> at org.infinispan.factories.ComponentRegistry.getOrCreateComponent(ComponentRegistry.java:161)
> at org.infinispan.factories.AbstractComponentRegistry.invokeInjectionMethod(AbstractComponentRegistry.java:246)
> at org.infinispan.factories.AbstractComponentRegistry.access$000(AbstractComponentRegistry.java:86)
> at org.infinispan.factories.AbstractComponentRegistry$Component.injectDependencies(AbstractComponentRegistry.java:811)
> at org.infinispan.factories.AbstractComponentRegistry.registerComponentInternal(AbstractComponentRegistry.java:220)
> at org.infinispan.factories.ComponentRegistry.registerComponentInternal(ComponentRegistry.java:170)
> at org.infinispan.factories.AbstractComponentRegistry.registerComponent(AbstractComponentRegistry.java:175)
> at org.infinispan.factories.AbstractComponentRegistry.getOrCreateComponent(AbstractComponentRegistry.java:295)
> at org.infinispan.factories.ComponentRegistry.getOrCreateComponent(ComponentRegistry.java:161)
> at org.infinispan.factories.AbstractComponentRegistry.invokeInjectionMethod(AbstractComponentRegistry.java:246)
> at org.infinispan.factories.AbstractComponentRegistry.access$000(AbstractComponentRegistry.java:86)
> at org.infinispan.factories.AbstractComponentRegistry$Component.injectDependencies(AbstractComponentRegistry.java:811)
> at org.infinispan.factories.AbstractComponentRegistry.registerComponentInternal(AbstractComponentRegistry.java:220)
> at org.infinispan.factories.ComponentRegistry.registerComponentInternal(ComponentRegistry.java:170)
> at org.infinispan.factories.AbstractComponentRegistry.registerComponent(AbstractComponentRegistry.java:175)
> at org.infinispan.factories.AbstractComponentRegistry.getOrCreateComponent(AbstractComponentRegistry.java:295)
> at org.infinispan.factories.ComponentRegistry.getOrCreateComponent(ComponentRegistry.java:161)
> at org.infinispan.factories.AbstractComponentRegistry.invokeInjectionMethod(AbstractComponentRegistry.java:246)
> at org.infinispan.factories.AbstractComponentRegistry.access$000(AbstractComponentRegistry.java:86)
> at org.infinispan.factories.AbstractComponentRegistry$Component.injectDependencies(AbstractComponentRegistry.java:811)
> at org.infinispan.factories.AbstractComponentRegistry.registerComponentInternal(AbstractComponentRegistry.java:220)
> at org.infinispan.factories.ComponentRegistry.registerComponentInternal(ComponentRegistry.java:170)
> at org.infinispan.factories.AbstractComponentRegistry.registerComponent(AbstractComponentRegistry.java:175)
> at org.infinispan.factories.InternalCacheFactory.bootstrap(InternalCacheFactory.java:101)
> at org.infinispan.factories.InternalCacheFactory.createAndWire(InternalCacheFactory.java:80)
> at org.infinispan.factories.InternalCacheFactory.createCache(InternalCacheFactory.java:64)
> at org.infinispan.manager.DefaultCacheManager.wireAndStartCache(DefaultCacheManager.java:681)
> at org.infinispan.manager.DefaultCacheManager.createCache(DefaultCacheManager.java:649)
> at org.infinispan.manager.DefaultCacheManager.getCache(DefaultCacheManager.java:545)
> at org.infinispan.manager.DefaultCacheManager.getCache(DefaultCacheManager.java:559)
> at org.jboss.as.clustering.infinispan.DefaultEmbeddedCacheManager.getCache(DefaultEmbeddedCacheManager.java:109)
> at org.jboss.as.clustering.infinispan.DefaultEmbeddedCacheManager.getCache(DefaultEmbeddedCacheManager.java:100)
> at org.hibernate.cache.infinispan.InfinispanRegionFactory.getCache(InfinispanRegionFactory.java:526)
> at org.hibernate.cache.infinispan.InfinispanRegionFactory.buildTimestampsRegion(InfinispanRegionFactory.java:260)
> at org.hibernate.cache.spi.UpdateTimestampsCache.<init>(UpdateTimestampsCache.java:62)
> at org.hibernate.internal.CacheImpl.<init>(CacheImpl.java:72)
> at org.hibernate.engine.spi.CacheInitiator.initiateService(CacheInitiator.java:40)
> at org.hibernate.engine.spi.CacheInitiator.initiateService(CacheInitiator.java:35)
> at org.hibernate.service.internal.SessionFactoryServiceRegistryImpl.initiateService(SessionFactoryServiceRegistryImpl.java:91)
> at org.hibernate.service.internal.AbstractServiceRegistryImpl.createService(AbstractServiceRegistryImpl.java:176)
> ... 15 more
> {noformat}
> http://lightning.mw.lab.eng.bos.redhat.com/jenkins/job/as7-master-testsui...
> (backup here)
> https://gist.github.com/rhusar/5040146
--
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, 4 months
[JBoss JIRA] (WFLY-126) DeployableContainer kills the managed server instead of regular shutdown in stop() on Windows
by RH Bugzilla Integration (JIRA)
[ https://issues.jboss.org/browse/WFLY-126?page=com.atlassian.jira.plugin.s... ]
RH Bugzilla Integration commented on WFLY-126:
----------------------------------------------
Ivo Studensky <istudens(a)redhat.com> made a comment on [bug 978332|https://bugzilla.redhat.com/show_bug.cgi?id=978332]
Description of problem:
Backport of WFLY-126 to the EAP 6.1.x branch.
Upstream's description:
This might be due to historical reasons for the TS to run faster, but this messes up clustering tests since shutdown is part of the test.
The problem is that Managed*DeployableContainer kills the managed server instead of regular shutdown in stop() on Windows. ARQ's stop is supposed to shutdown the server 'nicely', for abrupt termination there is jvmKill().
This was probably implemented like this incorrectly assuming that on windows, the process is sent SIGTERM like on *NIX-based OSes but there is no such thing on windows and the process is terminated immediately.
This shows up only in clustered tests, compared to other tests which dont rely on the shutdown sequence to be completed, but clustering testsuite relies on shutdown to disconnect the channel and leave the cluster without FD having to kick in.
> DeployableContainer kills the managed server instead of regular shutdown in stop() on Windows
> ---------------------------------------------------------------------------------------------
>
> Key: WFLY-126
> URL: https://issues.jboss.org/browse/WFLY-126
> Project: WildFly
> Issue Type: Bug
> Components: Test Suite
> Reporter: Radoslav Husar
> Assignee: Radoslav Husar
> Priority: Critical
> Fix For: 8.0.0.Alpha1
>
>
> This might be due to historical reasons for the TS to run faster, but this messes up clustering tests since shutdown is part of the test.
--
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, 4 months
[JBoss JIRA] (WFLY-1586) java.lang.NoClassDefFoundError: Could not initialize class com.sun.xml.messaging.saaj.soap.ver1_1.SOAPMessageFactory1_1Impl
by Rostislav Svoboda (JIRA)
[ https://issues.jboss.org/browse/WFLY-1586?page=com.atlassian.jira.plugin.... ]
Rostislav Svoboda commented on WFLY-1586:
-----------------------------------------
OpenJDK issue, one patch wasn't applied, OpenJDK team is working on respin.
> java.lang.NoClassDefFoundError: Could not initialize class com.sun.xml.messaging.saaj.soap.ver1_1.SOAPMessageFactory1_1Impl
> ---------------------------------------------------------------------------------------------------------------------------
>
> Key: WFLY-1586
> URL: https://issues.jboss.org/browse/WFLY-1586
> Project: WildFly
> Issue Type: Bug
> Components: Web Services
> Affects Versions: 8.0.0.Alpha2
> Environment: java version "1.7.0_25"
> OpenJDK Runtime Environment (fedora-2.3.10.3.fc17-x86_64)
> OpenJDK 64-Bit Server VM (build 23.7-b01, mixed mode)
> java-1.7.0-openjdk-1.7.0.25-2.3.10.3.fc17.x86_64
> Reporter: Carlo de Wolf
> Assignee: Alessio Soldano
> Priority: Blocker
> Fix For: 8.0.0.Alpha3
>
> Attachments: org.jboss.as.test.xts.simple.wsat.client.WSATTestCase.txt
>
>
> With the latest update of OpenJDK to 1.7.0.25-2.3.10.3 there is regression w.r.t. WebServices.
--
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, 4 months
[JBoss JIRA] (DROOLS-180) NPE when trying to add the same resource twice
by Mario Fusco (JIRA)
[ https://issues.jboss.org/browse/DROOLS-180?page=com.atlassian.jira.plugin... ]
Mario Fusco resolved DROOLS-180.
--------------------------------
Fix Version/s: 6.0.0.CR1
Resolution: Done
> NPE when trying to add the same resource twice
> ----------------------------------------------
>
> Key: DROOLS-180
> URL: https://issues.jboss.org/browse/DROOLS-180
> Project: Drools
> Issue Type: Bug
> Security Level: Public(Everyone can see)
> Reporter: Mario Fusco
> Assignee: Mario Fusco
> Fix For: 6.0.0.CR1
>
>
> Trying to add the same resource twice to the KnowledgeBuilder like in
> {code}
> String str =
> "rule R when\n" +
> " $s : String()\n" +
> "then\n" +
> "end\n";
> KnowledgeBuilder kbuilder = KnowledgeBuilderFactory.newKnowledgeBuilder();
> kbuilder.add( ResourceFactory.newByteArrayResource( str.getBytes() ), ResourceType.DRL );
> kbuilder.add( ResourceFactory.newByteArrayResource( str.getBytes() ), ResourceType.DRL );
> {code}
> generates the following NullPointerException:
> {code}
> java.lang.NullPointerException
> at org.drools.compiler.compiler.PackageBuilder.validateUniqueRuleNames(PackageBuilder.java:1351)
> at org.drools.compiler.compiler.PackageBuilder.initPackageRegistry(PackageBuilder.java:947)
> at org.drools.compiler.compiler.PackageBuilder.addPackage(PackageBuilder.java:899)
> at org.drools.compiler.compiler.PackageBuilder.addPackageFromDrl(PackageBuilder.java:484)
> at org.drools.compiler.compiler.PackageBuilder.addKnowledgeResource(PackageBuilder.java:688)
> at org.drools.compiler.builder.impl.KnowledgeBuilderImpl.add(KnowledgeBuilderImpl.java:51)
> at org.drools.compiler.builder.impl.KnowledgeBuilderImpl.add(KnowledgeBuilderImpl.java:40)
> {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, 4 months
[JBoss JIRA] (DROOLS-180) NPE when trying to add the same resource twice
by Mario Fusco (JIRA)
Mario Fusco created DROOLS-180:
----------------------------------
Summary: NPE when trying to add the same resource twice
Key: DROOLS-180
URL: https://issues.jboss.org/browse/DROOLS-180
Project: Drools
Issue Type: Bug
Security Level: Public (Everyone can see)
Reporter: Mario Fusco
Assignee: Mario Fusco
Trying to add the same resource twice to the KnowledgeBuilder like in
{code}
String str =
"rule R when\n" +
" $s : String()\n" +
"then\n" +
"end\n";
KnowledgeBuilder kbuilder = KnowledgeBuilderFactory.newKnowledgeBuilder();
kbuilder.add( ResourceFactory.newByteArrayResource( str.getBytes() ), ResourceType.DRL );
kbuilder.add( ResourceFactory.newByteArrayResource( str.getBytes() ), ResourceType.DRL );
{code}
generates the following NullPointerException:
{code}
java.lang.NullPointerException
at org.drools.compiler.compiler.PackageBuilder.validateUniqueRuleNames(PackageBuilder.java:1351)
at org.drools.compiler.compiler.PackageBuilder.initPackageRegistry(PackageBuilder.java:947)
at org.drools.compiler.compiler.PackageBuilder.addPackage(PackageBuilder.java:899)
at org.drools.compiler.compiler.PackageBuilder.addPackageFromDrl(PackageBuilder.java:484)
at org.drools.compiler.compiler.PackageBuilder.addKnowledgeResource(PackageBuilder.java:688)
at org.drools.compiler.builder.impl.KnowledgeBuilderImpl.add(KnowledgeBuilderImpl.java:51)
at org.drools.compiler.builder.impl.KnowledgeBuilderImpl.add(KnowledgeBuilderImpl.java:40)
{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, 4 months