IBM Support

PM47460: NULLPOINTEREXCEPTION WHEN STARTING AN OSGI APPLICATION

Subscribe

You can track all active APARs for this component.

 

APAR status

  • Closed as program error.

Error description

  • The customer may see an FFDC containing a similar stack trace
    to the following:
    
    java.lang.NullPointerException
            at
    com.ibm.ws.app.container.aries.AriesApplicationUpdateHelper.crea
    teSortedBundleList(AriesApplicationUpdateHelper.java:177)
            at
    com.ibm.ws.app.container.aries.AriesApplicationUpdateHelper.upda
    te(AriesApplicationUpdateHelper.java:132)
            at
    com.ibm.ws.app.container.aries.services.UpdateStrategyImpl.updat
    e(UpdateStrategyImpl.java:107)
            at
    sun.reflect.GeneratedMethodAccessor252.invoke(Unknown Source)
            at
    sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethod
    AccessorImpl.java:37)
            at java.lang.reflect.Method.invoke(Method.java:611)
            at
    org.apache.aries.proxy.impl.ProxyHandler$1.invoke(ProxyHandler.j
    ava:50)
            at
    org.apache.aries.blueprint.proxy.Collaborator.invoke(Collaborato
    r.java:91)
            at
    org.apache.aries.proxy.impl.ProxyHandler.invoke(ProxyHandler.jav
    a:78)
            at
    com.ibm.ws.app.container.aries.services.$UpdateStrategyImpl36787
    969.update(Unknown Source)
            at
    sun.reflect.GeneratedMethodAccessor251.invoke(Unknown Source)
            at
    sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethod
    AccessorImpl.java:37)
            at java.lang.reflect.Method.invoke(Method.java:611)
            at
    org.apache.aries.proxy.impl.ProxyHandler$1.invoke(ProxyHandler.j
    ava:50)
            at
    org.apache.aries.proxy.impl.DefaultWrapper.invoke(DefaultWrapper
    .java:31)
            at
    org.apache.aries.proxy.impl.ProxyHandler.invoke(ProxyHandler.jav
    a:78)
            at $Proxy52.update(Unknown Source)
            at
    org.apache.aries.application.runtime.framework.management.Bundle
    FrameworkManagerImpl.updateBundles(BundleFrameworkManagerImpl.ja
    va:290)
            at
    sun.reflect.GeneratedMethodAccessor250.invoke(Unknown Source)
            at
    sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethod
    AccessorImpl.java:37)
            at java.lang.reflect.Method.invoke(Method.java:611)
            at
    org.apache.aries.proxy.impl.ProxyHandler$1.invoke(ProxyHandler.j
    ava:50)
            at
    org.apache.aries.blueprint.proxy.Collaborator.invoke(Collaborato
    r.java:91)
            at
    org.apache.aries.proxy.impl.ProxyHandler.invoke(ProxyHandler.jav
    a:78)
            at
    org.apache.aries.application.runtime.framework.management.$Bundl
    eFrameworkManagerImpl38083070.updateBundles(Unknown Source)
            at
    sun.reflect.GeneratedMethodAccessor249.invoke(Unknown Source)
            at
    sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethod
    AccessorImpl.java:37)
            at java.lang.reflect.Method.invoke(Method.java:611)
            at
    org.apache.aries.proxy.impl.ProxyHandler$1.invoke(ProxyHandler.j
    ava:50)
            at
    org.apache.aries.proxy.impl.DefaultWrapper.invoke(DefaultWrapper
    .java:31)
            at
    org.apache.aries.proxy.impl.ProxyHandler.invoke(ProxyHandler.jav
    a:78)
            at $Proxy53.updateBundles(Unknown Source)
            at
    org.apache.aries.application.runtime.isolated.impl.ApplicationCo
    ntextImpl.update(ApplicationContextImpl.java:356)
            at
    org.apache.aries.application.runtime.isolated.impl.ApplicationCo
    ntextManagerImpl.update(ApplicationContextManagerImpl.java:183)
            at
    sun.reflect.GeneratedMethodAccessor238.invoke(Unknown Source)
            at
    sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethod
    AccessorImpl.java:37)
            at java.lang.reflect.Method.invoke(Method.java:611)
            at
    org.apache.aries.proxy.impl.ProxyHandler$1.invoke(ProxyHandler.j
    ava:50)
            at
    org.apache.aries.blueprint.proxy.Collaborator.invoke(Collaborato
    r.java:91)
            at
    org.apache.aries.proxy.impl.ProxyHandler.invoke(ProxyHandler.jav
    a:78)
            at
    org.apache.aries.application.runtime.isolated.impl.$ApplicationC
    ontextManagerImpl38340036.update(Unknown Source)
            at
    sun.reflect.GeneratedMethodAccessor237.invoke(Unknown Source)
            at
    sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethod
    AccessorImpl.java:37)
            at java.lang.reflect.Method.invoke(Method.java:611)
            at
    org.apache.aries.proxy.impl.ProxyHandler$1.invoke(ProxyHandler.j
    ava:50)
            at
    org.apache.aries.proxy.impl.DefaultWrapper.invoke(DefaultWrapper
    .java:31)
            at
    org.apache.aries.proxy.impl.ProxyHandler.invoke(ProxyHandler.jav
    a:78)
            at $Proxy63.update(Unknown Source)
            at
    org.apache.aries.application.management.impl.AriesApplicationMan
    agerImpl.update(AriesApplicationManagerImpl.java:394)
            at
    sun.reflect.GeneratedMethodAccessor234.invoke(Unknown Source)
            at
    sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethod
    AccessorImpl.java:37)
            at java.lang.reflect.Method.invoke(Method.java:611)
            at
    org.apache.aries.proxy.impl.ProxyHandler$1.invoke(ProxyHandler.j
    ava:50)
            at
    org.apache.aries.blueprint.proxy.Collaborator.invoke(Collaborato
    r.java:91)
            at
    org.apache.aries.proxy.impl.ProxyHandler.invoke(ProxyHandler.jav
    a:78)
            at
    org.apache.aries.application.management.impl.$AriesApplicationMa
    nagerImpl38341535.update(Unknown Source)
            at
    com.ibm.ws.app.container.aries.AriesApplicationEventHandler.proc
    essUpdateEvent(AriesApplicationEventHandler.java:501)
            at
    com.ibm.ws.app.container.aries.AriesApplicationEventHandler.hand
    leEvent(AriesApplicationEventHandler.java:242)
            ... 71 more
    
    This is actually a benign failure and shouldn't affect the
    application.
    

Local fix

Problem summary

  • ****************************************************************
    * USERS AFFECTED:  All users of IBM WebSphere Application      *
    *                  Server deploying OSGi Applications.         *
    ****************************************************************
    * PROBLEM DESCRIPTION: NullPointerException issued when        *
    *                      starting an OSGi Application.           *
    ****************************************************************
    * RECOMMENDATION:                                              *
    ****************************************************************
    A benign NullPointerException is issued when Customers start
    an OSGi Application.
    

Problem conclusion

  • This NPE doesn't affect the application in any way, but
    removing this exception will help should the application need
    to be debugged in the future.
    
    The fix for this APAR is currently targeted for inclusion in
    fix pack 8.0.0.2.  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

    PM47460

  • Reported component name

    WEBSPHERE APP S

  • Reported component ID

    5724J0800

  • Reported release

    800

  • Status

    CLOSED PER

  • PE

    NoPE

  • HIPER

    NoHIPER

  • Special Attention

    NoSpecatt

  • Submitted date

    2011-09-09

  • Closed date

    2011-09-27

  • Last modified date

    2011-11-15

  • 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

    WEBSPHERE APP S

  • Fixed component ID

    5724J0800

Applicable component levels

  • R800 PSY

       UP

[{"Business Unit":{"code":"BU059","label":"IBM Software w\/o TPS"},"Product":{"code":"SSEQTP","label":"WebSphere Application Server"},"Platform":[{"code":"PF025","label":"Platform Independent"}],"Version":"8.0","Line of Business":{"code":"LOB45","label":"Automation"}}]

Document Information

Modified date:
28 October 2021