javaee / metro-wsit

https://javaee.github.io/metro-wsit/
Other
9 stars 24 forks source link

WSA Interop against MS 3.5 endpoint NPE errors #955

Closed glassfishrobot closed 15 years ago

glassfishrobot commented 16 years ago

WSA Interop against MS 3.5 endpoint errors using metro 1.3 & GF

Interop Tests (Tango Client -> Indigo Endpoint)

TestSuite Name Total Tests Expected Passes Unexpected Passes Expected Fails Unexpected Fails Errors Success Rate Time (s) wsa.​crinterop.​s11.​client.​AllTests2Indigo 23 22 0 0 0 1 95.65% 103.491 wsa.​crinterop.​s12.​client.​AllTests2Indigo 25 24 0 0 0 1 96.00% 165.539

wsa.​crinterop.​s11.​client.​AllTests2Indigo test1143 error java.lang.NullPointerException No 1770

Details for failed test/tests with errors:

test1143:

javax.xml.ws.WebServiceException: java.lang.NullPointerException at com.sun.xml.ws.transport.http.client.HttpTransportPipe.process(HttpTransportPipe.java:194) at com.sun.xml.ws.transport.http.client.HttpTransportPipe.processRequest(HttpTransportPipe.java:93) at com.sun.xml.ws.api.pipe.Fiber.__doRun(Fiber.java:598) at com.sun.xml.ws.api.pipe.Fiber._doRun(Fiber.java:557) at com.sun.xml.ws.api.pipe.Fiber.doRun(Fiber.java:542) at com.sun.xml.ws.api.pipe.Fiber.runSync(Fiber.java:439) at com.sun.xml.ws.client.Stub.process(Stub.java:222) at com.sun.xml.ws.client.dispatch.DispatchImpl.doInvoke(DispatchImpl.java:180) at com.sun.xml.ws.client.dispatch.DispatchImpl.invoke(DispatchImpl.java:206) at testutil.WsaUtils.invoke(WsaUtils.java:91) at wsa.crinterop.s11.client.EchoClient2Indigo.test1143(EchoClient2Indigo.java:213) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) at java.lang.reflect.Method.invoke(Method.java:597) at junit.framework.TestCase.runTest(TestCase.java:164) at junit.framework.TestCase.runBare(TestCase.java:130) at junit.framework.TestResult$1.protect(TestResult.java:106) at junit.framework.TestResult.runProtected(TestResult.java:124) at junit.framework.TestResult.run(TestResult.java:109) at junit.framework.TestCase.run(TestCase.java:120) at junit.framework.TestSuite.runTest(TestSuite.java:230) at junit.framework.TestSuite.run(TestSuite.java:225) at org.netbeans.xtest.testrunner.JUnitTestRunner.runTests(JUnitTestRunner.java:191) at org.netbeans.xtest.testrunner.JUnitTestRunner.runTests(JUnitTestRunner.java:146) at org.netbeans.xtest.plugin.jvm.JUnitTestRunnerLauncher.main(JUnitTestRunnerLauncher.java:82) Caused by: java.lang.NullPointerException at com.sun.xml.ws.transport.http.client.HttpTransportPipe.checkStatusCode(HttpTransportPipe.java:202) at com.sun.xml.ws.transport.http.client.HttpTransportPipe.process(HttpTransportPipe.java:177) ... 25 more

Test Suite wsa.crinterop.s12.client.AllTests2Indigo test1243 error java.lang.NullPointerException No 1750

Details for failed test/tests with errors:

test1243:

javax.xml.ws.WebServiceException: java.lang.NullPointerException at com.sun.xml.ws.transport.http.client.HttpTransportPipe.process(HttpTransportPipe.java:194) at com.sun.xml.ws.transport.http.client.HttpTransportPipe.processRequest(HttpTransportPipe.java:93) at com.sun.xml.ws.api.pipe.Fiber.__doRun(Fiber.java:598) at com.sun.xml.ws.api.pipe.Fiber._doRun(Fiber.java:557) at com.sun.xml.ws.api.pipe.Fiber.doRun(Fiber.java:542) at com.sun.xml.ws.api.pipe.Fiber.runSync(Fiber.java:439) at com.sun.xml.ws.client.Stub.process(Stub.java:222) at com.sun.xml.ws.client.dispatch.DispatchImpl.doInvoke(DispatchImpl.java:180) at com.sun.xml.ws.client.dispatch.DispatchImpl.invoke(DispatchImpl.java:206) at testutil.WsaUtils.invoke12(WsaUtils.java:103) at wsa.crinterop.s12.client.EchoClient2Indigo.test1243(EchoClient2Indigo.java:213) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) at java.lang.reflect.Method.invoke(Method.java:597) at junit.framework.TestCase.runTest(TestCase.java:164) at junit.framework.TestCase.runBare(TestCase.java:130) at junit.framework.TestResult$1.protect(TestResult.java:106) at junit.framework.TestResult.runProtected(TestResult.java:124) at junit.framework.TestResult.run(TestResult.java:109) at junit.framework.TestCase.run(TestCase.java:120) at junit.framework.TestSuite.runTest(TestSuite.java:230) at junit.framework.TestSuite.run(TestSuite.java:225) at org.netbeans.xtest.testrunner.JUnitTestRunner.runTests(JUnitTestRunner.java:191) at org.netbeans.xtest.testrunner.JUnitTestRunner.runTests(JUnitTestRunner.java:146) at org.netbeans.xtest.plugin.jvm.JUnitTestRunnerLauncher.main(JUnitTestRunnerLauncher.java:82) Caused by: java.lang.NullPointerException at com.sun.xml.ws.transport.http.client.HttpTransportPipe.checkStatusCode(HttpTransportPipe.java:202) at com.sun.xml.ws.transport.http.client.HttpTransportPipe.process(HttpTransportPipe.java:177) ... 25 more

Environment

Operating System: SunOS Platform: Sun

Affected Versions

[1.3]

glassfishrobot commented 16 years ago

Reported by jbenoit@java.net

glassfishrobot commented 16 years ago

jbenoit@java.net said: Created an attachment (id=639) test4u WSA tango2indigo log file (S->M)

glassfishrobot commented 16 years ago

jbenoit@java.net said: Created an attachment (id=640) test4u installation/setup log file

glassfishrobot commented 16 years ago

jbenoit@java.net said: Created an attachment (id=641) test4u xtest properties log file

glassfishrobot commented 16 years ago

jbenoit@java.net said: Created an attachment (id=642) GF domain1 server.log file

glassfishrobot commented 16 years ago

jbenoit@java.net said: Created an attachment (id=643) GF domain2 server.log file

glassfishrobot commented 16 years ago

jbenoit@java.net said: WSA Interop against 3.5 endpoits interop-indigo2tango seeing error:

Critical Error error Compilation failed or other critical error appeared. Look at build script log for details. No 0

Details for failed test/tests with errors:

Critical Error:

/space/test4u2/xtests/netbeans-trunk/lib/harness.xml:223: The following error occurred while executing this line: /space/test4u2/cvswork/sunsw/tango/qe-tests/jax-wsa/test/build.xml:49: The following error occurred while executing this line: /space/test4u2/xtests/netbeans-trunk/lib/module_harness.xml:384: The following error occurred while executing this line: /space/test4u2/cvswork/sunsw/tango/qe-tests/jax-wsa/test/build-interop-indigo2tango.xml:111: The following error occurred while executing this line: /space/test4u2/cvswork/sunsw/tango/qe-tests/jax-wsa/interop/config/common-targets.xml:180: wsimport failed

testu logs shows:

generate-client-from-indigo-endpoint: [wsimport] Consider using / so that wsimport won't do unnecessary compilation [wsimport] command line: wsimport /space/jdks/jdk1.6.0_05/jre/bin/java -Dhttp.proxyHost=webcache.eng.sun.com -Dhttp.proxyPort=8080 -Dhttp.nonProxyHosts=localhost|.india.sun.com|.east.sun.com|*.czech.sun.com -classpath /space/sjsas/glassfish/lib/activation.jar:/space/sjsas/glassfish/lib/endorsed/webservices-api.jar:/space/sjsas/glassfish/lib/webservices-rt.jar:/space/sjsas/glassfish/lib/webservices-tools.jar:/space/sjsas/glassfish/lib/javaee.jar:/space/jdks/jdk1.6.0_05/lib/tools.jar:/space/test4u2/cvswork/sunsw/tango/qe-tests/jax-wsa/interop/lib/junit.jar:/space/test4u2/cvswork/sunsw/tango/qe-tests/jax-wsa/interop/lib/jaxws-testutil.jar com.sun.tools.ws.WsImport -d /space/test4u2/cvswork/sunsw/tango/qe-tests/jax-wsa/interop/build/classes -g -s /space/test4u2/cvswork/sunsw/tango/qe-tests/jax-wsa/interop/build/src -verbose http://yinyang.india.sun.com/WSAddressingCR_Client_WCF/WSAddressing10.svc?wsdl -p xwsinterop.interoprt [wsimport] parsing WSDL...

[wsimport] [ERROR] http://yinyang.india.sun.com/WSAddressingCR_Client_WCF/WSAddressing10.svc?wsdl is unreachable

[wsimport] Failed to parse the WSDL.

BUILD FAILED /space/test4u2/xtests/netbeans-trunk/lib/harness.xml:223: The following error occurred while executing this line: /space/test4u2/cvswork/sunsw/tango/qe-tests/jax-wsa/test/build.xml:49: The following error occurred while executing this line: /space/test4u2/xtests/netbeans-trunk/lib/module_harness.xml:384: The following error occurred while executing this line: /space/test4u2/cvswork/sunsw/tango/qe-tests/jax-wsa/test/build-interop-indigo2tango.xml:111: The following error occurred while executing this line: /space/test4u2/cvswork/sunsw/tango/qe-tests/jax-wsa/interop/config/common-targets.xml:180: wsimport failed

Total time: 50 seconds

glassfishrobot commented 16 years ago

jbenoit@java.net said: Created an attachment (id=644) test4u WSA indigo2tango log file (M->S)

glassfishrobot commented 16 years ago

jitu@java.net said: NPE is fixed in JAX-WS. But the actual root cause is somewhere else.

From the log, this endpoint is not accessible. Can you verify it. http://yinyang.india.sun.com/WSAddressingCR_Client_WCF/WSAddressing10.svc?wsdl

glassfishrobot commented 16 years ago

jbenoit@java.net said: in the newest drop from MS, the 3.5 Client URL has changed to add the string "Client" before the .svc portion of the url.

3.0 Interop Client URL: http://java11.india.sun.com/WSAddressingCR_Client_WCF/WSAddressingAugust2004.svc?wsdl vs. 3.5 Interop Client URL http://yinyang.india.sun.com/WSAddressingCR_Client_WCF/WSAddressingAugust2004Client.svc?wsdl

3.0 Interop Client URL: http://java11.india.sun.com/WSAddressingCR_Client_WCF/WSAddressing10.svc?wsdl vs. 3.5 Interop Client URL: http://yinyang.india.sun.com/WSAddressingCR_Client_WCF/WSAddressing10Client.svc?wsdl

updated tango/qe-tests/jax-wsa CVS workspace appropriately in trunk, which is used to run the 3.5 Interop tests, to add this extra "Client" string before the .svc portion of URL. use before-net-3-5-migration CVS branch when running against the 3.0 endpoints.

glassfishrobot commented 16 years ago

ramapulavarthi@java.net said: Seems MS hasn't included their patch for test 1443 and 1243 in the updated bundle. See http://weblogs.java.net/blog/ramapulavarthi/archive/2008/03/status_of_wsadd.html for details on the patch provided during plugfest that worked in Metro to .Net 3.5 scenario for tests 1143 and 1243. These can be taken as expected failures until MS fixes them.

glassfishrobot commented 16 years ago

jitu@java.net said: targetting to 1.4 as we need new endpoints.

glassfishrobot commented 16 years ago

jitu@java.net said: assigning it to Rama

glassfishrobot commented 16 years ago

ramapulavarthi@java.net said: Since the NPE was fixed by Jitu long time back, Please update the bug report with the current report with latest bits if it is still an issue. I see my comments that MS need to provide updated endpoints for tests 1143 and 1243. Since MS endpoints need to be updated, marking it as a test configuration issue.

Assigning it to Jon.

glassfishrobot commented 16 years ago

jbenoit@java.net said: Seeing these errors for metro 1.4 using MS 3.5 endpoints (Tango Client -> Indigo Endpoint):

wsa.​crinterop.​s11.​client.​AllTests2Indigo

Details for failed test/tests with errors:

test1143:

com.sun.xml.ws.client.ClientTransportException: The server sent HTTP status code 400: Bad Request at com.sun.xml.ws.transport.http.client.HttpTransportPipe.checkStatusCode(HttpTransportPipe.java:207) at com.sun.xml.ws.transport.http.client.HttpTransportPipe.process(HttpTransportPipe.java:179) at com.sun.xml.ws.transport.http.client.HttpTransportPipe.processRequest(HttpTransportPipe.java:94) at com.sun.xml.ws.transport.DeferredTransportPipe.processRequest(DeferredTransportPipe.java:116) at com.sun.xml.ws.api.pipe.Fiber.__doRun(Fiber.java:598) at com.sun.xml.ws.api.pipe.Fiber._doRun(Fiber.java:557) at com.sun.xml.ws.api.pipe.Fiber.doRun(Fiber.java:542) at com.sun.xml.ws.api.pipe.Fiber.runSync(Fiber.java:439) at com.sun.xml.ws.client.Stub.process(Stub.java:222) at com.sun.xml.ws.client.dispatch.DispatchImpl.doInvoke(DispatchImpl.java:180) at com.sun.xml.ws.client.dispatch.DispatchImpl.invoke(DispatchImpl.java:206) at testutil.WsaUtils.invoke(WsaUtils.java:91) at wsa.crinterop.s11.client.EchoClient2Indigo.test1143(EchoClient2Indigo.java:213) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) at java.lang.reflect.Method.invoke(Method.java:585) at junit.framework.TestCase.runTest(TestCase.java:164) at junit.framework.TestCase.runBare(TestCase.java:130) at junit.framework.TestResult$1.protect(TestResult.java:106) at junit.framework.TestResult.runProtected(TestResult.java:124) at junit.framework.TestResult.run(TestResult.java:109) at junit.framework.TestCase.run(TestCase.java:120) at junit.framework.TestSuite.runTest(TestSuite.java:230) at junit.framework.TestSuite.run(TestSuite.java:225) at org.netbeans.xtest.testrunner.JUnitTestRunner.runTests(JUnitTestRunner.java:191) at org.netbeans.xtest.testrunner.JUnitTestRunner.runTests(JUnitTestRunner.java:146) at org.netbeans.xtest.plugin.jvm.JUnitTestRunnerLauncher.main(JUnitTestRunnerLauncher.java:82)

wsa.​crinterop.​s12.​client.​AllTests2Indigo

Details for failed test/tests with errors:

test1243:

com.sun.xml.ws.client.ClientTransportException: The server sent HTTP status code 400: Bad Request at com.sun.xml.ws.transport.http.client.HttpTransportPipe.checkStatusCode(HttpTransportPipe.java:207) at com.sun.xml.ws.transport.http.client.HttpTransportPipe.process(HttpTransportPipe.java:179) at com.sun.xml.ws.transport.http.client.HttpTransportPipe.processRequest(HttpTransportPipe.java:94) at com.sun.xml.ws.transport.DeferredTransportPipe.processRequest(DeferredTransportPipe.java:116) at com.sun.xml.ws.api.pipe.Fiber.__doRun(Fiber.java:598) at com.sun.xml.ws.api.pipe.Fiber._doRun(Fiber.java:557) at com.sun.xml.ws.api.pipe.Fiber.doRun(Fiber.java:542) at com.sun.xml.ws.api.pipe.Fiber.runSync(Fiber.java:439) at com.sun.xml.ws.client.Stub.process(Stub.java:222) at com.sun.xml.ws.client.dispatch.DispatchImpl.doInvoke(DispatchImpl.java:180) at com.sun.xml.ws.client.dispatch.DispatchImpl.invoke(DispatchImpl.java:206) at testutil.WsaUtils.invoke12(WsaUtils.java:103) at wsa.crinterop.s12.client.EchoClient2Indigo.test1243(EchoClient2Indigo.java:213) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) at java.lang.reflect.Method.invoke(Method.java:585) at junit.framework.TestCase.runTest(TestCase.java:164) at junit.framework.TestCase.runBare(TestCase.java:130) at junit.framework.TestResult$1.protect(TestResult.java:106) at junit.framework.TestResult.runProtected(TestResult.java:124) at junit.framework.TestResult.run(TestResult.java:109) at junit.framework.TestCase.run(TestCase.java:120) at junit.framework.TestSuite.runTest(TestSuite.java:230) at junit.framework.TestSuite.run(TestSuite.java:225) at org.netbeans.xtest.testrunner.JUnitTestRunner.runTests(JUnitTestRunner.java:191) at org.netbeans.xtest.testrunner.JUnitTestRunner.runTests(JUnitTestRunner.java:146) at org.netbeans.xtest.plugin.jvm.JUnitTestRunnerLauncher.main(JUnitTestRunnerLauncher.java:82)

glassfishrobot commented 16 years ago

mmatula@java.net said: Targeting for 1.5 (bug in MS drop)

glassfishrobot commented 15 years ago

jbenoit@java.net said: MS provided updated endpoints for tests 1143 and 1243 in their 4.0 endpoints drop. These MS 3.5 endpoints (Tango Client -> Indigo Endpoint) tests will continue to fail when testing against 3.5 endpoints, but will not fail with these errors when testing against 4.0 endpoints. closing as fixed as per 4.0 endpoint drop.

glassfishrobot commented 16 years ago

File: server-domain2.log Attached By: jbenoit@java.net

glassfishrobot commented 16 years ago

File: server.log Attached By: jbenoit@java.net

glassfishrobot commented 16 years ago

File: tango_qe-tests_jax-wsa_interop-indigo2tango.log Attached By: jbenoit@java.net

glassfishrobot commented 16 years ago

File: tango_qe-tests_jax-wsa_interop-tango2indigo.log Attached By: jbenoit@java.net

glassfishrobot commented 16 years ago

File: test4u.log Attached By: jbenoit@java.net

glassfishrobot commented 16 years ago

File: xtest.properties Attached By: jbenoit@java.net

glassfishrobot commented 16 years ago

Was assigned to jbenoit@java.net

glassfishrobot commented 7 years ago

This issue was imported from java.net JIRA WSIT-955

glassfishrobot commented 15 years ago

Marked as fixed on Sunday, November 1st 2009, 11:51:47 am