wsit
  1. wsit
  2. WSIT-1609

NPE at com.sun.xml.ws.security.secconv.WSSCPlugin.sendRequest(WSSCPlugin.java:444)

    Details

    • Type: Bug Bug
    • Status: Resolved
    • Priority: Blocker Blocker
    • Resolution: Fixed
    • Affects Version/s: current
    • Fix Version/s: None
    • Component/s: secure-conversation
    • Labels:
      None
    • Environment:

      Linux,Glassfish 3.1.2

      Description

      From Jan 7th many of the JAX-RM functional tests are failing with this NPE:

      javax.xml.ws.soap.SOAPFaultException: java.lang.NullPointerException
      at com.sun.xml.ws.security.secconv.WSSCPlugin.sendRequest(WSSCPlugin.java:444)
      at com.sun.xml.ws.security.secconv.WSSCPlugin.process(WSSCPlugin.java:263)
      at com.sun.xml.ws.security.secconv.impl.client.SCTokenProviderImpl.issue(SCTokenProviderImpl.java:135)
      at com.sun.xml.ws.api.security.trust.client.IssuedTokenManager.getIssuedToken(IssuedTokenManager.java:83)
      at com.sun.xml.wss.jaxws.impl.SecurityClientTube.startSecureConversation(SecurityClientTube.java:554)
      at com.sun.xml.ws.rx.util.Communicator.tryStartSecureConversation(Communicator.java:406)
      at com.sun.xml.ws.rx.rm.runtime.ClientTube.createSequences(ClientTube.java:409)
      at com.sun.xml.ws.rx.rm.runtime.ClientTube.openRmSession(ClientTube.java:347)
      at com.sun.xml.ws.rx.rm.runtime.ClientTube.processRequest(ClientTube.java:188)
      at com.sun.xml.ws.api.pipe.Fiber.__doRun(Fiber.java:961)
      at com.sun.xml.ws.api.pipe.Fiber._doRun(Fiber.java:910)
      at com.sun.xml.ws.api.pipe.Fiber.doRun(Fiber.java:873)
      at com.sun.xml.ws.api.pipe.Fiber.runSync(Fiber.java:775)
      at com.sun.xml.ws.client.Stub.process(Stub.java:429)
      at com.sun.xml.ws.client.sei.SEIStub.doProcess(SEIStub.java:168)
      at com.sun.xml.ws.client.sei.SyncMethodHandler.invoke(SyncMethodHandler.java:119)
      at com.sun.xml.ws.client.sei.SyncMethodHandler.invoke(SyncMethodHandler.java:102)
      at com.sun.xml.ws.client.sei.SEIStub.invoke(SEIStub.java:151)
      at $Proxy56.echoString(Unknown Source)
      at tango2tango.securesoaprtcprequestresponsecomplex.client.ReliableRequestresponseTest.sendEchoCore(ReliableRequestresponseTest.java:178)
      at tango2tango.securesoaprtcprequestresponsecomplex.client.ReliableRequestresponseTest.sendEcho(ReliableRequestresponseTest.java:277)
      at tango2tango.securesoaprtcprequestresponsecomplex.client.ReliableRequestresponseTest.testRqRepDroppedRqRep22(ReliableRequestresponseTest.java:140)
      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:154)
      at org.netbeans.junit.NbTestCase.runBare(NbTestCase.java:136)
      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:118)
      at org.netbeans.junit.NbTestCase.run(NbTestCase.java:122)
      at junit.framework.TestSuite.runTest(TestSuite.java:208)
      at junit.framework.TestSuite.run(TestSuite.java:203)
      at org.netbeans.xtest.testrunner.JUnitTestRunner.runTests(JUnitTestRunner.java:167)
      at org.netbeans.xtest.testrunner.JUnitTestRunner.runTests(JUnitTestRunner.java:118)
      at org.netbeans.xtest.plugin.jvm.JUnitTestRunnerLauncher.main(JUnitTestRunnerLauncher.java:41)

        Activity

        Hide
        Sreekanth added a comment -

        attaching server log

        Show
        Sreekanth added a comment - attaching server log
        Hide
        Martin Grebac added a comment -

        Should be fixed in 2.2 release, marking as such. Leaving open to make sure it's fixed in trunk correctly.

        Show
        Martin Grebac added a comment - Should be fixed in 2.2 release, marking as such. Leaving open to make sure it's fixed in trunk correctly.
        Hide
        Nithya Ramakrishnan added a comment -

        Fixed in trunk . Revision no. 6992.
        The issue was due to a mis-references String (WSITClientAuthContext). The fix was made to have an entry made in MessageConstants.java and refer to it from there.

        Show
        Nithya Ramakrishnan added a comment - Fixed in trunk . Revision no. 6992. The issue was due to a mis-references String (WSITClientAuthContext). The fix was made to have an entry made in MessageConstants.java and refer to it from there.

          People

          • Assignee:
            kumarjayanti
            Reporter:
            Sreekanth
          • Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved: