IBM Support

PI33973: Rare error when deploying adapter via script, due to security exception

Subscribe

You can track all active APARs for this component.

 

APAR status

  • Closed as program error.

Error description

  • Sometimes in rare situations a deploy attempt of  adapter could
    fail once(error HTTP 500) and then if tried just some minutes
    after the first attempt it works fine. Issue happening due to
    a temporary cache of last attempt credentials of the deployer.
    deploySingleAdapter(first time):
         [echo] Deploying adapter
    /opt/apps/PWWRKLIA/worklight_deploy/work/bncLoginAdapter.adapter
         [echo] Worklight Ant Task version 6.1.0.02.20141120-2017
    . . .
    [adapter-deployer] SEVERE: Internal Server Error; Error 500:
    java.lang.RuntimeException: java.lang.NullPointerException
    And again, customer tried to run it second time with same
    user ID, syntax and files. It was successful.
    deploySingleAdapter(second time):
         [echo] Deploying adapter
    /opt/apps/PWWRKLIA/worklight_deploy/work/bncLoginAdapter.adapter
         [echo] Worklight Ant Task version 6.1.0.02.20141120-2017
    

Local fix

Problem summary

  • ****************************************************************
    * USERS AFFECTED:                                              *
    * WL server administrators                                     *
    ****************************************************************
    * PROBLEM DESCRIPTION:                                         *
    * Unexpected error occures in the log during deployment of an  *
    * adapter, doesn't affect to the flow.                         *
    ****************************************************************
    * RECOMMENDATION:                                              *
    * none                                                         *
    ****************************************************************
    

Problem conclusion

  • Code modified added try/catch block to catch the unexpected
    error
    

Temporary fix

Comments

APAR Information

  • APAR number

    PI33973

  • 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

    2015-02-02

  • Closed date

    2015-09-02

  • Last modified date

    2015-09-02

  • 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

[{"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