You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository was archived by the owner on Oct 1, 2018. It is now read-only.
In com/sun/xml/internal/org/jvnet/mimepull/MIMEParser.java we have a method called readLine which reads the data containing only ASCII characters from the input stream. This method will return a String and the String constructor takes default platform encoding for constructing string as encoding is not specified directly
In cases where the platform encoding is not ascii , this method picks the specific non-ascii encoding, thus creating garbled header .
If we fix the string creation to pick the exact charset which is ASCII always , the problem is addressed .
Caused by: java.lang.IllegalStateException: Internal Error. Didn't get Headers even after complete parsing.
at com.sun.xml.internal.org.jvnet.mimepull.MIMEPart.getHeaders(MIMEPart.java:145)
at com.sun.xml.internal.org.jvnet.mimepull.MIMEPart.getContentType(MIMEPart.java:135)
at com.sun.xml.internal.ws.encoding.MimeMultipartParser$PartAttachment.getContentType(MimeMultipartParser.java:168)
at com.sun.xml.internal.ws.encoding.SOAPBindingCodec.decode(SOAPBindingCodec.java:343)
at com.sun.xml.internal.ws.encoding.MimeCodec.decode(MimeCodec.java:181)
at com.sun.xml.internal.ws.encoding.SOAPBindingCodec.decode(SOAPBindingCodec.java:282)