IBM Support

PM17071: OSGI FEATURE PACK GENERATES NPE WHEN ADMIN CONFIGURATION IS NOT SAVED

Subscribe

You can track all active APARs for this component.

 

APAR status

  • Closed as program error.

Error description

  • An FFDC containing the following exception is logged, and an
    OSGi Composition Unit (CU) for the Feature Pack for SCA cannot
    be installed.
    
    Exception:com.ibm.wsspi.management.bla.op.OpExecutionException
    SourceId:com.ibm.ws.eba.bla.pluginconfig.EBAPluginConfigUtils.ge
    tAssetFromCU ProbeId:125
    com.ibm.wsspi.management.bla.op.OpExecutionException:
    CWWMH0138E: No asset matches the ID
    "WebSphere:assetname=xxx.eba,assetversion=BASE"
    specified as the "assetID" parameter value.
     at
    com.ibm.ws.management.bla.model.AssetFactoryImpl.enforceSpecUniq
    ueness(AssetFactoryImpl.java:512)
     at
    com.ibm.ws.management.bla.model.AssetFactoryImpl.readAssetFromAs
    setSpec(AssetFactoryImpl.java:125)
     at
    com.ibm.ws.management.bla.model.CompositionUnitFactoryImpl.getBa
    ckingObject(CompositionUnitFactoryImpl.java:538)
     at
    com.ibm.ws.eba.bla.pluginconfig.EBAPluginConfigUtils.getAssetFro
    mCU(EBAPluginConfigUtils.java:114)
     at
    com.ibm.ws.eba.admin.application.modeller.AriesApplicationModell
    er.generateModel(AriesApplicationModeller.java:122)
     at
    com.ibm.ws.soa.sca.implementation.aries.introspect.AriesComponen
    tTypeLoader.generateModel(AriesComponentTypeLoader.java:166)
     at
    com.ibm.ws.soa.sca.implementation.aries.introspect.AriesComponen
    tTypeLoader.loadFromAriesModel(AriesComponentTypeLoader.java:151
    )
     at
    com.ibm.ws.soa.sca.implementation.aries.introspect.AriesComponen
    tTypeLoader.load(AriesComponentTypeLoader.java:135)
     at
    com.ibm.ws.soa.sca.implementation.aries.xml.AriesImplementationP
    rocessor.resolve(AriesImplementationProcessor.java:166)
     at
    com.ibm.ws.soa.sca.implementation.aries.xml.AriesImplementationP
    rocessor.resolve(AriesImplementationProcessor.java:56)
    

Local fix

Problem summary

  • ****************************************************************
    * USERS AFFECTED:  Users deploying OSGi applications with the  *
    *                  IBM WebSphere Application Server V7         *
    *                  Feature Pack for OSGi Applications and      *
    *                  Java Persistence API 2.0                    *
    ****************************************************************
    * PROBLEM DESCRIPTION: A NullPointerException occurs if no     *
    *                      save of the configuration occurs when   *
    *                      an SCA CU is added to a BLA when the    *
    *                      EBA CU was not saved when it was        *
    *                      imported.                               *
    ****************************************************************
    * RECOMMENDATION:                                              *
    ****************************************************************
    The NullPointerException occurs because the EBA imported was
    not saved prior to the import of CU to an BLA.
    

Problem conclusion

  • The fix for this APAR is currently targeted for inclusion in
    fixpack 1.0.0.1 of the Feature Pack for OSGi Applications and
    JPA 2.0
    

Temporary fix

Comments

APAR Information

  • APAR number

    PM17071

  • Reported component name

    JPA OSGI FEATUR

  • Reported component ID

    5724J0857

  • Reported release

    700

  • Status

    CLOSED PER

  • PE

    NoPE

  • HIPER

    NoHIPER

  • Special Attention

    NoSpecatt

  • Submitted date

    2010-06-23

  • Closed date

    2010-09-10

  • Last modified date

    2010-09-10

  • 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

    JPA OSGI FEATUR

  • Fixed component ID

    5724J0857

Applicable component levels

  • R700 PSY

       UP

[{"Business Unit":{"code":"BU053","label":"Cloud & Data Platform"},"Product":{"code":"SSEQTP","label":"WebSphere Application Server"},"Component":"","ARM Category":[],"Platform":[{"code":"PF025","label":"Platform Independent"}],"Version":"1.0","Edition":"","Line of Business":{"code":"LOB45","label":"Automation"}}]

Document Information

Modified date:
29 September 2020