Uploaded image for project: 'Commons Digester'
  1. Commons Digester
  2. DIGESTER-64

[digester] SetNestedPropertiesRule causes StackOverflowError

    Details

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

      Operating System: All
      Platform: All

    • Bugzilla Id:
      31393

      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)

        Attachments

          Activity

            People

            • Assignee:
              Unassigned
              Reporter:
              james.pine@gmail.com James L. Pine
            • Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: