AttributeGroup and SiblingColumnStorageStrategy are producing a StackOverflowError
Description
Acceptance / Success Criteria
None
Lucidchart Diagrams
Activity
Show:

Alejandro Galue July 14, 2011 at 5:59 PM
Fixed on revision 2826af903c77421faed7ca7079f1411ecfcde71e for 1.10
Fixed
Details
Assignee
Alejandro GalueAlejandro GalueReporter
Alejandro GalueAlejandro GalueComponents
NoneNonePriority
Major
Details
Details
Assignee

Reporter

Components
None
None
Priority
PagerDuty
PagerDuty Incident
PagerDuty
PagerDuty Incident
PagerDuty

PagerDuty Incident
Created July 14, 2011 at 5:53 PM
Updated January 27, 2017 at 4:20 PM
Resolved July 14, 2011 at 5:59 PM
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.