Details
-
Bug
-
Status: Closed
-
Major
-
Resolution: Fixed
-
None
-
None
-
Windows, Java 7
-
Unknown
Description
CXF based web service client with https crashes JVM. This started happening after we switched to Java 7. We are considering incorporating Java 7 for our next release and would like to know, when would be Java 7 usable with CXF.
I have attached the Stack-trace here
Stack: [0x245e0000,0x24630000], sp=0x2462f070, free space=316k
Native frames: (J=compiled Java code, j=interpreted, Vv=VM code, C=native code)
C [Secur32.dll+0x75bc] DeleteSecurityContext+0x35
C [net.dll+0xa171] Java_sun_net_www_protocol_http_ntlm_NTLMAuthSequence_getCredentialsHandle+0x195
C [net.dll+0xa2b1] Java_sun_net_www_protocol_http_ntlm_NTLMAuthSequence_getNextToken+0x137
Java frames: (J=compiled Java code, j=interpreted, Vv=VM code)
j sun.net.www.protocol.http.ntlm.NTLMAuthSequence.getNextToken(J[B)[B+0
j sun.net.www.protocol.http.ntlm.NTLMAuthSequence.getAuthHeader(Ljava/lang/String;)Ljava/lang/String;+24
j sun.net.www.protocol.http.ntlm.NTLMAuthentication.setHeaders(Lsun/net/www/protocol/http/HttpURLConnection;Lsun/net/www/HeaderParser;Ljava/lang/String;)Z+73
j sun.net.www.protocol.http.HttpURLConnection.getServerAuthentication(Lsun/net/www/protocol/http/AuthenticationHeader;)Lsun/net/www/protocol/http/AuthenticationInfo;+760
j sun.net.www.protocol.http.HttpURLConnection.getInputStream()Ljava/io/InputStream;+972
j java.net.HttpURLConnection.getResponseCode()I+16
j sun.net.www.protocol.https.HttpsURLConnectionImpl.getResponseCode()I+4
j org.apache.cxf.transport.http.HTTPConduit.processRetransmit(Ljava/net/HttpURLConnection;Lorg/apache/cxf/message/Message;Lorg/apache/cxf/io/CacheAndWriteOutputStream;)Ljava/net/HttpURLConnection;+1
j org.apache.cxf.transport.http.HTTPConduit.access$600(Lorg/apache/cxf/transport/http/HTTPConduit;Ljava/net/HttpURLConnection;Lorg/apache/cxf/message/Message;Lorg/apache/cxf/io/CacheAndWriteOutputStream;)Ljava/net/HttpURLConnection;+4
j org.apache.cxf.transport.http.HTTPConduit$WrappedOutputStream.handleRetransmits()V+142
j org.apache.cxf.transport.http.HTTPConduit$WrappedOutputStream.handleResponse()V+1
j org.apache.cxf.transport.http.HTTPConduit$WrappedOutputStream.close()V+98
j org.apache.cxf.transport.AbstractConduit.close(Lorg/apache/cxf/message/Message;)V+18
j org.apache.cxf.transport.http.HTTPConduit.close(Lorg/apache/cxf/message/Message;)V+50
j org.apache.cxf.interceptor.MessageSenderInterceptor$MessageSenderEndingInterceptor.handleMessage(Lorg/apache/cxf/message/Message;)V+9
j org.apache.cxf.phase.PhaseInterceptorChain.doIntercept(Lorg/apache/cxf/message/Message;)Z+88
j org.apache.cxf.endpoint.ClientImpl.invoke(Lorg/apache/cxf/service/model/BindingOperationInfo;[Ljava/lang/Object;Ljava/util/Map;Lorg/apache/cxf/message/Exchange[Ljava/lang/Object;+282
j org.apache.cxf.endpoint.ClientImpl.invoke(Lorg/apache/cxf/service/model/BindingOperationInfo;[Ljava/lang/Object;Lorg/apache/cxf/message/Exchange[Ljava/lang/Object;+65
j org.apache.cxf.endpoint.ClientImpl.invoke(Lorg/apache/cxf/service/model/BindingOperationInfo;[Ljava/lang/Object[Ljava/lang/Object;+4
j org.apache.cxf.frontend.ClientProxy.invokeSync(Ljava/lang/reflect/Method;Lorg/apache/cxf/service/model/BindingOperationInfo;[Ljava/lang/Object;)Ljava/lang/Object;+6
j org.apache.cxf.jaxws.JaxWsClientProxy.invoke(Ljava/lang/Object;Ljava/lang/reflect/Method;[Ljava/lang/Object;)Ljava/lang/Object;+218