You are viewing a plain text version of this content. The canonical link for it is here.
Posted to derby-dev@db.apache.org by "Bergquist, Brett" <BB...@canoga.com> on 2011/12/28 16:31:10 UTC
Could somebody take a look at DERBY-5561
I just created https://issues.apache.org/jira/browse/DERBY-5561. I see this happening in production. Basically with a connection pool setup to close all connections on any error, I see a NPE happening.
I think the correct and simple solution is to make the methods that I listed in the issue synchronized. Some of the methods that access the "physicalConnection" are synchronized already. I think all of the methods that use the "physicalConnection" should be synchronized.
If this sound reasonable I will create a patch and attach it to the issue. I need to patch my local copy in any case as this is happening in production.
Thanks for taking a look if you can.
Brett