Home > Back-end >  Null pointer exception database connection object is closed
Null pointer exception database connection object is closed

Time:12-25

Environment: Linux, middleware: websphere, jndi data source, a JDBC Connection database, system operation, in the database Connection is closed, by implementing the Connection interface, call the close method close Connection, the log shows has been an error: as follows:
Can 't creating a tracer for com/IBM/ejs/as/PoolManager release (Lcom/IBM/ws/as/MCWrapper; Ljava/lang/Object) V
Java. Lang. NullPointerException
At com. Bonree. Brjapm. Kv. B (Unknown Source)
At com. Bonree. Brjapm. Hs. A (Unknown Source)
At com. Bonree. Brjapm. Dl $Anderson nvoke (Unknown Source)
At com. IBM. Ejs. Are. PoolManager. Release (PoolManager. Java)
At com. IBM. Ejs. As.. MCWrapper releaseToPoolManager (MCWrapper. Java: 2380)
At com. IBM. Ejs. As.. ConnectionEventListener connectionClosed (ConnectionEventListener. Java: 369)
At com. IBM. Ws. Rsadapter. Spi. WSRdbManagedConnectionImpl. ProcessConnectionClosedEvent (WSRdbManagedConnectionImpl. Java: 1830)
At com. IBM. Ws. Rsadapter. JDBC. WSJdbcConnection. CloseWrapper (WSJdbcConnection. Java: 904)
At com. IBM. Ws. Rsadapter. JDBC. WSJdbcObject. Close (WSJdbcObject. Java: 240)
At com. IBM. Ws. Rsadapter. JDBC. WSJdbcObject. Close (WSJdbcObject. Java: 193)

Trouble bosses can give advice, which is connected with the cause or the database connection pool is occupied by a long period of time, or any other possible reasons?
  • Related