IBM Support

PI31334: ANDROID APPLICATION CONNECT FAILS WITH BOUNCYCASTLE ERRORS FOR ANDROID 2.3.3 AND 2.3.4

Subscribe

You can track all active APARs for this component.

 

APAR status

  • Closed as program error.

Error description

  • Android applications using Android 2.3.x will fail to connect to
    the server with errors like "Could not find method
    org.bouncycastle.*" and "java.lang.NoSuchFieldError:
    org.bouncycastle.asn1.pkcs.PKCSObjectIdentifiers.*".
    

Local fix

Problem summary

  • ****************************************************************
    * USERS AFFECTED:                                              *
    * Developers of Android applications using Android 2.3.3 or    *
    * 2.3.4.                                                       *
    ****************************************************************
    * PROBLEM DESCRIPTION:                                         *
    * When trying to connect to the server with an Android         *
    * application using Android 2.3.x, developers would see an     *
    * error saying that some methods and fields from BouncyCastle  *
    * could not be found while executing the isCertificateExists() *
    * method for WLUserAuthManager. This is due to a variable      *
    * assignment being done in the wrong place.                    *
    ****************************************************************
    * RECOMMENDATION:                                              *
    * -                                                            *
    ****************************************************************
    

Problem conclusion

  • An assignment was being done in the wrong place, causing the
    problems. Moving it to the right place solved it. After applying
    the related iFix and rebuilding the Worklight project, it should
    work correctly.
    

Temporary fix

Comments

APAR Information

  • APAR number

    PI31334

  • Reported component name

    WL/MFPF CONSUME

  • Reported component ID

    5725I4301

  • Reported release

    610

  • Status

    CLOSED PER

  • PE

    NoPE

  • HIPER

    NoHIPER

  • Special Attention

    NoSpecatt

  • Submitted date

    2014-12-10

  • Closed date

    2014-12-11

  • Last modified date

    2014-12-11

  • 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

    WL/MFPF CONSUME

  • Fixed component ID

    5725I4301

Applicable component levels

  • R610 PSY

       UP

  • R620 PSY

       UP

[{"Business Unit":{"code":"BU053","label":"Cloud & Data Platform"},"Product":{"code":"SSZH4A","label":"IBM Worklight"},"Platform":[{"code":"PF025","label":"Platform Independent"}],"Version":"610","Line of Business":{"code":"LOB45","label":"Automation"}}]

Document Information

Modified date:
13 October 2021