Fixes are available
8.5.0.1: WebSphere Application Server V8.5 Fix Pack 1
8.5.0.2: WebSphere Application Server V8.5 Fix Pack 2
8.0.0.6: WebSphere Application Server V8.0 Fix Pack 6
8.0.0.7: WebSphere Application Server V8.0 Fix Pack 7
8.0.0.8: WebSphere Application Server V8.0 Fix Pack 8
8.0.0.9: WebSphere Application Server V8.0 Fix Pack 9
8.0.0.10: WebSphere Application Server V8.0 Fix Pack 10
8.0.0.11: WebSphere Application Server V8.0 Fix Pack 11
8.0.0.12: WebSphere Application Server V8.0 Fix Pack 12
8.0.0.13: WebSphere Application Server V8.0 Fix Pack 13
8.0.0.14: WebSphere Application Server V8.0 Fix Pack 14
8.0.0.15: WebSphere Application Server V8.0 Fix Pack 15
PM66000: differently named uri path template variables in jax-rs subres
APAR status
Closed as program error.
Error description
While running a JAX-RS application using JSON representation, an org.codehaus.jackson.JsonParseException might occur. Here is an example error: [8/3/12 15:34:40:864 CDT] 00000017 SystemErr R org.apache.wink.client.ClientRuntimeException: org.codehaus.jackson.JsonParseException: Invalid UTF-8 middle byte 0x3f at [Source: java.io.ByteArrayInputStream@22074ed; line: 1, column: 24] [8/3/12 15:34:40:864 CDT] 00000017 SystemErr R at org.apache.wink.client.internal.handlers.ClientResponseImpl.read Entity(ClientResponseImpl.java:151) [8/3/12 15:34:40:864 CDT] 00000017 SystemErr R at org.apache.wink.client.internal.handlers.ClientResponseImpl.getE ntity(ClientResponseImpl.java:76) [8/3/12 15:34:40:865 CDT] 00000017 SystemErr R at org.apache.wink.client.internal.handlers.ClientResponseImpl.getE ntity(ClientResponseImpl.java:63) ... [8/3/12 15:34:40:877 CDT] 00000017 SystemErr R Caused by: org.codehaus.jackson.JsonParseException: Invalid UTF-8 middle byte 0x3f at [Source: java.io.ByteArrayInputStream@22074ed; line: 1, column: 24] [8/3/12 15:34:40:878 CDT] 00000017 SystemErr R at org.codehaus.jackson.JsonParser._constructError(JsonParser.java: 1150) [8/3/12 15:34:40:878 CDT] 00000017 SystemErr R at org.codehaus.jackson.impl.JsonParserMinimalBase._reportError(Jso nParserMinimalBase.java:324) [8/3/12 15:34:40:878 CDT] 00000017 SystemErr R at org.codehaus.jackson.impl.Utf8StreamParser._reportInvalidOther(U tf8StreamParser.java:1675) [8/3/12 15:34:40:878 CDT] 00000017 SystemErr R at org.codehaus.jackson.impl.Utf8StreamParser._reportInvalidOther(U tf8StreamParser.java:1682) [8/3/12 15:34:40:878 CDT] 00000017 SystemErr R at org.codehaus.jackson.impl.Utf8StreamParser._decodeUtf8_2(Utf8Str eamParser.java:1471) [8/3/12 15:34:40:878 CDT] 00000017 SystemErr R at org.codehaus.jackson.impl.Utf8StreamParser._finishString(Utf8Str eamParser.java:962) [8/3/12 15:34:40:878 CDT] 00000017 SystemErr R at org.codehaus.jackson.impl.JsonParserBase.getText(JsonParserBase. java:294) ...
Local fix
NA
Problem summary
**************************************************************** * USERS AFFECTED: IBM WebSphere Application Server users of * * JAX-RS applications using JavaScript * * Object Notation (JSON) representation. * **************************************************************** * PROBLEM DESCRIPTION: While runnning a JAX-RS application * * using JSON representation, an invalid * * UTF-8 middle byte error might occur * * during parsing some UTF-8 characters. * **************************************************************** * RECOMMENDATION: Install a fix pack that includes this APAR * **************************************************************** While a JAX-RS client reading response using JSON representation, an invalid UTF-8 middle byte error might occur during parsing some UTF-8 characters. The error is like the following: [8/3/12 15:34:40:864 CDT] 00000017 SystemErr R org.apache.wink.client.ClientRuntimeException: org.codehaus.jackson.JsonParseException: Invalid UTF-8 middle byte 0x3f at [Source: java.io.ByteArrayInputStream@22074ed; line: 1, column: 24] [8/3/12 15:34:40:864 CDT] 00000017 SystemErr R at org.apache.wink.client.internal.handlers.ClientResponseImpl.read Entity(ClientResponseImpl.java:151) [8/3/12 15:34:40:864 CDT] 00000017 SystemErr R at org.apache.wink.client.internal.handlers.ClientResponseImpl.getE ntity(ClientResponseImpl.java:76) [8/3/12 15:34:40:865 CDT] 00000017 SystemErr R at org.apache.wink.client.internal.handlers.ClientResponseImpl.getE ntity(ClientResponseImpl.java:63 ... [8/3/12 15:34:40:877 CDT] 00000017 SystemErr R Caused by: org.codehaus.jackson.JsonParseException: Invalid UTF-8 middle byte 0x3f at [Source: java.io.ByteArrayInputStream@22074ed; line: 1, column: 24] [8/3/12 15:34:40:878 CDT] 00000017 SystemErr R at org.codehaus.jackson.JsonParser._constructError(JsonParser.java: 1150) [8/3/12 15:34:40:878 CDT] 00000017 SystemErr R at org.codehaus.jackson.impl.JsonParserMinimalBase._reportError(Jso nParserMinimalBase.java:324) [8/3/12 15:34:40:878 CDT] 00000017 SystemErr R at org.codehaus.jackson.impl.Utf8StreamParser._reportInvalidOther(U tf8StreamParser.java:1675) [8/3/12 15:34:40:878 CDT] 00000017 SystemErr R at org.codehaus.jackson.impl.Utf8StreamParser._reportInvalidOther(U tf8StreamParser.java:1682) [8/3/12 15:34:40:878 CDT] 00000017 SystemErr R at org.codehaus.jackson.impl.Utf8StreamParser._decodeUtf8_2(Utf8Str eamParser.java:1471) [8/3/12 15:34:40:878 CDT] 00000017 SystemErr R at org.codehaus.jackson.impl.Utf8StreamParser._finishString(Utf8Str eamParser.java:962) [8/3/12 15:34:40:878 CDT] 00000017 SystemErr R at org.codehaus.jackson.impl.JsonParserBase.getText(JsonParserBase. java:294) ... This error indicates that JAX-RS engine could not recognize the UTF-8 character which might already be corrupt.
Problem conclusion
While JAX-RS runtime is parsing content encoded in UTF-8, it will read the content into a String and then convert the String into a byte array after parsing. During this, some UTF-8 characters might corrupted due to incorrect conversion. The JAX-RS runtime has been updated to correctly parse UTF-8 characters. The fix for this APAR is currently targeted for inclusion in fix packs 8.0.0.6 and 8.5.0.1. Please refer to the Recommended Updates page for delivery information: http://www.ibm.com/support/docview.wss?rs=180&uid=swg27004980
Temporary fix
Comments
APAR Information
APAR number
PM71224
Reported component name
WEBSPHERE APP S
Reported component ID
5724J0800
Reported release
800
Status
CLOSED PER
PE
NoPE
HIPER
NoHIPER
Special Attention
NoSpecatt
Submitted date
2012-08-21
Closed date
2012-09-19
Last modified date
2012-09-19
APAR is sysrouted FROM one or more of the following:
APAR is sysrouted TO one or more of the following:
Fix information
Fixed component name
WEBSPHERE APP S
Fixed component ID
5724J0800
Applicable component levels
R800 PSY
UP
R850 PSY
UP
Document Information
Modified date:
29 October 2021