IBM Support

PH35755: "BULK DELETE" OPTION DOES NOT DELETE ALL ASSETS

Subscribe

You can track all active APARs for this component.

 

APAR status

  • Closed as program error.

Error description

  • When using the "Bulk Delete" option in IBM Rational Asset
    Manager (RAM) to delete more than 4 assets, it takes a few
    minutes to clear those assets and also in some cases, it only
    deletes 5 out of 7 assets.
    
    The Bulk Delete option works fine for 3-4 assets at a time, but
    not more than that.
    
    A "StringIndexOutOfBoundsException..." error results as in the
    following log output:
    
    [<BEGIN>]
    
    Lifecycle     W   #{pc_BulkOperation.doDeleteSelectedAssets}:
    java.lang.StringIndexOutOfBoundsException
                                     javax.faces.FacesException:
    #{pc_BulkOperation.doDeleteSelectedAssets}:
    java.lang.StringIndexOutOfBoundsException
            at
    com.sun.faces.application.ActionListenerImpl.processAction(Actio
    nListenerImpl.java:118)
            at
    javax.faces.component.UICommand.broadcast(UICommand.java:387)
            at
    javax.faces.component.UIViewRoot.broadcastEvents(UIViewRoot.java
    :458)
            at
    javax.faces.component.UIViewRoot.processApplication(UIViewRoot.j
    ava:763)
            at
    com.sun.faces.lifecycle.InvokeApplicationPhase.execute(InvokeApp
    licationPhase.java:82)
            at com.sun.faces.lifecycle.Phase.doPhase(Phase.java:100)
            at
    com.sun.faces.lifecycle.LifecycleImpl.execute(LifecycleImpl.java
    :118)
            at
    javax.faces.webapp.FacesServlet.service(FacesServlet.java:265)
            at
    com.ibm.ws.webcontainer.servlet.ServletWrapper.service(ServletWr
    apper.java:1233)
            at
    com.ibm.ws.webcontainer.servlet.ServletWrapper.handleRequest(Ser
    vletWrapper.java:782)
            at
    com.ibm.ws.webcontainer.servlet.ServletWrapper.handleRequest(Ser
    vletWrapper.java:481)
            at
    com.ibm.ws.webcontainer.servlet.ServletWrapperImpl.handleRequest
    (ServletWrapperImpl.java:178)
            at
    com.ibm.ws.webcontainer.filter.WebAppFilterChain.invokeTarget(We
    bAppFilterChain.java:136)
            at
    com.ibm.ws.webcontainer.filter.WebAppFilterChain.doFilter(WebApp
    FilterChain.java:97)
            at
    com.ibm.ram.repository.web.security.RAMServletFilter.doFilter(RA
    MServletFilter.java:607)
            at
    com.ibm.ws.webcontainer.filter.FilterInstanceWrapper.doFilter(Fi
    lterInstanceWrapper.java:195) ...
    
    Caused by: javax.faces.el.EvaluationException:
    java.lang.StringIndexOutOfBoundsException
            at
    com.sun.faces.application.MethodBindingMethodExpressionAdapter.i
    nvoke(MethodBindingMethodExpressionAdapter.java:102)
            at
    com.sun.faces.application.ActionListenerImpl.processAction(Actio
    nListenerImpl.java:102)
            ... 46 more
    Caused by: java.lang.StringIndexOutOfBoundsException
            at java.lang.String.charAt(String.java:1397)
            at
    com.ibm.ram.repository.audit.ActivityManager.getEventsPref(Activ
    ityManager.java:2555)
            at
    com.ibm.ram.repository.audit.ActivityManager.searchPref(Activity
    Manager.java:2578)
            at
    pagecode.secure.BulkOperation.doDeleteSelectedAssets(BulkOperati
    on.java:613)
            at sun.reflect.NativeMethodAccessorImpl.invoke0(Native
    Method)
            at
    sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessor
    Impl.java:90)
            at
    sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethod
    AccessorImpl.java:55)
    
    [</END>]
    

Local fix

  • A workaround is to perform the following steps:
    
    1. Export the required assets with the Library function
    2. Restore the persist folder and database
    3. Import the assets Library
    

Problem summary

  • ****************************************************************
    * USERS AFFECTED:                                              *
    * Eclipse users of the RAM product would find this issue when  *
    * uploading large number of assets through bulk upload         *
    ****************************************************************
    * PROBLEM DESCRIPTION:                                         *
    * This happens when bulk delete of the assets are done by user *
    * using Eclipse client                                         *
    ****************************************************************
    * RECOMMENDATION:                                              *
    ****************************************************************
    

Problem conclusion

Temporary fix

Comments

APAR Information

  • APAR number

    PH35755

  • Reported component name

    RATL ASSET MGR

  • Reported component ID

    5724R4200

  • Reported release

    754

  • Status

    CLOSED PER

  • PE

    NoPE

  • HIPER

    NoHIPER

  • Special Attention

    NoSpecatt / Xsystem

  • Submitted date

    2021-03-26

  • Closed date

    2021-07-08

  • Last modified date

    2021-07-08

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

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

Modules/Macros

  • Web
    

Fix information

  • Fixed component name

    RATL ASSET MGR

  • Fixed component ID

    5724R4200

Applicable component levels

  • R754 PSY

       UP

[{"Business Unit":{"code":"BU059","label":"IBM Software w\/o TPS"},"Product":{"code":"SSUS84","label":"Rational Asset Manager"},"Platform":[{"code":"PF025","label":"Platform Independent"}],"Version":"754","Line of Business":{"code":"LOB45","label":"Automation"}}]

Document Information

Modified date:
27 April 2022