aliariff commented on issue #2318: URL: https://github.com/apache/jena/issues/2318#issuecomment-1986012109
Hi @rvesse, I know a code example would be ideal here. Unfortunately, I can't spend additional time creating a PoC on how this can be reproduced. But I can give direction or at least a logical reason why this could happen. Before going to this line https://github.com/apache/jena/blob/jena-4.10.0/jena-db/jena-dboe-transaction/src/main/java/org/apache/jena/dboe/transaction/txn/TransactionCoordinator.java#L635 I think we also should put an additional check `checkActive();` like in https://github.com/apache/jena/blob/jena-4.10.0/jena-db/jena-dboe-transaction/src/main/java/org/apache/jena/dboe/transaction/txn/TransactionCoordinator.java#L637 Because it can be the case that between these lines https://github.com/apache/jena/blob/jena-4.10.0/jena-db/jena-dboe-transaction/src/main/java/org/apache/jena/dboe/transaction/txn/TransactionCoordinator.java#L610-L627 Some other thread is shutting down the TransactionCoordinator. My analysis could be wrong here cause I just spent a little time reading the code. But at least that is how I reason such a thing could happen. -- 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] --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]
