RS01024: IN RTS, SURROUNDING A DECISION TABLE OR DECISION TREE CONDITION WITH PARENTHESES LEADS TO NULLPOINTEREXCEPTION

Subscribe

You can track all active APARs for this component.

APAR status

  • Closed as fixed if next.

Error description

  • In RTS or Decision Center, when editing the definition of a
    decision table condition column or a decision tree condition
    node, surrounding the whole condition with parentheses, using
    the "(..." and "...)" items of the popup menu, leads to a page
    with the following stack trace:
    
    java.lang.NullPointerException
      at
    ilog.rules.brl.brldf.IlrBRLGrammar$List.nodeIndex(IlrBRLGrammar.
    java:330)
      at
    ilog.rules.brl.brldf.IlrBRLGrammar$List.findNode(IlrBRLGrammar.j
    ava:338)
      at
    ilog.rules.brl.syntaxtree.IlrSyntaxTree.getCurrentGrammarNode(Il
    rSyntaxTree.java:710)
      at
    ilog.rules.brl.syntaxtree.IlrSyntaxTree.pushNode(IlrSyntaxTree.j
    ava:597)
      at
    ilog.rules.brl.tokenmodel.brldf.IlrTokenModelSyntaxTreeBuilder.p
    ushNode(IlrTokenModelSyntaxTreeBuilder.java:126)
      at
    ilog.rules.brl.tokenmodel.brldf.IlrTokenModelSyntaxTreeBuilderVi
    sitor.pushNode(IlrTokenModelSyntaxTreeBuilderVisitor.java:623)
      at
    ilog.rules.brl.tokenmodel.brldf.IlrTokenModelSyntaxTreeBuilderVi
    sitor.processExpressionValue(IlrTokenModelSyntaxTreeBuilderVisit
    or.java:486)
      at
    ilog.rules.brl.tokenmodel.brldf.IlrTokenModelSyntaxTreeBuilderVi
    sitor.processExpressionToken(IlrTokenModelSyntaxTreeBuilderVisit
    or.java:381)
      at
    ilog.rules.brl.tokenmodel.brldf.IlrTokenModelSyntaxTreeBuilderVi
    sitor.processExpressionToken(IlrTokenModelSyntaxTreeBuilderVisit
    or.java:375)
      at
    ilog.rules.brl.tokenmodel.brldf.IlrTokenModelSyntaxTreeBuilderVi
    sitor.visitExpressionToken(IlrTokenModelSyntaxTreeBuilderVisitor
    .java:189)
      at
    ilog.rules.brl.tokenmodel.IlrToken$ExpressionToken.acceptVisitor
    (IlrToken.java:7119)
      at
    ilog.rules.brl.tokenmodel.brldf.IlrTokenModelSyntaxTreeBuilderVi
    sitor.visitReferenceToken(IlrTokenModelSyntaxTreeBuilderVisitor.
    java:125)
      at
    ilog.rules.brl.tokenmodel.brldf.IlrTokenModelSyntaxTreeBuilderVi
    sitor.visitListToken(IlrTokenModelSyntaxTreeBuilderVisitor.java:
    86)
      at
    ilog.rules.brl.tokenmodel.IlrToken$ListToken.acceptVisitor(IlrTo
    ken.java:4414)
      at
    ilog.rules.brl.tokenmodel.IlrDefaultTokenVisitor.visitListToken(
    IlrDefaultTokenVisitor.java:43)
      at
    ilog.rules.brl.tokenmodel.brldf.IlrTokenModelSyntaxTreeBuilderVi
    sitor.visitListToken(IlrTokenModelSyntaxTreeBuilderVisitor.java:
    94)
      at
    ilog.rules.brl.tokenmodel.IlrToken$ListToken.acceptVisitor(IlrTo
    ken.java:4414)
      at
    ilog.rules.brl.tokenmodel.brldf.IlrTokenModelSyntaxTreeBuilderVi
    sitor.visitReferenceToken(IlrTokenModelSyntaxTreeBuilderVisitor.
    java:125)
      at
    ilog.rules.brl.tokenmodel.brldf.IlrTokenModelSyntaxTreeBuilderVi
    sitor.visitListToken(IlrTokenModelSyntaxTreeBuilderVisitor.java:
    86)
      at
    ilog.rules.brl.tokenmodel.IlrToken$ListToken.acceptVisitor(IlrTo
    ken.java:4414)
      at
    ilog.rules.brl.tokenmodel.brldf.IlrTokenModelSyntaxTreeBuilder.p
    rocessToken(IlrTokenModelSyntaxTreeBuilder.java:121)
      at
    ilog.rules.brl.tokenmodel.brldf.IlrTokenModelSyntaxTreeBuilder.b
    uildSyntaxTree(IlrTokenModelSyntaxTreeBuilder.java:87)
      at
    ilog.rules.brl.tokenmodel.brldf.IlrGrammarTokenModel.buildSyntax
    Tree(IlrGrammarTokenModel.java:718)
      at
    ilog.rules.dt.model.grammar.IlrDTGrammarHelper$DTGrammarTokenMod
    el.buildSyntaxTree(IlrDTGrammarHelper.java:178)
      at
    ilog.rules.brl.tokenmodel.brldf.IlrGrammarTokenModel.getSyntaxTr
    ee(IlrGrammarTokenModel.java:644)
      at
    ilog.rules.webui.dt.editors.editbar.IlrDTWSyntacticExpressionEdi
    tor.endUpdate(IlrDTWSyntacticExpressionEditor.java:107)
      at
    ilog.rules.dt.model.grammar.IlrDTGrammarHelper$DTGrammarTokenMod
    el.endUpdate(IlrDTGrammarHelper.java:172)
      at
    ilog.rules.brl.tokenmodel.IlrToken$Token.endUpdate(IlrToken.java
    :2494)
      at
    ilog.rules.brl.tokenmodel.IlrToken$ListToken.addSubToken(IlrToke
    n.java:4710)
      at
    ilog.rules.brl.tokenmodel.IlrToken$AbstractMultipleToken.addSubT
    oken(IlrToken.java:6581)
      at
    ilog.rules.brl.tokenmodel.IlrToken$ExpressionToken.addSubToken(I
    lrToken.java:7204)
      at
    ilog.rules.brl.tokenmodel.IlrTokenHelper.moveParentheses(IlrToke
    nHelper.java:508)
      at
    ilog.rules.brl.tokenmodel.IlrTokenHelper.ensureSameExpressionTok
    en(IlrTokenHelper.java:156)
      at
    ilog.rules.brl.tokenmodel.IlrTokenHelper.checkAllParentheses(Ilr
    TokenHelper.java:134)
      at
    ilog.rules.brl.tokenmodel.IlrToken$ExpressionToken.insertParenth
    esisToken(IlrToken.java:7377)
      at
    ilog.rules.webui.IlrWRenderer.doMenuAction(IlrWRenderer.java:127
    4)
      ...
    
    The exception is raised when the popup menu item is clicked or
    selected. It will occur whether the opening or closing
    parenthesis is selected first.
    This behavior does not occur in Rule Studio / Rule Designer, nor
    does it occur when editing an action rule in RTS with the guided
    editor.
    

Local fix

  • no workaround
    

Problem summary

  • The rule parser for the token model does not support the
    opening parenthesis if this is the only parenthesis in the
    expression.
    

Problem conclusion

Temporary fix

  • Do not enclose expression in parenthesis
    

Comments

APAR Information

  • APAR number

    RS01024

  • Reported component name

    WS ILOG RTS

  • Reported component ID

    5724Y0000

  • Reported release

    711

  • Status

    CLOSED FIN

  • PE

    NoPE

  • HIPER

    NoHIPER

  • Special Attention

    NoSpecatt

  • Submitted date

    2012-06-19

  • Closed date

    2012-09-14

  • Last modified date

    2012-09-14

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

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

Modules/Macros

  • None
    999
    

Fix information

Applicable component levels

  • R711 PSY

       UP



Rate this page:

(0 users)Average rating

Add comments

Document information


More support for:

WebSphere ILOG Rule Team Server

Software version:

7.1.1

Reference #:

RS01024

Modified date:

2012-09-14

Translate my page

Machine Translation

Content navigation