javaee / metro-wsit

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

Interop Scenario Fails with .Net4.0-rc1 : NullPointerException #1380

Open glassfishrobot opened 14 years ago

glassfishrobot commented 14 years ago

Scenario

Interop Scenario 2 - Client_SUN STS_MS Server_MS

Setup

metro 2.0.1 glassfish v3

Soap Log

trying MS server.... Mar 17, 2010 7:37:08 PM [com.sun.xml.ws.policy.jaxws.PolicyConfigParser] parse INFO: WSP5018: Loaded WSIT configuration from file: file:/space/.net4.0-rc1/tango/qe-tests/wstrust/interop/src/scenario2-m-m/etc/client-config/wsit-client.xml.

../../../interop/logs/run_log/scenario2-m-m-output.txt java.lang.NullPointerException at com.sun.xml.ws.security.impl.policyconv.BindingProcessor.requireSC(BindingProcessor.java:334) at com.sun.xml.ws.security.impl.policyconv.BindingProcessor.addPrimaryTargets(BindingProcessor.java:314) at com.sun.xml.ws.security.impl.policyconv.SymmetricBindingProcessor.process(SymmetricBindingProcessor.java:154) at com.sun.xml.ws.security.impl.policyconv.XWSSPolicyGenerator.process(XWSSPolicyGenerator.java:200) at com.sun.xml.ws.security.impl.policyconv.XWSSPolicyGenerator.process(XWSSPolicyGenerator.java:157) at com.sun.xml.wss.jaxws.impl.SecurityTubeBase.constructPolicyHolder(SecurityTubeBase.java:1233) at com.sun.xml.wss.jaxws.impl.SecurityClientTube.addIncomingProtocolPolicy(SecurityClientTube.java:692) at com.sun.xml.wss.jaxws.impl.SecurityTubeBase.buildProtocolPolicy(SecurityTubeBase.java:1206) at com.sun.xml.wss.jaxws.impl.SecurityTubeBase.collectPolicies(SecurityTubeBase.java:735) at com.sun.xml.wss.jaxws.impl.SecurityTubeBase.(SecurityTubeBase.java:288) at com.sun.xml.wss.jaxws.impl.SecurityClientTube.(SecurityClientTube.java:144) at com.sun.xml.wss.provider.wsit.SecurityTubeFactory.createTube(SecurityTubeFactory.java:231) at com.sun.xml.ws.assembler.TubeCreator.createTube(TubeCreator.java:77) at com.sun.xml.ws.assembler.TubelineAssemblerFactoryImpl$MetroTubelineAssembler.createClient(TubelineAssemblerFactoryImpl.java:121) at com.sun.xml.ws.client.Stub.createPipeline(Stub.java:224) at com.sun.xml.ws.client.Stub.(Stub.java:201) at com.sun.xml.ws.client.Stub.(Stub.java:174) at com.sun.xml.ws.client.sei.SEIStub.(SEIStub.java:81) at com.sun.xml.ws.client.WSServiceDelegate.createEndpointIFBaseProxy(WSServiceDelegate.java:602) at com.sun.xml.ws.client.WSServiceDelegate.getPort(WSServiceDelegate.java:344) at com.sun.xml.ws.client.WSServiceDelegate.getPort(WSServiceDelegate.java:326) at com.sun.xml.ws.client.WSServiceDelegate.getPort(WSServiceDelegate.java:308) at javax.xml.ws.Service.getPort(Service.java:99) at simple.client.SymmetricFederatedService.getScenario2IssuedTokenMutualCertificate10(SymmetricFederatedService.java:94) at simple.client.PingServiceClientMS.main(PingServiceClientMS.java:26)

Environment

Operating System: All Platform: All

Affected Versions

[2.0]

glassfishrobot commented 14 years ago

Reported by anand_mishra@java.net

glassfishrobot commented 14 years ago

anand_mishra@java.net said: included keyword

glassfishrobot commented 14 years ago

anand_mishra@java.net said: Other Scenario having similar issue

Interop Scenario 2 - Client_SUN STS_SUN Server_MS Interop Scenario 6 - Client_SUN STS_SUN Server_MS

glassfishrobot commented 14 years ago

dougb62@java.net said: Not sure of the Metro test naming but, with current .NET test code, all Security.Federation tests involving .NET services are expected to fail. Microsoft will provide an update on request.

Of course, Metro client should not fail with an NPE. The .NET service responds with a reasonable Fault message.

glassfishrobot commented 14 years ago

sm228678@java.net said: this was already fixed in 2.0.1 branch and in Trunk. Anand, can you conform if it still causes NPE with 2.0.1 also?

glassfishrobot commented 14 years ago

anand_mishra@java.net said: give me some time i will confirm you. can you let me know when it got fixed in which nightly build.

glassfishrobot commented 14 years ago

dougb62@java.net said: Adding myself as a CC

glassfishrobot commented 14 years ago

jdg6688@java.net said: Reasssign to Anand until the test environment is updated.

Label it as metro2.1-waived.

glassfishrobot commented 12 years ago

snajper said: Sreekanth, is this issue still valid?

glassfishrobot commented 14 years ago

Was assigned to msreekanth

glassfishrobot commented 7 years ago

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