tomee-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Romain Manni-Bucau <rmannibu...@gmail.com>
Subject Re: arquillian-tomee-remote nullptr
Date Wed, 12 Apr 2017 09:20:22 GMT
add org.apache.openejb:apache-tomee:<version>:zip:<classifier> in scope
test in your pom to ensure it is there

side note: no need to build tomee, central has the jar sources


Romain Manni-Bucau
@rmannibucau <https://twitter.com/rmannibucau> |  Blog
<https://blog-rmannibucau.rhcloud.com> | Old Blog
<http://rmannibucau.wordpress.com> | Github <https://github.com/rmannibucau> |
LinkedIn <https://www.linkedin.com/in/rmannibucau> | JavaEE Factory
<https://javaeefactory-rmannibucau.rhcloud.com>

2017-04-12 11:06 GMT+02:00 Me Self <wmsopou@gmail.com>:

> Hi
>
> I cant build 1.7.x because of some proxy issue, but with a debugger I was
> able to catch these two exceptions in 1.7.4 with a little more detail. The
> location of the zip file with a http: in the filepath seems a little
> suspect.
>
> java.lang.IllegalStateException: Not a file:
> C:\Users\dude\somemavenproject
> \http:\repo1.maven.org\maven2\org\apache\openejb\apache-
> tomee\1.7.4\apache-tomee-1.7.4-webprofile.zip
>
>                  at org.apache.openejb.arquillian.
> common.Files.assertFile(Files.java:155)
>
>                  at org.apache.openejb.arquillian.
> common.Zips.unzip(Zips.java:41)
>
>                  at org.apache.openejb.arquillian.
> common.Zips.unzip(Zips.java:31)
>
>                  at org.apache.openejb.arquillian.
> common.Setup.downloadAndUnpack(Setup.java:148)
>
>                  at org.apache.tomee.arquillian.re
> mote.RemoteTomEEContainer.configure(RemoteTomEEContainer.java:206)
>
>                  at org.apache.tomee.arquillian.re
> mote.RemoteTomEEContainer.start(RemoteTomEEContainer.java:105)
>
>                  at org.jboss.arquillian.container.impl.ContainerImpl.
> start(
> ContainerImpl.java:199)
>
>                  at org.jboss.arquillian.container
> .impl.client.container.ContainerLifecycleController$8.
> perform(ContainerLifecycleController.java:163)
>
>                  at org.jboss.arquillian.container
> .impl.client.container.ContainerLifecycleController$8.
> perform(ContainerLifecycleController.java:157)
>
>                  at org.jboss.arquillian.container
> .impl.client.container.ContainerLifecycleController.forConta
> iner(ContainerLifecycleController.java:255)
>
>                  at org.jboss.arquillian.container
> .impl.client.container.ContainerLifecycleController.startCon
> tainer(ContainerLifecycleController.java:156)
>
>                  at sun.reflect.NativeMethodAccessorImpl.invoke0(Native
> Method)
>
>                  at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown
> Source)
>
>                  at sun.reflect.DelegatingMethodAccessorImpl.
> invoke(Unknown
> Source)
>
>                  at java.lang.reflect.Method.invoke(Unknown Source)
>
>                  at org.jboss.arquillian.core.impl
> .ObserverImpl.invoke(ObserverImpl.java:94)
>
>                  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.
> createContainerContext(ContainerDeploymentContextHandler.java:57)
>
>                  at sun.reflect.NativeMethodAccessorImpl.invoke0(Native
> Method)
>
>                  at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown
> Source)
>
>                  at sun.reflect.DelegatingMethodAccessorImpl.
> invoke(Unknown
> Source)
>
>                  at java.lang.reflect.Method.invoke(Unknown Source)
>
>                  at org.jboss.arquillian.core.impl
> .ObserverImpl.invoke(ObserverImpl.java:94)
>
>                  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.ContainerLifecycleController$2.
> perform(ContainerLifecycleController.java:77)
>
>                  at org.jboss.arquillian.container
> .impl.client.container.ContainerLifecycleController$2.
> perform(ContainerLifecycleController.java:70)
>
>                  at org.jboss.arquillian.container
> .impl.client.container.ContainerLifecycleController.forEachS
> uiteContainer(ContainerLifecycleController.java:221)
>
>                  at org.jboss.arquillian.container
> .impl.client.container.ContainerLifecycleController.startSui
> teContainers(ContainerLifecycleController.java:69)
>
>                  at sun.reflect.NativeMethodAccessorImpl.invoke0(Native
> Method)
>
>                  at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown
> Source)
>
>                  at sun.reflect.DelegatingMethodAccessorImpl.
> invoke(Unknown
> Source)
>
>                  at java.lang.reflect.Method.invoke(Unknown Source)
>
>                  at org.jboss.arquillian.core.impl
> .ObserverImpl.invoke(ObserverImpl.java:94)
>
>                  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(Container
> EventController.java:86)
>
>                  at sun.reflect.NativeMethodAccessorImpl.invoke0(Native
> Method)
>
>                  at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown
> Source)
>
>                  at sun.reflect.DelegatingMethodAccessorImpl.
> invoke(Unknown
> Source)
>
>                  at java.lang.reflect.Method.invoke(Unknown Source)
>
>                  at org.jboss.arquillian.core.impl
> .ObserverImpl.invoke(ObserverImpl.java:94)
>
>                  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.createSuiteContext(TestContextHandler.java:60)
>
>                  at sun.reflect.NativeMethodAccessorImpl.invoke0(Native
> Method)
>
>                  at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown
> Source)
>
>                  at sun.reflect.DelegatingMethodAccessorImpl.
> invoke(Unknown
> Source)
>
>                  at java.lang.reflect.Method.invoke(Unknown Source)
>
>                  at org.jboss.arquillian.core.impl
> .ObserverImpl.invoke(ObserverImpl.java:94)
>
>                  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.beforeSuite(EventTestRunnerAdaptor.java:68)
>
>                  at org.jboss.arquillian.junit.Arq
> uillian.run(Arquillian.java:97)
>
>                  at org.eclipse.jdt.internal.junit
> 4.runner.JUnit4TestReference.run(JUnit4TestReference.java:86)
>
>                  at org.eclipse.jdt.internal.junit.runner.TestExecution.
> run(
> TestExecution.java:38)
>
>                  at org.eclipse.jdt.internal.junit
> .runner.RemoteTestRunner.runTests(RemoteTestRunner.java:459)
>
>                  at org.eclipse.jdt.internal.junit
> .runner.RemoteTestRunner.runTests(RemoteTestRunner.java:678)
>
>                  at org.eclipse.jdt.internal.junit
> .runner.RemoteTestRunner.run(RemoteTestRunner.java:382)
>
>                  at org.eclipse.jdt.internal.junit
> .runner.RemoteTestRunner.main(RemoteTestRunner.java:192)
>
> java.lang.IllegalStateException: Not a file:
> C:\Users\dude\somemavenproject
> \http:\repo1.maven.org\maven2\org\apache\openejb\apache-
> tomee\1.7.4\apache-tomee-1.7.4-webprofile.zip
>
>                  at org.apache.openejb.arquillian.
> common.Files.assertFile(Files.java:155)
>
>                  at org.apache.openejb.arquillian.
> common.Zips.unzip(Zips.java:41)
>
>                  at org.apache.openejb.arquillian.
> common.Zips.unzip(Zips.java:31)
>
>                  at org.apache.openejb.arquillian.
> common.Setup.downloadAndUnpack(Setup.java:148)
>
>                  at org.apache.tomee.arquillian.re
> mote.RemoteTomEEContainer.configure(RemoteTomEEContainer.java:206)
>
>                  at org.apache.tomee.arquillian.re
> mote.RemoteTomEEContainer.start(RemoteTomEEContainer.java:105)
>
>                  at org.jboss.arquillian.container.impl.ContainerImpl.
> start(
> ContainerImpl.java:199)
>
>                  at org.jboss.arquillian.container
> .impl.client.container.ContainerLifecycleController$8.
> perform(ContainerLifecycleController.java:163)
>
>                  at org.jboss.arquillian.container
> .impl.client.container.ContainerLifecycleController$8.
> perform(ContainerLifecycleController.java:157)
>
>                  at org.jboss.arquillian.container
> .impl.client.container.ContainerLifecycleController.forConta
> iner(ContainerLifecycleController.java:255)
>
>                  at org.jboss.arquillian.container
> .impl.client.container.ContainerLifecycleController.startCon
> tainer(ContainerLifecycleController.java:156)
>
>                  at sun.reflect.NativeMethodAccessorImpl.invoke0(Native
> Method)
>
>                  at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown
> Source)
>
>                  at sun.reflect.DelegatingMethodAccessorImpl.
> invoke(Unknown
> Source)
>
>                  at java.lang.reflect.Method.invoke(Unknown Source)
>
>                  at org.jboss.arquillian.core.impl
> .ObserverImpl.invoke(ObserverImpl.java:94)
>
>                  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.
> createContainerContext(ContainerDeploymentContextHandler.java:57)
>
>                  at sun.reflect.NativeMethodAccessorImpl.invoke0(Native
> Method)
>
>                  at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown
> Source)
>
>                  at sun.reflect.DelegatingMethodAccessorImpl.
> invoke(Unknown
> Source)
>
>                  at java.lang.reflect.Method.invoke(Unknown Source)
>
>                  at org.jboss.arquillian.core.impl
> .ObserverImpl.invoke(ObserverImpl.java:94)
>
>                  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.ContainerLifecycleController$2.
> perform(ContainerLifecycleController.java:77)
>
>                  at org.jboss.arquillian.container
> .impl.client.container.ContainerLifecycleController$2.
> perform(ContainerLifecycleController.java:70)
>
>                  at org.jboss.arquillian.container
> .impl.client.container.ContainerLifecycleController.forEachS
> uiteContainer(ContainerLifecycleController.java:221)
>
>                  at org.jboss.arquillian.container
> .impl.client.container.ContainerLifecycleController.startSui
> teContainers(ContainerLifecycleController.java:69)
>
>                  at sun.reflect.NativeMethodAccessorImpl.invoke0(Native
> Method)
>
>                  at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown
> Source)
>
>                  at sun.reflect.DelegatingMethodAccessorImpl.
> invoke(Unknown
> Source)
>
>                  at java.lang.reflect.Method.invoke(Unknown Source)
>
>                  at org.jboss.arquillian.core.impl
> .ObserverImpl.invoke(ObserverImpl.java:94)
>
>                  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(Container
> EventController.java:86)
>
>                  at sun.reflect.NativeMethodAccessorImpl.invoke0(Native
> Method)
>
>                  at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown
> Source)
>
>                  at sun.reflect.DelegatingMethodAccessorImpl.
> invoke(Unknown
> Source)
>
>                  at java.lang.reflect.Method.invoke(Unknown Source)
>
>                  at org.jboss.arquillian.core.impl
> .ObserverImpl.invoke(ObserverImpl.java:94)
>
>                  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.createSuiteContext(TestContextHandler.java:60)
>
>                  at sun.reflect.NativeMethodAccessorImpl.invoke0(Native
> Method)
>
>                  at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown
> Source)
>
>                  at sun.reflect.DelegatingMethodAccessorImpl.
> invoke(Unknown
> Source)
>
>                  at java.lang.reflect.Method.invoke(Unknown Source)
>
>                  at org.jboss.arquillian.core.impl
> .ObserverImpl.invoke(ObserverImpl.java:94)
>
>                  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.beforeSuite(EventTestRunnerAdaptor.java:68)
>
>                  at org.jboss.arquillian.junit.Arq
> uillian.run(Arquillian.java:97)
>
>                  at org.eclipse.jdt.internal.junit
> 4.runner.JUnit4TestReference.run(JUnit4TestReference.java:86)
>
>                  at org.eclipse.jdt.internal.junit.runner.TestExecution.
> run(
> TestExecution.java:38)
>
>                  at org.eclipse.jdt.internal.junit
> .runner.RemoteTestRunner.runTests(RemoteTestRunner.java:459)
>
>                  at org.eclipse.jdt.internal.junit
> .runner.RemoteTestRunner.runTests(RemoteTestRunner.java:678)
>
>                  at org.eclipse.jdt.internal.junit
> .runner.RemoteTestRunner.run(RemoteTestRunner.java:382)
>
>                  at org.eclipse.jdt.internal.junit
> .runner.RemoteTestRunner.main(RemoteTestRunner.java:192)
>
>
>
>
>
> INFO: Extracting 'C:\Users\dude\somemavenproject\http:\repo1.maven.org\
> maven2\org\apache\openejb\apache-tomee\1.7.4\apache-
> tomee-1.7.4-webprofile.zip'
> to 'C:\Users\dude\AppData\Local\Temp\arquillian-apache-tomee'
>
> *java.lang.reflect.InvocationTargetException*
>
>             at sun.reflect.NativeMethodAccessorImpl.invoke0(*Native
> Method*)
>
>             at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
>
>             at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown
> Source)
>
>             at java.lang.reflect.Method.invoke(Unknown Source)
>
>             at org.jboss.arquillian.core.impl.ObserverImpl.invoke(
> *ObserverImpl.java:94*)
>
>             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.createContainerContext(
> *ContainerDeploymentContextHandler.java:57*)
>
>             at sun.reflect.NativeMethodAccessorImpl.invoke0(*Native
> Method*)
>
>             at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
>
>             at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown
> Source)
>
>             at java.lang.reflect.Method.invoke(Unknown Source)
>
>             at org.jboss.arquillian.core.impl.ObserverImpl.invoke(
> *ObserverImpl.java:94*)
>
>             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.
> ContainerLifecycleController$2.perform(
> *ContainerLifecycleController.java:77*)
>
>             at org.jboss.arquillian.container.impl.client.container.
> ContainerLifecycleController$2.perform(
> *ContainerLifecycleController.java:70*)
>
>             at org.jboss.arquillian.container.impl.client.container.
> ContainerLifecycleController.forEachSuiteContainer(
> *ContainerLifecycleController.java:221*)
>
>             at org.jboss.arquillian.container.impl.client.container.
> ContainerLifecycleController.startSuiteContainers(
> *ContainerLifecycleController.java:69*)
>
>             at sun.reflect.NativeMethodAccessorImpl.invoke0(*Native
> Method*)
>
>             at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
>
>             at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown
> Source)
>
>             at java.lang.reflect.Method.invoke(Unknown Source)
>
>             at org.jboss.arquillian.core.impl.ObserverImpl.invoke(
> *ObserverImpl.java:94*)
>
>             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:86*)
>
>             at sun.reflect.NativeMethodAccessorImpl.invoke0(*Native
> Method*)
>
>             at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
>
>             at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown
> Source)
>
>             at java.lang.reflect.Method.invoke(Unknown Source)
>
>             at org.jboss.arquillian.core.impl.ObserverImpl.invoke(
> *ObserverImpl.java:94*)
>
>             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.
> createSuiteContext(*TestContextHandler.java:60*)
>
>             at sun.reflect.NativeMethodAccessorImpl.invoke0(*Native
> Method*)
>
>             at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
>
>             at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown
> Source)
>
>             at java.lang.reflect.Method.invoke(Unknown Source)
>
>             at org.jboss.arquillian.core.impl.ObserverImpl.invoke(
> *ObserverImpl.java:94*)
>
>             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.
> beforeSuite(*EventTestRunnerAdaptor.java:68*)
>
>             at org.jboss.arquillian.junit.Arquillian.run(
> *Arquillian.java:97*)
>
>             at org.eclipse.jdt.internal.junit4.runner.
> JUnit4TestReference.run(*JUnit4TestReference.java:86*)
>
>             at org.eclipse.jdt.internal.junit.runner.TestExecution.run(
> *TestExecution.java:38*)
>
>             at org.eclipse.jdt.internal.junit.runner.RemoteTestRunner.
> runTests(*RemoteTestRunner.java:459*)
>
>             at org.eclipse.jdt.internal.junit.runner.RemoteTestRunner.
> runTests(*RemoteTestRunner.java:678*)
>
>             at org.eclipse.jdt.internal.junit.runner.RemoteTestRunner.run(
> *RemoteTestRunner.java:382*)
>
>             at org.eclipse.jdt.internal.junit.runner.RemoteTestRunner.
> main(
> *RemoteTestRunner.java:192*)
>
> Caused by: *java.lang.NullPointerException*
>
>             at org.apache.tomee.arquillian.remote.RemoteTomEEContainer.
> start(*RemoteTomEEContainer.java:132*)
>
>             at org.jboss.arquillian.container.impl.ContainerImpl.start(
> *ContainerImpl.java:199*)
>
>             at org.jboss.arquillian.container.impl.client.container.
> ContainerLifecycleController$8.perform(
> *ContainerLifecycleController.java:163*)
>
>             at org.jboss.arquillian.container.impl.client.container.
> ContainerLifecycleController$8.perform(
> *ContainerLifecycleController.java:157*)
>
>             at org.jboss.arquillian.container.impl.client.container.
> ContainerLifecycleController.forContainer(
> *ContainerLifecycleController.java:255*)
>
>             at org.jboss.arquillian.container.impl.client.container.
> ContainerLifecycleController.startContainer(
> *ContainerLifecycleController.java:156*)
>
>             ... 56 more
>
> *java.lang.reflect.InvocationTargetException*
>
>             at sun.reflect.NativeMethodAccessorImpl.invoke0(*Native
> Method*)
>
>             at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
>
>             at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown
> Source)
>
>             at java.lang.reflect.Method.invoke(Unknown Source)
>
>             at org.jboss.arquillian.core.impl.ObserverImpl.invoke(
> *ObserverImpl.java:94*)
>
>             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.createContainerContext(
> *ContainerDeploymentContextHandler.java:57*)
>
>             at sun.reflect.NativeMethodAccessorImpl.invoke0(*Native
> Method*)
>
>             at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
>
>             at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown
> Source)
>
>             at java.lang.reflect.Method.invoke(Unknown Source)
>
>             at org.jboss.arquillian.core.impl.ObserverImpl.invoke(
> *ObserverImpl.java:94*)
>
>             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.
> ContainerLifecycleController$2.perform(
> *ContainerLifecycleController.java:77*)
>
>             at org.jboss.arquillian.container.impl.client.container.
> ContainerLifecycleController$2.perform(
> *ContainerLifecycleController.java:70*)
>
>             at org.jboss.arquillian.container.impl.client.container.
> ContainerLifecycleController.forEachSuiteContainer(
> *ContainerLifecycleController.java:221*)
>
>             at org.jboss.arquillian.container.impl.client.container.
> ContainerLifecycleController.startSuiteContainers(
> *ContainerLifecycleController.java:69*)
>
>             at sun.reflect.NativeMethodAccessorImpl.invoke0(*Native
> Method*)
>
>             at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
>
>             at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown
> Source)
>
>             at java.lang.reflect.Method.invoke(Unknown Source)
>
>             at org.jboss.arquillian.core.impl.ObserverImpl.invoke(
> *ObserverImpl.java:94*)
>
>             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:86*)
>
>             at sun.reflect.NativeMethodAccessorImpl.invoke0(*Native
> Method*)
>
>             at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
>
>             at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown
> Source)
>
>             at java.lang.reflect.Method.invoke(Unknown Source)
>
>             at org.jboss.arquillian.core.impl.ObserverImpl.invoke(
> *ObserverImpl.java:94*)
>
>             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.
> createSuiteContext(*TestContextHandler.java:60*)
>
>             at sun.reflect.NativeMethodAccessorImpl.invoke0(*Native
> Method*)
>
>             at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
>
>             at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown
> Source)
>
>             at java.lang.reflect.Method.invoke(Unknown Source)
>
>             at org.jboss.arquillian.core.impl.ObserverImpl.invoke(
> *ObserverImpl.java:94*)
>
>             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.
> beforeSuite(*EventTestRunnerAdaptor.java:68*)
>
>             at org.jboss.arquillian.junit.Arquillian.run(
> *Arquillian.java:97*)
>
>             at org.eclipse.jdt.internal.junit4.runner.
> JUnit4TestReference.run(*JUnit4TestReference.java:86*)
>
>             at org.eclipse.jdt.internal.junit.runner.TestExecution.run(
> *TestExecution.java:38*)
>
>             at org.eclipse.jdt.internal.junit.runner.RemoteTestRunner.
> runTests(*RemoteTestRunner.java:459*)
>
>             at org.eclipse.jdt.internal.junit.runner.RemoteTestRunner.
> runTests(*RemoteTestRunner.java:678*)
>
>             at org.eclipse.jdt.internal.junit.runner.RemoteTestRunner.run(
> *RemoteTestRunner.java:382*)
>
>             at org.eclipse.jdt.internal.junit.runner.RemoteTestRunner.
> main(
> *RemoteTestRunner.java:192*)
>
> Caused by: *java.lang.NullPointerException*
>
>             at org.apache.tomee.arquillian.remote.RemoteTomEEContainer.
> start(*RemoteTomEEContainer.java:132*)
>
>             at org.jboss.arquillian.container.impl.ContainerImpl.start(
> *ContainerImpl.java:199*)
>
>             at org.jboss.arquillian.container.impl.client.container.
> ContainerLifecycleController$8.perform(
> *ContainerLifecycleController.java:163*)
>
>             at org.jboss.arquillian.container.impl.client.container.
> ContainerLifecycleController$8.perform(
> *ContainerLifecycleController.java:157*)
>
>             at org.jboss.arquillian.container.impl.client.container.
> ContainerLifecycleController.forContainer(
> *ContainerLifecycleController.java:255*)
>
>             at org.jboss.arquillian.container.impl.client.container.
> ContainerLifecycleController.startContainer(
> *ContainerLifecycleController.java:156*)
>
>             ... 56 more
>
>
>
> On Wed, Apr 12, 2017 at 9:11 AM, Romain Manni-Bucau <rmannibucau@gmail.com
> >
> wrote:
>
> > Hi
> >
> > sadly in 1.7.4 this NPE hides the real error (fixed on 7.x branch). Maybe
> > give a try to put a breakpoint at
> > https://github.com/apache/tomee/blob/tomee-1.7.x/
> > arquillian/arquillian-tomee-remote/src/main/java/org/
> > apache/tomee/arquillian/remote/RemoteTomEEContainer.java#L132
> > and check what's the actual exception.
> >
> >
> > Romain Manni-Bucau
> > @rmannibucau <https://twitter.com/rmannibucau> |  Blog
> > <https://blog-rmannibucau.rhcloud.com> | Old Blog
> > <http://rmannibucau.wordpress.com> | Github <https://github.com/
> > rmannibucau> |
> > LinkedIn <https://www.linkedin.com/in/rmannibucau> | JavaEE Factory
> > <https://javaeefactory-rmannibucau.rhcloud.com>
> >
> > 2017-04-12 9:09 GMT+02:00 Me Self <wmsopou@gmail.com>:
> >
> > > Hi All
> > >
> > > Running the tomee-remote adapter 1.7.4 I get the nullptr listed at the
> > > bottom. Is some sort of configuration missing? And where can I find the
> > > branch on github -
> > > there are branches named 1.7.0, 1.7.1, 1.7.2 but no 1.7.4?
> > >
> > > arquillian.xml:
> > >
> > > <container qualifier="tomee-remote" default="true">
> > >
> > >                  <configuration>
> > >
> > >                                    <property
> > name="httpPort">-1</property>
> > >
> > >                                    <property
> > name="stopPort">-1</property>
> > >
> > >                                    <property name="version">1.7.4</
> > > property>
> > >
> > >                                    <property
> > > name="classifier">webprofile</property>
> > >
> > >                  </configuration>
> > >
> > > </container>
> > >
> > >
> > > pom.xml snippets:
> > >
> > >
> > >
> > >
> > >  <tomee.version>1.7.4</tomee.version>
> > >
> > >  <tomee.classifier>webprofile</tomee.classifier>
> > >
> > >  <arquillian.version>1.0.3.Final</arquillian.version>
> > >
> > >  ...
> > >
> > > <profile>
> > >
> > >                  <id>tomee-remote</id>
> > >
> > >                  <dependencies>
> > >
> > >                                    <dependency>
> > >
> > >
> > > <groupId>org.apache.openejb</groupId>
> > >
> > >
> > > <artifactId>arquillian-tomee-remote</artifactId>
> > >
> > >
> > > <version>${tomee.version}</version>
> > >
> > >                                    </dependency>
> > >
> > >                                    <dependency>
> > >
> > >
> > > <groupId>org.apache.openejb</groupId>
> > >
> > >
> > > <artifactId>apache-tomee</artifactId>
> > >
> > >
> > > <version>${tomee.version}</version>
> > >
> > >
>  <classifier>${tomee.
> > > classifier}</classifier>
> > >
> > >                                                     <type>zip</type>
> > >
> > >                                    </dependency>
> > >
> > >                  </dependencies>
> > >
> > >                  <build>
> > >
> > >                                    <plugins>
> > >
> > >                                                     <plugin>
> > >
> > >
> > > <groupId>org.apache.maven.plugins</groupId>
> > >
> > >
> > > <artifactId>maven-surefire-plugin</artifactId>
> > >
> > >
> > > <configuration>
> > >
> > >
> > > <systemPropertyVariables>
> > >
> > >
> > >                                             <arquillian.launch>tomee-
> > > remote</arquillian.launch>
> > >
> > >
> > >                  <tomee.classifier>${tomee.
> > classifier}</tomee.classifier>
> > >
> > >
> > >                  <tomee.version>${tomee.version}</tomee.version>
> > >
> > >
> > > </systemPropertyVariables>
> > >
> > >
> > > </configuration>
> > >
> > >                                                     </plugin>
> > >
> > >                                    </plugins>
> > >
> > >                  </build>
> > >
> > > </profile>
> > >
> > >
> > >
> > > java.lang.NullPointerException: null
> > >
> > >         at
> > > org.apache.tomee.arquillian.remote.RemoteTomEEContainer.
> > > start(RemoteTomEEContainer.java:132)
> > >
> > >         at
> > > org.jboss.arquillian.container.impl.ContainerImpl.
> > > start(ContainerImpl.java:199)
> > >
> > >         at
> > > org.jboss.arquillian.container.impl.client.container.
> > > ContainerLifecycleController$8.perform(ContainerLifecycleController.
> > > java:163)
> > >
> > >         at
> > > org.jboss.arquillian.container.impl.client.container.
> > > ContainerLifecycleController$8.perform(ContainerLifecycleController.
> > > java:157)
> > >
> > >         at
> > > org.jboss.arquillian.container.impl.client.container.
> > > ContainerLifecycleController.forContainer(
> ContainerLifecycleController.
> > > java:255)
> > >
> > >         at
> > > org.jboss.arquillian.container.impl.client.container.
> > > ContainerLifecycleController.startContainer(
> > ContainerLifecycleController.
> > > java:156)
> > >
> > >         at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
> > >
> > >         at
> > > sun.reflect.NativeMethodAccessorImpl.invoke(
> > NativeMethodAccessorImpl.java:
> > > 62)
> > >
> > >         at
> > > sun.reflect.DelegatingMethodAccessorImpl.invoke(
> > > DelegatingMethodAccessorImpl.java:43)
> > >
> > >         at java.lang.reflect.Method.invoke(Method.java:498)
> > >
> > >         at
> > > org.jboss.arquillian.core.impl.ObserverImpl.invoke(
> ObserverImpl.java:94)
> > >
> > >         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.
> > ContainerDeploymentContextHand
> > > ler.createContainerContext(ContainerDeploymentContextHandler.java:57)
> > >
> > >         at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
> > >
> > >         at
> > > sun.reflect.NativeMethodAccessorImpl.invoke(
> > NativeMethodAccessorImpl.java:
> > > 62)
> > >
> > >         at
> > > sun.reflect.DelegatingMethodAccessorImpl.invoke(
> > > DelegatingMethodAccessorImpl.java:43)
> > >
> > >         at java.lang.reflect.Method.invoke(Method.java:498)
> > >
> > >         at
> > > org.jboss.arquillian.core.impl.ObserverImpl.invoke(
> ObserverImpl.java:94)
> > >
> > >         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.
> > > ContainerLifecycleController$2.perform(ContainerLifecycleController.
> > > java:77)
> > >
> > >         at
> > > org.jboss.arquillian.container.impl.client.container.
> > > ContainerLifecycleController$2.perform(ContainerLifecycleController.
> > > java:70)
> > >
> > >         at
> > > org.jboss.arquillian.container.impl.client.container.
> > > ContainerLifecycleController.forEachSuiteContainer(
> > > ContainerLifecycleController.java:221)
> > >
> > >         at
> > > org.jboss.arquillian.container.impl.client.container.
> > > ContainerLifecycleController.startSuiteContainers(
> > > ContainerLifecycleController.java:69)
> > >
> > >         at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
> > >
> > >         at
> > > sun.reflect.NativeMethodAccessorImpl.invoke(
> > NativeMethodAccessorImpl.java:
> > > 62)
> > >
> > >         at
> > > sun.reflect.DelegatingMethodAccessorImpl.invoke(
> > > DelegatingMethodAccessorImpl.java:43)
> > >
> > >         at java.lang.reflect.Method.invoke(Method.java:498)
> > >
> > >         at
> > > org.jboss.arquillian.core.impl.ObserverImpl.invoke(
> ObserverImpl.java:94)
> > >
> > >         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:86)
> > >
> > >         at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
> > >
> > >         at
> > > sun.reflect.NativeMethodAccessorImpl.invoke(
> > NativeMethodAccessorImpl.java:
> > > 62)
> > >
> > >         at
> > > sun.reflect.DelegatingMethodAccessorImpl.invoke(
> > > DelegatingMethodAccessorImpl.java:43)
> > >
> > >         at java.lang.reflect.Method.invoke(Method.java:498)
> > >
> > >         at
> > > org.jboss.arquillian.core.impl.ObserverImpl.invoke(
> ObserverImpl.java:94)
> > >
> > >         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.createSuiteContext(
> > > TestContextHandler.java:60)
> > >
> > >         at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
> > >
> > >         at
> > > sun.reflect.NativeMethodAccessorImpl.invoke(
> > NativeMethodAccessorImpl.java:
> > > 62)
> > >
> > >         at
> > > sun.reflect.DelegatingMethodAccessorImpl.invoke(
> > > DelegatingMethodAccessorImpl.java:43)
> > >
> > >         at java.lang.reflect.Method.invoke(Method.java:498)
> > >
> > >         at
> > > org.jboss.arquillian.core.impl.ObserverImpl.invoke(
> ObserverImpl.java:94)
> > >
> > >         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.beforeSuite(
> > > EventTestRunnerAdaptor.java:68)
> > >
> > >         at org.jboss.arquillian.junit.Arquillian.run(Arquillian.
> java:97)
> > >
> > >         at
> > > org.apache.maven.surefire.junit4.JUnit4Provider.execute(
> > > JUnit4Provider.java:283)
> > >
> > >         at
> > > org.apache.maven.surefire.junit4.JUnit4Provider.executeWithRerun(
> > > JUnit4Provider.java:173)
> > >
> > >         at
> > > org.apache.maven.surefire.junit4.JUnit4Provider.
> > > executeTestSet(JUnit4Provider.java:153)
> > >
> > >         at
> > > org.apache.maven.surefire.junit4.JUnit4Provider.invoke(
> > > JUnit4Provider.java:128)
> > >
> > >         at
> > > org.apache.maven.surefire.booter.ForkedBooter.
> > > invokeProviderInSameClassLoader(ForkedBooter.java:203)
> > >
> > >         at
> > > org.apache.maven.surefire.booter.ForkedBooter.runSuitesInProcess(
> > > ForkedBooter.java:155)
> > >
> > >         at
> > > org.apache.maven.surefire.booter.ForkedBooter.main(
> > ForkedBooter.java:103)
> > >
> >
>

Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message