IBM Support

JR50954: YOU RECEIVE A NULLPOINTEREXCEPTION FOR SAVED SEARCHES THAT CONTAIN SPECIAL CHARACTERS IN A CONDITION VALUE

Subscribe

You can track all active APARs for this component.

 

APAR status

  • Closed as program error.

Error description

  • Saved searches that were created by using Process Portal or a
    REST API cannot run if they contain special characters (such as
    "<>&') in the condition values. When you run the saved search in
    Process Portal, you receive the following exception:
    
    Saved searches that were created by using Process Portal or a
    REST API cannot run if they contain special characters (such as
    "<>&') in the condition values. When you run the saved search in
    Process Portal, you receive the following exception:
    
    java.lang.NullPointerException
     at com.lombardisoftware.portal.action.DisplaySavedSearch.
       execute(DisplaySavedSearch.java:136)
     at org.apache.struts.action.RequestProcessor.
       processActionPerform(RequestProcessor.java:419)
     at com.lombardisoftware.portal.struts.RequestProcessor.
       access$001(RequestProcessor.java:62)
     at com.lombardisoftware.portal.struts.RequestProcessor$1.
       doInTransaction(RequestProcessor.java:100)
     at com.lombardisoftware.server.core.TXCommand$1.call
       (TXCommand.java:71)
     at com.lombardisoftware.utility.spring.
       ProgrammaticTransactionSupport$1.doInTransaction
       (ProgrammaticTransactionSupport.java:338)
     at org.springframework.transaction.jta.
       WebSphereUowTransactionManager$UOWActionAdapter.run
       (WebSphereUowTransactionManager.java:306)
     at com.ibm.ws.uow.UOWManagerImpl.runUnderNewUOW
       (UOWManagerImpl.java:1116)
     at com.ibm.ws.uow.UOWManagerImpl.runUnderUOW
       (UOWManagerImpl.java:630)
     at org.springframework.transaction.jta.
       WebSphereUowTransactionManager.execute
       (WebSphereUowTransactionManager.java:252)
     at com.lombardisoftware.utility.spring.
       ProgrammaticTransactionSupport.executeInNewTransaction
       (ProgrammaticTransactionSupport.java:333)
     at com.lombardisoftware.utility.spring.
       ProgrammaticTransactionSupport.execute
       (ProgrammaticTransactionSupport.java:204)
     at com.lombardisoftware.server.core.TXCommand.execute
       (TXCommand.java:69)
     at com.lombardisoftware.portal.struts.RequestProcessor.
       processActionPerform(RequestProcessor.java:97)
     at org.apache.struts.action.RequestProcessor.process
       (RequestProcessor.java:224)
     at org.apache.struts.action.ActionServlet.process
       (ActionServlet.java:1194)
     at org.apache.struts.action.ActionServlet.doGet
       (ActionServlet.java:414)
     at javax.servlet.http.HttpServlet.service(HttpServlet.java:718)
     at javax.servlet.http.HttpServlet.service(HttpServlet.java:831)
     at com.ibm.ws.webcontainer.servlet.ServletWrapper.service
       (ServletWrapper.java:1661)
     at com.ibm.ws.webcontainer.servlet.ServletWrapper.service
       (ServletWrapper.java:1602)
     at com.ibm.ws.webcontainer.filter.WebAppFilterChain.
       doFilter(WebAppFilterChain.java:149)
     at com.lombardisoftware.portal.servlet.ClearThreadCachesFilter.
       doFilter(ClearThreadCachesFilter.java:24)
     at com.ibm.ws.webcontainer.filter.FilterInstanceWrapper.
       doFilter(FilterInstanceWrapper.java:190)
     at com.ibm.ws.webcontainer.filter.WebAppFilterChain.
       doFilter(WebAppFilterChain.java:125)
     at com.lombardisoftware.servlet.SetUserTimeZoneFilter.
       doFilter(SetUserTimeZoneFilter.java:41)
     at com.ibm.ws.webcontainer.filter.FilterInstanceWrapper.
       doFilter(FilterInstanceWrapper.java:190)
     at com.ibm.ws.webcontainer.filter.WebAppFilterChain.
       doFilter(WebAppFilterChain.java:125)
     at com.lombardisoftware.portal.servlet.
       CrossSiteScriptingFilter.doFilter
       (CrossSiteScriptingFilter.java:29)
     at com.ibm.ws.webcontainer.filter.FilterInstanceWrapper.
       doFilter(FilterInstanceWrapper.java:190)
     at com.ibm.ws.webcontainer.filter.WebAppFilterChain.doFilter
       (WebAppFilterChain.java:125)
     at com.lombardisoftware.servlet.SetCharacterEncodingFilter.
       doFilter(SetCharacterEncodingFilter.java:35)
     at com.ibm.ws.webcontainer.filter.FilterInstanceWrapper.
       doFilter(FilterInstanceWrapper.java:190)
     at com.ibm.ws.webcontainer.filter.WebAppFilterChain.
       doFilter(WebAppFilterChain.java:125)
     at com.ibm.bpm.servlet.filters.GenericSecurityServletFilter.
       doFilter(GenericSecurityServletFilter.java:84)
     at com.ibm.ws.webcontainer.filter.FilterInstanceWrapper.
       doFilter(FilterInstanceWrapper.java:190)
     at com.ibm.ws.webcontainer.filter.WebAppFilterChain.
       doFilter(WebAppFilterChain.java:125)
     at com.lombardisoftware.portal.servlet.bidi.BidiFilter.
       doFilter(BidiFilter.java:53)
     at com.ibm.ws.webcontainer.filter.FilterInstanceWrapper.
       doFilter(FilterInstanceWrapper.java:190)
     at com.ibm.ws.webcontainer.filter.WebAppFilterChain.
       doFilter(WebAppFilterChain.java:125)
     at com.ibm.ws.webcontainer.filter.WebAppFilterChain.
       _doFilter(WebAppFilterChain.java:80)
     at com.ibm.ws.webcontainer.filter.WebAppFilterManager.
       doFilter(WebAppFilterManager.java:908)
     at com.ibm.ws.webcontainer.servlet.ServletWrapper.
       handleRequest(ServletWrapper.java:939)
     at com.ibm.ws.webcontainer.servlet.ServletWrapper.
       handleRequest(ServletWrapper.java:507)
     at com.ibm.ws.webcontainer.servlet.ServletWrapperImpl.
       handleRequest(ServletWrapperImpl.java:181)
     at com.ibm.ws.webcontainer.servlet.CacheServletWrapper.
       handleRequest(CacheServletWrapper.java:91)
     at com.ibm.ws.webcontainer.WebContainer.handleRequest
       (WebContainer.java:878)
     at com.ibm.ws.webcontainer.WSWebContainer.handleRequest
       (WSWebContainer.java:1592)
     at com.ibm.ws.webcontainer.channel.WCChannelLink.ready
       (WCChannelLink.java:191)
     at com.ibm.ws.http.channel.inbound.impl.HttpInboundLink.
       handleDiscrimination(HttpInboundLink.java:453)
     at com.ibm.ws.http.channel.inbound.impl.HttpInboundLink.
       handleNewRequest(HttpInboundLink.java:515)
     at com.ibm.ws.http.channel.inbound.impl.HttpInboundLink.
       processRequest(HttpInboundLink.java:306)
     at com.ibm.ws.http.channel.inbound.impl.HttpICLReadCallback.
       complete(HttpICLReadCallback.java:84)
     at com.ibm.ws.tcp.channel.impl.AioReadCompletionListener.
       futureCompleted(AioReadCompletionListener.java:175)
     at com.ibm.io.async.AbstractAsyncFuture.invokeCallback
       (AbstractAsyncFuture.java:217)
     at com.ibm.io.async.AsyncChannelFuture.fireCompletionActions
       (AsyncChannelFuture.java:161)
     at com.ibm.io.async.AsyncFuture.completed(AsyncFuture.java:138)
     at com.ibm.io.async.ResultHandler.complete(ResultHandler.
       java:204)
     at com.ibm.io.async.ResultHandler.runEventProcessingLoop
       (ResultHandler.java:775)
     at com.ibm.io.async.ResultHandler$2.run(ResultHandler.java:905)
     at com.ibm.ws.util.ThreadPool$Worker.run(ThreadPool.java:1660)
    

Local fix

Problem summary

  • Because the condition values for the saved search are not stored
    correctly in the database, parsing the XML to run the saved
    search fails and a NullPointerException is returned.
    

Problem conclusion

  • A fix is available for IBM BPM V7.5.1.2 that correctly stores
    saved searches that have special characters in the condition
    value in the database. In addition, if you run a corrupt saved
    search in Process Portal, you are notified and the corrupt saved
    search is deleted from the database.
    
    On Fix Central (http://www.ibm.com/support/fixcentral), search
    for JR50954:
    
    1. Select IBM Business Process Manager with your edition from
      the product selector, the installed version to the fix pack
      level, and your platform, and then click Continue.
    
    2. Select APAR or SPR, enter JR50954, and click Continue.
    
    When you download 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.
    

Temporary fix

  • Not applicable
    

Comments

APAR Information

  • APAR number

    JR50954

  • Reported component name

    BPM ADVANCED

  • Reported component ID

    5725C9400

  • Reported release

    751

  • Status

    CLOSED PER

  • PE

    NoPE

  • HIPER

    NoHIPER

  • Special Attention

    NoSpecatt

  • Submitted date

    2014-08-05

  • Closed date

    2014-10-16

  • Last modified date

    2014-10-16

  • 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 STANDARD

  • Fixed component ID

    5725C9500

Applicable component levels

  • R751 PSY

       UP

[{"Business Unit":{"code":"BU053","label":"Cloud & Data Platform"},"Product":{"code":"SSFTDH","label":"IBM Business Process Manager Standard"},"Platform":[{"code":"PF025","label":"Platform Independent"}],"Version":"7.5.1","Line of Business":{"code":"LOB45","label":"Automation"}}]

Document Information

Modified date:
16 October 2021