Details

    • Tested Version/s:
      None
    • Sprint:
      17.09

      Description

      When building on EAP 7.0.5, the Arquillian integration tests fail due to a deployment error, apparently due to a change in Hibernate. EAP 7.0.4 is not affected.

      04:25:50,787 INFO  [org.zanata.util.EssentialDataCreator] (ServerService Thread Pool -- 78) Disabling access for anonymous users by default
      04:25:50,793 ERROR [org.jboss.as.txn] (ServerService Thread Pool -- 78) WFLYTX0003: APPLICATION ERROR: transaction still active in request with status 0
      04:25:50,800 ERROR [org.jboss.msc.service.fail] (ServerService Thread Pool -- 78) MSC000001: Failed to start service jboss.undertow.deployment.default-server.default-host./zanata-tests: org.jboss.msc.service.StartException in service jboss.undertow.deployment.default-server.default-host./zanata-tests: java.lang.RuntimeException: javax.enterprise.event.ObserverException
      	at org.wildfly.extension.undertow.deployment.UndertowDeploymentService$1.run(UndertowDeploymentService.java:85) [wildfly-undertow-7.0.5.GA-redhat-2.jar:7.0.5.GA-redhat-2]
      	at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:511) [rt.jar:1.8.0_121]
      	at java.util.concurrent.FutureTask.run(FutureTask.java:266) [rt.jar:1.8.0_121]
      	at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142) [rt.jar:1.8.0_121]
      	at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617) [rt.jar:1.8.0_121]
      	at java.lang.Thread.run(Thread.java:745) [rt.jar:1.8.0_121]
      	at org.jboss.threads.JBossThread.run(JBossThread.java:320)
      Caused by: java.lang.RuntimeException: javax.enterprise.event.ObserverException
      	at io.undertow.servlet.core.DeploymentManagerImpl.deploy(DeploymentManagerImpl.java:231)
      	at org.wildfly.extension.undertow.deployment.UndertowDeploymentService.startContext(UndertowDeploymentService.java:100) [wildfly-undertow-7.0.5.GA-redhat-2.jar:7.0.5.GA-redhat-2]
      	at org.wildfly.extension.undertow.deployment.UndertowDeploymentService$1.run(UndertowDeploymentService.java:82) [wildfly-undertow-7.0.5.GA-redhat-2.jar:7.0.5.GA-redhat-2]
      	... 6 more
      Caused by: javax.enterprise.event.ObserverException
      	at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method) [rt.jar:1.8.0_121]
      	at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:62) [rt.jar:1.8.0_121]
      	at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:45) [rt.jar:1.8.0_121]
      	at java.lang.reflect.Constructor.newInstance(Constructor.java:423) [rt.jar:1.8.0_121]
      	at java.lang.Class.newInstance(Class.java:442) [rt.jar:1.8.0_121]
      	at org.jboss.weld.security.NewInstanceAction.run(NewInstanceAction.java:33)
      	at java.security.AccessController.doPrivileged(Native Method) [rt.jar:1.8.0_121]
      	at org.jboss.weld.injection.Exceptions.rethrowException(Exceptions.java:40)
      	at org.jboss.weld.injection.Exceptions.rethrowException(Exceptions.java:78)
      	at org.jboss.weld.injection.StaticMethodInjectionPoint.invoke(StaticMethodInjectionPoint.java:96)
      	at org.jboss.weld.injection.StaticMethodInjectionPoint.invoke(StaticMethodInjectionPoint.java:78)
      	at org.jboss.weld.injection.MethodInvocationStrategy$SimpleMethodInvocationStrategy.invoke(MethodInvocationStrategy.java:129)
      	at org.jboss.weld.event.ObserverMethodImpl.sendEvent(ObserverMethodImpl.java:309)
      	at org.jboss.weld.event.ObserverMethodImpl.sendEvent(ObserverMethodImpl.java:287)
      	at org.jboss.weld.event.ObserverMethodImpl.notify(ObserverMethodImpl.java:265)
      	at org.jboss.weld.event.ObserverNotifier.notifySyncObservers(ObserverNotifier.java:271)
      	at org.jboss.weld.event.ObserverNotifier.notify(ObserverNotifier.java:260)
      	at org.jboss.weld.event.ObserverNotifier.fireEvent(ObserverNotifier.java:154)
      	at org.jboss.weld.event.ObserverNotifier.fireEvent(ObserverNotifier.java:136)
      	at org.jboss.weld.manager.BeanManagerImpl.fireEvent(BeanManagerImpl.java:673)
      	at org.jboss.weld.util.ForwardingBeanManager.fireEvent(ForwardingBeanManager.java:101)
      	at org.apache.deltaspike.servlet.impl.event.EventBroadcaster.fireEvent(EventBroadcaster.java:47)
      	at org.apache.deltaspike.servlet.impl.event.EventBridgeContextListener.contextInitialized(EventBridgeContextListener.java:38)
      	at io.undertow.servlet.core.ApplicationListeners.contextInitialized(ApplicationListeners.java:187)
      	at io.undertow.servlet.core.DeploymentManagerImpl.deploy(DeploymentManagerImpl.java:198)
      	... 8 more
      Caused by: java.lang.IncompatibleClassChangeError: Expected static method org.hibernate.cache.internal.DefaultCacheKeysFactory.createCollectionKey(Ljava/lang/Object;Lorg/hibernate/persister/collection/CollectionPersister;Lorg/hibernate/engine/spi/Ses
      	at org.hibernate.testing.cache.BaseCollectionRegionAccessStrategy.generateCacheKey(BaseCollectionRegionAccessStrategy.java:43)
      	at org.hibernate.action.internal.CollectionAction.beforeExecutions(CollectionAction.java:80)
      	at org.hibernate.engine.spi.ActionQueue.prepareActions(ActionQueue.java:478)
      	at org.hibernate.engine.spi.ActionQueue.prepareActions(ActionQueue.java:469)
      	at org.hibernate.event.internal.AbstractFlushingEventListener.performExecutions(AbstractFlushingEventListener.java:336)
      	at org.hibernate.event.internal.DefaultFlushEventListener.onFlush(DefaultFlushEventListener.java:39)
      	at org.hibernate.internal.SessionImpl.flush(SessionImpl.java:1282)
      	at org.hibernate.jpa.spi.AbstractEntityManagerImpl.flush(AbstractEntityManagerImpl.java:1300)
      	at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) [rt.jar:1.8.0_121]
      	at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) [rt.jar:1.8.0_121]
      	at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) [rt.jar:1.8.0_121]
      	at java.lang.reflect.Method.invoke(Method.java:498) [rt.jar:1.8.0_121]
      	at org.jboss.weld.bean.proxy.AbstractBeanInstance.invoke(AbstractBeanInstance.java:38)
      	at org.jboss.weld.bean.proxy.ProxyMethodHandler.invoke(ProxyMethodHandler.java:100)
      	at org.jboss.weldx.persistence.EntityManager$162002825$Proxy$_$$_WeldClientProxy.flush(Unknown Source)
      	at org.apache.deltaspike.jpa.impl.transaction.ResourceLocalTransactionStrategy.execute(ResourceLocalTransactionStrategy.java:208)
      	at org.apache.deltaspike.jpa.impl.transaction.TransactionalInterceptor.executeInTransaction(TransactionalInterceptor.java:57)
      	at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) [rt.jar:1.8.0_121]
      	at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) [rt.jar:1.8.0_121]
      	at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) [rt.jar:1.8.0_121]
      	at java.lang.reflect.Method.invoke(Method.java:498) [rt.jar:1.8.0_121]
      	at org.jboss.weld.interceptor.reader.SimpleInterceptorInvocation$SimpleMethodInvocation.invoke(SimpleInterceptorInvocation.java:74)
      	at org.jboss.weld.interceptor.proxy.NonTerminalAroundInvokeInvocationContext.proceedInternal(NonTerminalAroundInvokeInvocationContext.java:64)
      	at org.jboss.weld.interceptor.proxy.AroundInvokeInvocationContext.proceed(AroundInvokeInvocationContext.java:77)
      	at org.zanata.util.WithRequestScopeInterceptor.invokeWithScopes(WithRequestScopeInterceptor.java:68)
      	at org.zanata.util.WithRequestScopeInterceptor.aroundInvoke(WithRequestScopeInterceptor.java:32)
      	at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) [rt.jar:1.8.0_121]
      	at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) [rt.jar:1.8.0_121]
      	at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) [rt.jar:1.8.0_121]
      	at java.lang.reflect.Method.invoke(Method.java:498) [rt.jar:1.8.0_121]
      	at org.jboss.weld.interceptor.reader.SimpleInterceptorInvocation$SimpleMethodInvocation.invoke(SimpleInterceptorInvocation.java:74)
      	at org.jboss.weld.interceptor.proxy.InterceptorMethodHandler.executeAroundInvoke(InterceptorMethodHandler.java:84)
      	at org.jboss.weld.interceptor.proxy.InterceptorMethodHandler.executeInterception(InterceptorMethodHandler.java:72)
      	at org.jboss.weld.interceptor.proxy.InterceptorMethodHandler.invoke(InterceptorMethodHandler.java:56)
      	at org.jboss.weld.bean.proxy.CombinedInterceptorAndDecoratorStackMethodHandler.invoke(CombinedInterceptorAndDecoratorStackMethodHandler.java:79)
      	at org.jboss.weld.bean.proxy.CombinedInterceptorAndDecoratorStackMethodHandler.invoke(CombinedInterceptorAndDecoratorStackMethodHandler.java:68)
      	at org.zanata.util.EssentialDataCreator$Proxy$_$$_WeldSubclass.onCreate(Unknown Source)
      	at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) [rt.jar:1.8.0_121]
      	at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) [rt.jar:1.8.0_121]
      	at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) [rt.jar:1.8.0_121]
      	at java.lang.reflect.Method.invoke(Method.java:498) [rt.jar:1.8.0_121]
      	at org.jboss.weld.injection.StaticMethodInjectionPoint.invoke(StaticMethodInjectionPoint.java:88)
      	... 23 more
      
      04:25:50,841 ERROR [org.jboss.as.controller.management-operation] (management-handler-thread - 4) WFLYCTL0013: Operation ("deploy") failed - address: ([("deployment" => "zanata-tests.war")]) - failure description: {"WFLYCTL0080: Failed services" => {"jboss.undertow.deployment.default-server.default-host./zanata-tests" => "org.jboss.msc.service.StartException in service jboss.undertow.deployment.default-server.default-host./zanata-tests: java.lang.RuntimeException: javax.enterprise.event.ObserverException
          Caused by: java.lang.RuntimeException: javax.enterprise.event.ObserverException
          Caused by: javax.enterprise.event.ObserverException
          Caused by: java.lang.IncompatibleClassChangeError: Expected static method org.hibernate.cache.internal.DefaultCacheKeysFactory.createCollectionKey(Ljava/lang/Object;Lorg/hibernate/persister/collection/CollectionPersister;Lorg/hibernate/engine/spi/Ses"}}
      04:25:50,858 ERROR [org.jboss.as.server] (management-handler-thread - 4) WFLYSRV0021: Deploy of deployment "zanata-tests.war" was rolled back with the following failure message: 
      {"WFLYCTL0080: Failed services" => {"jboss.undertow.deployment.default-server.default-host./zanata-tests" => "org.jboss.msc.service.StartException in service jboss.undertow.deployment.default-server.default-host./zanata-tests: java.lang.RuntimeException: javax.enterprise.event.ObserverException
          Caused by: java.lang.RuntimeException: javax.enterprise.event.ObserverException
          Caused by: javax.enterprise.event.ObserverException
          Caused by: java.lang.IncompatibleClassChangeError: Expected static method org.hibernate.cache.internal.DefaultCacheKeysFactory.createCollectionKey(Ljava/lang/Object;Lorg/hibernate/persister/collection/CollectionPersister;Lorg/hibernate/engine/spi/Ses"}}
      

        Attachments

          Activity

            People

            • Assignee:
              sflanigan Sean Flanigan
              Reporter:
              sflanigan Sean Flanigan
            • Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: