[ https://issues.apache.org/jira/browse/DBCP-224?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#action_12499421 ]
Phil Steitz commented on DBCP-224: ---------------------------------- Stack traces are from dbcp 1.2.1, pool 1.2 > Null delegate possible > ---------------------- > > Key: DBCP-224 > URL: https://issues.apache.org/jira/browse/DBCP-224 > Project: Commons Dbcp > Issue Type: Bug > Affects Versions: 1.2.2 > Reporter: Anatoliy Salistra > > java.lang.NullPointerException > at > org.apache.commons.dbcp.DelegatingConnection.setAutoCommit(DelegatingConnection.java:268) > at > org.apache.commons.dbcp.PoolableConnectionFactory.activateObject(PoolableConnectionFactory.java:368) > at > org.apache.commons.pool.impl.GenericObjectPool.borrowObject(GenericObjectPool.java:786) > at > org.apache.commons.dbcp.PoolingDataSource.getConnection(PoolingDataSource.java:95) > at > org.apache.commons.dbcp.BasicDataSource.getConnection(BasicDataSource.java:540) > at > com.gfigroup.fmk.spine.db.NamedDBCPDataSource.getConnection(NamedDBCPDataSource.java:123) > at > com.gfigroup.fmk.spine.tx.TransactionContext.createConnection(TransactionContext.java:99) > at > com.gfigroup.fmk.spine.tx.TransactionContext.getConnection(TransactionContext.java:75) > at > com.gfigroup.fmk.spine.tx.TransactionContext.getConnectionFacility(TransactionContext.java:91) > at > com.gfigroup.fmk.spine.tx.AbstractTxObject.getConnectionFacility(AbstractTxObject.java:47) > at > com.gfigroup.ts.credit.service.feed.btc.BTCTradeTxObjectImpl.insertTrade(BTCTradeTxObjectImpl.java:104) > at sun.reflect.GeneratedMethodAccessor49.invoke(Unknown Source) > at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source) > at java.lang.reflect.Method.invoke(Unknown Source) > at > com.gfigroup.fmk.spine.tx.TxObjectService$TxObjectStub.invoke(TxObjectService.java:319) > at $Proxy15.insertTrade(Unknown Source) > at > com.gfigroup.ts.credit.service.feed.btc.BTCListenerService.handleTrade(BTCListenerService.java:323) > at > com.gfigroup.ts.credit.service.feed.btc.BTCListenerService.handleTradeMessage(BTCListenerService.java:308) > at > com.gfigroup.ts.credit.service.feed.btc.BTCListenerService.access$800(BTCListenerService.java:37) > at > com.gfigroup.ts.credit.service.feed.btc.BTCListenerService$ProcessTradeMessageTask.run(BTCListenerService.java:512) > at > edu.oswego.cs.dl.util.concurrent.QueuedExecutor$RunLoop.run(QueuedExecutor.java:88) > at java.lang.Thread.run(Unknown Source) > This happens intermittently and very mysteriously. Eventually our pool > becomes clogged with "undead" connections like this. -- This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online. --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]