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

        No work has yet been logged on this 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