org.springframework.batch.retry.ExhaustedRetryException: Retry exhausted after last attempt in recovery path, but exception is not skippable.; nested exception is org.springframework.batch.item.adapter.DynamicMethodInvocationException: java.lang.reflect.InvocationTargetException

Spring JIRA | David J. M. Karlsen | 7 years ago
  1. 0

    By wrapping exceptions inside DynamicMethodInvocationException information which is required for skip-logic gets cluttered. My stack trace: {noformat} org.springframework.batch.retry.ExhaustedRetryException: Retry exhausted after last attempt in recovery path, but exception is not skippable.; nested exception is org.springframework.batch.item.adapter.DynamicMethodInvocationException: java.lang.reflect.InvocationTargetException at org.springframework.batch.core.step.item.FaultTolerantChunkProcessor$5.recover(FaultTolerantChunkProcessor.java:358) [spring-batch-core-2.0.4.RELEASE.jar:na] at org.springframework.batch.retry.support.RetryTemplate.handleRetryExhausted(RetryTemplate.java:405) [spring-batch-infrastructure-2.0.4.RELEASE.jar:na] at org.springframework.batch.retry.support.RetryTemplate.doExecute(RetryTemplate.java:274) [spring-batch-infrastructure-2.0.4.RELEASE.jar:na] at org.springframework.batch.retry.support.RetryTemplate.execute(RetryTemplate.java:180) [spring-batch-infrastructure-2.0.4.RELEASE.jar:na] at org.springframework.batch.core.step.item.BatchRetryTemplate.execute(BatchRetryTemplate.java:213) [spring-batch-core-2.0.4.RELEASE.jar:na] at org.springframework.batch.core.step.item.FaultTolerantChunkProcessor.write(FaultTolerantChunkProcessor.java:371) [spring-batch-core-2.0.4.RELEASE.jar:na] at org.springframework.batch.core.step.item.SimpleChunkProcessor.process(SimpleChunkProcessor.java:178) [spring-batch-core-2.0.4.RELEASE.jar:na] at org.springframework.batch.core.step.item.ChunkOrientedTasklet.execute(ChunkOrientedTasklet.java:74) [spring-batch-core-2.0.4.RELEASE.jar:na] at org.springframework.batch.core.step.tasklet.TaskletStep$2.doInChunkContext(TaskletStep.java:268) [spring-batch-core-2.0.4.RELEASE.jar:na] at org.springframework.batch.core.scope.context.StepContextRepeatCallback.doInIteration(StepContextRepeatCallback.java:76) [spring-batch-core-2.0.4.RELEASE.jar:na] at org.springframework.batch.repeat.support.RepeatTemplate.getNextResult(RepeatTemplate.java:367) [spring-batch-infrastructure-2.0.4.RELEASE.jar:na] at org.springframework.batch.repeat.support.RepeatTemplate.executeInternal(RepeatTemplate.java:215) [spring-batch-infrastructure-2.0.4.RELEASE.jar:na] at org.springframework.batch.repeat.support.RepeatTemplate.iterate(RepeatTemplate.java:143) [spring-batch-infrastructure-2.0.4.RELEASE.jar:na] at org.springframework.batch.core.step.tasklet.TaskletStep.doExecute(TaskletStep.java:242) [spring-batch-core-2.0.4.RELEASE.jar:na] at org.springframework.batch.core.step.AbstractStep.execute(AbstractStep.java:198) [spring-batch-core-2.0.4.RELEASE.jar:na] at org.springframework.batch.core.job.AbstractJob.handleStep(AbstractJob.java:348) [spring-batch-core-2.0.4.RELEASE.jar:na] at org.springframework.batch.core.job.flow.FlowJob.access$100(FlowJob.java:43) [spring-batch-core-2.0.4.RELEASE.jar:na] at org.springframework.batch.core.job.flow.FlowJob$JobFlowExecutor.executeStep(FlowJob.java:135) [spring-batch-core-2.0.4.RELEASE.jar:na] at org.springframework.batch.core.job.flow.support.state.StepState.handle(StepState.java:60) [spring-batch-core-2.0.4.RELEASE.jar:na] at org.springframework.batch.core.job.flow.support.SimpleFlow.resume(SimpleFlow.java:144) [spring-batch-core-2.0.4.RELEASE.jar:na] at org.springframework.batch.core.job.flow.support.SimpleFlow.start(SimpleFlow.java:124) [spring-batch-core-2.0.4.RELEASE.jar:na] at org.springframework.batch.core.job.flow.FlowJob.doExecute(FlowJob.java:103) [spring-batch-core-2.0.4.RELEASE.jar:na] at org.springframework.batch.core.job.AbstractJob.execute(AbstractJob.java:250) [spring-batch-core-2.0.4.RELEASE.jar:na] at org.springframework.batch.core.launch.support.SimpleJobLauncher$1.run(SimpleJobLauncher.java:110) [spring-batch-core-2.0.4.RELEASE.jar:na] at org.springframework.core.task.SyncTaskExecutor.execute(SyncTaskExecutor.java:48) [spring-core-3.0.0.RELEASE.jar:3.0.0.RELEASE] at org.springframework.batch.core.launch.support.SimpleJobLauncher.run(SimpleJobLauncher.java:105) [spring-batch-core-2.0.4.RELEASE.jar:na] at com.davidkarlsen.zipcodeservice.dataload.BatchTest.testReadFile(BatchTest.java:60) [test-classes/:na] at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) [na:1.6.0_17] at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39) [na:1.6.0_17] at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) [na:1.6.0_17] at java.lang.reflect.Method.invoke(Method.java:597) [na:1.6.0_17] at org.junit.runners.model.FrameworkMethod$1.runReflectiveCall(FrameworkMethod.java:44) [junit-4.7.jar:na] at org.junit.internal.runners.model.ReflectiveCallable.run(ReflectiveCallable.java:15) [junit-4.7.jar:na] at org.junit.runners.model.FrameworkMethod.invokeExplosively(FrameworkMethod.java:41) [junit-4.7.jar:na] at org.junit.internal.runners.statements.InvokeMethod.evaluate(InvokeMethod.java:20) [junit-4.7.jar:na] at org.springframework.test.context.junit4.statements.RunBeforeTestMethodCallbacks.evaluate(RunBeforeTestMethodCallbacks.java:74) [spring-test-3.0.0.RELEASE.jar:3.0.0.RELEASE] at org.springframework.test.context.junit4.statements.RunAfterTestMethodCallbacks.evaluate(RunAfterTestMethodCallbacks.java:82) [spring-test-3.0.0.RELEASE.jar:3.0.0.RELEASE] at org.springframework.test.context.junit4.statements.SpringRepeat.evaluate(SpringRepeat.java:72) [spring-test-3.0.0.RELEASE.jar:3.0.0.RELEASE] at org.springframework.test.context.junit4.SpringJUnit4ClassRunner.runChild(SpringJUnit4ClassRunner.java:240) [spring-test-3.0.0.RELEASE.jar:3.0.0.RELEASE] at org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:50) [junit-4.7.jar:na] at org.junit.runners.ParentRunner$3.run(ParentRunner.java:193) [junit-4.7.jar:na] at org.junit.runners.ParentRunner$1.schedule(ParentRunner.java:52) [junit-4.7.jar:na] at org.junit.runners.ParentRunner.runChildren(ParentRunner.java:191) [junit-4.7.jar:na] at org.junit.runners.ParentRunner.access$000(ParentRunner.java:42) [junit-4.7.jar:na] at org.junit.runners.ParentRunner$2.evaluate(ParentRunner.java:184) [junit-4.7.jar:na] at org.springframework.test.context.junit4.statements.RunBeforeTestClassCallbacks.evaluate(RunBeforeTestClassCallbacks.java:61) [spring-test-3.0.0.RELEASE.jar:3.0.0.RELEASE] at org.springframework.test.context.junit4.statements.RunAfterTestClassCallbacks.evaluate(RunAfterTestClassCallbacks.java:70) [spring-test-3.0.0.RELEASE.jar:3.0.0.RELEASE] at org.junit.runners.ParentRunner.run(ParentRunner.java:236) [junit-4.7.jar:na] at org.springframework.test.context.junit4.SpringJUnit4ClassRunner.run(SpringJUnit4ClassRunner.java:180) [spring-test-3.0.0.RELEASE.jar:3.0.0.RELEASE] at org.apache.maven.surefire.junit4.JUnit4TestSet.execute(JUnit4TestSet.java:62) [surefire-junit4-2.4.3.jar:2.4.3] at org.apache.maven.surefire.suite.AbstractDirectoryTestSuite.executeTestSet(AbstractDirectoryTestSuite.java:140) [surefire-api-2.4.3.jar:2.4.3] at org.apache.maven.surefire.suite.AbstractDirectoryTestSuite.execute(AbstractDirectoryTestSuite.java:127) [surefire-api-2.4.3.jar:2.4.3] at org.apache.maven.surefire.Surefire.run(Surefire.java:177) [surefire-api-2.4.3.jar:2.4.3] at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) [na:1.6.0_17] at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39) [na:1.6.0_17] at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) [na:1.6.0_17] at java.lang.reflect.Method.invoke(Method.java:597) [na:1.6.0_17] at org.apache.maven.surefire.booter.SurefireBooter.runSuitesInProcess(SurefireBooter.java:345) [surefire-booter-2.4.3.jar:2.4.3] at org.apache.maven.surefire.booter.SurefireBooter.main(SurefireBooter.java:1009) [surefire-booter-2.4.3.jar:2.4.3] Caused by: org.springframework.batch.item.adapter.DynamicMethodInvocationException: java.lang.reflect.InvocationTargetException at org.springframework.batch.item.adapter.AbstractMethodInvokingDelegator.doInvoke(AbstractMethodInvokingDelegator.java:115) [spring-batch-infrastructure-2.0.4.RELEASE.jar:na] at org.springframework.batch.item.adapter.AbstractMethodInvokingDelegator.invokeDelegateMethodWithArgument(AbstractMethodInvokingDelegator.java:67) [spring-batch-infrastructure-2.0.4.RELEASE.jar:na] at org.springframework.batch.item.adapter.ItemWriterAdapter.write(ItemWriterAdapter.java:36) [spring-batch-infrastructure-2.0.4.RELEASE.jar:na] at org.springframework.batch.core.step.item.SimpleChunkProcessor.writeItems(SimpleChunkProcessor.java:156) [spring-batch-core-2.0.4.RELEASE.jar:na] at org.springframework.batch.core.step.item.SimpleChunkProcessor.doWrite(SimpleChunkProcessor.java:137) [spring-batch-core-2.0.4.RELEASE.jar:na] at org.springframework.batch.core.step.item.FaultTolerantChunkProcessor$3.doWithRetry(FaultTolerantChunkProcessor.java:284) [spring-batch-core-2.0.4.RELEASE.jar:na] at org.springframework.batch.retry.support.RetryTemplate.doExecute(RetryTemplate.java:231) [spring-batch-infrastructure-2.0.4.RELEASE.jar:na] ... 56 common frames omitted Caused by: java.lang.reflect.InvocationTargetException: null at sun.reflect.GeneratedMethodAccessor7.invoke(Unknown Source) [na:na] at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) [na:1.6.0_17] at java.lang.reflect.Method.invoke(Method.java:597) [na:1.6.0_17] at org.springframework.util.MethodInvoker.invoke(MethodInvoker.java:273) [spring-core-3.0.0.RELEASE.jar:3.0.0.RELEASE] at org.springframework.batch.item.adapter.AbstractMethodInvokingDelegator.doInvoke(AbstractMethodInvokingDelegator.java:112) [spring-batch-infrastructure-2.0.4.RELEASE.jar:na] ... 62 common frames omitted Caused by: org.springframework.dao.DataIntegrityViolationException: could not insert: [com.davidkarlsen.zipcodeservice.domain.types.ZipCode]; SQL [insert into zip_code (id, addressType_name, city, county_countyId, name, zipCode) values (null, ?, ?, ?, ?, ?)]; constraint [null]; nested exception is org.hibernate.exception.ConstraintViolationException: could not insert: [com.davidkarlsen.zipcodeservice.domain.types.ZipCode] at org.springframework.orm.hibernate3.SessionFactoryUtils.convertHibernateAccessException(SessionFactoryUtils.java:637) [spring-orm-3.0.0.RELEASE.jar:3.0.0.RELEASE] at org.springframework.orm.jpa.vendor.HibernateJpaDialect.translateExceptionIfPossible(HibernateJpaDialect.java:101) [spring-orm-3.0.0.RELEASE.jar:3.0.0.RELEASE] at org.springframework.dao.support.DataAccessUtils.translateIfNecessary(DataAccessUtils.java:213) [spring-tx-3.0.0.RELEASE.jar:3.0.0.RELEASE] at org.springframework.orm.jpa.JpaAccessor.translateIfNecessary(JpaAccessor.java:152) [spring-orm-3.0.0.RELEASE.jar:3.0.0.RELEASE] at org.springframework.orm.jpa.JpaTemplate.execute(JpaTemplate.java:188) [spring-orm-3.0.0.RELEASE.jar:3.0.0.RELEASE] at org.springframework.orm.jpa.JpaTemplate.merge(JpaTemplate.java:271) [spring-orm-3.0.0.RELEASE.jar:3.0.0.RELEASE] at com.davidkarlsen.zipcodeservice.dao.ZipCodeDaoImpl.merge(ZipCodeDaoImpl.java:31) [classes/:na] ... 67 common frames omitted Caused by: org.hibernate.exception.ConstraintViolationException: could not insert: [com.davidkarlsen.zipcodeservice.domain.types.ZipCode] at org.hibernate.exception.SQLStateConverter.convert(SQLStateConverter.java:94) [hibernate-core-3.3.2.GA.jar:3.3.2.GA] at org.hibernate.exception.JDBCExceptionHelper.convert(JDBCExceptionHelper.java:66) [hibernate-core-3.3.2.GA.jar:3.3.2.GA] at org.hibernate.id.insert.AbstractSelectingDelegate.performInsert(AbstractSelectingDelegate.java:64) [hibernate-core-3.3.2.GA.jar:3.3.2.GA] at org.hibernate.persister.entity.AbstractEntityPersister.insert(AbstractEntityPersister.java:2176) [hibernate-core-3.3.2.GA.jar:3.3.2.GA] at org.hibernate.persister.entity.AbstractEntityPersister.insert(AbstractEntityPersister.java:2656) [hibernate-core-3.3.2.GA.jar:3.3.2.GA] at org.hibernate.action.EntityIdentityInsertAction.execute(EntityIdentityInsertAction.java:71) [hibernate-core-3.3.2.GA.jar:3.3.2.GA] at org.hibernate.engine.ActionQueue.execute(ActionQueue.java:279) [hibernate-core-3.3.2.GA.jar:3.3.2.GA] at org.hibernate.event.def.AbstractSaveEventListener.performSaveOrReplicate(AbstractSaveEventListener.java:321) [hibernate-core-3.3.2.GA.jar:3.3.2.GA] at org.hibernate.event.def.AbstractSaveEventListener.performSave(AbstractSaveEventListener.java:204) [hibernate-core-3.3.2.GA.jar:3.3.2.GA] at org.hibernate.event.def.AbstractSaveEventListener.saveWithGeneratedId(AbstractSaveEventListener.java:130) [hibernate-core-3.3.2.GA.jar:3.3.2.GA] at org.hibernate.ejb.event.EJB3MergeEventListener.saveWithGeneratedId(EJB3MergeEventListener.java:43) [hibernate-entitymanager-3.4.0.GA.jar:3.4.0.GA] at org.hibernate.event.def.DefaultMergeEventListener.mergeTransientEntity(DefaultMergeEventListener.java:314) [hibernate-core-3.3.2.GA.jar:3.3.2.GA] at org.hibernate.event.def.DefaultMergeEventListener.entityIsTransient(DefaultMergeEventListener.java:282) [hibernate-core-3.3.2.GA.jar:3.3.2.GA] at org.hibernate.event.def.DefaultMergeEventListener.onMerge(DefaultMergeEventListener.java:237) [hibernate-core-3.3.2.GA.jar:3.3.2.GA] at org.hibernate.event.def.DefaultMergeEventListener.onMerge(DefaultMergeEventListener.java:84) [hibernate-core-3.3.2.GA.jar:3.3.2.GA] at org.hibernate.impl.SessionImpl.fireMerge(SessionImpl.java:705) [hibernate-core-3.3.2.GA.jar:3.3.2.GA] at org.hibernate.impl.SessionImpl.merge(SessionImpl.java:689) [hibernate-core-3.3.2.GA.jar:3.3.2.GA] at org.hibernate.impl.SessionImpl.merge(SessionImpl.java:693) [hibernate-core-3.3.2.GA.jar:3.3.2.GA] at org.hibernate.ejb.AbstractEntityManagerImpl.merge(AbstractEntityManagerImpl.java:235) [hibernate-entitymanager-3.4.0.GA.jar:3.4.0.GA] at org.springframework.orm.jpa.JpaTemplate$6.doInJpa(JpaTemplate.java:273) [spring-orm-3.0.0.RELEASE.jar:3.0.0.RELEASE] at org.springframework.orm.jpa.JpaTemplate.execute(JpaTemplate.java:183) [spring-orm-3.0.0.RELEASE.jar:3.0.0.RELEASE] ... 69 common frames omitted Caused by: java.sql.SQLException: Violation of unique constraint SYS_CT_52: duplicate value(s) for column(s) ZIPCODE,CITY,NAME,ADDRESSTYPE_NAME,COUNTY_COUNTYID in statement [insert into zip_code (id, addressType_name, city, county_countyId, name, zipCode) values (null, ?, ?, ?, ?, ?)] at org.hsqldb.jdbc.Util.throwError(Unknown Source) [hsqldb-1.8.0.10.jar:private-2008/06/01-10:22:29] at org.hsqldb.jdbc.jdbcPreparedStatement.executeUpdate(Unknown Source) [hsqldb-1.8.0.10.jar:private-2008/06/01-10:22:29] at org.hibernate.id.insert.AbstractSelectingDelegate.performInsert(AbstractSelectingDelegate.java:57) [hibernate-core-3.3.2.GA.jar:3.3.2.GA] ... 87 common frames omitted {noformat}

    Spring JIRA | 7 years ago | David J. M. Karlsen
    org.springframework.batch.retry.ExhaustedRetryException: Retry exhausted after last attempt in recovery path, but exception is not skippable.; nested exception is org.springframework.batch.item.adapter.DynamicMethodInvocationException: java.lang.reflect.InvocationTargetException
  2. 0

    By wrapping exceptions inside DynamicMethodInvocationException information which is required for skip-logic gets cluttered. My stack trace: {noformat} org.springframework.batch.retry.ExhaustedRetryException: Retry exhausted after last attempt in recovery path, but exception is not skippable.; nested exception is org.springframework.batch.item.adapter.DynamicMethodInvocationException: java.lang.reflect.InvocationTargetException at org.springframework.batch.core.step.item.FaultTolerantChunkProcessor$5.recover(FaultTolerantChunkProcessor.java:358) [spring-batch-core-2.0.4.RELEASE.jar:na] at org.springframework.batch.retry.support.RetryTemplate.handleRetryExhausted(RetryTemplate.java:405) [spring-batch-infrastructure-2.0.4.RELEASE.jar:na] at org.springframework.batch.retry.support.RetryTemplate.doExecute(RetryTemplate.java:274) [spring-batch-infrastructure-2.0.4.RELEASE.jar:na] at org.springframework.batch.retry.support.RetryTemplate.execute(RetryTemplate.java:180) [spring-batch-infrastructure-2.0.4.RELEASE.jar:na] at org.springframework.batch.core.step.item.BatchRetryTemplate.execute(BatchRetryTemplate.java:213) [spring-batch-core-2.0.4.RELEASE.jar:na] at org.springframework.batch.core.step.item.FaultTolerantChunkProcessor.write(FaultTolerantChunkProcessor.java:371) [spring-batch-core-2.0.4.RELEASE.jar:na] at org.springframework.batch.core.step.item.SimpleChunkProcessor.process(SimpleChunkProcessor.java:178) [spring-batch-core-2.0.4.RELEASE.jar:na] at org.springframework.batch.core.step.item.ChunkOrientedTasklet.execute(ChunkOrientedTasklet.java:74) [spring-batch-core-2.0.4.RELEASE.jar:na] at org.springframework.batch.core.step.tasklet.TaskletStep$2.doInChunkContext(TaskletStep.java:268) [spring-batch-core-2.0.4.RELEASE.jar:na] at org.springframework.batch.core.scope.context.StepContextRepeatCallback.doInIteration(StepContextRepeatCallback.java:76) [spring-batch-core-2.0.4.RELEASE.jar:na] at org.springframework.batch.repeat.support.RepeatTemplate.getNextResult(RepeatTemplate.java:367) [spring-batch-infrastructure-2.0.4.RELEASE.jar:na] at org.springframework.batch.repeat.support.RepeatTemplate.executeInternal(RepeatTemplate.java:215) [spring-batch-infrastructure-2.0.4.RELEASE.jar:na] at org.springframework.batch.repeat.support.RepeatTemplate.iterate(RepeatTemplate.java:143) [spring-batch-infrastructure-2.0.4.RELEASE.jar:na] at org.springframework.batch.core.step.tasklet.TaskletStep.doExecute(TaskletStep.java:242) [spring-batch-core-2.0.4.RELEASE.jar:na] at org.springframework.batch.core.step.AbstractStep.execute(AbstractStep.java:198) [spring-batch-core-2.0.4.RELEASE.jar:na] at org.springframework.batch.core.job.AbstractJob.handleStep(AbstractJob.java:348) [spring-batch-core-2.0.4.RELEASE.jar:na] at org.springframework.batch.core.job.flow.FlowJob.access$100(FlowJob.java:43) [spring-batch-core-2.0.4.RELEASE.jar:na] at org.springframework.batch.core.job.flow.FlowJob$JobFlowExecutor.executeStep(FlowJob.java:135) [spring-batch-core-2.0.4.RELEASE.jar:na] at org.springframework.batch.core.job.flow.support.state.StepState.handle(StepState.java:60) [spring-batch-core-2.0.4.RELEASE.jar:na] at org.springframework.batch.core.job.flow.support.SimpleFlow.resume(SimpleFlow.java:144) [spring-batch-core-2.0.4.RELEASE.jar:na] at org.springframework.batch.core.job.flow.support.SimpleFlow.start(SimpleFlow.java:124) [spring-batch-core-2.0.4.RELEASE.jar:na] at org.springframework.batch.core.job.flow.FlowJob.doExecute(FlowJob.java:103) [spring-batch-core-2.0.4.RELEASE.jar:na] at org.springframework.batch.core.job.AbstractJob.execute(AbstractJob.java:250) [spring-batch-core-2.0.4.RELEASE.jar:na] at org.springframework.batch.core.launch.support.SimpleJobLauncher$1.run(SimpleJobLauncher.java:110) [spring-batch-core-2.0.4.RELEASE.jar:na] at org.springframework.core.task.SyncTaskExecutor.execute(SyncTaskExecutor.java:48) [spring-core-3.0.0.RELEASE.jar:3.0.0.RELEASE] at org.springframework.batch.core.launch.support.SimpleJobLauncher.run(SimpleJobLauncher.java:105) [spring-batch-core-2.0.4.RELEASE.jar:na] at com.davidkarlsen.zipcodeservice.dataload.BatchTest.testReadFile(BatchTest.java:60) [test-classes/:na] at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) [na:1.6.0_17] at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39) [na:1.6.0_17] at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) [na:1.6.0_17] at java.lang.reflect.Method.invoke(Method.java:597) [na:1.6.0_17] at org.junit.runners.model.FrameworkMethod$1.runReflectiveCall(FrameworkMethod.java:44) [junit-4.7.jar:na] at org.junit.internal.runners.model.ReflectiveCallable.run(ReflectiveCallable.java:15) [junit-4.7.jar:na] at org.junit.runners.model.FrameworkMethod.invokeExplosively(FrameworkMethod.java:41) [junit-4.7.jar:na] at org.junit.internal.runners.statements.InvokeMethod.evaluate(InvokeMethod.java:20) [junit-4.7.jar:na] at org.springframework.test.context.junit4.statements.RunBeforeTestMethodCallbacks.evaluate(RunBeforeTestMethodCallbacks.java:74) [spring-test-3.0.0.RELEASE.jar:3.0.0.RELEASE] at org.springframework.test.context.junit4.statements.RunAfterTestMethodCallbacks.evaluate(RunAfterTestMethodCallbacks.java:82) [spring-test-3.0.0.RELEASE.jar:3.0.0.RELEASE] at org.springframework.test.context.junit4.statements.SpringRepeat.evaluate(SpringRepeat.java:72) [spring-test-3.0.0.RELEASE.jar:3.0.0.RELEASE] at org.springframework.test.context.junit4.SpringJUnit4ClassRunner.runChild(SpringJUnit4ClassRunner.java:240) [spring-test-3.0.0.RELEASE.jar:3.0.0.RELEASE] at org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:50) [junit-4.7.jar:na] at org.junit.runners.ParentRunner$3.run(ParentRunner.java:193) [junit-4.7.jar:na] at org.junit.runners.ParentRunner$1.schedule(ParentRunner.java:52) [junit-4.7.jar:na] at org.junit.runners.ParentRunner.runChildren(ParentRunner.java:191) [junit-4.7.jar:na] at org.junit.runners.ParentRunner.access$000(ParentRunner.java:42) [junit-4.7.jar:na] at org.junit.runners.ParentRunner$2.evaluate(ParentRunner.java:184) [junit-4.7.jar:na] at org.springframework.test.context.junit4.statements.RunBeforeTestClassCallbacks.evaluate(RunBeforeTestClassCallbacks.java:61) [spring-test-3.0.0.RELEASE.jar:3.0.0.RELEASE] at org.springframework.test.context.junit4.statements.RunAfterTestClassCallbacks.evaluate(RunAfterTestClassCallbacks.java:70) [spring-test-3.0.0.RELEASE.jar:3.0.0.RELEASE] at org.junit.runners.ParentRunner.run(ParentRunner.java:236) [junit-4.7.jar:na] at org.springframework.test.context.junit4.SpringJUnit4ClassRunner.run(SpringJUnit4ClassRunner.java:180) [spring-test-3.0.0.RELEASE.jar:3.0.0.RELEASE] at org.apache.maven.surefire.junit4.JUnit4TestSet.execute(JUnit4TestSet.java:62) [surefire-junit4-2.4.3.jar:2.4.3] at org.apache.maven.surefire.suite.AbstractDirectoryTestSuite.executeTestSet(AbstractDirectoryTestSuite.java:140) [surefire-api-2.4.3.jar:2.4.3] at org.apache.maven.surefire.suite.AbstractDirectoryTestSuite.execute(AbstractDirectoryTestSuite.java:127) [surefire-api-2.4.3.jar:2.4.3] at org.apache.maven.surefire.Surefire.run(Surefire.java:177) [surefire-api-2.4.3.jar:2.4.3] at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) [na:1.6.0_17] at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39) [na:1.6.0_17] at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) [na:1.6.0_17] at java.lang.reflect.Method.invoke(Method.java:597) [na:1.6.0_17] at org.apache.maven.surefire.booter.SurefireBooter.runSuitesInProcess(SurefireBooter.java:345) [surefire-booter-2.4.3.jar:2.4.3] at org.apache.maven.surefire.booter.SurefireBooter.main(SurefireBooter.java:1009) [surefire-booter-2.4.3.jar:2.4.3] Caused by: org.springframework.batch.item.adapter.DynamicMethodInvocationException: java.lang.reflect.InvocationTargetException at org.springframework.batch.item.adapter.AbstractMethodInvokingDelegator.doInvoke(AbstractMethodInvokingDelegator.java:115) [spring-batch-infrastructure-2.0.4.RELEASE.jar:na] at org.springframework.batch.item.adapter.AbstractMethodInvokingDelegator.invokeDelegateMethodWithArgument(AbstractMethodInvokingDelegator.java:67) [spring-batch-infrastructure-2.0.4.RELEASE.jar:na] at org.springframework.batch.item.adapter.ItemWriterAdapter.write(ItemWriterAdapter.java:36) [spring-batch-infrastructure-2.0.4.RELEASE.jar:na] at org.springframework.batch.core.step.item.SimpleChunkProcessor.writeItems(SimpleChunkProcessor.java:156) [spring-batch-core-2.0.4.RELEASE.jar:na] at org.springframework.batch.core.step.item.SimpleChunkProcessor.doWrite(SimpleChunkProcessor.java:137) [spring-batch-core-2.0.4.RELEASE.jar:na] at org.springframework.batch.core.step.item.FaultTolerantChunkProcessor$3.doWithRetry(FaultTolerantChunkProcessor.java:284) [spring-batch-core-2.0.4.RELEASE.jar:na] at org.springframework.batch.retry.support.RetryTemplate.doExecute(RetryTemplate.java:231) [spring-batch-infrastructure-2.0.4.RELEASE.jar:na] ... 56 common frames omitted Caused by: java.lang.reflect.InvocationTargetException: null at sun.reflect.GeneratedMethodAccessor7.invoke(Unknown Source) [na:na] at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) [na:1.6.0_17] at java.lang.reflect.Method.invoke(Method.java:597) [na:1.6.0_17] at org.springframework.util.MethodInvoker.invoke(MethodInvoker.java:273) [spring-core-3.0.0.RELEASE.jar:3.0.0.RELEASE] at org.springframework.batch.item.adapter.AbstractMethodInvokingDelegator.doInvoke(AbstractMethodInvokingDelegator.java:112) [spring-batch-infrastructure-2.0.4.RELEASE.jar:na] ... 62 common frames omitted Caused by: org.springframework.dao.DataIntegrityViolationException: could not insert: [com.davidkarlsen.zipcodeservice.domain.types.ZipCode]; SQL [insert into zip_code (id, addressType_name, city, county_countyId, name, zipCode) values (null, ?, ?, ?, ?, ?)]; constraint [null]; nested exception is org.hibernate.exception.ConstraintViolationException: could not insert: [com.davidkarlsen.zipcodeservice.domain.types.ZipCode] at org.springframework.orm.hibernate3.SessionFactoryUtils.convertHibernateAccessException(SessionFactoryUtils.java:637) [spring-orm-3.0.0.RELEASE.jar:3.0.0.RELEASE] at org.springframework.orm.jpa.vendor.HibernateJpaDialect.translateExceptionIfPossible(HibernateJpaDialect.java:101) [spring-orm-3.0.0.RELEASE.jar:3.0.0.RELEASE] at org.springframework.dao.support.DataAccessUtils.translateIfNecessary(DataAccessUtils.java:213) [spring-tx-3.0.0.RELEASE.jar:3.0.0.RELEASE] at org.springframework.orm.jpa.JpaAccessor.translateIfNecessary(JpaAccessor.java:152) [spring-orm-3.0.0.RELEASE.jar:3.0.0.RELEASE] at org.springframework.orm.jpa.JpaTemplate.execute(JpaTemplate.java:188) [spring-orm-3.0.0.RELEASE.jar:3.0.0.RELEASE] at org.springframework.orm.jpa.JpaTemplate.merge(JpaTemplate.java:271) [spring-orm-3.0.0.RELEASE.jar:3.0.0.RELEASE] at com.davidkarlsen.zipcodeservice.dao.ZipCodeDaoImpl.merge(ZipCodeDaoImpl.java:31) [classes/:na] ... 67 common frames omitted Caused by: org.hibernate.exception.ConstraintViolationException: could not insert: [com.davidkarlsen.zipcodeservice.domain.types.ZipCode] at org.hibernate.exception.SQLStateConverter.convert(SQLStateConverter.java:94) [hibernate-core-3.3.2.GA.jar:3.3.2.GA] at org.hibernate.exception.JDBCExceptionHelper.convert(JDBCExceptionHelper.java:66) [hibernate-core-3.3.2.GA.jar:3.3.2.GA] at org.hibernate.id.insert.AbstractSelectingDelegate.performInsert(AbstractSelectingDelegate.java:64) [hibernate-core-3.3.2.GA.jar:3.3.2.GA] at org.hibernate.persister.entity.AbstractEntityPersister.insert(AbstractEntityPersister.java:2176) [hibernate-core-3.3.2.GA.jar:3.3.2.GA] at org.hibernate.persister.entity.AbstractEntityPersister.insert(AbstractEntityPersister.java:2656) [hibernate-core-3.3.2.GA.jar:3.3.2.GA] at org.hibernate.action.EntityIdentityInsertAction.execute(EntityIdentityInsertAction.java:71) [hibernate-core-3.3.2.GA.jar:3.3.2.GA] at org.hibernate.engine.ActionQueue.execute(ActionQueue.java:279) [hibernate-core-3.3.2.GA.jar:3.3.2.GA] at org.hibernate.event.def.AbstractSaveEventListener.performSaveOrReplicate(AbstractSaveEventListener.java:321) [hibernate-core-3.3.2.GA.jar:3.3.2.GA] at org.hibernate.event.def.AbstractSaveEventListener.performSave(AbstractSaveEventListener.java:204) [hibernate-core-3.3.2.GA.jar:3.3.2.GA] at org.hibernate.event.def.AbstractSaveEventListener.saveWithGeneratedId(AbstractSaveEventListener.java:130) [hibernate-core-3.3.2.GA.jar:3.3.2.GA] at org.hibernate.ejb.event.EJB3MergeEventListener.saveWithGeneratedId(EJB3MergeEventListener.java:43) [hibernate-entitymanager-3.4.0.GA.jar:3.4.0.GA] at org.hibernate.event.def.DefaultMergeEventListener.mergeTransientEntity(DefaultMergeEventListener.java:314) [hibernate-core-3.3.2.GA.jar:3.3.2.GA] at org.hibernate.event.def.DefaultMergeEventListener.entityIsTransient(DefaultMergeEventListener.java:282) [hibernate-core-3.3.2.GA.jar:3.3.2.GA] at org.hibernate.event.def.DefaultMergeEventListener.onMerge(DefaultMergeEventListener.java:237) [hibernate-core-3.3.2.GA.jar:3.3.2.GA] at org.hibernate.event.def.DefaultMergeEventListener.onMerge(DefaultMergeEventListener.java:84) [hibernate-core-3.3.2.GA.jar:3.3.2.GA] at org.hibernate.impl.SessionImpl.fireMerge(SessionImpl.java:705) [hibernate-core-3.3.2.GA.jar:3.3.2.GA] at org.hibernate.impl.SessionImpl.merge(SessionImpl.java:689) [hibernate-core-3.3.2.GA.jar:3.3.2.GA] at org.hibernate.impl.SessionImpl.merge(SessionImpl.java:693) [hibernate-core-3.3.2.GA.jar:3.3.2.GA] at org.hibernate.ejb.AbstractEntityManagerImpl.merge(AbstractEntityManagerImpl.java:235) [hibernate-entitymanager-3.4.0.GA.jar:3.4.0.GA] at org.springframework.orm.jpa.JpaTemplate$6.doInJpa(JpaTemplate.java:273) [spring-orm-3.0.0.RELEASE.jar:3.0.0.RELEASE] at org.springframework.orm.jpa.JpaTemplate.execute(JpaTemplate.java:183) [spring-orm-3.0.0.RELEASE.jar:3.0.0.RELEASE] ... 69 common frames omitted Caused by: java.sql.SQLException: Violation of unique constraint SYS_CT_52: duplicate value(s) for column(s) ZIPCODE,CITY,NAME,ADDRESSTYPE_NAME,COUNTY_COUNTYID in statement [insert into zip_code (id, addressType_name, city, county_countyId, name, zipCode) values (null, ?, ?, ?, ?, ?)] at org.hsqldb.jdbc.Util.throwError(Unknown Source) [hsqldb-1.8.0.10.jar:private-2008/06/01-10:22:29] at org.hsqldb.jdbc.jdbcPreparedStatement.executeUpdate(Unknown Source) [hsqldb-1.8.0.10.jar:private-2008/06/01-10:22:29] at org.hibernate.id.insert.AbstractSelectingDelegate.performInsert(AbstractSelectingDelegate.java:57) [hibernate-core-3.3.2.GA.jar:3.3.2.GA] ... 87 common frames omitted {noformat}

    Spring JIRA | 7 years ago | David J. M. Karlsen
    org.springframework.batch.retry.ExhaustedRetryException: Retry exhausted after last attempt in recovery path, but exception is not skippable.; nested exception is org.springframework.batch.item.adapter.DynamicMethodInvocationException: java.lang.reflect.InvocationTargetException
  3. 0

    Hibernate ConstraintViolationException in join table

    Stack Overflow | 7 years ago | Seth
    java.sql.SQLException: Attempt to insert null into a non-nullable column: column: ALARMZONES table: CAMERAALARMZONES in statement [insert into cameraalarmzones (cameras_id, elt) values (?, ?)]
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

  5. 0

    java.sql.SQLException: Table already exists: JMS_MESSAGES in statement [CREATE CACHED TABLE JMS_MESSAGES]

    Stack Overflow | 3 years ago | user3269787
    java.sql.SQLException: Table already exists: JMS_MESSAGES in statement [CREATE CACHED TABLE JMS_MESSAGES]
  6. 0

    Using BLOB in DBUnit

    Stack Overflow | 2 years ago | LeoLozes
    java.sql.SQLException: Wrong data type: BLOB in statement [CREATE TABLE TSHT_SALEPLAN ( SALEPLANCODE INTEGER, VENDORCODE VARCHAR(10), HOTELCODE INTEGER, SALEPLAN BLOB]

    Not finding the right solution?
    Take a tour to get the most out of Samebug.

    Tired of useless tips?

    Automated exception search integrated into your IDE

    Root Cause Analysis

    1. java.sql.SQLException

      Violation of unique constraint SYS_CT_52: duplicate value(s) for column(s) ZIPCODE,CITY,NAME,ADDRESSTYPE_NAME,COUNTY_COUNTYID in statement [insert into zip_code (id, addressType_name, city, county_countyId, name, zipCode) values (null, ?, ?, ?, ?, ?)]

      at org.hsqldb.jdbc.Util.throwError()
    2. HSQLDB
      jdbcPreparedStatement.executeUpdate
      1. org.hsqldb.jdbc.Util.throwError(Unknown Source)[hsqldb-1.8.0.10.jar:private-2008/06/01-10:22:29]
      2. org.hsqldb.jdbc.jdbcPreparedStatement.executeUpdate(Unknown Source)[hsqldb-1.8.0.10.jar:private-2008/06/01-10:22:29]
      2 frames
    3. Hibernate
      AbstractEntityPersister.insert
      1. org.hibernate.id.insert.AbstractSelectingDelegate.performInsert(AbstractSelectingDelegate.java:57)[hibernate-core-3.3.2.GA.jar:3.3.2.GA]
      2. org.hibernate.persister.entity.AbstractEntityPersister.insert(AbstractEntityPersister.java:2176)[hibernate-core-3.3.2.GA.jar:3.3.2.GA]
      3. org.hibernate.persister.entity.AbstractEntityPersister.insert(AbstractEntityPersister.java:2656)[hibernate-core-3.3.2.GA.jar:3.3.2.GA]
      3 frames
    4. Hibernate
      EntityIdentityInsertAction.execute
      1. org.hibernate.action.EntityIdentityInsertAction.execute(EntityIdentityInsertAction.java:71)[hibernate-core-3.3.2.GA.jar:3.3.2.GA]
      1 frame
    5. Hibernate
      ActionQueue.execute
      1. org.hibernate.engine.ActionQueue.execute(ActionQueue.java:279)[hibernate-core-3.3.2.GA.jar:3.3.2.GA]
      1 frame
    6. Hibernate
      AbstractSaveEventListener.saveWithGeneratedId
      1. org.hibernate.event.def.AbstractSaveEventListener.performSaveOrReplicate(AbstractSaveEventListener.java:321)[hibernate-core-3.3.2.GA.jar:3.3.2.GA]
      2. org.hibernate.event.def.AbstractSaveEventListener.performSave(AbstractSaveEventListener.java:204)[hibernate-core-3.3.2.GA.jar:3.3.2.GA]
      3. org.hibernate.event.def.AbstractSaveEventListener.saveWithGeneratedId(AbstractSaveEventListener.java:130)[hibernate-core-3.3.2.GA.jar:3.3.2.GA]
      3 frames
    7. Hibernate EJB
      EJB3MergeEventListener.saveWithGeneratedId
      1. org.hibernate.ejb.event.EJB3MergeEventListener.saveWithGeneratedId(EJB3MergeEventListener.java:43)[hibernate-entitymanager-3.4.0.GA.jar:3.4.0.GA]
      1 frame
    8. Hibernate
      SessionImpl.merge
      1. org.hibernate.event.def.DefaultMergeEventListener.mergeTransientEntity(DefaultMergeEventListener.java:314)[hibernate-core-3.3.2.GA.jar:3.3.2.GA]
      2. org.hibernate.event.def.DefaultMergeEventListener.entityIsTransient(DefaultMergeEventListener.java:282)[hibernate-core-3.3.2.GA.jar:3.3.2.GA]
      3. org.hibernate.event.def.DefaultMergeEventListener.onMerge(DefaultMergeEventListener.java:237)[hibernate-core-3.3.2.GA.jar:3.3.2.GA]
      4. org.hibernate.event.def.DefaultMergeEventListener.onMerge(DefaultMergeEventListener.java:84)[hibernate-core-3.3.2.GA.jar:3.3.2.GA]
      5. org.hibernate.impl.SessionImpl.fireMerge(SessionImpl.java:705)[hibernate-core-3.3.2.GA.jar:3.3.2.GA]
      6. org.hibernate.impl.SessionImpl.merge(SessionImpl.java:689)[hibernate-core-3.3.2.GA.jar:3.3.2.GA]
      7. org.hibernate.impl.SessionImpl.merge(SessionImpl.java:693)[hibernate-core-3.3.2.GA.jar:3.3.2.GA]
      7 frames
    9. Hibernate EJB
      AbstractEntityManagerImpl.merge
      1. org.hibernate.ejb.AbstractEntityManagerImpl.merge(AbstractEntityManagerImpl.java:235)[hibernate-entitymanager-3.4.0.GA.jar:3.4.0.GA]
      1 frame
    10. Spring ORM
      JpaTemplate.merge
      1. org.springframework.orm.jpa.JpaTemplate$6.doInJpa(JpaTemplate.java:273)[spring-orm-3.0.0.RELEASE.jar:3.0.0.RELEASE]
      2. org.springframework.orm.jpa.JpaTemplate.execute(JpaTemplate.java:183)[spring-orm-3.0.0.RELEASE.jar:3.0.0.RELEASE]
      3. org.springframework.orm.jpa.JpaTemplate.merge(JpaTemplate.java:271)[spring-orm-3.0.0.RELEASE.jar:3.0.0.RELEASE]
      3 frames
    11. com.davidkarlsen.zipcodeservice
      ZipCodeDaoImpl.merge
      1. com.davidkarlsen.zipcodeservice.dao.ZipCodeDaoImpl.merge(ZipCodeDaoImpl.java:31)[classes/:na]
      1 frame
    12. Java RT
      Method.invoke
      1. sun.reflect.GeneratedMethodAccessor7.invoke(Unknown Source)[na:na]
      2. sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)[na:1.6.0_17]
      3. java.lang.reflect.Method.invoke(Method.java:597)[na:1.6.0_17]
      3 frames
    13. Spring Core
      MethodInvoker.invoke
      1. org.springframework.util.MethodInvoker.invoke(MethodInvoker.java:273)[spring-core-3.0.0.RELEASE.jar:3.0.0.RELEASE]
      1 frame
    14. Spring Batch Infrastructure
      ItemWriterAdapter.write
      1. org.springframework.batch.item.adapter.AbstractMethodInvokingDelegator.doInvoke(AbstractMethodInvokingDelegator.java:112)[spring-batch-infrastructure-2.0.4.RELEASE.jar:na]
      2. org.springframework.batch.item.adapter.AbstractMethodInvokingDelegator.invokeDelegateMethodWithArgument(AbstractMethodInvokingDelegator.java:67)[spring-batch-infrastructure-2.0.4.RELEASE.jar:na]
      3. org.springframework.batch.item.adapter.ItemWriterAdapter.write(ItemWriterAdapter.java:36)[spring-batch-infrastructure-2.0.4.RELEASE.jar:na]
      3 frames
    15. Spring Batch Core
      FaultTolerantChunkProcessor$3.doWithRetry
      1. org.springframework.batch.core.step.item.SimpleChunkProcessor.writeItems(SimpleChunkProcessor.java:156)[spring-batch-core-2.0.4.RELEASE.jar:na]
      2. org.springframework.batch.core.step.item.SimpleChunkProcessor.doWrite(SimpleChunkProcessor.java:137)[spring-batch-core-2.0.4.RELEASE.jar:na]
      3. org.springframework.batch.core.step.item.FaultTolerantChunkProcessor$3.doWithRetry(FaultTolerantChunkProcessor.java:284)[spring-batch-core-2.0.4.RELEASE.jar:na]
      3 frames
    16. org.springframework.batch
      RetryTemplate.execute
      1. org.springframework.batch.retry.support.RetryTemplate.doExecute(RetryTemplate.java:231)[spring-batch-infrastructure-2.0.4.RELEASE.jar:na]
      2. org.springframework.batch.retry.support.RetryTemplate.execute(RetryTemplate.java:180)[spring-batch-infrastructure-2.0.4.RELEASE.jar:na]
      2 frames
    17. Spring Batch Core
      StepContextRepeatCallback.doInIteration
      1. org.springframework.batch.core.step.item.BatchRetryTemplate.execute(BatchRetryTemplate.java:213)[spring-batch-core-2.0.4.RELEASE.jar:na]
      2. org.springframework.batch.core.step.item.FaultTolerantChunkProcessor.write(FaultTolerantChunkProcessor.java:371)[spring-batch-core-2.0.4.RELEASE.jar:na]
      3. org.springframework.batch.core.step.item.SimpleChunkProcessor.process(SimpleChunkProcessor.java:178)[spring-batch-core-2.0.4.RELEASE.jar:na]
      4. org.springframework.batch.core.step.item.ChunkOrientedTasklet.execute(ChunkOrientedTasklet.java:74)[spring-batch-core-2.0.4.RELEASE.jar:na]
      5. org.springframework.batch.core.step.tasklet.TaskletStep$2.doInChunkContext(TaskletStep.java:268)[spring-batch-core-2.0.4.RELEASE.jar:na]
      6. org.springframework.batch.core.scope.context.StepContextRepeatCallback.doInIteration(StepContextRepeatCallback.java:76)[spring-batch-core-2.0.4.RELEASE.jar:na]
      6 frames
    18. Spring Batch Infrastructure
      RepeatTemplate.iterate
      1. org.springframework.batch.repeat.support.RepeatTemplate.getNextResult(RepeatTemplate.java:367)[spring-batch-infrastructure-2.0.4.RELEASE.jar:na]
      2. org.springframework.batch.repeat.support.RepeatTemplate.executeInternal(RepeatTemplate.java:215)[spring-batch-infrastructure-2.0.4.RELEASE.jar:na]
      3. org.springframework.batch.repeat.support.RepeatTemplate.iterate(RepeatTemplate.java:143)[spring-batch-infrastructure-2.0.4.RELEASE.jar:na]
      3 frames
    19. Spring Batch Core
      SimpleJobLauncher$1.run
      1. org.springframework.batch.core.step.tasklet.TaskletStep.doExecute(TaskletStep.java:242)[spring-batch-core-2.0.4.RELEASE.jar:na]
      2. org.springframework.batch.core.step.AbstractStep.execute(AbstractStep.java:198)[spring-batch-core-2.0.4.RELEASE.jar:na]
      3. org.springframework.batch.core.job.AbstractJob.handleStep(AbstractJob.java:348)[spring-batch-core-2.0.4.RELEASE.jar:na]
      4. org.springframework.batch.core.job.flow.FlowJob.access$100(FlowJob.java:43)[spring-batch-core-2.0.4.RELEASE.jar:na]
      5. org.springframework.batch.core.job.flow.FlowJob$JobFlowExecutor.executeStep(FlowJob.java:135)[spring-batch-core-2.0.4.RELEASE.jar:na]
      6. org.springframework.batch.core.job.flow.support.state.StepState.handle(StepState.java:60)[spring-batch-core-2.0.4.RELEASE.jar:na]
      7. org.springframework.batch.core.job.flow.support.SimpleFlow.resume(SimpleFlow.java:144)[spring-batch-core-2.0.4.RELEASE.jar:na]
      8. org.springframework.batch.core.job.flow.support.SimpleFlow.start(SimpleFlow.java:124)[spring-batch-core-2.0.4.RELEASE.jar:na]
      9. org.springframework.batch.core.job.flow.FlowJob.doExecute(FlowJob.java:103)[spring-batch-core-2.0.4.RELEASE.jar:na]
      10. org.springframework.batch.core.job.AbstractJob.execute(AbstractJob.java:250)[spring-batch-core-2.0.4.RELEASE.jar:na]
      11. org.springframework.batch.core.launch.support.SimpleJobLauncher$1.run(SimpleJobLauncher.java:110)[spring-batch-core-2.0.4.RELEASE.jar:na]
      11 frames
    20. Spring Core
      SyncTaskExecutor.execute
      1. org.springframework.core.task.SyncTaskExecutor.execute(SyncTaskExecutor.java:48)[spring-core-3.0.0.RELEASE.jar:3.0.0.RELEASE]
      1 frame
    21. Spring Batch Core
      SimpleJobLauncher.run
      1. org.springframework.batch.core.launch.support.SimpleJobLauncher.run(SimpleJobLauncher.java:105)[spring-batch-core-2.0.4.RELEASE.jar:na]
      1 frame
    22. com.davidkarlsen.zipcodeservice
      BatchTest.testReadFile
      1. com.davidkarlsen.zipcodeservice.dataload.BatchTest.testReadFile(BatchTest.java:60)[test-classes/:na]
      1 frame
    23. Java RT
      Method.invoke
      1. sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)[na:1.6.0_17]
      2. sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)[na:1.6.0_17]
      3. sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)[na:1.6.0_17]
      4. java.lang.reflect.Method.invoke(Method.java:597)[na:1.6.0_17]
      4 frames
    24. JUnit
      InvokeMethod.evaluate
      1. org.junit.runners.model.FrameworkMethod$1.runReflectiveCall(FrameworkMethod.java:44)[junit-4.7.jar:na]
      2. org.junit.internal.runners.model.ReflectiveCallable.run(ReflectiveCallable.java:15)[junit-4.7.jar:na]
      3. org.junit.runners.model.FrameworkMethod.invokeExplosively(FrameworkMethod.java:41)[junit-4.7.jar:na]
      4. org.junit.internal.runners.statements.InvokeMethod.evaluate(InvokeMethod.java:20)[junit-4.7.jar:na]
      4 frames
    25. Spring TestContext
      SpringJUnit4ClassRunner.runChild
      1. org.springframework.test.context.junit4.statements.RunBeforeTestMethodCallbacks.evaluate(RunBeforeTestMethodCallbacks.java:74)[spring-test-3.0.0.RELEASE.jar:3.0.0.RELEASE]
      2. org.springframework.test.context.junit4.statements.RunAfterTestMethodCallbacks.evaluate(RunAfterTestMethodCallbacks.java:82)[spring-test-3.0.0.RELEASE.jar:3.0.0.RELEASE]
      3. org.springframework.test.context.junit4.statements.SpringRepeat.evaluate(SpringRepeat.java:72)[spring-test-3.0.0.RELEASE.jar:3.0.0.RELEASE]
      4. org.springframework.test.context.junit4.SpringJUnit4ClassRunner.runChild(SpringJUnit4ClassRunner.java:240)[spring-test-3.0.0.RELEASE.jar:3.0.0.RELEASE]
      4 frames
    26. JUnit
      ParentRunner$2.evaluate
      1. org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:50)[junit-4.7.jar:na]
      2. org.junit.runners.ParentRunner$3.run(ParentRunner.java:193)[junit-4.7.jar:na]
      3. org.junit.runners.ParentRunner$1.schedule(ParentRunner.java:52)[junit-4.7.jar:na]
      4. org.junit.runners.ParentRunner.runChildren(ParentRunner.java:191)[junit-4.7.jar:na]
      5. org.junit.runners.ParentRunner.access$000(ParentRunner.java:42)[junit-4.7.jar:na]
      6. org.junit.runners.ParentRunner$2.evaluate(ParentRunner.java:184)[junit-4.7.jar:na]
      6 frames
    27. Spring TestContext
      RunAfterTestClassCallbacks.evaluate
      1. org.springframework.test.context.junit4.statements.RunBeforeTestClassCallbacks.evaluate(RunBeforeTestClassCallbacks.java:61)[spring-test-3.0.0.RELEASE.jar:3.0.0.RELEASE]
      2. org.springframework.test.context.junit4.statements.RunAfterTestClassCallbacks.evaluate(RunAfterTestClassCallbacks.java:70)[spring-test-3.0.0.RELEASE.jar:3.0.0.RELEASE]
      2 frames
    28. JUnit
      ParentRunner.run
      1. org.junit.runners.ParentRunner.run(ParentRunner.java:236)[junit-4.7.jar:na]
      1 frame
    29. Spring TestContext
      SpringJUnit4ClassRunner.run
      1. org.springframework.test.context.junit4.SpringJUnit4ClassRunner.run(SpringJUnit4ClassRunner.java:180)[spring-test-3.0.0.RELEASE.jar:3.0.0.RELEASE]
      1 frame
    30. JUnit4 Provider
      JUnit4TestSet.execute
      1. org.apache.maven.surefire.junit4.JUnit4TestSet.execute(JUnit4TestSet.java:62)[surefire-junit4-2.4.3.jar:2.4.3]
      1 frame
    31. SureFire
      Surefire.run
      1. org.apache.maven.surefire.suite.AbstractDirectoryTestSuite.executeTestSet(AbstractDirectoryTestSuite.java:140)[surefire-api-2.4.3.jar:2.4.3]
      2. org.apache.maven.surefire.suite.AbstractDirectoryTestSuite.execute(AbstractDirectoryTestSuite.java:127)[surefire-api-2.4.3.jar:2.4.3]
      3. org.apache.maven.surefire.Surefire.run(Surefire.java:177)[surefire-api-2.4.3.jar:2.4.3]
      3 frames
    32. Java RT
      Method.invoke
      1. sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)[na:1.6.0_17]
      2. sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)[na:1.6.0_17]
      3. sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)[na:1.6.0_17]
      4. java.lang.reflect.Method.invoke(Method.java:597)[na:1.6.0_17]
      4 frames
    33. SureFire
      SurefireBooter.main
      1. org.apache.maven.surefire.booter.SurefireBooter.runSuitesInProcess(SurefireBooter.java:345)[surefire-booter-2.4.3.jar:2.4.3]
      2. org.apache.maven.surefire.booter.SurefireBooter.main(SurefireBooter.java:1009)[surefire-booter-2.4.3.jar:2.4.3]
      2 frames