IBM Support

PI56452: NullPointerException in WABInstaller.java results in "Unable to install bundle" message

Subscribe

You can track all active APARs for this component.

 

APAR status

  • Closed as program error.

Error description

  • When starting a collective WABInstaller errors are logged
    stating that admin center bundles fail to install and a
    NullPointerException is logged in an FFDC.
    
    The stack in the FFDC is:
    
    java.lang.NullPointerException
    	at
    com.ibm.ws.app.manager.wab.internal.WABInstaller.installInto
    WebContainer(WABInstaller.java:362)
    	at
    com.ibm.ws.app.manager.wab.internal.WAB.addToWebContainer(WA
    B.java:373)
    	at
    com.ibm.ws.app.manager.wab.internal.WAB.addingBundle(WAB.jav
    a:480)
    	at
    com.ibm.ws.app.manager.wab.internal.WAB.addingBundle(WAB.jav
    a:57)
    	at
    org.osgi.util.tracker.BundleTracker$Tracked.customizerAdding
    (BundleTracker.java:469)
    	at
    org.osgi.util.tracker.BundleTracker$Tracked.customizerAdding
    (BundleTracker.java:1)
    	at
    org.osgi.util.tracker.AbstractTracked.trackAdding(AbstractTr
    acked.java:256)
    	at
    org.osgi.util.tracker.AbstractTracked.trackInitial(AbstractT
    racked.java:183)
    	at
    org.osgi.util.tracker.BundleTracker.open(BundleTracker.java:
    156)
    	at
    com.ibm.ws.app.manager.wab.internal.WAB$1.run(WAB.java:132)
    	at
    java.util.concurrent.Executors$RunnableAdapter.call(Executor
    s.java:483)
    	at java.util.concurrent.FutureTask.run(FutureTask.java:274)
    	at
    java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPool
    Executor.java:1157)
    	at
    java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoo
    lExecutor.java:627)
    	at java.lang.Thread.run(Thread.java:809)
    
    And the errors in the messages.log are:
    
    [11/3/15 13:19:43:906 EST] 00000053 WABInstaller  E
    CWWKZ0202E: Unable to install bundle
    com.ibm.ws.ui_1.0.11.cl50820151102-1325 [250] with context
    root /adminCenter into the web container.
    [11/3/15 13:19:43:906 EST] 00000056 WABInstaller  E
    CWWKZ0202E: Unable to install bundle
    com.ibm.ws.ui.tool.serverConfig_1.0.11.cl50820151102-1325
    [281] with context root /ibm/adminCenter/serverConfig-1.0
    into the web container.
    [11/3/15 13:19:43:906 EST] 00000050 WABInstaller  E
    CWWKZ0202E: Unable to install bundle
    com.ibm.ws.jmx.connector.server.rest_1.0.11.cl50820151102-13
    25 [143] with context root /IBMJMXConnectorREST into the web
    container.
    [11/3/15 13:19:43:908 EST] 00000052 WABInstaller  E
    CWWKZ0202E: Unable to install bundle
    com.ibm.ws.rest.handler_1.0.11.cl50820151102-1325 [247] with
    context root /ibm/api into the web container.
    [11/3/15 13:19:43:975 EST] 00000054 IncidentImpl  I
    FFDC1015I: An FFDC Incident has been created:
    "java.lang.NullPointerException
    com.ibm.ws.app.manager.wab.internal.WABInstaller 406" at
    ffdc_15.11.03_13.19.43.0.log
    [11/3/15 13:19:43:978 EST] 00000054 WABInstaller  E
    CWWKZ0202E: Unable to install bundle
    com.ibm.ws.ui.tool.explore_1.0.11.cl50820151102-1325 [253]
    with context root /ibm/adminCenter/explore-1.0 into the web
    container.
    

Local fix

Problem summary

  • ****************************************************************
    * USERS AFFECTED:  All users of IBM WebSphere Application      *
    *                  Server Liberty Profile                      *
    ****************************************************************
    * PROBLEM DESCRIPTION: NullPointerException in                 *
    *                      WABInstaller.installIntoWebContainer(WA *
    *                      BInstaller.java:362)                    *
    ****************************************************************
    * RECOMMENDATION:                                              *
    ****************************************************************
    NullPointerException occurs in
    WABInstaller.installIntoWebContainer(WABInstaller.java:362)
    which can result in Errors being output stating that bundles
    could not be installed.
    

Problem conclusion

  • This is caused by a NullPointerException on getting a mandatory
    service, ApplicationInfoFactory, which should have been present
    at DS activation.
    
    The problem is caused by a service used by WABInstaller, briefly
    cycling between activation/deactivation/activation at server
    startup.  This results in WABInstaller also transitioning
    between activation/deactivation and WABs being made available,
    removed and made available again.  The fix under this APAR
    introduces a lock to protect against deactivation while threads
    are in flight.
    
    The fix for this APAR is currently targeted for inclusion in fix
    pack 8.5.5.9.  Please refer to the Recommended Updates page for
    delivery information:
    http://www.ibm.com/support/docview.wss?rs=180&uid=swg27004980
    

Temporary fix

Comments

APAR Information

  • APAR number

    PI56452

  • Reported component name

    LIBERTY PROFILE

  • Reported component ID

    5724J0814

  • Reported release

    855

  • Status

    CLOSED PER

  • PE

    NoPE

  • HIPER

    NoHIPER

  • Special Attention

    NoSpecatt / Xsystem

  • Submitted date

    2016-02-02

  • Closed date

    2016-02-02

  • Last modified date

    2016-02-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

    LIBERTY PROFILE

  • Fixed component ID

    5724J0814

Applicable component levels

  • R855 PSY

       UP

[{"Business Unit":{"code":"BU053","label":"Cloud \u0026 Data Platform"},"Product":{"code":"SSEQTP","label":"WebSphere Application Server"},"Platform":[{"code":"PF025","label":"Platform Independent"}],"Version":"855","Line of Business":{"code":"LOB36","label":"IBM Automation"}}]

Document Information

Modified date:
16 October 2021