IBM Support

PI39738: "DESTINATION ARRAY WAS NOT LONG ENOUGH" ERROR WHEN IMPLEMENT A CUSTOM CHALLENGEHANDLER

Subscribe

You can track all active APARs for this component.

 

APAR status

  • Closed as program error.

Error description

  • When implement the custom ChallengeHandler, as part of the
    adapter based authentication app with Xamarin, invoking
    the GetAdapterAuthenticationParameters function yield the
    following error:
    "Destination array was not long enough. Check destIndex and
    length, and the array's lower bounds"
    

Local fix

Problem summary

  • ****************************************************************
    * USERS AFFECTED:                                              *
    * Xamarin Studio using developers for building Worklight based *
    * Apps                                                         *
    ****************************************************************
    * PROBLEM DESCRIPTION:                                         *
    * Destination Array within the Custom Challenge Handler for    *
    * IOS was long not enough which was causing the error in the   *
    * application connecting to Worklight Server.                  *
    ****************************************************************
    * RECOMMENDATION:                                              *
    * -                                                            *
    ****************************************************************
    

Problem conclusion

  • IOS based Challenge Handler code has been fixed to assign with
    the right array size.
    

Temporary fix

Comments

APAR Information

  • APAR number

    PI39738

  • Reported component name

    WL/MFPF ENTERPR

  • Reported component ID

    5725I4300

  • Reported release

    630

  • Status

    CLOSED PER

  • PE

    NoPE

  • HIPER

    NoHIPER

  • Special Attention

    NoSpecatt

  • Submitted date

    2015-04-23

  • Closed date

    2015-05-13

  • Last modified date

    2015-05-13

  • 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 ENTERPR

  • Fixed component ID

    5725I4300

Applicable component levels

  • R630 PSY

       UP

  • R700 PSY

       UP

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

Document Information

Modified date:
17 October 2021