Opened 8 years ago

Closed 8 years ago

#1760 closed defect (fixed)

NullPointerException in LoggingInterceptor

Reported by: Nicklas Nordborg Owned by: everyone
Priority: major Milestone: BASE 3.2.3
Component: web Version:
Keywords: Cc:

Description

I found lots and lots of the following stacktrace (or similar) in the Tomcat log file:

java.lang.NullPointerException
	at net.sf.basedb.core.log.LoggingInterceptor.afterTransactionCompletion(LoggingInterceptor.java:154)
	at org.hibernate.impl.SessionImpl.afterTransactionCompletion(SessionImpl.java:605)
	at org.hibernate.jdbc.JDBCContext.afterTransactionCompletion(JDBCContext.java:273)
	at org.hibernate.transaction.JDBCTransaction.rollback(JDBCTransaction.java:204)
	at net.sf.basedb.core.HibernateUtil.rollback(HibernateUtil.java:1194)
	at net.sf.basedb.core.DbControl.rollback(DbControl.java:323)
	at net.sf.basedb.core.DbControl.close(DbControl.java:281)
...

Change History (1)

comment:1 Changed 8 years ago by Nicklas Nordborg

Resolution: fixed
Status: newclosed

(In [6280]) Fixes #1760: NullPointerException? in LoggingInterceptor?

The only thing affected was a callback after transactions. Luckily the currently implemented callbacks do nothing.

Note: See TracTickets for help on using tickets.