You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@ofbiz.apache.org by GitBox <gi...@apache.org> on 2026/05/06 12:45:45 UTC

[GH] (ofbiz-framework/OFBIZ-13399-try-with-resource): Workflow run "Java CI with Gradle" failed!

The GitHub Actions job "Java CI with Gradle" on ofbiz-framework.git/OFBIZ-13399-try-with-resource has failed.
Run started by GitHub user dixitdeepak (triggered by dixitdeepak).

Head commit for run:
b7be0dcc2c0dc31c83fe7118992df73e923fd3cc / Deepak Dixit <de...@apache.org>
Refactor Groovy EntityListIterator usage with auto-closeable handling (OFBIZ-13399)

Updated Groovy files to use safer resource management patterns for EntityListIterator.

- Replaced manual iterator close handling with try-with-resources style implementations where applicable
- Used Groovy withCloseable for automatic resource cleanup
- Replaced EntityListIterator usage with EntityQuery.queryPagedList() where only partial/paged results were required
- Removed unnecessary manual close() calls
- Reduced risk of JDBC cursor and ResultSet resource leaks
- Improved readability and aligned code with modern OFBiz best practices

Changes were applied to Groovy files; full regression testing has not yet been completed for all updated flows.

Report URL: https://github.com/apache/ofbiz-framework/actions/runs/25435613227

With regards,
GitHub Actions via GitBox