Skip to content

Instantly share code, notes, and snippets.

@rhusar
Created February 26, 2013 17:05
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save rhusar/5040146 to your computer and use it in GitHub Desktop.
Save rhusar/5040146 to your computer and use it in GitHub Desktop.
NPE
Failed
org.jboss.as.test.integration.jpa.secondlevelcache.JPA2LCTestCase.org.jboss.as.test.integration.jpa.secondlevelcache.JPA2LCTestCase
Failing for the past 1 build (Since #7144 )
Took 0.72 sec.
Error Message
Cannot deploy: jpa_SecondLevelCacheTestCase.jar
Stacktrace
org.jboss.arquillian.container.spi.client.container.DeploymentException: Cannot deploy: jpa_SecondLevelCacheTestCase.jar
at org.jboss.as.arquillian.container.ArchiveDeployer.deployInternal(ArchiveDeployer.java:83)
at org.jboss.as.arquillian.container.ArchiveDeployer.deployInternal(ArchiveDeployer.java:64)
at org.jboss.as.arquillian.container.ArchiveDeployer.deploy(ArchiveDeployer.java:46)
at org.jboss.as.arquillian.container.CommonDeployableContainer.deploy(CommonDeployableContainer.java:144)
at org.jboss.arquillian.container.impl.client.container.ContainerDeployController$3.call(ContainerDeployController.java:161)
at org.jboss.arquillian.container.impl.client.container.ContainerDeployController$3.call(ContainerDeployController.java:128)
at org.jboss.arquillian.container.impl.client.container.ContainerDeployController.executeOperation(ContainerDeployController.java:271)
at org.jboss.arquillian.container.impl.client.container.ContainerDeployController.deploy(ContainerDeployController.java:127)
at sun.reflect.GeneratedMethodAccessor16.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:597)
at org.jboss.arquillian.core.impl.ObserverImpl.invoke(ObserverImpl.java:90)
at org.jboss.arquillian.core.impl.EventContextImpl.invokeObservers(EventContextImpl.java:99)
at org.jboss.arquillian.core.impl.EventContextImpl.proceed(EventContextImpl.java:81)
at org.jboss.arquillian.container.impl.client.ContainerDeploymentContextHandler.createDeploymentContext(ContainerDeploymentContextHandler.java:78)
at sun.reflect.GeneratedMethodAccessor14.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:597)
at org.jboss.arquillian.core.impl.ObserverImpl.invoke(ObserverImpl.java:90)
at org.jboss.arquillian.core.impl.EventContextImpl.proceed(EventContextImpl.java:88)
at org.jboss.arquillian.container.impl.client.ContainerDeploymentContextHandler.createContainerContext(ContainerDeploymentContextHandler.java:57)
at sun.reflect.GeneratedMethodAccessor13.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:597)
at org.jboss.arquillian.core.impl.ObserverImpl.invoke(ObserverImpl.java:90)
at org.jboss.arquillian.core.impl.EventContextImpl.proceed(EventContextImpl.java:88)
at org.jboss.arquillian.container.impl.client.container.DeploymentExceptionHandler.verifyExpectedExceptionDuringDeploy(DeploymentExceptionHandler.java:50)
at sun.reflect.GeneratedMethodAccessor15.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:597)
at org.jboss.arquillian.core.impl.ObserverImpl.invoke(ObserverImpl.java:90)
at org.jboss.arquillian.core.impl.EventContextImpl.proceed(EventContextImpl.java:88)
at org.jboss.arquillian.core.impl.ManagerImpl.fire(ManagerImpl.java:135)
at org.jboss.arquillian.core.impl.ManagerImpl.fire(ManagerImpl.java:115)
at org.jboss.arquillian.core.impl.EventImpl.fire(EventImpl.java:67)
at org.jboss.arquillian.container.impl.client.container.ContainerDeployController$1.perform(ContainerDeployController.java:95)
at org.jboss.arquillian.container.impl.client.container.ContainerDeployController$1.perform(ContainerDeployController.java:80)
at org.jboss.arquillian.container.impl.client.container.ContainerDeployController.forEachDeployment(ContainerDeployController.java:263)
at org.jboss.arquillian.container.impl.client.container.ContainerDeployController.forEachManagedDeployment(ContainerDeployController.java:239)
at org.jboss.arquillian.container.impl.client.container.ContainerDeployController.deployManaged(ContainerDeployController.java:79)
at sun.reflect.GeneratedMethodAccessor29.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:597)
at org.jboss.arquillian.core.impl.ObserverImpl.invoke(ObserverImpl.java:90)
at org.jboss.arquillian.core.impl.EventContextImpl.invokeObservers(EventContextImpl.java:99)
at org.jboss.arquillian.core.impl.EventContextImpl.proceed(EventContextImpl.java:81)
at org.jboss.arquillian.core.impl.ManagerImpl.fire(ManagerImpl.java:135)
at org.jboss.arquillian.core.impl.ManagerImpl.fire(ManagerImpl.java:115)
at org.jboss.arquillian.core.impl.EventImpl.fire(EventImpl.java:67)
at org.jboss.arquillian.container.test.impl.client.ContainerEventController.execute(ContainerEventController.java:101)
at sun.reflect.GeneratedMethodAccessor26.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:597)
at org.jboss.arquillian.core.impl.ObserverImpl.invoke(ObserverImpl.java:90)
at org.jboss.arquillian.core.impl.EventContextImpl.invokeObservers(EventContextImpl.java:99)
at org.jboss.arquillian.core.impl.EventContextImpl.proceed(EventContextImpl.java:81)
at org.jboss.arquillian.test.impl.TestContextHandler.createClassContext(TestContextHandler.java:75)
at sun.reflect.GeneratedMethodAccessor2.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:597)
at org.jboss.arquillian.core.impl.ObserverImpl.invoke(ObserverImpl.java:90)
at org.jboss.arquillian.core.impl.EventContextImpl.proceed(EventContextImpl.java:88)
at org.jboss.arquillian.test.impl.TestContextHandler.createSuiteContext(TestContextHandler.java:60)
at sun.reflect.GeneratedMethodAccessor1.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:597)
at org.jboss.arquillian.core.impl.ObserverImpl.invoke(ObserverImpl.java:90)
at org.jboss.arquillian.core.impl.EventContextImpl.proceed(EventContextImpl.java:88)
at org.jboss.arquillian.core.impl.ManagerImpl.fire(ManagerImpl.java:135)
at org.jboss.arquillian.core.impl.ManagerImpl.fire(ManagerImpl.java:115)
at org.jboss.arquillian.test.impl.EventTestRunnerAdaptor.beforeClass(EventTestRunnerAdaptor.java:80)
at org.jboss.arquillian.junit.Arquillian$2.evaluate(Arquillian.java:182)
at org.jboss.arquillian.junit.Arquillian.multiExecute(Arquillian.java:314)
at org.jboss.arquillian.junit.Arquillian.access$100(Arquillian.java:46)
at org.jboss.arquillian.junit.Arquillian$3.evaluate(Arquillian.java:199)
at org.junit.runners.ParentRunner.run(ParentRunner.java:300)
at org.jboss.arquillian.junit.Arquillian.run(Arquillian.java:147)
at org.apache.maven.surefire.junit4.JUnit4Provider.execute(JUnit4Provider.java:234)
at org.apache.maven.surefire.junit4.JUnit4Provider.executeTestSet(JUnit4Provider.java:133)
at org.apache.maven.surefire.junit4.JUnit4Provider.invoke(JUnit4Provider.java:114)
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.maven.surefire.util.ReflectionUtils.invokeMethodWithArray(ReflectionUtils.java:188)
at org.apache.maven.surefire.booter.ProviderFactory$ProviderProxy.invoke(ProviderFactory.java:166)
at org.apache.maven.surefire.booter.ProviderFactory.invokeProvider(ProviderFactory.java:86)
at org.apache.maven.surefire.booter.ForkedBooter.runSuitesInProcess(ForkedBooter.java:101)
at org.apache.maven.surefire.booter.ForkedBooter.main(ForkedBooter.java:74)
Caused by: java.lang.Exception: {"JBAS014671: Failed services" => {"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
Caused by: javax.persistence.PersistenceException: [PersistenceUnit: mypc2] Unable to build EntityManagerFactory
Caused by: org.hibernate.service.spi.ServiceException: Unable to create requested service [org.hibernate.engine.spi.CacheImplementor]
Caused by: java.lang.NullPointerException"}}
at org.jboss.as.controller.client.helpers.standalone.impl.ServerDeploymentPlanResultFuture.getActionResult(ServerDeploymentPlanResultFuture.java:134)
at org.jboss.as.controller.client.helpers.standalone.impl.ServerDeploymentPlanResultFuture.getResultFromNode(ServerDeploymentPlanResultFuture.java:123)
at org.jboss.as.controller.client.helpers.standalone.impl.ServerDeploymentPlanResultFuture.get(ServerDeploymentPlanResultFuture.java:85)
at org.jboss.as.controller.client.helpers.standalone.impl.ServerDeploymentPlanResultFuture.get(ServerDeploymentPlanResultFuture.java:42)
at org.jboss.as.controller.client.helpers.standalone.ServerDeploymentHelper.deploy(ServerDeploymentHelper.java:50)
at org.jboss.as.arquillian.container.ArchiveDeployer.deployInternal(ArchiveDeployer.java:77)
... 88 more
Standard Output
[0m16:22:36,569 INFO [org.jboss.as.jpa] (ServerService Thread Pool -- 77) JBAS011403: Stopping Persistence Unit Service 'jpa_SiblingXPCInheritanceTestCase.jar#mypc'
[0m[0m16:22:36,570 INFO [org.hibernate.tool.hbm2ddl.SchemaExport] (ServerService Thread Pool -- 77) HHH000227: Running hbm2ddl schema export
[0m[0m16:22:36,571 INFO [org.hibernate.tool.hbm2ddl.SchemaExport] (ServerService Thread Pool -- 77) HHH000230: Schema export complete
[0m[0m16:22:36,575 INFO [org.jboss.as.server.deployment] (MSC service thread 1-6) JBAS015877: Stopped deployment jpa_SiblingXPCInheritanceTestCase.jar (runtime-name: jpa_SiblingXPCInheritanceTestCase.jar) in 10ms
[0m[0m16:22:36,582 INFO [org.jboss.as.repository] (management-handler-thread - 3) JBAS014901: Content removed from location /home/jenkins/jenkins-work/workspace/as7-master-testsuite-ip6/testsuite/integration/basic/target/jbossas/standalone/data/content/d4/602b9ce9dc71956b0fecaea8b25383af4d98a7/content
[0m[0m16:22:36,583 INFO [org.jboss.as.server] (management-handler-thread - 3) JBAS018558: Undeployed "jpa_SiblingXPCInheritanceTestCase.jar" (runtime-name: "jpa_SiblingXPCInheritanceTestCase.jar")
[0m[0m16:22:36,626 INFO [org.jboss.as.repository] (management-handler-thread - 2) JBAS014900: Content added at location /home/jenkins/jenkins-work/workspace/as7-master-testsuite-ip6/testsuite/integration/basic/target/jbossas/standalone/data/content/df/8e3279c4d1d5cd9db3391f9f71cc7aeb489ee9/content
[0m[0m16:22:36,627 INFO [org.jboss.as.server.deployment] (MSC service thread 1-6) JBAS015876: Starting deployment of "jpa_SecondLevelCacheTestCase.jar" (runtime-name: "jpa_SecondLevelCacheTestCase.jar")
[0m[0m16:22:36,634 INFO [org.jboss.as.jpa] (MSC service thread 1-6) JBAS011401: Read persistence.xml for mypc
[0m[0m16:22:36,635 INFO [org.jboss.as.jpa] (MSC service thread 1-6) JBAS011401: Read persistence.xml for mypc2
[0m[0m16:22:36,635 INFO [org.jboss.as.jpa] (MSC service thread 1-6) JBAS011401: Read persistence.xml for mypc_no_2lc
[0m[0m16:22:36,648 INFO [org.jboss.as.ejb3.deployment.processors.EjbJndiBindingsDeploymentUnitProcessor] (MSC service thread 1-4) JNDI bindings for session bean named SFSB1 in deployment unit deployment "jpa_SecondLevelCacheTestCase.jar" are as follows:
java:global/jpa_SecondLevelCacheTestCase/SFSB1!org.jboss.as.test.integration.jpa.secondlevelcache.SFSB1
java:app/jpa_SecondLevelCacheTestCase/SFSB1!org.jboss.as.test.integration.jpa.secondlevelcache.SFSB1
java:module/SFSB1!org.jboss.as.test.integration.jpa.secondlevelcache.SFSB1
java:global/jpa_SecondLevelCacheTestCase/SFSB1
java:app/jpa_SecondLevelCacheTestCase/SFSB1
java:module/SFSB1
[0m[0m16:22:36,649 INFO [org.jboss.as.ejb3.deployment.processors.EjbJndiBindingsDeploymentUnitProcessor] (MSC service thread 1-4) JNDI bindings for session bean named SFSB2LC in deployment unit deployment "jpa_SecondLevelCacheTestCase.jar" are as follows:
java:global/jpa_SecondLevelCacheTestCase/SFSB2LC!org.jboss.as.test.integration.jpa.secondlevelcache.SFSB2LC
java:app/jpa_SecondLevelCacheTestCase/SFSB2LC!org.jboss.as.test.integration.jpa.secondlevelcache.SFSB2LC
java:module/SFSB2LC!org.jboss.as.test.integration.jpa.secondlevelcache.SFSB2LC
java:global/jpa_SecondLevelCacheTestCase/SFSB2LC
java:app/jpa_SecondLevelCacheTestCase/SFSB2LC
java:module/SFSB2LC
[0m[0m16:22:36,675 INFO [org.jboss.as.arquillian] (MSC service thread 1-3) Arquillian deployment detected: ArquillianConfig[service=jboss.arquillian.config."jpa_SecondLevelCacheTestCase.jar",unit=jpa_SecondLevelCacheTestCase.jar,tests=[org.jboss.as.test.integration.jpa.secondlevelcache.JPA2LCTestCase]]
[0m[0m16:22:36,678 INFO [org.jboss.as.jpa] (ServerService Thread Pool -- 77) JBAS011402: Starting Persistence Unit Service 'jpa_SecondLevelCacheTestCase.jar#mypc_no_2lc'
[0m[0m16:22:36,679 INFO [org.hibernate.ejb.Ejb3Configuration] (ServerService Thread Pool -- 77) HHH000204: Processing PersistenceUnitInfo [
name: mypc_no_2lc
...]
[0m[0m16:22:36,690 INFO [org.hibernate.service.jdbc.connections.internal.ConnectionProviderInitiator] (ServerService Thread Pool -- 77) HHH000130: Instantiating explicit connection provider: org.hibernate.ejb.connection.InjectedDataSourceConnectionProvider
[0m[0m16:22:36,693 INFO [org.hibernate.dialect.Dialect] (ServerService Thread Pool -- 77) HHH000400: Using dialect: org.hibernate.dialect.H2Dialect
[0m[33m16:22:36,694 WARN [org.hibernate.dialect.H2Dialect] (ServerService Thread Pool -- 77) HHH000431: Unable to determine H2 database version, certain features may not work
[0m[0m16:22:36,695 INFO [org.hibernate.engine.jdbc.internal.LobCreatorBuilder] (ServerService Thread Pool -- 77) HHH000423: Disabling contextual LOB creation as JDBC driver reported JDBC version [3] less than 4
[0m[0m16:22:36,695 INFO [org.hibernate.engine.transaction.internal.TransactionFactoryInitiator] (ServerService Thread Pool -- 77) HHH000268: Transaction strategy: org.hibernate.engine.transaction.internal.jta.CMTTransactionFactory
[0m[0m16:22:36,696 INFO [org.hibernate.hql.internal.ast.ASTQueryTranslatorFactory] (ServerService Thread Pool -- 77) HHH000397: Using ASTQueryTranslatorFactory
[0m[0m16:22:36,705 INFO [org.hibernate.tool.hbm2ddl.SchemaExport] (ServerService Thread Pool -- 77) HHH000227: Running hbm2ddl schema export
[0m[0m16:22:36,707 INFO [stdout] (ServerService Thread Pool -- 77) Hibernate: drop table Employee if exists
[0m[0m16:22:36,707 INFO [stdout] (ServerService Thread Pool -- 77) Hibernate: create table Employee (id integer not null, address varchar(255), name varchar(255), primary key (id))
[0m[0m16:22:36,708 INFO [org.hibernate.tool.hbm2ddl.SchemaExport] (ServerService Thread Pool -- 77) HHH000230: Schema export complete
[0m[0m16:22:36,718 INFO [org.jboss.as.jpa] (ServerService Thread Pool -- 77) JBAS011402: Starting Persistence Unit Service 'jpa_SecondLevelCacheTestCase.jar#mypc2'
[0m[0m16:22:36,718 INFO [org.jboss.as.jpa] (ServerService Thread Pool -- 70) JBAS011402: Starting Persistence Unit Service 'jpa_SecondLevelCacheTestCase.jar#mypc'
[0m[0m16:22:36,719 INFO [org.hibernate.ejb.Ejb3Configuration] (ServerService Thread Pool -- 77) HHH000204: Processing PersistenceUnitInfo [
name: mypc2
...]
[0m[0m16:22:36,719 INFO [org.hibernate.ejb.Ejb3Configuration] (ServerService Thread Pool -- 70) HHH000204: Processing PersistenceUnitInfo [
name: mypc
...]
[0m[0m16:22:36,729 INFO [org.hibernate.service.jdbc.connections.internal.ConnectionProviderInitiator] (ServerService Thread Pool -- 70) HHH000130: Instantiating explicit connection provider: org.hibernate.ejb.connection.InjectedDataSourceConnectionProvider
[0m[0m16:22:36,733 INFO [org.hibernate.service.jdbc.connections.internal.ConnectionProviderInitiator] (ServerService Thread Pool -- 77) HHH000130: Instantiating explicit connection provider: org.hibernate.ejb.connection.InjectedDataSourceConnectionProvider
[0m[0m16:22:36,738 INFO [org.hibernate.dialect.Dialect] (ServerService Thread Pool -- 77) HHH000400: Using dialect: org.hibernate.dialect.H2Dialect
[0m[33m16:22:36,738 WARN [org.hibernate.dialect.H2Dialect] (ServerService Thread Pool -- 77) HHH000431: Unable to determine H2 database version, certain features may not work
[0m[0m16:22:36,738 INFO [org.hibernate.engine.jdbc.internal.LobCreatorBuilder] (ServerService Thread Pool -- 77) HHH000423: Disabling contextual LOB creation as JDBC driver reported JDBC version [3] less than 4
[0m[0m16:22:36,739 INFO [org.hibernate.engine.transaction.internal.TransactionFactoryInitiator] (ServerService Thread Pool -- 77) HHH000268: Transaction strategy: org.hibernate.engine.transaction.internal.jta.CMTTransactionFactory
[0m[0m16:22:36,739 INFO [org.hibernate.hql.internal.ast.ASTQueryTranslatorFactory] (ServerService Thread Pool -- 77) HHH000397: Using ASTQueryTranslatorFactory
[0m[0m16:22:36,745 INFO [org.hibernate.dialect.Dialect] (ServerService Thread Pool -- 70) HHH000400: Using dialect: org.hibernate.dialect.H2Dialect
[0m[33m16:22:36,746 WARN [org.hibernate.dialect.H2Dialect] (ServerService Thread Pool -- 70) HHH000431: Unable to determine H2 database version, certain features may not work
[0m[0m16:22:36,746 INFO [org.hibernate.engine.jdbc.internal.LobCreatorBuilder] (ServerService Thread Pool -- 70) HHH000423: Disabling contextual LOB creation as JDBC driver reported JDBC version [3] less than 4
[0m[0m16:22:36,747 INFO [org.hibernate.engine.transaction.internal.TransactionFactoryInitiator] (ServerService Thread Pool -- 70) HHH000268: Transaction strategy: org.hibernate.engine.transaction.internal.jta.CMTTransactionFactory
[0m[0m16:22:36,747 INFO [org.hibernate.hql.internal.ast.ASTQueryTranslatorFactory] (ServerService Thread Pool -- 70) HHH000397: Using ASTQueryTranslatorFactory
[0m[0m16:22:36,755 INFO [org.hibernate.cache.spi.UpdateTimestampsCache] (ServerService Thread Pool -- 70) HHH000250: Starting update timestamps cache at region: jpa_SecondLevelCacheTestCase.jar#mypc.org.hibernate.cache.spi.UpdateTimestampsCache
[0m[0m16:22:36,758 INFO [org.hibernate.cache.spi.UpdateTimestampsCache] (ServerService Thread Pool -- 77) HHH000250: Starting update timestamps cache at region: jpa_SecondLevelCacheTestCase.jar#mypc2.org.hibernate.cache.spi.UpdateTimestampsCache
[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
&#27;[0m&#27;[0m16:22:36,788 INFO [org.infinispan.jmx.CacheJmxRegistration] (ServerService Thread Pool -- 70) ISPN000031: MBeans were successfully registered to the platform MBean server.
&#27;[0m&#27;[0m16:22:36,796 INFO [org.jboss.as.clustering.infinispan] (ServerService Thread Pool -- 70) JBAS010281: Started jpa_SecondLevelCacheTestCase.jar#mypc.org.hibernate.cache.spi.UpdateTimestampsCache cache from hibernate container
&#27;[0m&#27;[0m16:22:36,797 INFO [org.hibernate.cache.internal.StandardQueryCache] (ServerService Thread Pool -- 70) HHH000248: Starting query cache at region: jpa_SecondLevelCacheTestCase.jar#mypc.org.hibernate.cache.internal.StandardQueryCache
&#27;[0m&#27;[0m16:22:36,807 INFO [org.infinispan.jmx.CacheJmxRegistration] (ServerService Thread Pool -- 70) ISPN000031: MBeans were successfully registered to the platform MBean server.
&#27;[0m&#27;[0m16:22:36,809 INFO [org.jboss.as.clustering.infinispan] (ServerService Thread Pool -- 70) JBAS010281: Started jpa_SecondLevelCacheTestCase.jar#mypc.org.hibernate.cache.internal.StandardQueryCache cache from hibernate container
&#27;[0m&#27;[0m16:22:36,832 INFO [org.infinispan.jmx.CacheJmxRegistration] (ServerService Thread Pool -- 70) ISPN000031: MBeans were successfully registered to the platform MBean server.
&#27;[0m&#27;[0m16:22:36,833 INFO [org.jboss.as.clustering.infinispan] (ServerService Thread Pool -- 70) JBAS010281: Started jpa_SecondLevelCacheTestCase.jar#mypc.org.jboss.as.test.integration.jpa.secondlevelcache.Employee cache from hibernate container
&#27;[0m&#27;[0m16:22:36,845 INFO [org.infinispan.jmx.CacheJmxRegistration] (ServerService Thread Pool -- 70) ISPN000031: MBeans were successfully registered to the platform MBean server.
&#27;[0m&#27;[0m16:22:36,845 INFO [org.jboss.as.clustering.infinispan] (ServerService Thread Pool -- 70) JBAS010281: Started pending-puts cache from hibernate container
&#27;[0m&#27;[0m16:22:36,849 INFO [org.hibernate.tool.hbm2ddl.SchemaExport] (ServerService Thread Pool -- 70) HHH000227: Running hbm2ddl schema export
&#27;[0m&#27;[0m16:22:36,850 INFO [stdout] (ServerService Thread Pool -- 70) Hibernate: drop table Employee if exists
&#27;[0m&#27;[0m16:22:36,851 INFO [stdout] (ServerService Thread Pool -- 70) Hibernate: create table Employee (id integer not null, address varchar(255), name varchar(255), primary key (id))
&#27;[0m&#27;[0m16:22:36,852 INFO [org.hibernate.tool.hbm2ddl.SchemaExport] (ServerService Thread Pool -- 70) HHH000230: Schema export complete
&#27;[0m&#27;[31m16:22:37,070 ERROR [org.jboss.as.server] (management-handler-thread - 2) JBAS015870: Deploy of deployment "jpa_SecondLevelCacheTestCase.jar" was rolled back with the following failure message:
{"JBAS014671: Failed services" => {"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
Caused by: javax.persistence.PersistenceException: [PersistenceUnit: mypc2] Unable to build EntityManagerFactory
Caused by: org.hibernate.service.spi.ServiceException: Unable to create requested service [org.hibernate.engine.spi.CacheImplementor]
Caused by: java.lang.NullPointerException"}}
&#27;[0m&#27;[0m16:22:37,080 INFO [org.jboss.as.jpa] (ServerService Thread Pool -- 70) JBAS011403: Stopping Persistence Unit Service 'jpa_SecondLevelCacheTestCase.jar#mypc_no_2lc'
&#27;[0m&#27;[0m16:22:37,080 INFO [org.jboss.as.jpa] (ServerService Thread Pool -- 77) JBAS011403: Stopping Persistence Unit Service 'jpa_SecondLevelCacheTestCase.jar#mypc'
&#27;[0m&#27;[0m16:22:37,082 INFO [org.hibernate.tool.hbm2ddl.SchemaExport] (ServerService Thread Pool -- 70) HHH000227: Running hbm2ddl schema export
&#27;[0m&#27;[0m16:22:37,085 INFO [stdout] (ServerService Thread Pool -- 70) Hibernate: drop table Employee if exists
&#27;[0m&#27;[0m16:22:37,088 INFO [org.hibernate.tool.hbm2ddl.SchemaExport] (ServerService Thread Pool -- 70) HHH000230: Schema export complete
&#27;[0m&#27;[0m16:22:37,097 INFO [org.jboss.as.clustering.infinispan] (ServerService Thread Pool -- 77) JBAS010282: Stopped jpa_SecondLevelCacheTestCase.jar#mypc.org.jboss.as.test.integration.jpa.secondlevelcache.Employee cache from hibernate container
&#27;[0m&#27;[0m16:22:37,107 INFO [org.jboss.as.clustering.infinispan] (ServerService Thread Pool -- 77) JBAS010282: Stopped jpa_SecondLevelCacheTestCase.jar#mypc.org.hibernate.cache.internal.StandardQueryCache cache from hibernate container
&#27;[0m&#27;[0m16:22:37,117 INFO [org.jboss.as.clustering.infinispan] (ServerService Thread Pool -- 77) JBAS010282: Stopped jpa_SecondLevelCacheTestCase.jar#mypc.org.hibernate.cache.spi.UpdateTimestampsCache cache from hibernate container
&#27;[0m&#27;[0m16:22:37,145 INFO [org.infinispan.jmx.CacheJmxRegistration] (ServerService Thread Pool -- 77) ISPN000031: MBeans were successfully registered to the platform MBean server.
&#27;[0m&#27;[0m16:22:37,147 INFO [org.jboss.as.clustering.infinispan] (ServerService Thread Pool -- 77) JBAS010281: Started local-query cache from hibernate container
&#27;[0m&#27;[0m16:22:37,148 INFO [org.hibernate.tool.hbm2ddl.SchemaExport] (ServerService Thread Pool -- 77) HHH000227: Running hbm2ddl schema export
&#27;[0m&#27;[0m16:22:37,150 INFO [stdout] (ServerService Thread Pool -- 77) Hibernate: drop table Employee if exists
&#27;[0m&#27;[0m16:22:37,152 INFO [org.hibernate.tool.hbm2ddl.SchemaExport] (ServerService Thread Pool -- 77) HHH000230: Schema export complete
&#27;[0m&#27;[0m16:22:37,161 INFO [org.jboss.as.server.deployment] (MSC service thread 1-1) JBAS015877: Stopped deployment jpa_SecondLevelCacheTestCase.jar (runtime-name: jpa_SecondLevelCacheTestCase.jar) in 91ms
&#27;[0m&#27;[0m16:22:37,175 INFO [org.jboss.as.clustering.infinispan] (MSC service thread 1-2) JBAS010282: Stopped pending-puts cache from hibernate container
&#27;[0m&#27;[0m16:22:37,189 INFO [org.jboss.as.clustering.infinispan] (MSC service thread 1-2) JBAS010282: Stopped local-query cache from hibernate container
&#27;[0m
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment