See <http://ci.chorem.org/jenkins/job/lima-ci/13/changes> Changes: [dcosse] refs #669 retrait du bouton de genération du rapport de TVA (le code est toujours présent) [dcosse] fixes# #966 suppression de code mort ------------------------------------------ [...truncated 1604 lines...] at org.hibernate.loader.Loader.list(Loader.java:2271) at org.hibernate.loader.hql.QueryLoader.list(QueryLoader.java:459) at org.hibernate.hql.ast.QueryTranslatorImpl.list(QueryTranslatorImpl.java:365) at org.hibernate.engine.query.HQLQueryPlan.performList(HQLQueryPlan.java:196) at org.hibernate.impl.SessionImpl.list(SessionImpl.java:1268) at org.hibernate.impl.QueryImpl.list(QueryImpl.java:102) at org.nuiton.topia.framework.TopiaContextImpl.findAll(TopiaContextImpl.java:1012) at org.nuiton.topia.framework.TopiaQuery.execute(TopiaQuery.java:1389) at org.nuiton.topia.framework.TopiaQuery.executeToEntityList(TopiaQuery.java:1409) at org.nuiton.topia.persistence.TopiaDAOImpl.findAllByQuery(TopiaDAOImpl.java:481) at org.nuiton.topia.persistence.TopiaDAOImpl.findAll(TopiaDAOImpl.java:442) at org.chorem.lima.business.ejb.EntryBookServiceImpl.getAllEntryBooks(EntryBookServiceImpl.java:114) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) at java.lang.reflect.Method.invoke(Method.java:606) at org.apache.openejb.core.interceptor.ReflectionInvocationContext$Invocation.invoke(ReflectionInvocationContext.java:181) at org.apache.openejb.core.interceptor.ReflectionInvocationContext.proceed(ReflectionInvocationContext.java:163) at org.chorem.lima.business.LimaInterceptor.invoke(LimaInterceptor.java:99) at sun.reflect.GeneratedMethodAccessor23.invoke(Unknown Source) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) at java.lang.reflect.Method.invoke(Method.java:606) at org.apache.openejb.core.interceptor.ReflectionInvocationContext$Invocation.invoke(ReflectionInvocationContext.java:181) at org.apache.openejb.core.interceptor.ReflectionInvocationContext.proceed(ReflectionInvocationContext.java:163) at org.apache.openejb.cdi.CdiInterceptor.invoke(CdiInterceptor.java:126) at org.apache.openejb.cdi.CdiInterceptor.access$000(CdiInterceptor.java:42) at org.apache.openejb.cdi.CdiInterceptor$1.call(CdiInterceptor.java:63) at org.apache.openejb.cdi.CdiInterceptor.aroundInvoke(CdiInterceptor.java:69) at sun.reflect.GeneratedMethodAccessor22.invoke(Unknown Source) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) at java.lang.reflect.Method.invoke(Method.java:606) at org.apache.openejb.core.interceptor.ReflectionInvocationContext$Invocation.invoke(ReflectionInvocationContext.java:181) at org.apache.openejb.core.interceptor.ReflectionInvocationContext.proceed(ReflectionInvocationContext.java:163) at org.apache.openejb.monitoring.StatsInterceptor.record(StatsInterceptor.java:176) at org.apache.openejb.monitoring.StatsInterceptor.invoke(StatsInterceptor.java:95) at sun.reflect.GeneratedMethodAccessor21.invoke(Unknown Source) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) at java.lang.reflect.Method.invoke(Method.java:606) at org.apache.openejb.core.interceptor.ReflectionInvocationContext$Invocation.invoke(ReflectionInvocationContext.java:181) at org.apache.openejb.core.interceptor.ReflectionInvocationContext.proceed(ReflectionInvocationContext.java:163) at org.apache.openejb.core.interceptor.InterceptorStack.invoke(InterceptorStack.java:138) at org.apache.openejb.core.stateless.StatelessContainer._invoke(StatelessContainer.java:239) at org.apache.openejb.core.stateless.StatelessContainer.invoke(StatelessContainer.java:191) at org.apache.openejb.core.ivm.EjbObjectProxyHandler.synchronizedBusinessMethod(EjbObjectProxyHandler.java:246) at org.apache.openejb.core.ivm.EjbObjectProxyHandler.businessMethod(EjbObjectProxyHandler.java:241) at org.apache.openejb.core.ivm.EjbObjectProxyHandler._invoke(EjbObjectProxyHandler.java:83) at org.apache.openejb.core.ivm.BaseEjbProxyHandler.invoke(BaseEjbProxyHandler.java:279) at com.sun.proxy.$Proxy68.getAllEntryBooks(Unknown Source) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) at java.lang.reflect.Method.invoke(Method.java:606) at org.chorem.lima.service.ServiceMonitorableHandler.invoke(ServiceMonitorableHandler.java:76) at com.sun.proxy.$Proxy69.getAllEntryBooks(Unknown Source) at org.chorem.lima.business.EntryBookServiceImplTest.deleteUsedEntryBook(EntryBookServiceImplTest.java:78) Running org.chorem.lima.business.FinancialTransactionServiceImplTest INFO - EJBContainer already initialized. Call ejbContainer.close() to allow reinitialization WARN [main] (JDBCExceptionReporter.java:233) logExceptions - SQL Error: 90007, SQLState: 90007 ERROR [main] (JDBCExceptionReporter.java:234) logExceptions - The object is already closed [90007-172] Tests run: 5, Failures: 0, Errors: 1, Skipped: 0, Time elapsed: 0.82 sec <<< FAILURE! - in org.chorem.lima.business.FinancialTransactionServiceImplTest testGetUnbalancedTransactionNotAllGood(org.chorem.lima.business.FinancialTransactionServiceImplTest) Time elapsed: 0.032 sec <<< ERROR! org.hibernate.exception.GenericJDBCException: Cannot open connection at org.h2.message.DbException.getJdbcSQLException(DbException.java:329) at org.h2.message.DbException.get(DbException.java:169) at org.h2.message.DbException.get(DbException.java:146) at org.h2.message.DbException.get(DbException.java:135) at org.h2.jdbc.JdbcConnection.checkClosed(JdbcConnection.java:1410) at org.h2.jdbc.JdbcConnection.checkClosed(JdbcConnection.java:1388) at org.h2.jdbc.JdbcConnection.getAutoCommit(JdbcConnection.java:428) at org.hibernate.connection.DriverManagerConnectionProvider.getConnection(DriverManagerConnectionProvider.java:127) at org.hibernate.jdbc.ConnectionManager.openConnection(ConnectionManager.java:446) at org.hibernate.jdbc.ConnectionManager.getConnection(ConnectionManager.java:167) at org.hibernate.jdbc.JDBCContext.connection(JDBCContext.java:160) at org.hibernate.transaction.JDBCTransaction.begin(JDBCTransaction.java:81) at org.hibernate.impl.SessionImpl.beginTransaction(SessionImpl.java:1473) at org.nuiton.topia.framework.TopiaContextImpl.beginTransaction(TopiaContextImpl.java:792) at org.chorem.lima.business.LimaInterceptor.invoke(LimaInterceptor.java:85) at sun.reflect.GeneratedMethodAccessor23.invoke(Unknown Source) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) at java.lang.reflect.Method.invoke(Method.java:606) at org.apache.openejb.core.interceptor.ReflectionInvocationContext$Invocation.invoke(ReflectionInvocationContext.java:181) at org.apache.openejb.core.interceptor.ReflectionInvocationContext.proceed(ReflectionInvocationContext.java:163) at org.apache.openejb.cdi.CdiInterceptor.invoke(CdiInterceptor.java:126) at org.apache.openejb.cdi.CdiInterceptor.access$000(CdiInterceptor.java:42) at org.apache.openejb.cdi.CdiInterceptor$1.call(CdiInterceptor.java:63) at org.apache.openejb.cdi.CdiInterceptor.aroundInvoke(CdiInterceptor.java:69) at sun.reflect.GeneratedMethodAccessor22.invoke(Unknown Source) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) at java.lang.reflect.Method.invoke(Method.java:606) at org.apache.openejb.core.interceptor.ReflectionInvocationContext$Invocation.invoke(ReflectionInvocationContext.java:181) at org.apache.openejb.core.interceptor.ReflectionInvocationContext.proceed(ReflectionInvocationContext.java:163) at org.apache.openejb.monitoring.StatsInterceptor.record(StatsInterceptor.java:176) at org.apache.openejb.monitoring.StatsInterceptor.invoke(StatsInterceptor.java:95) at sun.reflect.GeneratedMethodAccessor21.invoke(Unknown Source) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) at java.lang.reflect.Method.invoke(Method.java:606) at org.apache.openejb.core.interceptor.ReflectionInvocationContext$Invocation.invoke(ReflectionInvocationContext.java:181) at org.apache.openejb.core.interceptor.ReflectionInvocationContext.proceed(ReflectionInvocationContext.java:163) at org.apache.openejb.core.interceptor.InterceptorStack.invoke(InterceptorStack.java:138) at org.apache.openejb.core.stateless.StatelessContainer._invoke(StatelessContainer.java:239) at org.apache.openejb.core.stateless.StatelessContainer.invoke(StatelessContainer.java:191) at org.apache.openejb.core.ivm.EjbObjectProxyHandler.synchronizedBusinessMethod(EjbObjectProxyHandler.java:246) at org.apache.openejb.core.ivm.EjbObjectProxyHandler.businessMethod(EjbObjectProxyHandler.java:241) at org.apache.openejb.core.ivm.EjbObjectProxyHandler._invoke(EjbObjectProxyHandler.java:83) at org.apache.openejb.core.ivm.BaseEjbProxyHandler.invoke(BaseEjbProxyHandler.java:279) at com.sun.proxy.$Proxy66.createAccount(Unknown Source) at sun.reflect.GeneratedMethodAccessor24.invoke(Unknown Source) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) at java.lang.reflect.Method.invoke(Method.java:606) at org.chorem.lima.service.ServiceMonitorableHandler.invoke(ServiceMonitorableHandler.java:76) at com.sun.proxy.$Proxy67.createAccount(Unknown Source) at org.chorem.lima.business.AbstractLimaTest.initTestAccounts(AbstractLimaTest.java:225) at org.chorem.lima.business.AbstractLimaTest.initTestDatabase(AbstractLimaTest.java:209) at org.chorem.lima.business.FinancialTransactionServiceImplTest.initTest(FinancialTransactionServiceImplTest.java:57) Running org.chorem.lima.business.FiscalPeriodServiceImplTest INFO - EJBContainer already initialized. Call ejbContainer.close() to allow reinitialization Tests run: 7, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.933 sec - in org.chorem.lima.business.FiscalPeriodServiceImplTest Running org.chorem.lima.business.ImportServiceImplTest INFO - EJBContainer already initialized. Call ejbContainer.close() to allow reinitialization INFO [main] (ImportServiceImpl.java:382) importAccountsChartFromEbp - Imported form EBP : 571 accounts in 604 ms INFO [main] (ImportServiceImpl.java:433) importEntryBookFromEbp - Imported form EBP : 9 accounts in 52 ms INFO [main] (ImportServiceImpl.java:326) importEntriesFromEbp - Imported form EBP : 19 entries in 21 ms INFO [main] (ImportServiceImpl.java:382) importAccountsChartFromEbp - Imported form EBP : 571 accounts in 576 ms INFO [main] (ImportServiceImpl.java:433) importEntryBookFromEbp - Imported form EBP : 9 accounts in 48 ms INFO [main] (ImportServiceImpl.java:326) importEntriesFromEbp - Imported form EBP : 19 entries in 14 ms INFO [main] (ImportServiceImpl.java:382) importAccountsChartFromEbp - Imported form EBP : 571 accounts in 562 ms INFO [main] (ImportServiceImpl.java:433) importEntryBookFromEbp - Imported form EBP : 9 accounts in 41 ms INFO [main] (ImportServiceImpl.java:326) importEntriesFromEbp - Imported form EBP : 19 entries in 12 ms Tests run: 5, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 3.076 sec - in org.chorem.lima.business.ImportServiceImplTest Running org.chorem.lima.business.ReportServiceImplTest Tests run: 1, Failures: 0, Errors: 0, Skipped: 1, Time elapsed: 0 sec - in org.chorem.lima.business.ReportServiceImplTest Running org.chorem.lima.business.accountingrules.AccountServiceRuleFrTest INFO - EJBContainer already initialized. Call ejbContainer.close() to allow reinitialization Tests run: 13, Failures: 0, Errors: 0, Skipped: 1, Time elapsed: 1.131 sec - in org.chorem.lima.business.accountingrules.AccountServiceRuleFrTest Running org.chorem.lima.business.accountingrules.ReportServiceRuleFrTest Tests run: 1, Failures: 0, Errors: 0, Skipped: 1, Time elapsed: 0 sec - in org.chorem.lima.business.accountingrules.ReportServiceRuleFrTest Running org.chorem.lima.business.accountingrules.FiscalPeriodServiceRuleFrTest INFO - EJBContainer already initialized. Call ejbContainer.close() to allow reinitialization Tests run: 8, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.658 sec - in org.chorem.lima.business.accountingrules.FiscalPeriodServiceRuleFrTest Running org.chorem.lima.business.accountingrules.FinancialPeriodServiceRuleFrTest INFO - EJBContainer already initialized. Call ejbContainer.close() to allow reinitialization Tests run: 4, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.378 sec - in org.chorem.lima.business.accountingrules.FinancialPeriodServiceRuleFrTest Running org.chorem.lima.business.accountingrules.ImportServiceRuleFrTest INFO - EJBContainer already initialized. Call ejbContainer.close() to allow reinitialization INFO [main] (ImportServiceImpl.java:382) importAccountsChartFromEbp - Imported form EBP : 571 accounts in 445 ms INFO [main] (ImportServiceImpl.java:433) importEntryBookFromEbp - Imported form EBP : 9 accounts in 37 ms INFO [main] (ImportServiceImpl.java:326) importEntriesFromEbp - Imported form EBP : 19 entries in 12 ms INFO [main] (ImportServiceImpl.java:382) importAccountsChartFromEbp - Imported form EBP : 571 accounts in 437 ms INFO [main] (ImportServiceImpl.java:433) importEntryBookFromEbp - Imported form EBP : 9 accounts in 41 ms INFO [main] (ImportServiceImpl.java:326) importEntriesFromEbp - Imported form EBP : 19 entries in 11 ms INFO [main] (ImportServiceImpl.java:382) importAccountsChartFromEbp - Imported form EBP : 571 accounts in 452 ms INFO [main] (ImportServiceImpl.java:433) importEntryBookFromEbp - Imported form EBP : 9 accounts in 40 ms INFO [main] (ImportServiceImpl.java:326) importEntriesFromEbp - Imported form EBP : 19 entries in 10 ms Tests run: 6, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 2.3 sec - in org.chorem.lima.business.accountingrules.ImportServiceRuleFrTest Running org.chorem.lima.business.accountingrules.FinancialTransactionServiceRuleFrTest INFO - EJBContainer already initialized. Call ejbContainer.close() to allow reinitialization Tests run: 6, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.559 sec - in org.chorem.lima.business.accountingrules.FinancialTransactionServiceRuleFrTest Running org.chorem.lima.business.accountingrules.EntryBookServiceRuleFrTest INFO - EJBContainer already initialized. Call ejbContainer.close() to allow reinitialization Tests run: 4, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.345 sec - in org.chorem.lima.business.accountingrules.EntryBookServiceRuleFrTest Running org.chorem.lima.business.LimaMiscTest INFO - EJBContainer already initialized. Call ejbContainer.close() to allow reinitialization Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.056 sec - in org.chorem.lima.business.LimaMiscTest Running org.chorem.lima.business.FinancialPeriodServiceImplTest INFO - EJBContainer already initialized. Call ejbContainer.close() to allow reinitialization Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.113 sec - in org.chorem.lima.business.FinancialPeriodServiceImplTest Running org.chorem.lima.business.LetteringComparatorTest Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0 sec - in org.chorem.lima.business.LetteringComparatorTest Running org.chorem.lima.business.AccountServiceImplTest INFO - EJBContainer already initialized. Call ejbContainer.close() to allow reinitialization Tests run: 11, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.633 sec - in org.chorem.lima.business.AccountServiceImplTest Running org.chorem.lima.entity.AccountDAOTest INFO - EJBContainer already initialized. Call ejbContainer.close() to allow reinitialization Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.1 sec - in org.chorem.lima.entity.AccountDAOTest Running org.chorem.lima.entity.FinancialTransactionDAOTest INFO - EJBContainer already initialized. Call ejbContainer.close() to allow reinitialization Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.114 sec - in org.chorem.lima.entity.FinancialTransactionDAOTest Results : Tests in error: EntryBookServiceImplTest.deleteUsedEntryBook » Unexpected exception, expected... FinancialTransactionServiceImplTest.initTest:57->AbstractLimaTest.initTestDatabase:209->AbstractLimaTest.initTestAccounts:225 » GenericJDBC Tests run: 79, Failures: 0, Errors: 2, Skipped: 3 [INFO] ------------------------------------------------------------------------ [INFO] Reactor Summary: [INFO] [INFO] Lima .............................................. SUCCESS [ 2.304 s] [INFO] Lima :: callao .................................... SUCCESS [ 11.803 s] [INFO] Lima :: business API .............................. SUCCESS [ 3.296 s] [INFO] Lima :: business .................................. FAILURE [ 18.918 s] [INFO] Lima :: Swing ..................................... SKIPPED [INFO] ------------------------------------------------------------------------ [INFO] BUILD FAILURE [INFO] ------------------------------------------------------------------------ [INFO] Total time: 36.855 s [INFO] Finished at: 2014-03-14T15:35:19+01:00 [INFO] Final Memory: 53M/442M [INFO] ------------------------------------------------------------------------ [ERROR] Failed to execute goal org.apache.maven.plugins:maven-surefire-plugin:2.15:test (default-test) on project lima-business: There are test failures. [ERROR] [ERROR] Please refer to <http://ci.chorem.org/jenkins/job/lima-ci/ws/trunk/lima-business/target/surefire-reports> for the individual test results. [ERROR] -> [Help 1] org.apache.maven.lifecycle.LifecycleExecutionException: Failed to execute goal org.apache.maven.plugins:maven-surefire-plugin:2.15:test (default-test) on project lima-business: There are test failures. Please refer to <http://ci.chorem.org/jenkins/job/lima-ci/ws/trunk/lima-business/target/surefire-reports> for the individual test results. at org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:212) at org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:153) at org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:145) at org.apache.maven.lifecycle.internal.LifecycleModuleBuilder.buildProject(LifecycleModuleBuilder.java:108) at org.apache.maven.lifecycle.internal.LifecycleModuleBuilder.buildProject(LifecycleModuleBuilder.java:76) at org.apache.maven.lifecycle.internal.builder.singlethreaded.SingleThreadedBuilder.build(SingleThreadedBuilder.java:51) at org.apache.maven.lifecycle.internal.LifecycleStarter.execute(LifecycleStarter.java:116) at org.apache.maven.DefaultMaven.doExecute(DefaultMaven.java:361) at org.apache.maven.DefaultMaven.execute(DefaultMaven.java:155) at org.apache.maven.cli.MavenCli.execute(MavenCli.java:584) at org.apache.maven.cli.MavenCli.doMain(MavenCli.java:213) at org.apache.maven.cli.MavenCli.main(MavenCli.java:157) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) at java.lang.reflect.Method.invoke(Method.java:606) at org.codehaus.plexus.classworlds.launcher.Launcher.launchEnhanced(Launcher.java:289) at org.codehaus.plexus.classworlds.launcher.Launcher.launch(Launcher.java:229) at org.codehaus.plexus.classworlds.launcher.Launcher.mainWithExitCode(Launcher.java:415) at org.codehaus.plexus.classworlds.launcher.Launcher.main(Launcher.java:356) Caused by: org.apache.maven.plugin.MojoFailureException: There are test failures. Please refer to <http://ci.chorem.org/jenkins/job/lima-ci/ws/trunk/lima-business/target/surefire-reports> for the individual test results. at org.apache.maven.plugin.surefire.SurefireHelper.reportExecution(SurefireHelper.java:82) at org.apache.maven.plugin.surefire.SurefirePlugin.handleSummary(SurefirePlugin.java:169) at org.apache.maven.plugin.surefire.AbstractSurefireMojo.executeAfterPreconditionsChecked(AbstractSurefireMojo.java:777) at org.apache.maven.plugin.surefire.AbstractSurefireMojo.execute(AbstractSurefireMojo.java:645) at org.apache.maven.plugin.DefaultBuildPluginManager.executeMojo(DefaultBuildPluginManager.java:133) at org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:208) ... 19 more [ERROR] [ERROR] Re-run Maven using the -X switch to enable full debug logging. [ERROR] [ERROR] For more information about the errors and possible solutions, please read the following articles: [ERROR] [Help 1] http://cwiki.apache.org/confluence/display/MAVEN/MojoFailureException [ERROR] [ERROR] After correcting the problems, you can resume the build with the command [ERROR] mvn <goals> -rf :lima-business Build step 'Invoke top-level Maven targets' marked build as failure