venkateshwaracholan opened a new issue, #4822: URL: https://github.com/apache/polaris/issues/4822
### Describe the bug ## Describe the Bug While generating configuration documentation, `PropertiesConfigPageGroup.visitType()` revisits the same `TypeElement` by calling: ```java id="8jvks4" e.accept(this, env); ``` This works for simple cases, but when a `@ConfigPageGroup` contains nested types (such as nested classes, interfaces, or records), the visitor ends up repeatedly dispatching back to the same element. As a result, the traversal never progresses to the enclosed elements and eventually fails with a `StackOverflowError`. The similar visitor implementation in `PropertiesConfigs` already avoids this problem by iterating over enclosed elements directly, which allows nested types to be processed correctly. ### To Reproduce _No response_ ### Actual Behavior _No response_ ### Expected Behavior _No response_ ### Additional context _No response_ ### System information _No response_ -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: [email protected] For queries about this service, please contact Infrastructure at: [email protected]
