From f47a6a41d391de43993b9f014de09eaba796f953 Mon Sep 17 00:00:00 2001 From: kohsuke Date: Sun, 17 May 2009 01:23:40 +0000 Subject: [PATCH] Further improved the JUnit report parsing. (report) git-svn-id: https://hudson.dev.java.net/svn/hudson/trunk/hudson/main@18174 71c3de6d-444a-0410-be80-ed276b4c234a --- .../java/hudson/tasks/junit/CaseResult.java | 21 +- .../hudson/tasks/junit/CaseResultTest.java | 30 ++ .../tasks/junit/junit-report-20090516.xml | 301 ++++++++++++++++++ 3 files changed, 351 insertions(+), 1 deletion(-) create mode 100644 test/src/test/resources/hudson/tasks/junit/junit-report-20090516.xml diff --git a/core/src/main/java/hudson/tasks/junit/CaseResult.java b/core/src/main/java/hudson/tasks/junit/CaseResult.java index 538a081164..6732dbcb1f 100644 --- a/core/src/main/java/hudson/tasks/junit/CaseResult.java +++ b/core/src/main/java/hudson/tasks/junit/CaseResult.java @@ -38,7 +38,14 @@ import java.text.ParseException; */ public final class CaseResult extends TestObject implements Comparable { private final float duration; + /** + * In JUnit, a test is a method of a class. This field holds the fully qualified class name + * that the test was in. + */ private final String className; + /** + * This field retains the method name. + */ private final String testName; private final boolean skipped; private final String errorStackTrace; @@ -91,8 +98,20 @@ public final class CaseResult extends TestObject implements Comparable build, Launcher launcher, BuildListener listener) throws InterruptedException, IOException { + build.getProject().getWorkspace().child("junit.xml").copyFrom( + getClass().getResource("junit-report-20090516.xml")); + return true; + } + }); + p.getPublishersList().add(new JUnitResultArchiver("*.xml")); + FreeStyleBuild b = assertBuildStatus(Result.UNSTABLE, p.scheduleBuild2(0).get()); + TestResult tr = b.getAction(TestResultAction.class).getResult(); + assertEquals(3,tr.getFailedTests().size()); + CaseResult cr = tr.getFailedTests().get(0); + assertEquals("org.twia.vendor.VendorManagerTest",cr.getClassName()); + assertEquals("testGetVendorFirmKeyForVendorRep",cr.getName()); + + } } diff --git a/test/src/test/resources/hudson/tasks/junit/junit-report-20090516.xml b/test/src/test/resources/hudson/tasks/junit/junit-report-20090516.xml new file mode 100644 index 0000000000..c3fa76bda8 --- /dev/null +++ b/test/src/test/resources/hudson/tasks/junit/junit-report-20090516.xml @@ -0,0 +1,301 @@ + + + +java.lang.NullPointerException + at org.twia.vendor.VendorManagerTest.testGetVendorFirmKeyForVendorRep(VendorManagerTest.java:104) + 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:585) + at junit.framework.TestCase.runTest(TestCase.java:166) + at org.unitils.UnitilsJUnit3.runTest(UnitilsJUnit3.java:171) + at junit.framework.TestCase.runBare(TestCase.java:140) + at org.unitils.UnitilsJUnit3.runBare(UnitilsJUnit3.java:138) + 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:131) + at org.unitils.UnitilsJUnit3.run(UnitilsJUnit3.java:101) + at junit.framework.TestSuite.runTest(TestSuite.java:173) + at junit.framework.TestSuite.run(TestSuite.java:168) + at junit.framework.TestSuite.runTest(TestSuite.java:173) + at junit.framework.TestSuite.run(TestSuite.java:168) + at junit.textui.TestRunner.doRun(TestRunner.java:74) + at org.twia.junit.CustomTestRunner.run(CustomTestRunner.java:76) + at org.twia.test.ejb.JunitCallerEJB.testSuites(JunitCallerEJB.java:136) + 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:585) + at org.jboss.invocation.Invocation.performCall(Invocation.java:359) + at org.jboss.ejb.StatelessSessionContainer$ContainerInterceptor.invoke(StatelessSessionContainer.java:237) + at org.jboss.resource.connectionmanager.CachedConnectionInterceptor.invoke(CachedConnectionInterceptor.java:158) + at org.jboss.ejb.plugins.StatelessSessionInstanceInterceptor.invoke(StatelessSessionInstanceInterceptor.java:169) + at org.jboss.ejb.plugins.CallValidationInterceptor.invoke(CallValidationInterceptor.java:63) + at org.jboss.ejb.plugins.AbstractTxInterceptor.invokeNext(AbstractTxInterceptor.java:121) + at org.jboss.ejb.plugins.TxInterceptorCMT.runWithTransactions(TxInterceptorCMT.java:315) + at org.jboss.ejb.plugins.TxInterceptorCMT.invoke(TxInterceptorCMT.java:181) + at org.jboss.ejb.plugins.SecurityInterceptor.invoke(SecurityInterceptor.java:168) + at org.jboss.ejb.plugins.LogInterceptor.invoke(LogInterceptor.java:205) + at org.jboss.ejb.plugins.ProxyFactoryFinderInterceptor.invoke(ProxyFactoryFinderInterceptor.java:138) + at org.jboss.ejb.SessionContainer.internalInvoke(SessionContainer.java:648) + at org.jboss.ejb.Container.invoke(Container.java:960) + at sun.reflect.GeneratedMethodAccessor289.invoke(Unknown Source) + at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) + at java.lang.reflect.Method.invoke(Method.java:585) + at org.jboss.mx.interceptor.ReflectedDispatcher.invoke(ReflectedDispatcher.java:155) + at org.jboss.mx.server.Invocation.dispatch(Invocation.java:94) + at org.jboss.mx.server.Invocation.invoke(Invocation.java:86) + at org.jboss.mx.server.AbstractMBeanInvoker.invoke(AbstractMBeanInvoker.java:264) + at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:659) + at org.jboss.invocation.unified.server.UnifiedInvoker.invoke(UnifiedInvoker.java:231) + at sun.reflect.GeneratedMethodAccessor288.invoke(Unknown Source) + at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) + at java.lang.reflect.Method.invoke(Method.java:585) + at org.jboss.mx.interceptor.ReflectedDispatcher.invoke(ReflectedDispatcher.java:155) + at org.jboss.mx.server.Invocation.dispatch(Invocation.java:94) + at org.jboss.mx.server.Invocation.invoke(Invocation.java:86) + at org.jboss.mx.server.AbstractMBeanInvoker.invoke(AbstractMBeanInvoker.java:264) + at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:659) + at javax.management.MBeanServerInvocationHandler.invoke(MBeanServerInvocationHandler.java:201) + at $Proxy16.invoke(Unknown Source) + at org.jboss.remoting.ServerInvoker.invoke(ServerInvoker.java:795) + at org.jboss.remoting.transport.socket.ServerThread.processInvocation(ServerThread.java:573) + at org.jboss.remoting.transport.socket.ServerThread.dorun(ServerThread.java:387) + at org.jboss.remoting.transport.socket.ServerThread.run(ServerThread.java:166) + + + +java.rmi.ServerException: RuntimeException; nested exception is: + java.lang.IllegalArgumentException: id to load is required for loading + at org.jboss.ejb.plugins.LogInterceptor.handleException(LogInterceptor.java:421) + at org.jboss.ejb.plugins.LogInterceptor.invoke(LogInterceptor.java:209) + at org.jboss.ejb.plugins.ProxyFactoryFinderInterceptor.invoke(ProxyFactoryFinderInterceptor.java:138) + at org.jboss.ejb.SessionContainer.internalInvoke(SessionContainer.java:648) + at org.jboss.ejb.Container.invoke(Container.java:960) + at sun.reflect.GeneratedMethodAccessor289.invoke(Unknown Source) + at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) + at java.lang.reflect.Method.invoke(Method.java:585) + at org.jboss.mx.interceptor.ReflectedDispatcher.invoke(ReflectedDispatcher.java:155) + at org.jboss.mx.server.Invocation.dispatch(Invocation.java:94) + at org.jboss.mx.server.Invocation.invoke(Invocation.java:86) + at org.jboss.mx.server.AbstractMBeanInvoker.invoke(AbstractMBeanInvoker.java:264) + at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:659) + at org.jboss.invocation.local.LocalInvoker$MBeanServerAction.invoke(LocalInvoker.java:169) + at org.jboss.invocation.local.LocalInvoker.invoke(LocalInvoker.java:118) + at org.jboss.invocation.InvokerInterceptor.invokeLocal(InvokerInterceptor.java:209) + at org.jboss.invocation.InvokerInterceptor.invoke(InvokerInterceptor.java:195) + at org.jboss.proxy.TransactionInterceptor.invoke(TransactionInterceptor.java:61) + at org.jboss.proxy.SecurityInterceptor.invoke(SecurityInterceptor.java:70) + at org.jboss.proxy.ejb.StatelessSessionInterceptor.invoke(StatelessSessionInterceptor.java:112) + at org.jboss.proxy.ClientContainer.invoke(ClientContainer.java:100) + at $Proxy108.assignAdjustingFirmAndLocation(Unknown Source) + at org.twia.vendor.VendorManagerTest.testGetRevokedClaimsForAdjustingFirm(VendorManagerTest.java:120) + 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:585) + at junit.framework.TestCase.runTest(TestCase.java:166) + at org.unitils.UnitilsJUnit3.runTest(UnitilsJUnit3.java:171) + at junit.framework.TestCase.runBare(TestCase.java:140) + at org.unitils.UnitilsJUnit3.runBare(UnitilsJUnit3.java:138) + 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:131) + at org.unitils.UnitilsJUnit3.run(UnitilsJUnit3.java:101) + at junit.framework.TestSuite.runTest(TestSuite.java:173) + at junit.framework.TestSuite.run(TestSuite.java:168) + at junit.framework.TestSuite.runTest(TestSuite.java:173) + at junit.framework.TestSuite.run(TestSuite.java:168) + at junit.textui.TestRunner.doRun(TestRunner.java:74) + at org.twia.junit.CustomTestRunner.run(CustomTestRunner.java:76) + at org.twia.test.ejb.JunitCallerEJB.testSuites(JunitCallerEJB.java:136) + 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:585) + at org.jboss.invocation.Invocation.performCall(Invocation.java:359) + at org.jboss.ejb.StatelessSessionContainer$ContainerInterceptor.invoke(StatelessSessionContainer.java:237) + at org.jboss.resource.connectionmanager.CachedConnectionInterceptor.invoke(CachedConnectionInterceptor.java:158) + at org.jboss.ejb.plugins.StatelessSessionInstanceInterceptor.invoke(StatelessSessionInstanceInterceptor.java:169) + at org.jboss.ejb.plugins.CallValidationInterceptor.invoke(CallValidationInterceptor.java:63) + at org.jboss.ejb.plugins.AbstractTxInterceptor.invokeNext(AbstractTxInterceptor.java:121) + at org.jboss.ejb.plugins.TxInterceptorCMT.runWithTransactions(TxInterceptorCMT.java:315) + at org.jboss.ejb.plugins.TxInterceptorCMT.invoke(TxInterceptorCMT.java:181) + at org.jboss.ejb.plugins.SecurityInterceptor.invoke(SecurityInterceptor.java:168) + at org.jboss.ejb.plugins.LogInterceptor.invoke(LogInterceptor.java:205) + at org.jboss.ejb.plugins.ProxyFactoryFinderInterceptor.invoke(ProxyFactoryFinderInterceptor.java:138) + at org.jboss.ejb.SessionContainer.internalInvoke(SessionContainer.java:648) + at org.jboss.ejb.Container.invoke(Container.java:960) + at sun.reflect.GeneratedMethodAccessor289.invoke(Unknown Source) + at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) + at java.lang.reflect.Method.invoke(Method.java:585) + at org.jboss.mx.interceptor.ReflectedDispatcher.invoke(ReflectedDispatcher.java:155) + at org.jboss.mx.server.Invocation.dispatch(Invocation.java:94) + at org.jboss.mx.server.Invocation.invoke(Invocation.java:86) + at org.jboss.mx.server.AbstractMBeanInvoker.invoke(AbstractMBeanInvoker.java:264) + at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:659) + at org.jboss.invocation.unified.server.UnifiedInvoker.invoke(UnifiedInvoker.java:231) + at sun.reflect.GeneratedMethodAccessor288.invoke(Unknown Source) + at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) + at java.lang.reflect.Method.invoke(Method.java:585) + at org.jboss.mx.interceptor.ReflectedDispatcher.invoke(ReflectedDispatcher.java:155) + at org.jboss.mx.server.Invocation.dispatch(Invocation.java:94) + at org.jboss.mx.server.Invocation.invoke(Invocation.java:86) + at org.jboss.mx.server.AbstractMBeanInvoker.invoke(AbstractMBeanInvoker.java:264) + at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:659) + at javax.management.MBeanServerInvocationHandler.invoke(MBeanServerInvocationHandler.java:201) + at $Proxy16.invoke(Unknown Source) + at org.jboss.remoting.ServerInvoker.invoke(ServerInvoker.java:795) + at org.jboss.remoting.transport.socket.ServerThread.processInvocation(ServerThread.java:573) + at org.jboss.remoting.transport.socket.ServerThread.dorun(ServerThread.java:387) + at org.jboss.remoting.transport.socket.ServerThread.run(ServerThread.java:166) +Caused by: java.lang.IllegalArgumentException: id to load is required for loading + at org.hibernate.event.LoadEvent.<init>(LoadEvent.java:51) + at org.hibernate.event.LoadEvent.<init>(LoadEvent.java:33) + at org.hibernate.impl.SessionImpl.get(SessionImpl.java:812) + at org.hibernate.impl.SessionImpl.get(SessionImpl.java:808) + at org.twia.persistence.hibernate.HibernateDAO.reloadWithVersionCheck(HibernateDAO.java:712) + at org.twia.persistence.hibernate.HibernateDAO.reloadWithVersionCheck(HibernateDAO.java:782) + at org.twia.claim.ClaimManager.assignAdjustingFirmAndLocation(ClaimManager.java:3119) + at org.twia.claim.ClaimManager.assignAdjustingFirmAndLocation(ClaimManager.java:3092) + at org.twia.claim.ClaimManagerSessionEJB.assignAdjustingFirmAndLocation(ClaimManagerSessionEJB.java:547) + 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:585) + at org.jboss.invocation.Invocation.performCall(Invocation.java:359) + at org.jboss.ejb.StatelessSessionContainer$ContainerInterceptor.invoke(StatelessSessionContainer.java:237) + at org.jboss.resource.connectionmanager.CachedConnectionInterceptor.invoke(CachedConnectionInterceptor.java:158) + at org.jboss.ejb.plugins.StatelessSessionInstanceInterceptor.invoke(StatelessSessionInstanceInterceptor.java:169) + at org.jboss.ejb.plugins.CallValidationInterceptor.invoke(CallValidationInterceptor.java:63) + at org.jboss.ejb.plugins.AbstractInterceptor.invoke(AbstractInterceptor.java:111) + at org.twia.stats.StatisticsInterceptor.invoke(StatisticsInterceptor.java:79) + at org.jboss.ejb.plugins.AbstractTxInterceptor.invokeNext(AbstractTxInterceptor.java:121) + at org.jboss.ejb.plugins.TxInterceptorCMT.runWithTransactions(TxInterceptorCMT.java:350) + at org.jboss.ejb.plugins.TxInterceptorCMT.invoke(TxInterceptorCMT.java:181) + at org.twia.security.SecurityInterceptor.invoke(SecurityInterceptor.java:105) + at org.jboss.ejb.plugins.LogInterceptor.invoke(LogInterceptor.java:205) + ... 81 more + + + + + + + + +java.rmi.ServerException: RuntimeException; nested exception is: + org.twia.dao.DAOException: [S2001] Hibernate encountered an error updating Claim [null] : + id = C0147909. Reason = The given object has a null identifier: org.twia.claim.Claim; Logon Id: tbotadauth. Claim Id: {3}. + at org.jboss.ejb.plugins.LogInterceptor.handleException(LogInterceptor.java:421) + at org.jboss.ejb.plugins.LogInterceptor.invoke(LogInterceptor.java:209) + at org.jboss.ejb.plugins.ProxyFactoryFinderInterceptor.invoke(ProxyFactoryFinderInterceptor.java:138) + at org.jboss.ejb.SessionContainer.internalInvoke(SessionContainer.java:648) + at org.jboss.ejb.Container.invoke(Container.java:960) + at sun.reflect.GeneratedMethodAccessor289.invoke(Unknown Source) + at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) + at java.lang.reflect.Method.invoke(Method.java:585) + at org.jboss.mx.interceptor.ReflectedDispatcher.invoke(ReflectedDispatcher.java:155) + at org.jboss.mx.server.Invocation.dispatch(Invocation.java:94) + at org.jboss.mx.server.Invocation.invoke(Invocation.java:86) + at org.jboss.mx.server.AbstractMBeanInvoker.invoke(AbstractMBeanInvoker.java:264) + at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:659) + at org.jboss.invocation.local.LocalInvoker$MBeanServerAction.invoke(LocalInvoker.java:169) + at org.jboss.invocation.local.LocalInvoker.invoke(LocalInvoker.java:118) + at org.jboss.invocation.InvokerInterceptor.invokeLocal(InvokerInterceptor.java:209) + at org.jboss.invocation.InvokerInterceptor.invoke(InvokerInterceptor.java:195) + at org.jboss.proxy.TransactionInterceptor.invoke(TransactionInterceptor.java:61) + at org.jboss.proxy.SecurityInterceptor.invoke(SecurityInterceptor.java:70) + at org.jboss.proxy.ejb.StatelessSessionInterceptor.invoke(StatelessSessionInterceptor.java:112) + at org.jboss.proxy.ClientContainer.invoke(ClientContainer.java:100) + at $Proxy108.updateClaim(Unknown Source) + at org.twia.vendor.VendorManagerTest.testCreateAdjustingFirm(VendorManagerTest.java:259) + 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:585) + at junit.framework.TestCase.runTest(TestCase.java:166) + at org.unitils.UnitilsJUnit3.runTest(UnitilsJUnit3.java:171) + at junit.framework.TestCase.runBare(TestCase.java:140) + at org.unitils.UnitilsJUnit3.runBare(UnitilsJUnit3.java:138) + 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:131) + at org.unitils.UnitilsJUnit3.run(UnitilsJUnit3.java:101) + at junit.framework.TestSuite.runTest(TestSuite.java:173) + at junit.framework.TestSuite.run(TestSuite.java:168) + at junit.framework.TestSuite.runTest(TestSuite.java:173) + at junit.framework.TestSuite.run(TestSuite.java:168) + at junit.textui.TestRunner.doRun(TestRunner.java:74) + at org.twia.junit.CustomTestRunner.run(CustomTestRunner.java:76) + at org.twia.test.ejb.JunitCallerEJB.testSuites(JunitCallerEJB.java:136) + 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:585) + at org.jboss.invocation.Invocation.performCall(Invocation.java:359) + at org.jboss.ejb.StatelessSessionContainer$ContainerInterceptor.invoke(StatelessSessionContainer.java:237) + at org.jboss.resource.connectionmanager.CachedConnectionInterceptor.invoke(CachedConnectionInterceptor.java:158) + at org.jboss.ejb.plugins.StatelessSessionInstanceInterceptor.invoke(StatelessSessionInstanceInterceptor.java:169) + at org.jboss.ejb.plugins.CallValidationInterceptor.invoke(CallValidationInterceptor.java:63) + at org.jboss.ejb.plugins.AbstractTxInterceptor.invokeNext(AbstractTxInterceptor.java:121) + at org.jboss.ejb.plugins.TxInterceptorCMT.runWithTransactions(TxInterceptorCMT.java:315) + at org.jboss.ejb.plugins.TxInterceptorCMT.invoke(TxInterceptorCMT.java:181) + at org.jboss.ejb.plugins.SecurityInterceptor.invoke(SecurityInterceptor.java:168) + at org.jboss.ejb.plugins.LogInterceptor.invoke(LogInterceptor.java:205) + at org.jboss.ejb.plugins.ProxyFactoryFinderInterceptor.invoke(ProxyFactoryFinderInterceptor.java:138) + at org.jboss.ejb.SessionContainer.internalInvoke(SessionContainer.java:648) + at org.jboss.ejb.Container.invoke(Container.java:960) + at sun.reflect.GeneratedMethodAccessor289.invoke(Unknown Source) + at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) + at java.lang.reflect.Method.invoke(Method.java:585) + at org.jboss.mx.interceptor.ReflectedDispatcher.invoke(ReflectedDispatcher.java:155) + at org.jboss.mx.server.Invocation.dispatch(Invocation.java:94) + at org.jboss.mx.server.Invocation.invoke(Invocation.java:86) + at org.jboss.mx.server.AbstractMBeanInvoker.invoke(AbstractMBeanInvoker.java:264) + at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:659) + at org.jboss.invocation.unified.server.UnifiedInvoker.invoke(UnifiedInvoker.java:231) + at sun.reflect.GeneratedMethodAccessor288.invoke(Unknown Source) + at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) + at java.lang.reflect.Method.invoke(Method.java:585) + at org.jboss.mx.interceptor.ReflectedDispatcher.invoke(ReflectedDispatcher.java:155) + at org.jboss.mx.server.Invocation.dispatch(Invocation.java:94) + at org.jboss.mx.server.Invocation.invoke(Invocation.java:86) + at org.jboss.mx.server.AbstractMBeanInvoker.invoke(AbstractMBeanInvoker.java:264) + at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:659) + at javax.management.MBeanServerInvocationHandler.invoke(MBeanServerInvocationHandler.java:201) + at $Proxy16.invoke(Unknown Source) + at org.jboss.remoting.ServerInvoker.invoke(ServerInvoker.java:795) + at org.jboss.remoting.transport.socket.ServerThread.processInvocation(ServerThread.java:573) + at org.jboss.remoting.transport.socket.ServerThread.dorun(ServerThread.java:387) + at org.jboss.remoting.transport.socket.ServerThread.run(ServerThread.java:166) +Caused by: org.twia.dao.DAOException: [S2001] Hibernate encountered an error updating Claim [null] : + id = C0147909. Reason = The given object has a null identifier: org.twia.claim.Claim; Logon Id: tbotadauth. Claim Id: {3}. + at org.twia.persistence.hibernate.HibernateDAO.handleHibernateException(HibernateDAO.java:274) + at org.twia.persistence.hibernate.HibernateDAO.handleHibernateException(HibernateDAO.java:242) + at org.twia.persistence.hibernate.HibernateDAO.update(HibernateDAO.java:443) + at org.twia.claim.ClaimManager.updateClaim(ClaimManager.java:4475) + at org.twia.claim.ClaimManagerSessionEJB.updateClaim(ClaimManagerSessionEJB.java:68) + 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:585) + at org.jboss.invocation.Invocation.performCall(Invocation.java:359) + at org.jboss.ejb.StatelessSessionContainer$ContainerInterceptor.invoke(StatelessSessionContainer.java:237) + at org.jboss.resource.connectionmanager.CachedConnectionInterceptor.invoke(CachedConnectionInterceptor.java:158) + at org.jboss.ejb.plugins.StatelessSessionInstanceInterceptor.invoke(StatelessSessionInstanceInterceptor.java:169) + at org.jboss.ejb.plugins.CallValidationInterceptor.invoke(CallValidationInterceptor.java:63) + at org.jboss.ejb.plugins.AbstractInterceptor.invoke(AbstractInterceptor.java:111) + at org.twia.stats.StatisticsInterceptor.invoke(StatisticsInterceptor.java:79) + at org.jboss.ejb.plugins.AbstractTxInterceptor.invokeNext(AbstractTxInterceptor.java:121) + at org.jboss.ejb.plugins.TxInterceptorCMT.runWithTransactions(TxInterceptorCMT.java:350) + at org.jboss.ejb.plugins.TxInterceptorCMT.invoke(TxInterceptorCMT.java:181) + at org.twia.security.SecurityInterceptor.invoke(SecurityInterceptor.java:105) + at org.jboss.ejb.plugins.LogInterceptor.invoke(LogInterceptor.java:205) + ... 81 more + + + \ No newline at end of file -- GitLab