Uploaded image for project: 'OpenNMS'
  1. OpenNMS
  2. NMS-4832

AttributeGroup and SiblingColumnStorageStrategy are producing a StackOverflowError

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed (View Workflow)
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 1.9.8
    • Fix Version/s: 1.9.90
    • Component/s: Data Collection - SNMP
    • Security Level: Default (Default Security Scheme)
    • Labels:
      None

      Description

      The SiblingColumnStorageStrategy uses a visitor to find the value of the sibling column in order to generate the unique resource name. When the visitor is running over the AttributeGroup, this class is logging some debug information and try to use the resource name. This is the goal of the visitor, so that is generating an infinite-loop.

      An easy fix is to change the toString method of the AttributeGroup to avoid call the toString method of SnmpCollectionResource, and that way avoid the loop.

        Attachments

          Activity

            People

            • Assignee:
              agalue Alejandro Galue
              Reporter:
              agalue Alejandro Galue
            • Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: