IBM Support

JR49267: BPMDELETESNAPSHOT COMMAND HITS NPE AND THE LAST SNAPSHOT IN A PROCESS APP COULD NOT BE DELETED

Subscribe

You can track all active APARs for this component.

 

APAR status

  • Closed as program error.

Error description

  • When you try to delete the last snapshot in a process app, you
    see one or more errors.
    
    Note: If you have JR48752 installed, you cannot delete the last
    snapshot by using the BPMDeleteSnapshot wsadmin command.
    
    
    PRODUCTS AFFECTED:
    IBM Business Process Manager (BPM) Advanced
    IBM BPM Standard
    IBM BPM Express
    

Local fix

Problem summary

  • When you try to delete the last snapshot, you see either or both
     of the following errors.
    
    When a process application has no snapshot, you might see the
    following stack trace in the log file at run time:
    
     [30/09/13 10:39:19:222 BST] 00000429 wle           I
    Exception in EJB call
     [30/09/13 10:39:19:223 BST] 00000429 wle_ucaexcept E
    CWLLG0181E: An exception occurred during execution of task
    25,367.  Error: java.lang.NullPointerException
    
    com.lombardisoftware.client.delegate.BusinessDelegateException:
    java.lang.NullPointerException
                 at
    com.lombardisoftware.client.delegate.BusinessDelegateException.a
    sBusinessDelegateException(BusinessDelegateException.java:41)
                 at
    com.lombardisoftware.client.delegate.common.WebsphereDelegateHel
    per.doAsCurrentSubjectContextSensitive(WebsphereDelegateHelper.j
    ava:177)
                 at
    com.lombardisoftware.client.delegate.EventMgrDelegateDefault.exe
    cuteUCA(EventMgrDelegateDefault.java:142)
                 at
    com.lombardisoftware.server.scheduler.tasks.UcaExecutorTask.exec
    ute(UcaExecutorTask.java:39)
                 at
    com.lombardisoftware.server.scheduler.Engine.execute(Engine.java
    :759)
                 at
    com.lombardisoftware.server.scheduler.Engine.access$300(Engine.j
    ava:76)
     . . .
     Caused by: java.lang.NullPointerException
                 at
    com.lombardisoftware.client.persistence.SnapshotFactory.findVCIn
    Project(SnapshotFactory.java:356)
                 at
    com.lombardisoftware.bpd.runtime.engine.message.DefaultMessageRo
    utingCache.loadCacheData(DefaultMessageRoutingCache.java:289)
                 at
    com.lombardisoftware.bpd.runtime.engine.message.DefaultMessageRo
    utingCache.loadCacheData(DefaultMessageRoutingCache.java:45)
                 at
    com.lombardisoftware.core.cache.GenericCache.getCacheData(Generi
    cCache.java:177)
                 at
    com.lombardisoftware.bpd.runtime.engine.message.DefaultMessageRo
    utingCache.loadProcessAppInfo(DefaultMessageRoutingCache.java:12
    8)
                 at
    com.lombardisoftware.bpd.runtime.engine.message.DefaultMessageRo
    utingCache.getProcessAppInfo(DefaultMessageRoutingCache.java:98)
                 at
    com.lombardisoftware.bpd.runtime.engine.message.DefaultMessageRo
    utingCache.getStartMessageEventsForUCA(DefaultMessageRoutingCach
    e.java:249)
                 at
    com.lombardisoftware.bpd.runtime.engine.message.BPDMessageEventH
    elper.messageReceived(BPDMessageEventHelper.java:82)
                 at
    com.lombardisoftware.server.ejb.bpd.BPDEngineServicesCore.messag
    eArrived(BPDEngineServicesCore.java:807)
                 at
    sun.reflect.GeneratedMethodAccessor413.invoke(Unknown Source)
     . . .
    
    You might see a NullPointerException that is similar to the
    following exception:
    
     [11/26/13 10:18:44:987 ICT] 000001af PALAdminComma I
    BPMDeleteSnapshot
     failed due to: java.lang.NullPointerException
                                      java.lang.Exception:
     java.lang.NullPointerException
                 at
     com.lombardisoftware.client.delegate.BusinessDelegateException.
    asBusinessDelegateException
     (BusinessDelegateException.java:41)
                 at
     com.lombardisoftware.client.delegate.common.WebsphereDelegateHe
    lper.doAsCurrentSubjectContextSensitive
     (WebsphereDelegateHelper.java:199)
                 at
     com.lombardisoftware.client.delegate.RepositoryServicesDelegate
    Default.deleteSnapshot
     (RepositoryServicesDelegateDefault.java:2383)
                 at
    com.ibm.bpm.pal.commands.CommandServiceImpl.snapshotDelete
     (CommandServiceImpl.java:708)
                 at
    com.ibm.bpm.pal.commands.impl.internal.BPMDeleteSnapshot.execute
     (BPMDeleteSnapshot.java:53)
                 at
     com.ibm.ws.management.cmdframework.impl.RemoteCommandMgrImpl.ad
    minCmdExecute
     (RemoteCommandMgrImpl.java:335)
                 at
     com.ibm.ws.management.cmdframework.impl.RemoteCommandMgrImpl.ex
    ecute
     (RemoteCommandMgrImpl.java:292)
                 at
    sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
                 at sun.reflect.NativeMethodAccessorImpl.invoke
     (NativeMethodAccessorImpl.java:60)
                 at sun.reflect.DelegatingMethodAccessorImpl.invoke
     (DelegatingMethodAccessorImpl.java:37)
     . . .
    

Problem conclusion

  • A fix is available for IBM BPM V8.0.1.2, V8.5.0.1 that enables
    you to delete the last snapshot and resolves the errors.
    
    On Fix Central (http://www.ibm.com/support/fixcentral), and
    search for JR49267:
    
    1. Select the product group, product, installed version, and
    platform, and click Continue.
    2. Select APAR or SPR, enter JR49267, and click Continue.
    
    When downloading fix packages, ensure that you also download
    the readme file for each fix. Review each readme file for
    additional installation instructions and information about the
    fix.
    
    In addition to this interim fix, install the other interim fixes
     that are required for the BPMDeleteSnapshot and
    BPMSnapshotCleanup commands, which are listed in "Issues with
    BPMDeleteSnapshot and BPMSnapshotCleanup commands in IBM
    Business Process Manager (BPM)"
    (http://www.ibm.com/support/docview.wss?uid=swg21669992).
    

Temporary fix

Comments

APAR Information

  • APAR number

    JR49267

  • Reported component name

    BPM ADVANCED

  • Reported component ID

    5725C9400

  • Reported release

    800

  • Status

    CLOSED PER

  • PE

    NoPE

  • HIPER

    YesHIPER

  • Special Attention

    NoSpecatt

  • Submitted date

    2014-02-04

  • Closed date

    2014-03-14

  • Last modified date

    2014-05-01

  • 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

    BPM ADVANCED

  • Fixed component ID

    5725C9400

Applicable component levels

  • R800 PSY

       UP

[{"Business Unit":{"code":"BU053","label":"Cloud & Data Platform"},"Product":{"code":"SSFTN5","label":"IBM Business Process Manager Advanced"},"Component":"","ARM Category":[],"Platform":[{"code":"PF025","label":"Platform Independent"}],"Version":"8.0","Edition":"","Line of Business":{"code":"LOB36","label":"IBM Automation"}}]

Document Information

Modified date:
01 May 2014