Marshall Schor wrote:
Thilo Goetz wrote:
Marshall Schor wrote:
[...]
Running the mvn install gave a build failure in running the test for Apache UIMA Simple Server:
 Running org.apache.uima.simpleserver.test.ServerTest
 java.lang.NullPointerException
at org.apache.uima.simpleserver.util.JettyUtils.getHost(JettyUtils.java:133) at org.apache.uima.simpleserver.test.ServerTest.test1(ServerTest.java:118)
       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.apache.maven.surefire.testset.PojoTestSet.executeTestMethod(PojoTestSet.java:150)
       . . .
This error occurred twice.

Looks like the server is null.  That can only occur if setUp()
wasn't called.  You're not attempting to run this with junit 3
by any chance?

--Thilo

Reply via email to