axis-java-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Glen Daniels" <gdani...@macromedia.com>
Subject Re: [GUMP] Function Test Failure - Axis
Date Sun, 16 Sep 2001 15:29:38 GMT
This seems really odd to me, in that the HTTPAuth handler shouldn't be on
any of the functional-test transport chains, as far as I can see.  In
testing this on my own machine, I don't see this error, but I did find some
stuff that needs serious cleaning up re: usage of the MessageContext in
ServiceClient.  (the MC is used for both transient (status codes) and
persistent (session cookies)stuff, which is confusing and incorrect, IMO.
I'm changing it so the MC gets reset on every invoke(), and loaded up with
stuff that's held in the ServiceClient.)

I'm working on this today, but have to go out for a while - will check in a
fix later this afternoon.

--G

----- Original Message -----
From: "Sam Ruby" <rubys@us.ibm.com>
To: <axis-dev@xml.apache.org>
Sent: Sunday, September 16, 2001 7:05 AM
Subject: [GUMP] Function Test Failure - Axis


> ----------------------------------------------------
> This email is autogenerated from the output from:
> <http://jakarta.apache.org/builds/gump/2001-09-16/test-axis.html>
> ----------------------------------------------------
>
> Buildfile: build.xml
>
> setenv:
>      [echo] --- Build environment for Axis ---
>      [echo] --- Flags (Note: If the {property name} is displayed,
>      [echo]            then the component is not present)
>      [echo]
>      [echo] === Required Libraries ===
>      [echo] wsdl4j.present=true
>      [echo] log4j.present=true
>      [echo] clutil.present=${clutil.present}
>      [echo]
>      [echo] --- Optional Libraries ---
>      [echo] servlet.present=true
>      [echo] junit.present=true
>      [echo]
>      [echo] --- Property values ---
>      [echo] debug=true
>      [echo] deprecation=true
>
> compile:
>       [jar] DEPRECATED - The jarfile attribute is deprecated. Use file
attribute instead.
>
> post-compile:
>
> buildTest:
>      [echo] junit package found ...
>
> samples:
>
> functional-tests:
>
> functional-tests:
>
> start-functional-test-tcp-server:
>      [echo] Starting test tcp server.
>      [java] TCPListener is listening on port 8088.
>      [java] TCPListener received new connection:
Socket[addr=rubix/127.0.0.1,port=33085,localport=8088]
> [runaxisfunctionaltests] RunAxisFunctionalTestsTask.callStart successfully
pinged server.
>
> start-functional-test-http-server:
>      [echo] Starting test http server.
>      [java] TCPListener received new connection:
Socket[addr=rubix/127.0.0.1,port=33086,localport=8088]
> [runaxisfunctionaltests] RunAxisFunctionalTestsTask.callStart successfully
pinged server.
>
> junit-functional:
>     [mkdir] Created dir: /home/rubys/jakarta/xml-axis/java/build/jws
>      [copy] Copying 1 file to /home/rubys/jakarta/xml-axis/java/build/jws
>      [copy] Copying 1 file to /home/rubys/jakarta/xml-axis/java/build/jws
>     [junit] Running test.functional.FunctionalTests
>     [junit] Testing echo interop sample.
>     [junit] Processing file: samples/echo/deploy.xml
>     [junit] <ns1:Fault
xmlns:ns1="http://schemas.xmlsoap.org/soap/envelope/">
>     [junit]    <ns1:faultcode
xmlns:ns4="http://xml.apache.org/axis/">ns4:Server.generalException</ns1:fau
ltcode>
>     [junit]    <ns1:faultstring>java.lang.NullPointerException
>     [junit] at
org.apache.axis.handlers.http.HTTPAuthHandler.invoke(HTTPAuthHandler.java:87
)
>     [junit] at
org.apache.axis.strategies.InvocationStrategy.visit(InvocationStrategy.java:
71)
>     [junit] at
org.apache.axis.SimpleChain.doVisiting(SimpleChain.java:119)
>     [junit] at org.apache.axis.SimpleChain.invoke(SimpleChain.java:98)
>     [junit] at
org.apache.axis.server.AxisServer.invoke(AxisServer.java:229)
>     [junit] at
org.apache.axis.transport.local.LocalSender.invoke(LocalSender.java:149)
>     [junit] at
org.apache.axis.SimpleTargetedChain.invoke(SimpleTargetedChain.java:100)
>     [junit] at
org.apache.axis.client.AxisClient.invoke(AxisClient.java:166)
>     [junit] at
org.apache.axis.client.ServiceClient.invoke(ServiceClient.java:631)
>     [junit] at
org.apache.axis.client.AdminClient.process(AdminClient.java:221)
>     [junit] at
org.apache.axis.client.AdminClient.main(AdminClient.java:261)
>     [junit] at
test.functional.TestEchoSample.testEchoService(TestEchoSample.java:81)
>     [junit] at java.lang.reflect.Method.invoke(Native Method)
>     [junit] at junit.framework.TestCase.runTest(TestCase.java:166)
>     [junit] at junit.framework.TestCase.runBare(TestCase.java:140)
>     [junit] at junit.framework.TestResult$1.protect(TestResult.java:106)
>     [junit] at
junit.framework.TestResult.runProtected(TestResult.java:124)
>     [junit] at junit.framework.TestResult.run(TestResult.java:109)
>     [junit] at junit.framework.TestCase.run(TestCase.java:131)
>     [junit] at junit.framework.TestSuite.runTest(TestSuite.java:173)
>     [junit] at junit.framework.TestSuite.run(TestSuite.java:168)
>     [junit] at junit.framework.TestSuite.runTest(TestSuite.java:173)
>     [junit] at junit.framework.TestSuite.run(TestSuite.java:168)
>     [junit] at
org.apache.tools.ant.taskdefs.optional.junit.JUnitTestRunner.run(JUnitTestRu
nner.java:231)
>     [junit] at
org.apache.tools.ant.taskdefs.optional.junit.JUnitTestRunner.main(JUnitTestR
unner.java:409)
>     [junit] </ns1:faultstring>
>     [junit]   </ns1:Fault>
>     [junit]
>     [junit] Tests run: 1, Failures: 1, Errors: 0, Time elapsed: 4.898 sec
>     [junit] Testsuite: test.functional.FunctionalTests
>     [junit] Tests run: 1, Failures: 1, Errors: 0, Time elapsed: 4.898 sec
>     [junit]
>     [junit] Testcase: testEchoService took 4.883 sec
>     [junit] FAILED
>     [junit] echoString      : java.lang.NullPointerException
>     [junit] at
org.apache.axis.handlers.http.HTTPAuthHandler.invoke(HTTPAuthHandler.java:87
)
>     [junit] at
org.apache.axis.strategies.InvocationStrategy.visit(InvocationStrategy.java:
71)
>     [junit] at
org.apache.axis.SimpleChain.doVisiting(SimpleChain.java:119)
>     [junit] at org.apache.axis.SimpleChain.invoke(SimpleChain.java:98)
>     [junit] at
org.apache.axis.server.AxisServer.invoke(AxisServer.java:229)
>     [junit] at
org.apache.axis.transport.local.LocalSender.invoke(LocalSender.java:149)
>     [junit] at
org.apache.axis.SimpleTargetedChain.invoke(SimpleTargetedChain.java:100)
>     [junit] at
org.apache.axis.client.AxisClient.invoke(AxisClient.java:166)
>     [junit] at
org.apache.axis.client.ServiceClient.invoke(ServiceClient.java:631)
>     [junit] at
org.apache.axis.client.ServiceClient.invoke(ServiceClient.java:559)
>     [junit] at
org.apache.axis.client.ServiceClient.invoke(ServiceClient.java:481)
>     [junit] at samples.echo.TestClient.test(TestClient.java:167)
>     [junit] at samples.echo.TestClient.execute(TestClient.java:202)
>     [junit] at
test.functional.TestEchoSample.testEchoService(TestEchoSample.java:92)
>     [junit] at java.lang.reflect.Method.invoke(Native Method)
>     [junit] at junit.framework.TestCase.runTest(TestCase.java:166)
>     [junit] at junit.framework.TestCase.runBare(TestCase.java:140)
>     [junit] at junit.framework.TestResult$1.protect(TestResult.java:106)
>     [junit] at
junit.framework.TestResult.runProtected(TestResult.java:124)
>     [junit] at junit.framework.TestResult.run(TestResult.java:109)
>     [junit] at junit.framework.TestCase.run(TestCase.java:131)
>     [junit] at junit.framework.TestSuite.runTest(TestSuite.java:173)
>     [junit] at junit.framework.TestSuite.run(TestSuite.java:168)
>     [junit] at junit.framework.TestSuite.runTest(TestSuite.java:173)
>     [junit] at junit.framework.TestSuite.run(TestSuite.java:168)
>     [junit] at
org.apache.tools.ant.taskdefs.optional.junit.JUnitTestRunner.run(JUnitTestRu
nner.java:231)
>     [junit] at
org.apache.tools.ant.taskdefs.optional.junit.JUnitTestRunner.main(JUnitTestR
unner.java:409)
>     [junit]
>     [junit] junit.framework.AssertionFailedError: echoString      :
java.lang.NullPointerException
>     [junit] at
org.apache.axis.handlers.http.HTTPAuthHandler.invoke(HTTPAuthHandler.java:87
)
>     [junit] at
org.apache.axis.strategies.InvocationStrategy.visit(InvocationStrategy.java:
71)
>     [junit] at
org.apache.axis.SimpleChain.doVisiting(SimpleChain.java:119)
>     [junit] at org.apache.axis.SimpleChain.invoke(SimpleChain.java:98)
>     [junit] at
org.apache.axis.server.AxisServer.invoke(AxisServer.java:229)
>     [junit] at
org.apache.axis.transport.local.LocalSender.invoke(LocalSender.java:149)
>     [junit] at
org.apache.axis.SimpleTargetedChain.invoke(SimpleTargetedChain.java:100)
>     [junit] at
org.apache.axis.client.AxisClient.invoke(AxisClient.java:166)
>     [junit] at
org.apache.axis.client.ServiceClient.invoke(ServiceClient.java:631)
>     [junit] at
org.apache.axis.client.ServiceClient.invoke(ServiceClient.java:559)
>     [junit] at
org.apache.axis.client.ServiceClient.invoke(ServiceClient.java:481)
>     [junit] at samples.echo.TestClient.test(TestClient.java:167)
>     [junit] at samples.echo.TestClient.execute(TestClient.java:202)
>     [junit] at
test.functional.TestEchoSample.testEchoService(TestEchoSample.java:92)
>     [junit] at java.lang.reflect.Method.invoke(Native Method)
>     [junit] at junit.framework.TestCase.runTest(TestCase.java:166)
>     [junit] at junit.framework.TestCase.runBare(TestCase.java:140)
>     [junit] at junit.framework.TestResult$1.protect(TestResult.java:106)
>     [junit] at
junit.framework.TestResult.runProtected(TestResult.java:124)
>     [junit] at junit.framework.TestResult.run(TestResult.java:109)
>     [junit] at junit.framework.TestCase.run(TestCase.java:131)
>     [junit] at junit.framework.TestSuite.runTest(TestSuite.java:173)
>     [junit] at junit.framework.TestSuite.run(TestSuite.java:168)
>     [junit] at junit.framework.TestSuite.runTest(TestSuite.java:173)
>     [junit] at junit.framework.TestSuite.run(TestSuite.java:168)
>     [junit] at
org.apache.tools.ant.taskdefs.optional.junit.JUnitTestRunner.run(JUnitTestRu
nner.java:231)
>     [junit] at
org.apache.tools.ant.taskdefs.optional.junit.JUnitTestRunner.main(JUnitTestR
unner.java:409)
>     [junit]
>     [junit] at junit.framework.Assert.fail(Assert.java:51)
>     [junit] at junit.framework.Assert.assertTrue(Assert.java:38)
>     [junit] at
test.functional.TestEchoSample$1.verify(TestEchoSample.java:86)
>     [junit] at samples.echo.TestClient.test(TestClient.java:175)
>     [junit] at samples.echo.TestClient.execute(TestClient.java:202)
>     [junit] at
test.functional.TestEchoSample.testEchoService(TestEchoSample.java:92)
>     [junit] at java.lang.reflect.Method.invoke(Native Method)
>     [junit] at junit.framework.TestCase.runTest(TestCase.java:166)
>     [junit] at junit.framework.TestCase.runBare(TestCase.java:140)
>     [junit] at junit.framework.TestResult$1.protect(TestResult.java:106)
>     [junit] at
junit.framework.TestResult.runProtected(TestResult.java:124)
>     [junit] at junit.framework.TestResult.run(TestResult.java:109)
>     [junit] at junit.framework.TestCase.run(TestCase.java:131)
>     [junit] at junit.framework.TestSuite.runTest(TestSuite.java:173)
>     [junit] at junit.framework.TestSuite.run(TestSuite.java:168)
>     [junit] at junit.framework.TestSuite.runTest(TestSuite.java:173)
>     [junit] at junit.framework.TestSuite.run(TestSuite.java:168)
>     [junit] at
org.apache.tools.ant.taskdefs.optional.junit.JUnitTestRunner.run(JUnitTestRu
nner.java:231)
>     [junit] at
org.apache.tools.ant.taskdefs.optional.junit.JUnitTestRunner.main(JUnitTestR
unner.java:409)
>     [junit]
>      [java] TCPListener received new connection:
Socket[addr=rubix/127.0.0.1,port=33087,localport=8088]
>      [java] AxisListener quitting.
>
> stop-functional-test-http-server:
>      [echo] Stopping test http server.
>      [java] Doing a quit
>      [java] Admin service requested to quit, quitting.
>      [java] SimpleAxisServer quitting.
>      [java] <Admin>Quitting</Admin>
>      [java]
> [runaxisfunctionaltests] RunAxisFunctionalTestsTask.callStop successfully
sent quit message.
>
> BUILD FAILED
>
> /home/rubys/jakarta/xml-axis/java/test/build_functional_tests.xml:69: Test
test.functional.FunctionalTests failed
>
> Total time: 34 seconds
>


Mime
View raw message