IBM Support

PH30775: NullPointerException is thrown when creating a property extension (lookaside) repository

Subscribe to this APAR

By subscribing, you receive periodic emails alerting you to the status of the APAR, along with a link to the fix after it becomes available. You can track this item individually or track all items by product.

Notify me when this APAR changes.

Notify me when an APAR for this component changes.

 

APAR status

  • Closed as program error.

Error description

  • When trying to create a lookaside repository, if the
    dbScehma property is not set in wimconfig.xml, the following
    exception may occur:
    
    Caused
    by: java.lang.NullPointerException
    at com.ibm.ws.wim.dao.KeyMana
    ger.getLAKeyForTable(KeyManager.java:207)
    at com.ibm.ws.wim.dao.
    AbstractDAO.createLookAsidePropertyDefinition(AbstractDAO.java:4
    555)
    at com.ibm.ws.wim.lookaside.LookasideAdapter.createSchema(L
    ookasideAdapter.java:1154)
    at com.ibm.ws.wim.SchemaManager.creat
    eSchema(SchemaManager.java:2050)
    at com.ibm.websphere.wim.Servic
    eProvider.createSchema(ServiceProvider.java:205)
    

Local fix

  • add the dbSchema value manually in the
    <config:propertyExtensionRepository> tag to the wimconfig.xml
    file
    

Problem summary

  • ****************************************************************
    * USERS AFFECTED:  All users of IBM WebSphere Application      *
    *                  Server                                      *
    *                  using a property extension repository       *
    *                  within a                                    *
    *                  federated repository environment.           *
    ****************************************************************
    * PROBLEM DESCRIPTION: A NullPointerException is thrown when   *
    *                      creating a property extension           *
    *                      (lookaside)                             *
    *                      repository.                             *
    ****************************************************************
    * RECOMMENDATION:                                              *
    ****************************************************************
    A NullPointerException is thrown when creating a property
    extension (lookaside) repository:
    Caused by: java.lang.NullPointerException
    at com.ibm.ws.wim.dao.KeyMana
    ger.getLAKeyForTable(KeyManager.java:207)
    at com.ibm.ws.wim.dao.
    AbstractDAO.createLookAsidePropertyDefinition(AbstractDAO.java:4
    555)
    at com.ibm.ws.wim.lookaside.LookasideAdapter.createSchema(L
    ookasideAdapter.java:1154)
    at com.ibm.ws.wim.SchemaManager.creat
    eSchema(SchemaManager.java:2050)
    at com.ibm.websphere.wim.Servic
    eProvider.createSchema(ServiceProvider.java:205)
    This indicates that the lookaside repository does not contain a
    table being referenced from the database. This can happen if the
    table in the
    database was created with a prefix. In this case, the prefix
    needs to be set in dbSchema in wimconfig.xml.
    

Problem conclusion

  • The NullPointerException is no longer thrown. Now a meaningful
    message will print out explaining which table is causing the iss
    and the steps needed to resolve it.
    
    The fix for this APAR is targeted for inclusion in fix pack
    8.5.5.20 and 9.0.5.8. For more information, see 'Recommended
    Updates for WebSphere Application Server':
    https://www.ibm.com/support/pages/node/715553
    

Temporary fix

Comments

APAR Information

  • APAR number

    PH30775

  • Reported component name

    WEBS APP SERV N

  • Reported component ID

    5724H8800

  • Reported release

    850

  • Status

    CLOSED PER

  • PE

    NoPE

  • HIPER

    NoHIPER

  • Special Attention

    NoSpecatt / Xsystem

  • Submitted date

    2020-10-21

  • Closed date

    2021-05-25

  • Last modified date

    2021-05-25

  • 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

    WEBS APP SERV N

  • Fixed component ID

    5724H8800

Applicable component levels

  • R850 PSY

       UP

  • R900 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.5","Line of Business":{"code":"LOB45","label":"Automation"}}]

Document Information

Modified date:
01 November 2021