Commons Digester
  1. Commons Digester
  2. DIGESTER-64

[digester] SetNestedPropertiesRule causes StackOverflowError

    Details

    • Type: Bug Bug
    • Status: Closed
    • Priority: Major Major
    • Resolution: Fixed
    • Affects Version/s: 1.6
    • Fix Version/s: None
    • Labels:
      None
    • Environment:

      Operating System: All
      Platform: All

      Description

      when setnestedpropertiesrule encounters something like:
      <foo>
      <bar>
      <foo>
      <bar>
      </bar>
      </foo>
      </bar>
      </foo>
      where it is added as a rule with a pattern of "*/foo/bar" it will end up calling
      SetNestedPropertiesRule$AnyChildRules.match in an infinite loop (see line 290)

        Activity

        Henri Yandell made changes -
        Status Resolved [ 5 ] Closed [ 6 ]
        Henri Yandell made changes -
        Affects Version/s 1.6 Final [ 12311712 ]
        Henri Yandell made changes -
        Assignee Jakarta Commons Developers Mailing List [ commons-dev@jakarta.apache.org ]
        Project Commons [ 12310458 ] Commons Digester [ 12310471 ]
        Affects Version/s 1.6 Final [ 12311666 ]
        Component/s Digester [ 12311111 ]
        Key COM-1594 DIGESTER-64
        Henri Yandell made changes -
        Field Original Value New Value
        issue.field.bugzillaimportkey 31393 12341746
        James L. Pine created issue -

          People

          • Assignee:
            Unassigned
            Reporter:
            James L. Pine
          • Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved:

              Development