IBM Support

JR43887: NULLPOINTEREXCEPTION MAY OCCUR WHEN SELECTING JAR FOR JAVA INTEGRATION COMPONENT.

Subscribe

You can track all active APARs for this component.

 

APAR status

  • Closed as program error.

Error description

  • Functionality of managed asset jars may not be available after
    server restart. Repeated server restart will sometimes resolve
    this issue. Logs might indicate classes cannot be found.  The
    key is ManagedAssetClassLoader. The jar in the application
    cannot be found by the system.
    
    Example stacks
    
    java.lang.NoClassDefFoundError: teamworks/SQLConnector$6
    at teamworks.SQLConnector.executeMultiple(SQLConnector.java:265)
    at sun.reflect.NativeMethodAccessorImpl.invoke0(NativeMethod)
    at
    sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessor
    Impl.java:60)
    at
    sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethod
    AccessorImpl.java:37)
    at java.lang.reflect.Method.invoke(Method.java:611)
    at
    teamworks.connector.JavaReflectionConnector$1.execute(JavaReflec
    
    
    
    java.lang.NullPointerException
    at
    com.lombardisoftware.server.core.ManagedAssetClassLoader.findCla
    ssInAssets(ManagedAssetClassLoader.java)
    at
    com.lombardisoftware.server.core.ManagedAssetClassLoader.loadCla
    ss(ManagedAssetClassLoader.java)
    at java.lang.ClassLoader.loadClass(ClassLoader.java:619)
    at java.lang.Class.forNameImpl(Native Method)
    at java.lang.Class.forName(Class.java:139)
    at
    teamworks.sql.SQLResultsTransformer.getInstance(SQLResultsTransf
    ormer.java:53)
    at
    teamworks.sql.SQLResultsTransformer.transformResults(SQLResultsT
    ransformer.java:36)
    at teamworks.SQLConnector.execute(SQLConnector.java:238)
    at
    teamworks.SQLConnector.executeFlat(SQLConnector.java:244)
    at sun.reflect.NativeMethodAccessorImpl.invoke0(Native
    Method)
    at
    sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessor
    Impl.java:60)
    
    tionConnector.java)
    at
    com.lombardisoftware.server.core.ManagedAssetClassLoaderUtil.exe
    cuteWithManagedAssetClassLoader(ManagedAssetClassLoaderUtil.java
    )
    

Local fix

  • A temporary fix is to increase <classloader-resource-map-size>
    in the Lombardi configuration.xml files.
    

Problem summary

  • ****************************************************************
    * USERS AFFECTED:  IBM Business Process Manager 7.5 Express,   *
    *                  Standard and Advanced                       *
    ****************************************************************
    * PROBLEM DESCRIPTION: NullPointerException is thrown when     *
    *                      user tries to make multiple sql         *
    *                      calls using teamworks.SQLConnector.     *
    ****************************************************************
    * RECOMMENDATION:                                              *
    ****************************************************************
    When ManagedAssetClassLoader is not able to find
    manage assets used by teamworks.SQLConnector it results in
    NullPointerException.
    

Problem conclusion

  • To avoid the NullPointerException the code has been modified
    to check for the case when no managed assets were returned
    before attempting to access them.
    
    Install/Dependency information is available in the readme.txt
    on FixCentral. When the user goes to the download files page
    in FixCentral, the readme will be available with the fix
    package as a separate download.
    

Temporary fix

Comments

APAR Information

  • APAR number

    JR43887

  • Reported component name

    BPM STANDARD

  • Reported component ID

    5725C9500

  • Reported release

    750

  • Status

    CLOSED PER

  • PE

    NoPE

  • HIPER

    NoHIPER

  • Special Attention

    NoSpecatt

  • Submitted date

    2012-08-23

  • Closed date

    2012-10-23

  • Last modified date

    2012-10-23

  • 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

    BPM STANDARD

  • Fixed component ID

    5725C9500

Applicable component levels

  • R750 PSY

       UP

[{"Business Unit":{"code":"BU053","label":"Cloud & Data Platform"},"Product":{"code":"SSFTDH","label":"IBM Business Process Manager Standard"},"Platform":[{"code":"PF025","label":"Platform Independent"}],"Version":"7.5","Line of Business":{"code":"LOB45","label":"Automation"}}]

Document Information

Modified date:
12 October 2021