IBM Support

PI35439: NULLPOINTEREXCEPTION WHILE RUNNING RECOVERMECONFIG COMMAND

Subscribe

You can track all active APARs for this component.

 

APAR status

  • Closed as program error.

Error description

  • In Websphere Application Server v8.5, when recovermeconfig
    command is executed, the command fails with
    NullPointerException.
    The following error is logged in the SystemOut.log:
    
    CWSIS0002E: The messaging engine encountered an exception
    while starting. Exception: com.ibm.ws.sib.msgstore.
    MessageStoreRuntimeException: java.lang.NullPointerException
    
    FFDC is produced with the following stack:
    FFDC Exception:java.lang.NullPointerException
    SourceId:com.ibm.ws.sib.processor.impl.store.items.Message
    Item.restoreInternal ProbeId:1:677:1.244.1.40
    Reporter:com.ibm.ws.sib.processor.impl.store.items.
    MessageItem@2b8b1c60
    java.lang.NullPointerException
    at com.ibm.ws.sib.processor.impl.MessageProcessor.getSingleton
      Instance(MessageProcessor.java:1152)
    at com.ibm.ws.sib.processor.impl.MessageProcessor.get
      JsMessageFactory(MessageProcessor.java:3046)
    at com.ibm.ws.sib.processor.impl.store.items.MessageItem.
      restoreInternal(MessageItem.java:646)
    at com.ibm.ws.sib.processor.impl.store.items.MessageItem.
      restore(MessageItem.java:607)
    at com.ibm.ws.sib.msgstore.cache.links.AbstractItemLink._
      restoreItem(AbstractItemLink.java:797)
    at com.ibm.ws.sib.msgstore.cache.links.AbstractItemLink.
      getItem(AbstractItemLink.java:2240)
    at com.ibm.ws.sib.msgstore.task.Task.getItem(Task.java:95)
    at com.ibm.ws.sib.msgstore.task.Task.<init>(Task.java:116)
    at com.ibm.ws.sib.msgstore.task.AddTask.<init>(AddTask.
      java:188)
    at com.ibm.ws.sib.msgstore.cache.links.AbstractItemLink.
      restoreState(AbstractItemLink.java:3516)
    at com.ibm.ws.sib.msgstore.cache.links.ItemStreamLink._
      initializeItems(ItemStreamLink.java:231)
    at com.ibm.ws.sib.msgstore.cache.links.ItemStreamLink._
      items(ItemStreamLink.java:268)
    at com.ibm.ws.sib.msgstore.cache.links.ItemStreamLink.
      loadOwnedLinks(ItemStreamLink.java:746)
    at com.ibm.ws.sib.msgstore.cache.links.RootMembership._
      recoverStreamsWithInDoubts(RootMembership.java:177)
    at com.ibm.ws.sib.msgstore.cache.links.RootMembership.
      initialize(RootMembership.java:346)
    at com.ibm.ws.sib.msgstore.impl.MessageStoreImpl.start
      (MessageStoreImpl.java:1636)
    at com.ibm.ws.sib.msgstore.MessageStore.start(MessageStore.
      java:293)
    at com.ibm.ws.sib.processor.impl.RecoveryProcessorImpl.start
      MessageDataStore(RecoveryProcessorImpl.java:151)
    at com.ibm.ws.sib.admin.impl.SIBMEMessageStoreRecoveryImpl.
      recoverOrphanedDataStoreObjects(SIBMEMessageStoreRecoveryImpl.
      java:98)
    at com.ibm.ws.management.commands.sib.SIBMEMessageStoreRecover
    
    Command.beforeStepsExecuted(SIBMEMessageStoreRecoverCommand.java
    :183)
    

Local fix

Problem summary

  • ****************************************************************
    * USERS AFFECTED:  Users of the default messaging provider     *
    *                  for                                         *
    *                  IBM WebSphere Application Server            *
    ****************************************************************
    * PROBLEM DESCRIPTION: In a WebSphere Application Server       *
    *                      Service Integration Bus, the wsadmin    *
    *                      command recoverMEConfig fails to        *
    *                      recover the configuration data of the   *
    *                      crashed messaging engine from its       *
    *                      messagestore when there are indoubt     *
    *                      transactions.                           *
    ****************************************************************
    * RECOMMENDATION:                                              *
    ****************************************************************
    In a WebSphere Application Server Service Integration Bus, the
    wsadmin command recoverMEConfig fails to recover the
    configuration data of the messaging engine from its
    messagestore when there messages associated with indoubt
    transactions. As part of  recovery when a message with indoubt
    transaction is encounterd the process attempts to resolve the
    transaction. In the absence of a messaging engine runtime
    this operation would fail.
    *****************************
    com.ibm.ws.sib.msgstore.MessageStoreRuntimeException:
    java.lang.NullPointerException
    at
    com.ibm.ws.sib.processor.impl.store.items.MessageItem.restoreInt
    ernal(MessageItem.java:695)
    at
    com.ibm.ws.sib.processor.impl.store.items.MessageItem.restore(Me
    ssageItem.java:607)
    at
    com.ibm.ws.sib.msgstore.cache.links.AbstractItemLink._restoreIte
    m(AbstractItemLink.java:797)
    at
    com.ibm.ws.sib.msgstore.cache.links.AbstractItemLink.getItem(Abs
    tractItemLink.java:2240)
    .......................
    at
    com.ibm.ws.sib.msgstore.cache.links.RootMembership._recoverStrea
    msWithInDoubts(RootMembership.java:177)
    at
    com.ibm.ws.sib.msgstore.cache.links.RootMembership.initialize(Ro
    otMembership.java:346)
    at
    com.ibm.ws.sib.msgstore.impl.MessageStoreImpl.start(MessageStore
    Impl.java:1636)
    at
    com.ibm.ws.sib.msgstore.MessageStore.start(MessageStore.java:293
    )
    at
    com.ibm.ws.sib.processor.impl.RecoveryProcessorImpl.startMessage
    DataStore(RecoveryProcessorImpl.java:151)
    at
    com.ibm.ws.sib.admin.impl.SIBMEMessageStoreRecoveryImpl.recoverO
    rphanedDataStoreObjects(SIBMEMessageStoreRecoveryImpl.java:98)
    at
    com.ibm.ws.management.commands.sib.SIBMEMessageStoreRecoverComma
    nd.beforeStepsExecuted(SIBMEMessageStoreRecoverCommand.java:183)
    .....................
    *****************************
    

Problem conclusion

  • As a part of reconstruction of the configuration we would not
    need to process any message. Therefore, code changes are made
    to just read the configuration details and skip rest of the
    data present in the store during when recoverMEConfig is run.
    
    The fix for this APAR is currently targeted for inclusion in
    fix pack 8.5.5.7.  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

    PI35439

  • Reported component name

    WAS SIB & SIBWS

  • Reported component ID

    620800101

  • Reported release

    850

  • Status

    CLOSED PER

  • PE

    NoPE

  • HIPER

    NoHIPER

  • Special Attention

    NoSpecatt

  • Submitted date

    2015-02-19

  • Closed date

    2015-05-18

  • Last modified date

    2015-08-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

    WAS SIB & SIBWS

  • Fixed component ID

    620800101

Applicable component levels

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

Document Information

Modified date:
28 April 2022