Details

      Description

      The JPA2LCTestCase failed intermittently on lightning with this NPE in a Infinispan class:

      [0m[0m17:20:46,393 INFO  [org.jboss.as.clustering.infinispan] (ServerService Thread Pool -- 71) JBAS010281: Started jpa_SecondLevelCacheTestCase.jar#mypc2.org.hibernate.cache.spi.UpdateTimestampsCache cache from hibernate container
      [0m[0m17:20:46,394 INFO  [org.hibernate.cache.internal.StandardQueryCache] (ServerService Thread Pool -- 71) HHH000248: Starting query cache at region: jpa_SecondLevelCacheTestCase.jar#mypc2.org.hibernate.cache.internal.StandardQueryCache
      [0m[31m17:20:46,390 ERROR [org.jboss.msc.service.fail] (ServerService Thread Pool -- 78) MSC000001: Failed to start service jboss.persistenceunit."jpa_SecondLevelCacheTestCase.jar#mypc": org.jboss.msc.service.StartException in service jboss.persistenceunit."jpa_SecondLevelCacheTestCase.jar#mypc": javax.persistence.PersistenceException: [PersistenceUnit: mypc] Unable to build EntityManagerFactory
      	at org.jboss.as.jpa.service.PersistenceUnitServiceImpl$1.run(PersistenceUnitServiceImpl.java:103)
      	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]
      	at org.jboss.threads.JBossThread.run(JBossThread.java:122)
      Caused by: javax.persistence.PersistenceException: [PersistenceUnit: mypc] 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:118)
      	at org.jboss.as.clustering.infinispan.DefaultEmbeddedCacheManager.getCache(DefaultEmbeddedCacheManager.java:109)
      	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
      

        Gliffy Diagrams

          Attachments

            Issue Links

              Activity

                People

                • Assignee:
                  smarlow Scott Marlow
                  Reporter:
                  jaikiran Jaikiran Pai
                • Votes:
                  0 Vote for this issue
                  Watchers:
                  2 Start watching this issue

                  Dates

                  • Created:
                    Updated:
                    Resolved: