Skip to content

Conversation

@labkey-jeckels
Copy link
Contributor

@labkey-jeckels labkey-jeckels commented Nov 17, 2025

Rationale

ERROR DbScope                  2025-11-17T15:16:54,463 tps-jsse-nio-443-exec-10 : Failed to force the still-pending transaction object closed on DB scope labkeyDataSource
java.lang.IllegalStateException: SPID=1465 DbScope=labkey No transactions remain, can't decrement!
	at org.labkey.api.data.DbScope.createIllegalStateException(DbScope.java:275)
	at org.labkey.api.data.DbScope$TransactionImpl.isOutermostTransaction(DbScope.java:2803)
	at org.labkey.api.data.DbScope$TransactionImpl.close(DbScope.java:2648)
	at org.labkey.api.data.DbScope.closeAllConnectionsForCurrentThread(DbScope.java:2171)
	at org.labkey.api.data.DbScope.finishedWithThread(DbScope.java:2198)
	at org.labkey.api.data.TransactionFilter.doFilter(TransactionFilter.java:185)

Related Pull Requests

Changes

  • Ensure DbScope.Transaction is closed properly in error scenarios
  • Integration test

Tasks 📍

@labkey-jeckels labkey-jeckels requested review from a team and labkey-danield November 17, 2025 23:25
@labkey-jeckels labkey-jeckels self-assigned this Nov 17, 2025
@labkey-jeckels labkey-jeckels merged commit 37ce815 into release25.11-SNAPSHOT Nov 19, 2025
12 checks passed
@labkey-jeckels labkey-jeckels deleted the 25.11_fb_schedulingPermissions branch November 19, 2025 20:35
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants