When calling a soap xml service (JAX-WS, JAVA 8, SPRING 3) i have a nullPointerException at : org.codehaus.stax2.ri.evt.EntityReferenceEventImpl.getName(EntityReferenceEventImpl.java:38)
This issue occured when there is a carriage return in the description's value :
<ns3:description>
Bonjour
<soap:Fault>
<faultcode>soap:Server</faultcode>
<faultstring>Fault occurred while processing.</faultstring>
</soap:Fault>
</ns3:description>
Machine info :
NAME="Red Hat Enterprise Linux Server"
VERSION="7.5 (Maipo)"
ID_LIKE="fedora"
VERSION_ID="7.5"
PRETTY_NAME="Red Hat Enterprise Linux Server 7.5 (Maipo)"
CPE_NAME="cpe:/o:redhat:enterprise_linux:7.5:GA:server"
REDHAT_BUGZILLA_PRODUCT="Red Hat Enterprise Linux 7"
REDHAT_BUGZILLA_PRODUCT_VERSION=7.5
REDHAT_SUPPORT_PRODUCT="Red Hat Enterprise Linux"
REDHAT_SUPPORT_PRODUCT_VERSION="7.5"
Tomcat info:
Server version: Apache Tomcat/8.5.31
Server built: Apr 27 2018 20:24:25 UTC
Server number: 8.5.31.0
OS Name: Linux
OS Version: 3.10.0-862.3.2.el7.x86_64
Architecture: amd64
JVM Version: 1.8.0_171-b10
JVM Vendor: Oracle Corporation
Thanks for helping
这是我使用1.8.0.181的openjdk 1.8.0.171版本中的一个错误 ,很好
The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.