java.lang.IllegalStateException: No value for key [org.apache.commons.dbcp.BasicDataSource@630bd3f1] bound to thread [jobLauncherTaskExecutor-1]

Searched on Google with the first line of a JAVA stack trace?

We can recommend more relevant solutions and speed up debugging when you paste your entire stack trace with the exception message. Try a sample exception.

Recommended solutions based on your search

Solutions on the web

via Spring JIRA by Svein Erik Løvland, 1 year ago
No value for key [org.apache.commons.dbcp.BasicDataSource@630bd3f1] bound to thread [jobLauncherTaskExecutor-1]
via Spring JIRA by Svein Erik Løvland, 1 year ago
No value for key [org.apache.commons.dbcp.BasicDataSource@630bd3f1] bound to thread [jobLauncherTaskExecutor-1]
via coderanch.com by Unknown author, 1 year ago
No value for key [org.springframework.orm.jpa.LocalEntityManagerFactoryBean@6e646e64] bound to thread [main]
via scriptscoop.com by Unknown author, 2 years ago
No value for key [org.springframework.orm.jpa.LocalEntityManagerFactoryBean@6e646e64] bound to thread [main]
via Coderanch by Akram Chotu, 10 months ago
No value for key [org.springframework.orm.jpa.LocalEntityManagerFactoryBean@6e646e64] bound to thread [main]
via codedmi.com by Unknown author, 2 years ago
No value for key [org.springframework.orm.jpa.LocalContainerEntityManagerFactoryBean@3f563f56] bound to thread [main]
java.lang.IllegalStateException: No value for key [org.apache.commons.dbcp.BasicDataSource@630bd3f1] bound to thread [jobLauncherTaskExecutor-1]
at org.springframework.transaction.support.AbstractPlatformTransactionManager.cleanupAfterCompletion(AbstractPlatformTransactionManager.java:1011)
at org.springframework.transaction.support.AbstractPlatformTransactionManager.processCommit(AbstractPlatformTransactionManager.java:804)
at org.springframework.transaction.support.AbstractPlatformTransactionManager.commit(AbstractPlatformTransactionManager.java:723)
at org.springframework.transaction.interceptor.TransactionAspectSupport.commitTransactionAfterReturning(TransactionAspectSupport.java:393)
at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:172)
at org.springframework.batch.core.step.tasklet.TaskletStep$2.doInChunkContext(TaskletStep.java:264)
at org.springframework.batch.repeat.support.RepeatTemplate.getNextResult(RepeatTemplate.java:367)
at org.springframework.batch.repeat.support.RepeatTemplate.executeInternal(RepeatTemplate.java:214)
at org.springframework.batch.core.step.tasklet.TaskletStep.doExecute(TaskletStep.java:250)
at org.springframework.batch.core.step.AbstractStep.execute(AbstractStep.java:195)
at org.springframework.batch.core.job.SimpleStepHandler.handleStep(SimpleStepHandler.java:135)
at org.springframework.batch.core.job.flow.JobFlowExecutor.executeStep(JobFlowExecutor.java:61)
at org.springframework.batch.core.job.flow.support.state.StepState.handle(StepState.java:60)
at org.springframework.batch.core.job.flow.support.SimpleFlow.resume(SimpleFlow.java:144)
at org.springframework.batch.core.job.flow.support.SimpleFlow.start(SimpleFlow.java:124)
at org.springframework.batch.core.job.flow.FlowJob.doExecute(FlowJob.java:135)
at org.springframework.batch.core.job.AbstractJob.execute(AbstractJob.java:281)
at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:886)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:908)
at java.lang.Thread.run(Thread.java:662)

Users with the same issue

Samebug visitor profile picture
Unknown user
Once, 1 year ago
Samebug visitor profile picture
Unknown user
Once, 1 year ago
Samebug visitor profile picture
Unknown user
Once, 1 year ago
Samebug visitor profile picture
Unknown user
Once, 1 year ago
Samebug visitor profile picture
Unknown user
Once, 2 years ago
3 more bugmates

Know the solutions? Share your knowledge to help other developers to debug faster.