[
https://issues.apache.org/jira/browse/OFBIZ-13400?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=18078593#comment-18078593
]
ASF subversion and git services commented on OFBIZ-13400:
---------------------------------------------------------
Commit 2d3874bea861c9497eb69ce0551d1be88172bf60 in ofbiz-framework's branch
refs/heads/trunk from Deepak Dixit
[ https://gitbox.apache.org/repos/asf?p=ofbiz-framework.git;h=2d3874bea8 ]
Fixed xmldsrawdump StackOverflowError by streaming XML from Groovy event
(OFBIZ-13400) (#1165)
Route the WebTools xmldsrawdump request to a Groovy event and return a
none response instead of rendering the legacy JSP view. The JSP view
could re-enter the controller/view rendering path and repeatedly render
xmldsrawdump until Tomcat failed with StackOverflowError.
Remove the obsolete xmldsrawdump.jsp view and its view-map. The new raw
dump event streams XML directly, uses EntityQuery, and closes the
iterator with withCloseable.
> xmldsrawdump view enters recursive rendering and fails with StackOverflowError
> ------------------------------------------------------------------------------
>
> Key: OFBIZ-13400
> URL: https://issues.apache.org/jira/browse/OFBIZ-13400
> Project: OFBiz
> Issue Type: Bug
> Reporter: Deepak Dixit
> Priority: Major
> Attachments: Screenshot 2026-05-05 at 7.03.22 PM.png
>
>
> The WebTools XML raw data dump request repeatedly renders the xmldsrawdump
> view until Tomcat throws java.lang.StackOverflowError.
> The request should stream the XML response directly instead of rendering a
> JSP view that can re-enter the controller/view resolution path.
--
This message was sent by Atlassian Jira
(v8.20.10#820010)