IBM Support

JR50312: SAVED SEARCH WITH BUSINESS DATA OF TYPE TIME FAILS WITH NULLPOINTEREXCEPTION IF SAVED TIME IS EARLIER THAN CURRENT TIME

Subscribe

You can track all active APARs for this component.

 

APAR status

  • Closed as program error.

Error description

  • When the SQL statement for a saved search is being generated, a
    saved search that uses type Time in a condition fails with
    NullPointerException when the time specified is later than the
    current time. For example, if the time specified as part of the
    saved search is 11 pm and the current time is 2 pm, the
    following java.lang.NullPointerException occurs.
    
    
    4/7/14 13:38:26:881 MDT] 00000114 wle E CWLLG2229E: An exception
    occurred in an EJB call.
    Error: java.lang.NullPointerException
    com.lombardisoftware.client.delegate.BusinessDelegateException:
    java.lang.NullPointerException
     at
      com.lombardisoftware.client.delegate.
      BusinessDelegateException.asBusinessDelegateException
      (BusinessDelegateException.java:41)
     at com.lombardisoftware.client.delegate.
      ProcessSearchAPIDelegateDefault.executeQuery
      (ProcessSearchAPIDelegateDefault.java:171)
     at com.lombardisoftware.server.ejb.psapi.SearchAPIFacadeCore.
      executeSearchUnfiltered(SearchAPIFacadeCore.java:223)
     at com.lombardisoftware.server.ejb.psapi.SearchAPIFacadeCore.
      executeSearchUnfiltered(SearchAPIFacadeCore.java:203)
     ...
    Caused by: com.lombardisoftware.core.TeamWorksException:
    java.lang.NullPointerException
     at com.lombardisoftware.core.TeamWorksException.
      asTeamWorksException(TeamWorksException.java:130)
     at com.lombardisoftware.server.ejb.api.ProcessSearchAPICore$1.
      doInTransaction(ProcessSearchAPICore.java:116)
     at com.lombardisoftware.server.ejb.api.ProcessSearchAPICore$1.
      doInTransaction(ProcessSearchAPICore.java:103)
    ...
    Caused by: java.lang.NullPointerException
     at com.lombardisoftware.server.core.pse.impl.
      ProcessSearchQueryEngine.appendConstraintExpression
      (ProcessSearchQueryEngine.java:1169)
     at com.lombardisoftware.server.core.pse.impl.
      ProcessSearchQueryEngine.
      appendBusinessDataConstraintValueExpression
      (ProcessSearchQueryEngine. java:1101)
     at com.lombardisoftware.server.core.pse.impl.
      ProcessSearchQueryEngine.
      appendBusinessDataConstraintExpression
      (ProcessSearchQueryEngine.java:1068)
     at com.lombardisoftware.server.core.pse.impl.
      ProcessSearchQueryEngine.
      buildBusinessDataConstraintExpression
      (ProcessSearchQueryEngine.java:1039)
     at com.lombardisoftware.server.core.pse.impl.
      ProcessSearchQueryEngine.appendSimpleConstraint
      (ProcessSearchQueryEngine.java:887)
     at com.lombardisoftware.server.core.pse.impl.
      ProcessSearchQueryEngine.appendSearchConstraint
      (ProcessSearchQueryEngine.java:832)
     at com.lombardisoftware.server.core.pse.impl.
      ProcessSearchQueryEngine.appendCompoundConstraint
      (ProcessSearchQueryEngine.java:917)
     at com.lombardisoftware.server.core.pse.impl.
      ProcessSearchQueryEngine.appendSearchConstraint
      (ProcessSearchQueryEngine.java:828)
     at com.lombardisoftware.server.core.pse.impl.
      ProcessSearchQueryEngine.buildQuery
      (ProcessSearchQueryEngine.java:739)
     at com.lombardisoftware.server.core.pse.impl.
      ProcessSearchQueryEngine.buildQueryWithUnionAll
      (ProcessSearchQueryEngine.java:608)
     at com.lombardisoftware.server.core.pse.impl.
      ProcessSearchQueryEngine.getSearchQuery
      (ProcessSearchQueryEngine.java:521)
     at com.lombardisoftware.server.core.pse.impl.
      ProcessSearchQueryEngine.prepareQuery
      (ProcessSearchQueryEngine.java:478)
     at com.lombardisoftware.server.core.pse.impl.
      ProcessSearchEngineImpl.executeQuery
      (ProcessSearchEngineImpl.java:90)
    at com.lombardisoftware.server.ejb.api.ProcessSearchAPICore.
      executeQueryInternal(ProcessSearchAPICore.java:169)
    .
    .-------------------------------------
    [4/7/14 13:38:26:901 MDT] 00000114 wle E CWLLG2041E:
    TeamWorksJavaScriptException created non-nested. Error:
    [TeamworksException name='',
    message='java.lang.NullPointerException',
    line=393, pos=0 nested=]
    [TeamworksException name='',
    message='java.lang.NullPointerException',
    line=393, pos=0 nested=]
     at com.lombardisoftware.core.script.js.
      JavaScriptRunner$MyErrorReporter.runtimeError
      (JavaScriptRunner.java:512)
    

Local fix

Problem summary

  • Business data columns of type Time are not processed correctly
    when the SQL statement for the saved search are being generated.
    Therefore, the  SQL statement fails with a NullPointerException.
    

Problem conclusion

  • A fix is/will be available that resolves the issue when using
    type Time as business data in a saved search.
    
    On Fix Central (http://www.ibm.com/support/fixcentral), search
    for JR50312:
    
    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 JR50312, 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

Comments

APAR Information

  • APAR number

    JR50312

  • Reported component name

    BPM STANDARD

  • Reported component ID

    5725C9500

  • Reported release

    751

  • Status

    CLOSED PER

  • PE

    NoPE

  • HIPER

    NoHIPER

  • Special Attention

    NoSpecatt

  • Submitted date

    2014-05-21

  • Closed date

    2014-07-23

  • Last modified date

    2014-07-23

  • 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"},"Component":"","ARM Category":[],"Platform":[{"code":"PF025","label":"Platform Independent"}],"Version":"7.5.1","Edition":"","Line of Business":{"code":"LOB36","label":"IBM Automation"}}]

Document Information

Modified date:
23 July 2014