Code:
In setDelegate
Hibernate: select icdftpdtl0_.FTP_ID_NBR as FTP1_6_, icdftpdtl0_.FTP_TRANSFER_TYPE as FTP2_6_, icdftpdtl0_.CO_ID_CD as CO3_6_, icdftpdtl0_.ADDRESS_TYPE_CD as ADDRESS4_6_, icdftpdtl0_.IP_URL_ADDRESS as IP5_6_, icdftpdtl0_.LOGON_ID as LOGON6_6_, icdftpdtl0_.PASSWORD_ID as PASSWORD7_6_, icdftpdtl0_.FTP_FILES_PATH as FTP8_6_, icdftpdtl0_.PROCESS_FILES_PATH as PROCESS9_6_, icdftpdtl0_.FTP_TYPE_CD as FTP10_6_, icdftpdtl0_.PROCESS_FILES as PROCESS11_6_, icdftpdtl0_.TRNS_FREQUENCY as TRNS12_6_ from ICD10_web.ICD_FTP_DTL icdftpdtl0_, ICD10_web.ICD_NEUTRALIZER_DTL icdneutral1_ where icdftpdtl0_.FTP_ID_NBR=icdneutral1_.FTP_ID_NBR and trim(upper(icdneutral1_.NEUTRALIZATION_STATUS))='ACTIVE' order by icdftpdtl0_.FTP_ID_NBR
Hibernate: select icdneutral0_.FTP_ID_NBR as FTP1_5_0_, icdneutral0_.CO_ID_CD as CO2_5_0_, icdneutral0_.TRANS_TYPE_CD as TRANS3_5_0_, icdneutral0_.DATA_FORMAT_CD as DATA4_5_0_, icdneutral0_.ADDITIONAL_SEGMENT as ADDITIONAL5_5_0_, icdneutral0_.ADDITIONAL_FILE as ADDITIONAL6_5_0_, icdneutral0_.ADDITIONAL_FILE_TYPE as ADDITIONAL7_5_0_, icdneutral0_.REPLACE_HI_SEG as REPLACE8_5_0_, icdneutral0_.NEUTRALIZATION_STATUS as NEUTRALI9_5_0_, icdneutral0_.START_DT as START10_5_0_ from ICD10_web.ICD_NEUTRALIZER_DTL icdneutral0_ where icdneutral0_.FTP_ID_NBR=?
READER {jobParameters['reader']}
ERROR - Encountered an error executing the step
org.springframework.aop.AopInvocationException: AOP configuration seems to be invalid: tried calling method [public abstract void org.springframework.batch.item.ItemStream.open(org.springframework.batch.item.ExecutionContext) throws org.springframework.batch.item.ItemStreamException] on target [com.abcbs.EDI837.reader.EDI837ItemReader@56fc16]; nested exception is java.lang.IllegalArgumentException: object is not an instance of declaring class
at org.springframework.aop.support.AopUtils.invokeJoinpointUsingReflection(AopUtils.java:318)
at org.springframework.aop.framework.ReflectiveMethodInvocation.invokeJoinpoint(ReflectiveMethodInvocation.java:182)
at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:149)
at org.springframework.aop.support.DelegatingIntroductionInterceptor.doProceed(DelegatingIntroductionInterceptor.java:131)
at org.springframework.aop.support.DelegatingIntroductionInterceptor.invoke(DelegatingIntroductionInterceptor.java:119)
at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:171)
at org.springframework.aop.framework.JdkDynamicAopProxy.invoke(JdkDynamicAopProxy.java:204)
at $Proxy8.open(Unknown Source)
at org.springframework.batch.item.support.CompositeItemStream.open(CompositeItemStream.java:98)
at org.springframework.batch.core.step.tasklet.TaskletStep.open(TaskletStep.java:379)
at org.springframework.batch.core.step.AbstractStep.execute(AbstractStep.java:195)
at org.springframework.batch.core.job.AbstractJob.handleStep(AbstractJob.java:348)
at org.springframework.batch.core.job.SimpleJob.doExecute(SimpleJob.java:121)
at org.springframework.batch.core.job.AbstractJob.execute(AbstractJob.java:250)
at com.abcbs.EDI837.common.MySimpleJobLauncher$1.run(MySimpleJobLauncher.java:96)
at org.springframework.core.task.SyncTaskExecutor.execute(SyncTaskExecutor.java:49)
at com.abcbs.EDI837.common.MySimpleJobLauncher.run(MySimpleJobLauncher.java:91)
at com.abcbs.EDI837.common.MyCommandLine.start(MyCommandLine.java:343)
at com.abcbs.EDI837.common.MyCommandLine.main(MyCommandLine.java:402)
Caused by: java.lang.IllegalArgumentException: object is not an instance of declaring class
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:597)
at org.springframework.aop.support.AopUtils.invokeJoinpointUsingReflection(AopUtils.java:310)
... 18 more
ERROR - Exception while closing step execution resources
org.springframework.aop.AopInvocationException: AOP configuration seems to be invalid: tried calling method [public abstract void org.springframework.batch.item.ItemStream.close() throws org.springframework.batch.item.ItemStreamException] on target [com.abcbs.EDI837.reader.EDI837ItemReader@56fc16]; nested exception is java.lang.IllegalArgumentException: object is not an instance of declaring class
at org.springframework.aop.support.AopUtils.invokeJoinpointUsingReflection(AopUtils.java:318)
at org.springframework.aop.framework.ReflectiveMethodInvocation.invokeJoinpoint(ReflectiveMethodInvocation.java:182)
at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:149)
at org.springframework.aop.support.DelegatingIntroductionInterceptor.doProceed(DelegatingIntroductionInterceptor.java:131)
at org.springframework.aop.support.DelegatingIntroductionInterceptor.invoke(DelegatingIntroductionInterceptor.java:119)
at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:171)
at org.springframework.aop.framework.JdkDynamicAopProxy.invoke(JdkDynamicAopProxy.java:204)
at $Proxy8.close(Unknown Source)
at org.springframework.batch.item.support.CompositeItemStream.close(CompositeItemStream.java:86)
at org.springframework.batch.core.step.tasklet.TaskletStep.close(TaskletStep.java:375)
at org.springframework.batch.core.step.AbstractStep.execute(AbstractStep.java:258)
at org.springframework.batch.core.job.AbstractJob.handleStep(AbstractJob.java:348)
at org.springframework.batch.core.job.SimpleJob.doExecute(SimpleJob.java:121)
at org.springframework.batch.core.job.AbstractJob.execute(AbstractJob.java:250)
at com.abcbs.EDI837.common.MySimpleJobLauncher$1.run(MySimpleJobLauncher.java:96)
at org.springframework.core.task.SyncTaskExecutor.execute(SyncTaskExecutor.java:49)
at com.abcbs.EDI837.common.MySimpleJobLauncher.run(MySimpleJobLauncher.java:91)
at com.abcbs.EDI837.common.MyCommandLine.start(MyCommandLine.java:343)
at com.abcbs.EDI837.common.MyCommandLine.main(MyCommandLine.java:402)
Caused by: java.lang.IllegalArgumentException: object is not an instance of declaring class
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:597)
at org.springframework.aop.support.AopUtils.invokeJoinpointUsingReflection(AopUtils.java:310)
... 18 more
1154 [main] INFO org.hibernate.impl.SessionFactoryImpl - building session factory
1466 [main] INFO org.hibernate.impl.SessionFactoryObjectFactory - Not binding factory to JNDI, no JNDI name configured
2636 [main] INFO org.hibernate.impl.SessionFactoryImpl - closing