IBM Support

PI31712: REGEX VALIDATION ON NULL VALUES FAILS AND SKIPS TEST ACTION

Subscribe

You can track all active APARs for this component.

 

APAR status

  • Closed as program error.

Error description

  • You are using test data to populate tags with the "Treat empty
    strings as null" option.
    If a regex validation is used on one of the null fields the test
    action is skipped.
    You do not see it displayed in the test console and it appears
    that validation has passed.
    
    The following error is seen in the JVM console:
    
    15/12/2014 16:49:24.762] java.lang.NullPointerException
    [15/12/2014 16:49:24.762] at
    com.ghc.a3.a3utils.fieldactions.validate.regex.RegexAction.proce
    ss(RegexAction.java:105)
    [15/12/2014 16:49:24.763] at
    com.ghc.fieldactions.FieldActionGroup.process(FieldActionGroup.j
    ava:242)
    [15/12/2014 16:49:24.763] at
    com.ghc.a3.a3utils.fieldactions.MessageActionProcessor.X_doActio
    ns(MessageActionProcessor.java:343)
    [15/12/2014 16:49:24.763] at
    com.ghc.a3.a3utils.fieldactions.MessageActionProcessor.X_doActio
    ns(MessageActionProcessor.java:469)
    [15/12/2014 16:49:24.763] at
    com.ghc.a3.a3utils.fieldactions.MessageActionProcessor.X_doActio
    ns(MessageActionProcessor.java:469)
    [15/12/2014 16:49:24.764] at
    com.ghc.a3.a3utils.fieldactions.MessageActionProcessor.X_doActio
    ns(MessageActionProcessor.java:469)
    [15/12/2014 16:49:24.764] at
    com.ghc.a3.a3utils.fieldactions.MessageActionProcessor.X_doActio
    ns(MessageActionProcessor.java:469)
    [15/12/2014 16:49:24.764] at
    com.ghc.a3.a3utils.fieldactions.MessageActionProcessor.X_getVali
    dationErrorCount(MessageActionProcessor.java:561)
    [15/12/2014 16:49:24.764] at
    com.ghc.a3.a3utils.fieldactions.MessageActionProcessor.X_findBes
    tMatch(MessageActionProcessor.java:609)
    [15/12/2014 16:49:24.765] at
    com.ghc.a3.a3utils.fieldactions.MessageActionProcessor.X_getMatc
    hedReceivedChild(MessageActionProcessor.java:700)
    [15/12/2014 16:49:24.765] at
    com.ghc.a3.a3utils.fieldactions.MessageActionProcessor.X_doActio
    ns(MessageActionProcessor.java:473)
    [15/12/2014 16:49:24.765] at
    com.ghc.a3.a3utils.fieldactions.MessageActionProcessor.X_doActio
    ns(MessageActionProcessor.java:469)
    [15/12/2014 16:49:24.765] at
    com.ghc.a3.a3utils.fieldactions.MessageActionProcessor.X_doActio
    ns(MessageActionProcessor.java:469)
    [15/12/2014 16:49:24.766] at
    com.ghc.a3.a3utils.fieldactions.MessageActionProcessor.X_doActio
    ns(MessageActionProcessor.java:469)
    [15/12/2014 16:49:24.766] at
    com.ghc.a3.a3utils.fieldactions.MessageActionProcessor.process(M
    essageActionProcessor.java:291)
    [15/12/2014 16:49:24.766] at
    com.ghc.a3.a3utils.fieldactions.MessageActionProcessor.process(M
    essageActionProcessor.java:282)
    [15/12/2014 16:49:24.766] at
    com.ghc.a3.a3utils.fieldactions.MessageActionProcessor.process(M
    essageActionProcessor.java:259)
    [15/12/2014 16:49:24.767] at
    com.ghc.ghTester.runtime.actions.ValidateAction.X_processActions
    (ValidateAction.java:449)
    [15/12/2014 16:49:24.767] at
    com.ghc.ghTester.runtime.actions.ValidateAction.execute(Validate
    Action.java:280)
    [15/12/2014 16:49:24.767] at
    com.ghc.ghTester.runtime.actions.GHTesterAction.execute(GHTester
    Action.java:107)
    [15/12/2014 16:49:24.767] at
    com.ghc.ghTester.engine.Task.executeSubTree(Task.java:543)
    [15/12/2014 16:49:24.767] at
    com.ghc.ghTester.engine.Task.executeSubTree(Task.java:513)
    [15/12/2014 16:49:24.768] at
    com.ghc.ghTester.runtime.actions.TestDataLookupAction.execute(Te
    stDataLookupAction.java:156)
    [15/12/2014 16:49:24.768] at
    com.ghc.ghTester.runtime.actions.GHTesterAction.execute(GHTester
    Action.java:107)
    [15/12/2014 16:49:24.768] at
    com.ghc.ghTester.engine.Task.executeSubTree(Task.java:543)
    [15/12/2014 16:49:24.768] at
    com.ghc.ghTester.engine.Task.executeSubTree(Task.java:513)
    [15/12/2014 16:49:24.768] at
    com.ghc.ghTester.runtime.actions.SwitchAction.execute(SwitchActi
    on.java:32)
    [15/12/2014 16:49:24.768] at
    com.ghc.ghTester.runtime.actions.GHTesterAction.execute(GHTester
    Action.java:107)
    [15/12/2014 16:49:24.769] at
    com.ghc.ghTester.engine.Task.executeSubTree(Task.java:543)
    [15/12/2014 16:49:24.769] at
    com.ghc.ghTester.engine.Task.executeSubTree(Task.java:513)
    [15/12/2014 16:49:24.769] at
    com.ghc.ghTester.runtime.actions.iterateaction.IterateAction.exe
    cute(IterateAction.java:488)
    [15/12/2014 16:49:24.769] at
    com.ghc.ghTester.runtime.actions.GHTesterAction.execute(GHTester
    Action.java:107)
    [15/12/2014 16:49:24.769] at
    com.ghc.ghTester.engine.Task.executeSubTree(Task.java:543)
    [15/12/2014 16:49:24.770] at
    com.ghc.ghTester.runtime.TestTask.runNode(TestTask.java:689)
    [15/12/2014 16:49:24.770] at
    com.ghc.ghTester.runtime.TestTask.executeActionTrees(TestTask.ja
    va:646)
    [15/12/2014 16:49:24.770] at
    com.ghc.ghTester.engine.Task.execute(Task.java:199)
    [15/12/2014 16:49:24.770] at
    com.ghc.ghTester.runtime.TestTask.execute(TestTask.java:362)
    [15/12/2014 16:49:24.770] at
    com.ghc.ghTester.runtime.TestTaskJobAdapter.doExecute(TestTaskJo
    bAdapter.java:68)
    [15/12/2014 16:49:24.771] at
    com.ghc.ghTester.runtime.jobs.AbstractJob.execute(AbstractJob.ja
    va:172)
    [15/12/2014 16:49:24.771] at
    com.ghc.ghTester.runtime.jobs.AbstractJob$1.run(AbstractJob.java
    :160)
    [15/12/2014 16:49:24.771] at
    java.lang.Thread.run(Thread.java:804)
    

Local fix

Problem summary

  • ****************************************************************
    * USERS AFFECTED:                                              *
    * All users of Rational Integration Tester                     *
    ****************************************************************
    * PROBLEM DESCRIPTION:                                         *
    * If a user creates a test that includes the evaluation of a   *
    * Regular Expression (RegEx) and the input to the RegEx is a   *
    * tag containing null then an exception can occur and the test *
    * step will fail.  However, Rational Integration Tester will   *
    * "skip" the remaining test steps in the test and show the     *
    * overall test status as a pass.                               *
    ****************************************************************
    * RECOMMENDATION:                                              *
    ****************************************************************
    

Problem conclusion

  • This problem typically occurred if a test used a test data set
    that contained null values.  This problem has been resolved in
    version 8.6.0.3 of Rational Integration Tester and the null tag
    value no longer causes an exception.
    

Temporary fix

Comments

APAR Information

  • APAR number

    PI31712

  • Reported component name

    RATL INTEGRA TE

  • Reported component ID

    5725G79IT

  • Reported release

    860

  • Status

    CLOSED PER

  • PE

    NoPE

  • HIPER

    NoHIPER

  • Special Attention

    NoSpecatt

  • Submitted date

    2014-12-17

  • Closed date

    2015-01-02

  • Last modified date

    2015-01-02

  • 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

    RATL INTEGRA TE

  • Fixed component ID

    5725G79IT

Applicable component levels

  • R800 PSN

       UP

  • R801 PSN

       UP

  • R850 PSN

       UP

  • R851 PSN

       UP

  • R860 PSY

       UP

[{"Business Unit":{"code":"BU053","label":"Cloud & Data Platform"},"Product":{"code":"SSBLQQ","label":"Rational Test Workbench"},"Platform":[{"code":"PF025","label":"Platform Independent"}],"Version":"8.6","Line of Business":{"code":"LOB45","label":"Automation"}}]

Document Information

Modified date:
14 October 2021