ERROR 2009-10-07 19:40:00,024 [org.springframework.batch.core.job.AbstractJob] - Encountered fatal error executing job
java.lang.IllegalArgumentException: JobExecution must already be saved
at org.springframework.util.Assert.notNull(Assert.jav a:112)
at org.springframework.batch.core.repository.dao.MapJ obExecutionDao.updateJobExecution(MapJobExecutionD ao.java:89)
at org.springframework.batch.core.repository.support. SimpleJobRepository.update(SimpleJobRepository.jav a:151)
at sun.reflect.GeneratedMethodAccessor41.invoke(Unkno wn Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(Un known Source)
at java.lang.reflect.Method.invoke(Unknown Source)
at org.springframework.aop.support.AopUtils.invokeJoi npointUsingReflection(AopUtils.java:307)
at org.springframework.aop.framework.ReflectiveMethod Invocation.invokeJoinpoint(ReflectiveMethodInvocat ion.java:182)
at org.springframework.aop.framework.ReflectiveMethod Invocation.proceed(ReflectiveMethodInvocation.java :149)
at org.springframework.transaction.interceptor.Transa ctionInterceptor.invoke(TransactionInterceptor.jav a:106)
at org.springframework.aop.framework.ReflectiveMethod Invocation.proceed(ReflectiveMethodInvocation.java :171)
at org.springframework.aop.framework.JdkDynamicAopPro xy.invoke(JdkDynamicAopProxy.java:204)
at $Proxy27.update(Unknown Source)
at org.springframework.batch.core.job.AbstractJob.upd ateStatus(AbstractJob.java:423)
at org.springframework.batch.core.job.AbstractJob.exe cute(AbstractJob.java:245)
at org.springframework.batch.core.launch.support.Simp leJobLauncher$1.run(SimpleJobLauncher.java:110)
at java.util.concurrent.ThreadPoolExecutor$Worker.run Task(Unknown Source)
at java.util.concurrent.ThreadPoolExecutor$Worker.run (Unknown Source)
at java.lang.Thread.run(Unknown Source)
java.lang.IllegalArgumentException: JobExecution must already be saved
at org.springframework.util.Assert.notNull(Assert.jav a:112)
at org.springframework.batch.core.repository.dao.MapJ obExecutionDao.updateJobExecution(MapJobExecutionD ao.java:89)
at org.springframework.batch.core.repository.support. SimpleJobRepository.update(SimpleJobRepository.jav a:151)
at sun.reflect.GeneratedMethodAccessor41.invoke(Unkno wn Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(Un known Source)
at java.lang.reflect.Method.invoke(Unknown Source)
at org.springframework.aop.support.AopUtils.invokeJoi npointUsingReflection(AopUtils.java:307)
at org.springframework.aop.framework.ReflectiveMethod Invocation.invokeJoinpoint(ReflectiveMethodInvocat ion.java:182)
at org.springframework.aop.framework.ReflectiveMethod Invocation.proceed(ReflectiveMethodInvocation.java :149)
at org.springframework.transaction.interceptor.Transa ctionInterceptor.invoke(TransactionInterceptor.jav a:106)
at org.springframework.aop.framework.ReflectiveMethod Invocation.proceed(ReflectiveMethodInvocation.java :171)
at org.springframework.aop.framework.JdkDynamicAopPro xy.invoke(JdkDynamicAopProxy.java:204)
at $Proxy27.update(Unknown Source)
at org.springframework.batch.core.job.AbstractJob.exe cute(AbstractJob.java:295)
at org.springframework.batch.core.launch.support.Simp leJobLauncher$1.run(SimpleJobLauncher.java:110)
at java.util.concurrent.ThreadPoolExecutor$Worker.run Task(Unknown Source)
at java.util.concurrent.ThreadPoolExecutor$Worker.run (Unknown Source)
at java.lang.Thread.run(Unknown Source)
Exception in thread "pool-1-thread-3" java.lang.IllegalArgumentException: JobExecution must already be saved
at org.springframework.util.Assert.notNull(Assert.jav a:112)
at org.springframework.batch.core.repository.dao.MapJ obExecutionDao.updateJobExecution(MapJobExecutionD ao.java:89)
at org.springframework.batch.core.repository.support. SimpleJobRepository.update(SimpleJobRepository.jav a:151)
at sun.reflect.GeneratedMethodAccessor41.invoke(Unkno wn Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(Un known Source)
at java.lang.reflect.Method.invoke(Unknown Source)
at org.springframework.aop.support.AopUtils.invokeJoi npointUsingReflection(AopUtils.java:307)
at org.springframework.aop.framework.ReflectiveMethod Invocation.invokeJoinpoint(ReflectiveMethodInvocat ion.java:182)
at org.springframework.aop.framework.ReflectiveMethod Invocation.proceed(ReflectiveMethodInvocation.java :149)
at org.springframework.transaction.interceptor.Transa ctionInterceptor.invoke(TransactionInterceptor.jav a:106)
at org.springframework.aop.framework.ReflectiveMethod Invocation.proceed(ReflectiveMethodInvocation.java :171)
at org.springframework.aop.framework.JdkDynamicAopPro xy.invoke(JdkDynamicAopProxy.java:204)
at $Proxy27.update(Unknown Source)
at org.springframework.batch.core.job.AbstractJob.exe cute(AbstractJob.java:295)
at org.springframework.batch.core.launch.support.Simp leJobLauncher$1.run(SimpleJobLauncher.java:110)
at java.util.concurrent.ThreadPoolExecutor$Worker.run Task(Unknown Source)INFO 2009-10-07 19:40:00,070 [org.springframework.batch.core.job.AbstractJob] - Executing step: [TaskletStep: [name=mt_jpaPagingReaderToFile]]
at java.util.concurrent.ThreadPoolExecutor$Worker.run (Unknown Source)
at java.lang.Thread.run(Unknown Source)