Testsuite: org.huihoo.jfox.soaf.services.dao.UserHibernateDAOImplTest
Tests run: 4, Failures: 0, Errors: 3, Time elapsed: 24.695 sec

------------- Standard Output ---------------
Created MBeanServer with ID: 39443f:105cd2efe50:-8000:agile:1
------------- ---------------- ---------------
------------- Standard Error -----------------
net.sf.hibernate.exception.GenericJDBCException: Cannot open connection
	at net.sf.hibernate.exception.ErrorCodeConverter.handledNonSpecificException(ErrorCodeConverter.java:90)
	at net.sf.hibernate.exception.ErrorCodeConverter.convert(ErrorCodeConverter.java:79)
	at net.sf.hibernate.exception.JDBCExceptionHelper.convert(JDBCExceptionHelper.java:29)
	at net.sf.hibernate.impl.BatcherImpl.convert(BatcherImpl.java:328)
	at net.sf.hibernate.impl.BatcherImpl.openConnection(BatcherImpl.java:295)
	at net.sf.hibernate.impl.SessionImpl.connect(SessionImpl.java:3373)
	at net.sf.hibernate.impl.SessionImpl.connection(SessionImpl.java:3333)
	at net.sf.hibernate.transaction.JDBCTransaction.begin(JDBCTransaction.java:40)
	at net.sf.hibernate.transaction.JDBCTransactionFactory.beginTransaction(JDBCTransactionFactory.java:19)
	at net.sf.hibernate.impl.SessionImpl.beginTransaction(SessionImpl.java:2252)
	at org.huihoo.jfox.soaf.services.persistence.HibernateServiceImpl.openSession(HibernateServiceImpl.java:81)
	at org.huihoo.jfox.soaf.services.persistence.HibernateServiceImpl.get(HibernateServiceImpl.java:396)
	at org.huihoo.jfox.soaf.services.dao.UserHibernateDAOImpl.getUser(UserHibernateDAOImpl.java:51)
	at org.huihoo.jfox.soaf.services.dao.UserHibernateDAOImplTest.testSaveUser(UserHibernateDAOImplTest.java:77)
	at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
	at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
	at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
	at java.lang.reflect.Method.invoke(Method.java:324)
	at junit.framework.TestCase.runTest(TestCase.java:154)
	at junit.framework.TestCase.runBare(TestCase.java:127)
	at junit.framework.TestResult$1.protect(TestResult.java:106)
	at junit.framework.TestResult.runProtected(TestResult.java:124)
	at junit.framework.TestResult.run(TestResult.java:109)
	at junit.framework.TestCase.run(TestCase.java:118)
	at junit.framework.TestSuite.runTest(TestSuite.java:208)
	at junit.framework.TestSuite.run(TestSuite.java:203)
	at org.apache.tools.ant.taskdefs.optional.junit.JUnitTestRunner.run(JUnitTestRunner.java:325)
	at org.apache.tools.ant.taskdefs.optional.junit.JUnitTestRunner.main(JUnitTestRunner.java:536)
Caused by: java.sql.SQLException: The database is already in use by another process
	at org.hsqldb.Trace.getError(Unknown Source)
	at org.hsqldb.Trace.error(Unknown Source)
	at org.hsqldb.Log.open(Unknown Source)
	at org.hsqldb.Database$Logger.openLog(Unknown Source)
	at org.hsqldb.Database.open(Unknown Source)
	at org.hsqldb.Database.<init>(Unknown Source)
	at org.hsqldb.jdbcConnection.openStandalone(Unknown Source)
	at org.hsqldb.jdbcConnection.<init>(Unknown Source)
	at org.hsqldb.jdbcDriver.connect(Unknown Source)
	at java.sql.DriverManager.getConnection(DriverManager.java:512)
	at java.sql.DriverManager.getConnection(DriverManager.java:140)
	at net.sf.hibernate.connection.DriverManagerConnectionProvider.getConnection(DriverManagerConnectionProvider.java:101)
	at net.sf.hibernate.impl.BatcherImpl.openConnection(BatcherImpl.java:292)
	... 23 more
net.sf.hibernate.exception.GenericJDBCException: Cannot open connection
	at net.sf.hibernate.exception.ErrorCodeConverter.handledNonSpecificException(ErrorCodeConverter.java:90)
	at net.sf.hibernate.exception.ErrorCodeConverter.convert(ErrorCodeConverter.java:79)
	at net.sf.hibernate.exception.JDBCExceptionHelper.convert(JDBCExceptionHelper.java:29)
	at net.sf.hibernate.impl.BatcherImpl.convert(BatcherImpl.java:328)
	at net.sf.hibernate.impl.BatcherImpl.openConnection(BatcherImpl.java:295)
	at net.sf.hibernate.impl.SessionImpl.connect(SessionImpl.java:3373)
	at net.sf.hibernate.impl.SessionImpl.connection(SessionImpl.java:3333)
	at net.sf.hibernate.transaction.JDBCTransaction.begin(JDBCTransaction.java:40)
	at net.sf.hibernate.transaction.JDBCTransactionFactory.beginTransaction(JDBCTransactionFactory.java:19)
	at net.sf.hibernate.impl.SessionImpl.beginTransaction(SessionImpl.java:2252)
	at org.huihoo.jfox.soaf.services.persistence.HibernateServiceImpl.openSession(HibernateServiceImpl.java:81)
	at org.huihoo.jfox.soaf.services.persistence.HibernateServiceImpl.get(HibernateServiceImpl.java:396)
	at org.huihoo.jfox.soaf.services.dao.UserHibernateDAOImpl.getUser(UserHibernateDAOImpl.java:51)
	at org.huihoo.jfox.soaf.services.dao.UserHibernateDAOImplTest.testGetUser(UserHibernateDAOImplTest.java:92)
	at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
	at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
	at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
	at java.lang.reflect.Method.invoke(Method.java:324)
	at junit.framework.TestCase.runTest(TestCase.java:154)
	at junit.framework.TestCase.runBare(TestCase.java:127)
	at junit.framework.TestResult$1.protect(TestResult.java:106)
	at junit.framework.TestResult.runProtected(TestResult.java:124)
	at junit.framework.TestResult.run(TestResult.java:109)
	at junit.framework.TestCase.run(TestCase.java:118)
	at junit.framework.TestSuite.runTest(TestSuite.java:208)
	at junit.framework.TestSuite.run(TestSuite.java:203)
	at org.apache.tools.ant.taskdefs.optional.junit.JUnitTestRunner.run(JUnitTestRunner.java:325)
	at org.apache.tools.ant.taskdefs.optional.junit.JUnitTestRunner.main(JUnitTestRunner.java:536)
Caused by: java.sql.SQLException: The database is already in use by another process
	at org.hsqldb.Trace.getError(Unknown Source)
	at org.hsqldb.Trace.error(Unknown Source)
	at org.hsqldb.Log.open(Unknown Source)
	at org.hsqldb.Database$Logger.openLog(Unknown Source)
	at org.hsqldb.Database.open(Unknown Source)
	at org.hsqldb.Database.<init>(Unknown Source)
	at org.hsqldb.jdbcConnection.openStandalone(Unknown Source)
	at org.hsqldb.jdbcConnection.<init>(Unknown Source)
	at org.hsqldb.jdbcDriver.connect(Unknown Source)
	at java.sql.DriverManager.getConnection(DriverManager.java:512)
	at java.sql.DriverManager.getConnection(DriverManager.java:140)
	at net.sf.hibernate.connection.DriverManagerConnectionProvider.getConnection(DriverManagerConnectionProvider.java:101)
	at net.sf.hibernate.impl.BatcherImpl.openConnection(BatcherImpl.java:292)
	... 23 more
net.sf.hibernate.exception.GenericJDBCException: Cannot open connection
	at net.sf.hibernate.exception.ErrorCodeConverter.handledNonSpecificException(ErrorCodeConverter.java:90)
	at net.sf.hibernate.exception.ErrorCodeConverter.convert(ErrorCodeConverter.java:79)
	at net.sf.hibernate.exception.JDBCExceptionHelper.convert(JDBCExceptionHelper.java:29)
	at net.sf.hibernate.impl.BatcherImpl.convert(BatcherImpl.java:328)
	at net.sf.hibernate.impl.BatcherImpl.openConnection(BatcherImpl.java:295)
	at net.sf.hibernate.impl.SessionImpl.connect(SessionImpl.java:3373)
	at net.sf.hibernate.impl.SessionImpl.connection(SessionImpl.java:3333)
	at net.sf.hibernate.transaction.JDBCTransaction.begin(JDBCTransaction.java:40)
	at net.sf.hibernate.transaction.JDBCTransactionFactory.beginTransaction(JDBCTransactionFactory.java:19)
	at net.sf.hibernate.impl.SessionImpl.beginTransaction(SessionImpl.java:2252)
	at org.huihoo.jfox.soaf.services.persistence.HibernateServiceImpl.openSession(HibernateServiceImpl.java:81)
	at org.huihoo.jfox.soaf.services.persistence.HibernateServiceImpl.get(HibernateServiceImpl.java:396)
	at org.huihoo.jfox.soaf.services.dao.UserHibernateDAOImpl.getUser(UserHibernateDAOImpl.java:51)
	at org.huihoo.jfox.soaf.services.dao.UserHibernateDAOImpl.removeUser(UserHibernateDAOImpl.java:79)
	at org.huihoo.jfox.soaf.services.dao.UserHibernateDAOImplTest.testRemoveUser(UserHibernateDAOImplTest.java:99)
	at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
	at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
	at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
	at java.lang.reflect.Method.invoke(Method.java:324)
	at junit.framework.TestCase.runTest(TestCase.java:154)
	at junit.framework.TestCase.runBare(TestCase.java:127)
	at junit.framework.TestResult$1.protect(TestResult.java:106)
	at junit.framework.TestResult.runProtected(TestResult.java:124)
	at junit.framework.TestResult.run(TestResult.java:109)
	at junit.framework.TestCase.run(TestCase.java:118)
	at junit.framework.TestSuite.runTest(TestSuite.java:208)
	at junit.framework.TestSuite.run(TestSuite.java:203)
	at org.apache.tools.ant.taskdefs.optional.junit.JUnitTestRunner.run(JUnitTestRunner.java:325)
	at org.apache.tools.ant.taskdefs.optional.junit.JUnitTestRunner.main(JUnitTestRunner.java:536)
Caused by: java.sql.SQLException: The database is already in use by another process
	at org.hsqldb.Trace.getError(Unknown Source)
	at org.hsqldb.Trace.error(Unknown Source)
	at org.hsqldb.Log.open(Unknown Source)
	at org.hsqldb.Database$Logger.openLog(Unknown Source)
	at org.hsqldb.Database.open(Unknown Source)
	at org.hsqldb.Database.<init>(Unknown Source)
	at org.hsqldb.jdbcConnection.openStandalone(Unknown Source)
	at org.hsqldb.jdbcConnection.<init>(Unknown Source)
	at org.hsqldb.jdbcDriver.connect(Unknown Source)
	at java.sql.DriverManager.getConnection(DriverManager.java:512)
	at java.sql.DriverManager.getConnection(DriverManager.java:140)
	at net.sf.hibernate.connection.DriverManagerConnectionProvider.getConnection(DriverManagerConnectionProvider.java:101)
	at net.sf.hibernate.impl.BatcherImpl.openConnection(BatcherImpl.java:292)
	... 24 more
------------- ---------------- ---------------
Testcase: testSaveUser(org.huihoo.jfox.soaf.services.dao.UserHibernateDAOImplTest):	Caused an ERROR
null: nested throwable: net.sf.hibernate.exception.GenericJDBCException: Cannot open connection
net.sf.hibernate.exception.GenericJDBCException: Cannot open connection
	at net.sf.hibernate.exception.ErrorCodeConverter.handledNonSpecificException(ErrorCodeConverter.java:90)
	at net.sf.hibernate.exception.ErrorCodeConverter.convert(ErrorCodeConverter.java:79)
	at net.sf.hibernate.exception.JDBCExceptionHelper.convert(JDBCExceptionHelper.java:29)
	at net.sf.hibernate.impl.BatcherImpl.convert(BatcherImpl.java:328)
	at net.sf.hibernate.impl.BatcherImpl.openConnection(BatcherImpl.java:295)
	at net.sf.hibernate.impl.SessionImpl.connect(SessionImpl.java:3373)
	at net.sf.hibernate.impl.SessionImpl.connection(SessionImpl.java:3333)
	at net.sf.hibernate.transaction.JDBCTransaction.begin(JDBCTransaction.java:40)
	at net.sf.hibernate.transaction.JDBCTransactionFactory.beginTransaction(JDBCTransactionFactory.java:19)
	at net.sf.hibernate.impl.SessionImpl.beginTransaction(SessionImpl.java:2252)
	at org.huihoo.jfox.soaf.services.persistence.HibernateServiceImpl.openSession(HibernateServiceImpl.java:81)
	at org.huihoo.jfox.soaf.services.persistence.HibernateServiceImpl.saveOrUpdate(HibernateServiceImpl.java:737)
	at org.huihoo.jfox.soaf.services.dao.UserHibernateDAOImpl.saveUser(UserHibernateDAOImpl.java:71)
	at org.huihoo.jfox.soaf.services.dao.UserHibernateDAOImplTest.testSaveUser(UserHibernateDAOImplTest.java:84)
	at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
	at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
	at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
Caused by: java.sql.SQLException: The database is already in use by another process
	at org.hsqldb.Trace.getError(Unknown Source)
	at org.hsqldb.Trace.error(Unknown Source)
	at org.hsqldb.Log.open(Unknown Source)
	at org.hsqldb.Database$Logger.openLog(Unknown Source)
	at org.hsqldb.Database.open(Unknown Source)
	at org.hsqldb.Database.<init>(Unknown Source)
	at org.hsqldb.jdbcConnection.openStandalone(Unknown Source)
	at org.hsqldb.jdbcConnection.<init>(Unknown Source)
	at org.hsqldb.jdbcDriver.connect(Unknown Source)
	at java.sql.DriverManager.getConnection(DriverManager.java:512)
	at java.sql.DriverManager.getConnection(DriverManager.java:140)
	at net.sf.hibernate.connection.DriverManagerConnectionProvider.getConnection(DriverManagerConnectionProvider.java:101)
	at net.sf.hibernate.impl.BatcherImpl.openConnection(BatcherImpl.java:292)
	... 23 more


Testcase: testGetUser(org.huihoo.jfox.soaf.services.dao.UserHibernateDAOImplTest):	Caused an ERROR
null
java.lang.NullPointerException
	at org.huihoo.jfox.soaf.services.dao.UserHibernateDAOImplTest.testGetUser(UserHibernateDAOImplTest.java:93)
	at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
	at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
	at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)


Testcase: testRemoveUser(org.huihoo.jfox.soaf.services.dao.UserHibernateDAOImplTest):	Caused an ERROR
null: nested throwable: net.sf.hibernate.exception.GenericJDBCException: Cannot open connection
net.sf.hibernate.exception.GenericJDBCException: Cannot open connection
	at net.sf.hibernate.exception.ErrorCodeConverter.handledNonSpecificException(ErrorCodeConverter.java:90)
	at net.sf.hibernate.exception.ErrorCodeConverter.convert(ErrorCodeConverter.java:79)
	at net.sf.hibernate.exception.JDBCExceptionHelper.convert(JDBCExceptionHelper.java:29)
	at net.sf.hibernate.impl.BatcherImpl.convert(BatcherImpl.java:328)
	at net.sf.hibernate.impl.BatcherImpl.openConnection(BatcherImpl.java:295)
	at net.sf.hibernate.impl.SessionImpl.connect(SessionImpl.java:3373)
	at net.sf.hibernate.impl.SessionImpl.connection(SessionImpl.java:3333)
	at net.sf.hibernate.transaction.JDBCTransaction.begin(JDBCTransaction.java:40)
	at net.sf.hibernate.transaction.JDBCTransactionFactory.beginTransaction(JDBCTransactionFactory.java:19)
	at net.sf.hibernate.impl.SessionImpl.beginTransaction(SessionImpl.java:2252)
	at org.huihoo.jfox.soaf.services.persistence.HibernateServiceImpl.openSession(HibernateServiceImpl.java:81)
	at org.huihoo.jfox.soaf.services.persistence.HibernateServiceImpl.delete(HibernateServiceImpl.java:214)
	at org.huihoo.jfox.soaf.services.dao.UserHibernateDAOImpl.removeUser(UserHibernateDAOImpl.java:80)
	at org.huihoo.jfox.soaf.services.dao.UserHibernateDAOImplTest.testRemoveUser(UserHibernateDAOImplTest.java:99)
	at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
	at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
	at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
Caused by: java.sql.SQLException: The database is already in use by another process
	at org.hsqldb.Trace.getError(Unknown Source)
	at org.hsqldb.Trace.error(Unknown Source)
	at org.hsqldb.Log.open(Unknown Source)
	at org.hsqldb.Database$Logger.openLog(Unknown Source)
	at org.hsqldb.Database.open(Unknown Source)
	at org.hsqldb.Database.<init>(Unknown Source)
	at org.hsqldb.jdbcConnection.openStandalone(Unknown Source)
	at org.hsqldb.jdbcConnection.<init>(Unknown Source)
	at org.hsqldb.jdbcDriver.connect(Unknown Source)
	at java.sql.DriverManager.getConnection(DriverManager.java:512)
	at java.sql.DriverManager.getConnection(DriverManager.java:140)
	at net.sf.hibernate.connection.DriverManagerConnectionProvider.getConnection(DriverManagerConnectionProvider.java:101)
	at net.sf.hibernate.impl.BatcherImpl.openConnection(BatcherImpl.java:292)
	... 23 more


