我正在将基于 webbeans 的应用程序升级到 OpenJDK17 。任何输入表示赞赏
从 2.2.8 升级 JAXW-RT - 2.3.5 但测试肥皂客户端调用给出以下错误 17:47:37,600 E - SAAJ0010:无法读取响应 java.lang.NullPointerException:无法调用“java.io.InputStream.read( byte[])”,因为“istream”在 com.sun.xml.messaging.saaj.client.p2p.HttpSOAPConnection.readFully(HttpSOAPConnection.java:501) 在 com.sun.xml.messaging.saaj.client.p2p 处为空.HttpSOAPConnection.post(HttpSOAPConnection.java:295) 在 com.sun.xml.messaging.saaj.client.p2p.HttpSOAPConnection.call(HttpSOAPConnection.java:123)
并在服务器端 17:47:37,595 E - 捕获可抛出的 java.lang.NullPointerException:无法读取字段“nsUri”,因为“this.soapVersion”在 com.sun.xml.ws.message.AbstractMessageImpl.writeToBodyStart 处为空(AbstractMessageImpl.java:140) 在 com.sun.xml.ws.message.AbstractMessageImpl.writeTo(AbstractMessageImpl.java:161) 在 com.sun.xml.ws.api.message.MessageWrapper.writeTo(MessageWrapper.java:196) ) 在 com.sun.xml.ws.encoding.StreamSOAPCodec.encode(StreamSOAPCodec.java:114)