Bug 6330 - NPE during security handshake
: NPE during security handshake
Status: RESOLVED FIXED
: Java WS Security
Authentication
: 4.0.7
: Macintosh All
: P3 normal
: 4.2.2
Assigned To:
:
: 4.0.x
:
:
  Show dependency treegraph
 
Reported: 2008-08-20 13:43 by
Modified: 2008-10-07 11:11 (History)


Attachments


Note

You need to log in before you can comment on or make changes to this bug.


Description From 2008-08-20 13:43:39
From gt-user, subject: globusrun-ws error

2008-08-19 14:41:20,978 ERROR container.ServiceThread
[ServiceThread-76,run:297] Unexpected error during request  
processing
java.lang.NullPointerException
    at
org
.globus
.wsrf.container.GSIServiceThread.process(GSIServiceThread.java:151)
    at org.globus.wsrf.container.ServiceThread.run(ServiceThread.java:
291)


This happened when a C client (globusrun-ws) connected to the container.  The C
client refused to authenticate the container, because the containercert's
subject was not valid given the CA's signing policy.  The client-side error is
in bug 6329.  The client's rejection should not cause an NPE in the container.

That NPE is from 4.0.8, not selectable as a version in this product right now. 
In 4.0.6, the error used to be:
2008-08-19 10:19:23,495 ERROR container.GSIServiceThread
[ServiceThread-20,process:147] Error processing request
java.io.EOFException
    at
org
.globus
.gsi
.gssapi
.net
.impl.GSIGssInputStream.readHandshakeToken(GSIGssInputStream.java:
56)
    at
org
.globus
.gsi.gssapi.net.impl.GSIGssSocket.readToken(GSIGssSocket.java:
60)
    at
org
.globus 
.gsi.gssapi.net.GssSocket.authenticateServer(GssSocket.java:
122)
    at
org.globus.gsi.gssapi.net.GssSocket.startHandshake(GssSocket.java:
142)
    at
org 
.globus.gsi.gssapi.net.GssSocket.getOutputStream(GssSocket.java:
161)
    at
org
.globus
.wsrf.container.GSIServiceThread.process(GSIServiceThread.java:99)
    at  
org.globus.wsrf.container.ServiceThread.run(ServiceThread.java:
291)
------- Comment #1 From 2008-10-07 11:11:42 -------
Fixed in trunk, 4.2 branch and 4.0 branch