Hide
The following exception may happen when stopping HSQL :
Exception in thread "HSQLDB Timer @a97f68" java.lang.NullPointerException
at org.hsqldb.lib.HsqlTimer.nextTask(Unknown Source)
at org.hsqldb.lib.HsqlTimer$TaskRunner.run(Unknown Source)
at java.lang.Thread.run(Thread.java:595)
The fact is that these threads are not stopped by HSQL and Tomcat classloader will set to null some static field in order to make GCC free some references.
Then, HSQL thread throw a NPE with this static null reference.
DatabaseManager.getTimer().shutDown(); can be called to stop this timer thread.
Show
The following exception may happen when stopping HSQL :
Exception in thread "HSQLDB Timer @a97f68" java.lang.NullPointerException
at org.hsqldb.lib.HsqlTimer.nextTask(Unknown Source)
at org.hsqldb.lib.HsqlTimer$TaskRunner.run(Unknown Source)
at java.lang.Thread.run(Thread.java:595)
The fact is that these threads are not stopped by HSQL and Tomcat classloader will set to null some static field in order to make GCC free some references.
Then, HSQL thread throw a NPE with this static null reference.
DatabaseManager.getTimer().shutDown(); can be called to stop this timer thread.