java.lang.RuntimeException

Could not create a new instance of class org.jboss.arquillian.test.impl.EventTestRunnerAdaptor see cause.

Samebug tips0

We couldn't find tips for this exception.

Don't give up yet. Paste your full stack trace to get a solution.

Solutions on the web5

  • via Unknown by 666705,
  • via Unknown by Unknown author,
  • Stack trace

    • java.lang.RuntimeException: Could not create a new instance of class org.jboss.arquillian.test.impl.EventTestRunnerAdaptor see cause. at org.jboss.arquillian.test.spi.SecurityActions.newInstance(SecurityActions.java:170) at org.jboss.arquillian.test.spi.TestRunnerAdaptorBuilder.build(TestRunnerAdaptorBuilder.java:52) at org.jboss.arquillian.junit.Arquillian.run(Arquillian.java:93) at org.apache.maven.surefire.junit4.JUnit4Provider.execute(JUnit4Provider.java:236) at org.apache.maven.surefire.junit4.JUnit4Provider.executeTestSet(JUnit4Provider.java:134) at org.apache.maven.surefire.junit4.JUnit4Provider.invoke(JUnit4Provider.java:113) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) at java.lang.reflect.Method.invoke(Method.java:601) at org.apache.maven.surefire.util.ReflectionUtils.invokeMethodWithArray(ReflectionUtils.java:189) at org.apache.maven.surefire.booter.ProviderFactory$ProviderProxy.invoke(ProviderFactory.java:165) at org.apache.maven.surefire.booter.ProviderFactory.invokeProvider(ProviderFactory.java:85) at org.apache.maven.surefire.booter.ForkedBooter.runSuitesInProcess(ForkedBooter.java:103) at org.apache.maven.surefire.booter.ForkedBooter.main(ForkedBooter.java:74) Caused by: java.lang.reflect.InvocationTargetException at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method) at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:57) at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:45) at java.lang.reflect.Constructor.newInstance(Constructor.java:525) at org.jboss.arquillian.test.spi.SecurityActions.newInstance(SecurityActions.java:166) ... 14 more Caused by: java.lang.RuntimeException: Could not create a new instance of class org.jboss.arquillian.core.impl.ManagerImpl see cause. at org.jboss.arquillian.core.spi.SecurityActions.newInstance(SecurityActions.java:157) at org.jboss.arquillian.core.spi.ManagerBuilder.create(ManagerBuilder.java:77) at org.jboss.arquillian.test.impl.EventTestRunnerAdaptor.<init>(EventTestRunnerAdaptor.java:55) ... 19 more Caused by: java.lang.reflect.InvocationTargetException at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method) at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:57) at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:45) at java.lang.reflect.Constructor.newInstance(Constructor.java:525) at org.jboss.arquillian.core.spi.SecurityActions.newInstance(SecurityActions.java:153) ... 21 more Caused by: java.lang.NoSuchMethodError: org.jboss.logmanager.LogContext.getLoggerIfExists(Ljava/lang/String;)Lorg/jboss/logmanager/Logger; at org.apache.log4j.JBossLogManagerFacade.updateParents(JBossLogManagerFacade.java:197) at org.apache.log4j.JBossLogManagerFacade.getLogger(JBossLogManagerFacade.java:145) at org.apache.log4j.Hierarchy.getLogger(Hierarchy.java:130) at org.apache.log4j.Hierarchy.getLogger(Hierarchy.java:125) at org.apache.log4j.LogManager.getLogger(LogManager.java:57) at org.apache.log4j.Logger.getLogger(Logger.java:35) at org.jboss.logging.Log4jLogger.<init>(Log4jLogger.java:35) at org.jboss.logging.Log4jLoggerProvider.getLogger(Log4jLoggerProvider.java:33) at org.jboss.logging.LoggerProviders.find(LoggerProviders.java:37) at org.jboss.logging.LoggerProviders.<clinit>(LoggerProviders.java:32) at org.jboss.logging.Logger.getLogger(Logger.java:2163) at org.jboss.logging.Logger.getLogger(Logger.java:2188) at org.jboss.as.arquillian.protocol.jmx.ArquillianServiceDeployer.<clinit>(ArquillianServiceDeployer.java:47) at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method) at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:57) at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:45) at java.lang.reflect.Constructor.newInstance(Constructor.java:525) at org.jboss.arquillian.core.impl.Reflections.createInstance(Reflections.java:128) at org.jboss.arquillian.core.impl.ManagerImpl.createExtensions(ManagerImpl.java:410) at org.jboss.arquillian.core.impl.ManagerImpl.fireProcessing(ManagerImpl.java:345) at org.jboss.arquillian.core.impl.ManagerImpl.<init>(ManagerImpl.java:98) ... 26 more

    Write tip

    You have a different solution? A short tip here would help you and many other users who saw this issue last week.

    Users with the same issue

    We couldn't find other users who have seen this exception.