org.hibernate.TransientObjectException: The instance was not associated with this session

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 GitHub by mincong-h
, 1 year ago
The instance was not associated with this session
via GitHub by mincong-h
, 1 year ago
The instance was not associated with this session
via GitHub by mincong-h
, 1 year ago
The instance was not associated with this session
org.hibernate.TransientObjectException: The instance was not associated with this session
at org.hibernate.search.jsr352.internal.BatchItemProcessor.buildAddLuceneWork(BatchItemProcessor.java:140)
at org.hibernate.search.jsr352.internal.BatchItemProcessor.processItem(BatchItemProcessor.java:95)
at org.jberet.runtime.runner.ChunkRunner.processItem(ChunkRunner.java:403)
at org.jberet.runtime.runner.ChunkRunner.readProcessWriteItems(ChunkRunner.java:309)
at org.jberet.runtime.runner.ChunkRunner.run(ChunkRunner.java:201)
at org.wildfly.extension.batch.jberet.impl.BatchEnvironmentService$WildFlyBatchEnvironment$1.run(BatchEnvironmentService.java:243)
at org.wildfly.extension.requestcontroller.RequestController$QueuedTask$1.run(RequestController.java:497)
at org.jberet.spi.JobExecutor$3.run(JobExecutor.java:161)
at org.jberet.spi.JobExecutor$1.run(JobExecutor.java:99)
at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617)
at java.lang.Thread.run(Thread.java:745)
at org.jboss.threads.JBossThread.run(JBossThread.java:320)

Users with the same issue

3 times, 7 months ago

Write tip

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