IBM Support

PI55656: JAVA.LANG.ILLEGALARGUMENTEXCEPTION JSONMAPPINGEXCEPTION HAPPENED WHEN CUSTOMER USED APACHE WINK.

Subscribe

You can track all active APARs for this component.

 

APAR status

  • Closed as program error.

Error description

  • The webservice didn't fail but the following exception stack
    was reported on the client side.
    ----
    org.apache.wink.client.ClientRuntimeException:
    org.codehaus.jackson.map.JsonMappingException:
    Duplicate property 'cause' for [simple type, class
    java.lang.Exception]
    at
    org.apache.wink.client.internal.handlers.ClientResponseImpl.read
    Entity(ClientResponseImpl.java:151)
    at
    org.apache.wink.client.internal.handlers.ClientResponseImpl.getE
    ntity(ClientResponseImpl.java:76)
    at
    ...
    
    Caused by: org.codehaus.jackson.map.JsonMappingException:
    Duplicate property 'cause' for [simple type, class
    java.lang.Exception]
    
    at
    org.codehaus.jackson.map.deser.StdDeserializerProvider._createAn
    dCache2(StdDeserializerProvider.java:269)
    at
    org.codehaus.jackson.map.deser.StdDeserializerProvider._createAn
    dCacheValueDeserializer(StdDeserializerProvider.java:244)
    at
    org.codehaus.jackson.map.deser.StdDeserializerProvider.findValue
    Deserializer(StdDeserializerProvider.java:111)
    at
    
    ... NN more
    ----
    

Local fix

Problem summary

  • ****************************************************************
    * USERS AFFECTED:  IBM WebSphere Application Server Version    *
    *                  8.5.5 users of JAX-RS applications.         *
    ****************************************************************
    * PROBLEM DESCRIPTION: When using Apache Wink a                *
    *                      JsonMappingException is reported        *
    ****************************************************************
    * RECOMMENDATION:                                              *
    ****************************************************************
    For JAX_RS application, the Apache Wink didn't catch the
    exception. So it reported the exception stack and the client
    side could not create the correct java object.
    

Problem conclusion

Temporary fix

Comments

APAR Information

  • APAR number

    PI55656

  • Reported component name

    WEBSPHERE APP S

  • Reported component ID

    5724J0800

  • Reported release

    850

  • Status

    CLOSED PER

  • PE

    NoPE

  • HIPER

    NoHIPER

  • Special Attention

    NoSpecatt / Xsystem

  • Submitted date

    2016-01-19

  • Closed date

    2016-03-17

  • Last modified date

    2016-03-31

  • 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

  • R850 PSY

       UP

[{"Business Unit":{"code":"BU059","label":"IBM Software w\/o TPS"},"Product":{"code":"SSEQTP","label":"WebSphere Application Server"},"Platform":[{"code":"PF025","label":"Platform Independent"}],"Version":"8.5","Line of Business":{"code":"LOB45","label":"Automation"}}]

Document Information

Modified date:
28 April 2022