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.
Is there some setup I need to get this test to run?
-Marshall
Works for me. Platform, jdk? I have tested this with various jvms, on
windows and linux.
--Thilo