IBM Support

PM57616: SCA COMPOSITE FAILS TO START WITH NULLPOINTEREXCEPTION

Subscribe

You can track all active APARs for this component.

 

APAR status

  • Closed as program error.

Error description

  • [2/6/12 8:42:00:421 EST]     FFDC
    Exception:java.lang.NullPointerException
    SourceId:com.ibm.ws.soa.sca.runtime.impl.SCAContainerComponentIm
    pl.startModule ProbeId:262
    Reporter:com.ibm.ws.soa.sca.runtime.impl.SCAContainerComponentIm
    pl@80f68ed
    java.lang.NullPointerException
     at
    com.ibm.ws.soa.sca.aries.application.util.impl.ServiceHelperImpl
    .addBundleListener(ServiceHelperImpl.java:355)
     at
    com.ibm.ws.soa.sca.implementation.aries.invocation.AriesImplemen
    tationProvider.start(AriesImplementationProvider.java:199)
     at
    org.apache.tuscany.sca.core.assembly.CompositeActivatorImpl.star
    t(CompositeActivatorImpl.java:658)
     at
    org.apache.tuscany.sca.core.assembly.CompositeActivatorImpl.star
    t(CompositeActivatorImpl.java:574)
     at
    com.ibm.ws.soa.sca.runtime.impl.DomainCompositeHelper.startCompo
    sites(DomainCompositeHelper.java:212)
     at
    com.ibm.ws.soa.sca.runtime.impl.SCAContainerComponentImpl.startC
    omposite(SCAContainerComponentImpl.java:395)
     at
    com.ibm.ws.soa.sca.admin.osoa.runtime.tuscany.SCATuscanyOsoaRunt
    imeHandlerImpl.startModule(SCATuscanyOsoaRuntimeHandlerImpl.java
    :184)
     at
    com.ibm.ws.soa.sca.admin.runtime.impl.SCARuntimeImpl.start(SCARu
    ntimeImpl.java:463)
     at
    com.ibm.ws.soa.sca.admin.runtime.impl.SCARuntimeImpl.start(SCARu
    ntimeImpl.java:612)
     at
    com.ibm.ws.runtime.component.CompositionUnitMgrImpl.start(Compos
    itionUnitMgrImpl.java:445)
     at
    com.ibm.ws.runtime.component.CompositionUnitImpl.start(Compositi
    onUnitImpl.java:123)
     at
    com.ibm.ws.runtime.component.CompositionUnitMgrImpl.start(Compos
    itionUnitMgrImpl.java:388)
     at
    com.ibm.ws.runtime.component.CompositionUnitMgrImpl.access$500(C
    ompositionUnitMgrImpl.java:116)
     at
    com.ibm.ws.runtime.component.CompositionUnitMgrImpl$1.run(Compos
    itionUnitMgrImpl.java:663)
     at
    com.ibm.ws.security.auth.ContextManagerImpl.runAs(ContextManager
    Impl.java:5315)
     at
    com.ibm.ws.security.auth.ContextManagerImpl.runAsSystem(ContextM
    anagerImpl.java:5531)
     at
    com.ibm.ws.security.core.SecurityContext.runAsSystem(SecurityCon
    text.java:255)
     at
    com.ibm.ws.runtime.component.CompositionUnitMgrImpl.startComposi
    tionUnit(CompositionUnitMgrImpl.java:677)
     at
    com.ibm.ws.runtime.component.CompositionUnitMgrImpl.startComposi
    tionUnit(CompositionUnitMgrImpl.java:621)
     at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
     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 sun.reflect.misc.Trampoline.invoke(MethodUtil.java:49)
     at sun.reflect.GeneratedMethodAccessor13.invoke(Unknown Source)
     at
    sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethod
    AccessorImpl.java:37)
     at java.lang.reflect.Method.invoke(Method.java:611)
     at sun.reflect.misc.MethodUtil.invoke(MethodUtil.java:256)
     at
    javax.management.modelmbean.RequiredModelMBean.invokeMethod(Requ
    iredModelMBean.java:1085)
     at
    javax.management.modelmbean.RequiredModelMBean.invoke(RequiredMo
    delMBean.java:966)
     at
    com.sun.jmx.interceptor.DefaultMBeanServerInterceptor.invoke(Def
    aultMBeanServerInterceptor.java:848)
     at
    com.sun.jmx.mbeanserver.JmxMBeanServer.invoke(JmxMBeanServer.jav
    a:773)
     at
    com.ibm.ws.management.AdminServiceImpl$1.run(AdminServiceImpl.ja
    va:1335)
     at
    com.ibm.ws.security.util.AccessController.doPrivileged(AccessCon
    troller.java:118)
     at
    com.ibm.ws.management.AdminServiceImpl.invoke(AdminServiceImpl.j
    ava:1228)
     at
    com.ibm.ws.management.bla.runtime.ControlOperationHelper.execCon
    trolOpViaRuntimeMBean(ControlOperationHelper.java:1044)
     at
    com.ibm.ws.management.bla.runtime.ControlOperationHelper.execCon
    trolOpOnLocalServer(ControlOperationHelper.java:534)
     at
    com.ibm.wsspi.management.bla.runtime.CompUnitControlOpDispatcher
    .dispatchCompUnitControlOpToTarget(CompUnitControlOpDispatcher.j
    ava:289)
     at
    com.ibm.wsspi.management.bla.runtime.CompUnitControlOpDispatcher
    .dispatch(CompUnitControlOpDispatcher.java:203)
     at
    com.ibm.ws.management.bla.steps.StepStartBLA.execute(StepStartBL
    A.java:157)
     at
    com.ibm.wsspi.management.bla.op.compound.Phase.execute(Phase.jav
    a:151)
     at
    com.ibm.wsspi.management.bla.op.compound.CompoundOperation._doPh
    aseExecute(CompoundOperation.java:102)
     at
    com.ibm.wsspi.management.bla.op.compound.CompoundOperation.doExe
    cute(CompoundOperation.java:85)
     at
    com.ibm.wsspi.management.bla.op.Operation.execute(Operation.java
    :158)
     at
    com.ibm.wsspi.management.bla.op.compound.CompoundOperation.execu
    te(CompoundOperation.java:68)
     at
    com.ibm.ws.management.bla.commands.ADTCommand$OperationScheduler
    .run(ADTCommand.java:596)
     at java.lang.Thread.run(Thread.java:737)
    

Local fix

  • na
    

Problem summary

  • ****************************************************************
    * USERS AFFECTED:  All users of IBM WebSphere Application      *
    *                  Server V8.0.                                *
    ****************************************************************
    * PROBLEM DESCRIPTION: Service Component Architecture (SCA)    *
    *                      composite fails to start, throwing a    *
    *                      NullPointerException if the             *
    *                      enterprise bundle archives (EBA)        *
    *                      contains a fragment bundle.             *
    ****************************************************************
    * RECOMMENDATION:                                              *
    ****************************************************************
    When starting an OSGi SCA application the runtime iterates
    over all present bundles to add a listener to their bundle
    contexts. In the case of a fragment bundle the context is
    unexpectedly null, resulting in a NullPointerException.
    

Problem conclusion

  • The runtime now checks for null while iterating over bundles
    and their corresponding bundle contexts.
    
    The fix for this APAR is currently targeted for inclusion in
    fix pack 8.0.0.4.  Please refer to the Recommended Updates
    page for delivery information:
    http://www.ibm.com/support/docview.wss?rs=180&uid=swg27004980
    
    The WebSphere Application Server SCA V1.0.1.15 fix for this APAR
    will be delivered via APAR PM61854.
    

Temporary fix

Comments

APAR Information

  • APAR number

    PM57616

  • 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

    2012-02-07

  • Closed date

    2012-04-13

  • Last modified date

    2012-04-13

  • APAR is sysrouted FROM one or more of the following:

  • APAR is sysrouted TO one or more of the following:

    PM61854

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