java.lang.IllegalStateException

There are no available Samebug tips for this exception. Do you have an idea how to solve this issue? A short tip would help users who saw this issue last week.

  • Tried to remove the EntityManager, but none was set.
    via by Luiz Ricardo Vicente Rita,
  • Entity Manager problem on production mode
    via by Arash Daneshvar,
  • GitHub comment 4590#281003092
    via GitHub by arash01
    ,
    • java.lang.IllegalStateException: Tried to remove the EntityManager, but none was set., took 0.091 sec at play.db.jpa.JPAEntityManagerContext.pop(JPAEntityManagerContext.java:74)[error] at play.db.jpa.DefaultJPAApi.withTransaction(DefaultJPAApi.java:155)[error] at play.db.jpa.DefaultJPAApi.withTransaction(DefaultJPAApi.java:195)[error] at play.db.jpa.TransactionalAction.call(TransactionalAction.java:25)[error] at play.core.j.JavaAction$$anonfun$7.apply(JavaAction.scala:108)[error] at play.core.j.JavaAction$$anonfun$7.apply(JavaAction.scala:108)[error] at scala.concurrent.impl.Future$PromiseCompletingRunnable.liftedTree1$1(Future.scala:24)[error] at scala.concurrent.impl.Future$PromiseCompletingRunnable.run(Future.scala:24)[error] at play.core.j.HttpExecutionContext$$anon$2.run(HttpExecutionContext.scala:56)[error] at play.api.libs.iteratee.Execution$trampoline$.execute(Execution.scala:70)[error] at play.core.j.HttpExecutionContext.execute(HttpExecutionContext.scala:48)[error] at scala.concurrent.impl.Future$.apply(Future.scala:31)[error] at scala.concurrent.Future$.apply(Future.scala:492)[error] at play.core.j.JavaAction.apply(JavaAction.scala:108)[error] at play.api.mvc.Action$$anonfun$apply$2$$anonfun$apply$5$$anonfun$apply$6.apply(Action.scala:112)[error] at play.api.mvc.Action$$anonfun$apply$2$$anonfun$apply$5$$anonfun$apply$6.apply(Action.scala:112)[error] at play.utils.Threads$.withContextClassLoader(Threads.scala:21)[error] at play.api.mvc.Action$$anonfun$apply$2$$anonfun$apply$5.apply(Action.scala:111)[error] at play.api.mvc.Action$$anonfun$apply$2$$anonfun$apply$5.apply(Action.scala:110)[error] at scala.Option.map(Option.scala:146)[error] at play.api.mvc.Action$$anonfun$apply$2.apply(Action.scala:110)[error] at play.api.mvc.Action$$anonfun$apply$2.apply(Action.scala:103)[error] at scala.concurrent.Future$$anonfun$flatMap$1.apply(Future.scala:251)[error] at scala.concurrent.Future$$anonfun$flatMap$1.apply(Future.scala:249)[error] at scala.concurrent.impl.CallbackRunnable.run(Promise.scala:32)[error] at akka.dispatch.BatchingExecutor$AbstractBatch.processBatch(BatchingExecutor.scala:55)[error] at akka.dispatch.BatchingExecutor$BlockableBatch$$anonfun$run$1.apply$mcV$sp(BatchingExecutor.scala:91)[error] at akka.dispatch.BatchingExecutor$BlockableBatch$$anonfun$run$1.apply(BatchingExecutor.scala:91)[error] at akka.dispatch.BatchingExecutor$BlockableBatch$$anonfun$run$1.apply(BatchingExecutor.scala:91)[error] at scala.concurrent.BlockContext$.withBlockContext(BlockContext.scala:72)[error] at akka.dispatch.BatchingExecutor$BlockableBatch.run(BatchingExecutor.scala:90)[error] at akka.dispatch.TaskInvocation.run(AbstractDispatcher.scala:39)[error] at akka.dispatch.ForkJoinExecutorConfigurator$AkkaForkJoinTask.exec(AbstractDispatcher.scala:409)[error] at scala.concurrent.forkjoin.ForkJoinTask.doExec(ForkJoinTask.java:260)[error] at scala.concurrent.forkjoin.ForkJoinPool$WorkQueue.runTask(ForkJoinPool.java:1339)[error] at scala.concurrent.forkjoin.ForkJoinPool.runWorker(ForkJoinPool.java:1979)[error] at scala.concurrent.forkjoin.ForkJoinWorkerThread.run(ForkJoinWorkerThread.java:107)

    Users with the same issue

    Unknown visitor1 times, last one,