play.api.Application$$anon$1

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.

  • 当前巡检任务,打开失败
    via GitHub by RasAlGu1
    ,
  • GitHub comment 172#190031425
    via GitHub by runner-mei
    ,
  • 设备迁移 执行操作失败
    via GitHub by Cuic
    ,
  • 错误消息乱码
    via GitHub by runner-mei
    ,
  • linux cpu is faild
    via GitHub by runner-mei
    ,
    • play.api.Application$$anon$1: Execution exception[[RuntimeException: org.apache.ibatis.exceptions.TooManyResultsException: Expected one result (or null) to be returned by selectOne(), but found: 2]] at play.api.Application$class.handleError(Application.scala:296)[com.typesafe.play.play_2.11-2.3.9.jar:2.3.9] at play.api.DefaultApplication.handleError(Application.scala:402)[com.typesafe.play.play_2.11-2.3.9.jar:2.3.9] at play.core.server.netty.PlayDefaultUpstreamHandler$$anonfun$3$$anonfun$applyOrElse$4.apply(PlayDefaultUpstreamHandler.scala:320)[com.typesafe.play.play_2.11-2.3.9.jar:2.3.9] at play.core.server.netty.PlayDefaultUpstreamHandler$$anonfun$3$$anonfun$applyOrElse$4.apply(PlayDefaultUpstreamHandler.scala:320)[com.typesafe.play.play_2.11-2.3.9.jar:2.3.9] at scala.Option.map(Option.scala:145)[org.scala-lang.scala-library-2.11.1.jar:na] at play.core.server.netty.PlayDefaultUpstreamHandler$$anonfun$3.applyOrElse(PlayDefaultUpstreamHandler.scala:320)[com.typesafe.play.play_2.11-2.3.9.jar:2.3.9] at play.core.server.netty.PlayDefaultUpstreamHandler$$anonfun$3.applyOrElse(PlayDefaultUpstreamHandler.scala:316)[com.typesafe.play.play_2.11-2.3.9.jar:2.3.9] at scala.concurrent.Future$$anonfun$recoverWith$1.apply(Future.scala:344)[org.scala-lang.scala-library-2.11.1.jar:na] at scala.concurrent.Future$$anonfun$recoverWith$1.apply(Future.scala:343)[org.scala-lang.scala-library-2.11.1.jar:na] at scala.concurrent.impl.CallbackRunnable.run(Promise.scala:32)[org.scala-lang.scala-library-2.11.1.jar:na] at play.api.libs.iteratee.Execution$trampoline$.execute(Execution.scala:46)[com.typesafe.play.play-iteratees_2.11-2.3.9.jar:2.3.9] at scala.concurrent.impl.CallbackRunnable.executeWithValue(Promise.scala:40)[org.scala-lang.scala-library-2.11.1.jar:na] at scala.concurrent.impl.Promise$DefaultPromise.tryComplete(Promise.scala:248)[org.scala-lang.scala-library-2.11.1.jar:na] at scala.concurrent.Promise$class.complete(Promise.scala:55)[org.scala-lang.scala-library-2.11.1.jar:na] at scala.concurrent.impl.Promise$DefaultPromise.complete(Promise.scala:153)[org.scala-lang.scala-library-2.11.1.jar:na] at scala.concurrent.Future$$anonfun$map$1.apply(Future.scala:235)[org.scala-lang.scala-library-2.11.1.jar:na] at scala.concurrent.Future$$anonfun$map$1.apply(Future.scala:235)[org.scala-lang.scala-library-2.11.1.jar:na] at scala.concurrent.impl.CallbackRunnable.run(Promise.scala:32)[org.scala-lang.scala-library-2.11.1.jar:na] at akka.dispatch.BatchingExecutor$Batch$$anonfun$run$1.processBatch$1(BatchingExecutor.scala:67)[com.typesafe.akka.akka-actor_2.11-2.3.4.jar:na] at akka.dispatch.BatchingExecutor$Batch$$anonfun$run$1.apply$mcV$sp(BatchingExecutor.scala:82)[com.typesafe.akka.akka-actor_2.11-2.3.4.jar:na] at akka.dispatch.BatchingExecutor$Batch$$anonfun$run$1.apply(BatchingExecutor.scala:59)[com.typesafe.akka.akka-actor_2.11-2.3.4.jar:na] at akka.dispatch.BatchingExecutor$Batch$$anonfun$run$1.apply(BatchingExecutor.scala:59)[com.typesafe.akka.akka-actor_2.11-2.3.4.jar:na] at scala.concurrent.BlockContext$.withBlockContext(BlockContext.scala:72)[org.scala-lang.scala-library-2.11.1.jar:na] at akka.dispatch.BatchingExecutor$Batch.run(BatchingExecutor.scala:58)[com.typesafe.akka.akka-actor_2.11-2.3.4.jar:na] at akka.dispatch.TaskInvocation.run(AbstractDispatcher.scala:41)[com.typesafe.akka.akka-actor_2.11-2.3.4.jar:na] at akka.dispatch.ForkJoinExecutorConfigurator$AkkaForkJoinTask.exec(AbstractDispatcher.scala:393)[com.typesafe.akka.akka-actor_2.11-2.3.4.jar:na] at scala.concurrent.forkjoin.ForkJoinTask.doExec(ForkJoinTask.java:260)[org.scala-lang.scala-library-2.11.1.jar:na] at scala.concurrent.forkjoin.ForkJoinPool$WorkQueue.runTask(ForkJoinPool.java:1339)[org.scala-lang.scala-library-2.11.1.jar:na] at scala.concurrent.forkjoin.ForkJoinPool.runWorker(ForkJoinPool.java:1979)[org.scala-lang.scala-library-2.11.1.jar:na] at scala.concurrent.forkjoin.ForkJoinWorkerThread.run(ForkJoinWorkerThread.java:107)[org.scala-lang.scala-library-2.11.1.jar:na] Caused by: java.lang.RuntimeException: org.apache.ibatis.exceptions.TooManyResultsException: Expected one result (or null) to be returned by selectOne(), but found: 2 at lib.rest.Base$class.sendRequest(Base.scala:148)[tpt_web.tpt_web-2.3.jar:2.3] at lib.rest.Base$class.getObjectArray(Base.scala:42)[tpt_web.tpt_web-2.3.jar:2.3] at lib.rest.TourInspectionRest$.getObjectArray(TourInspectionRest.scala:11)[tpt_web.tpt_web-2.3.jar:2.3] at lib.rest.TourInspectionRest$.allCurrentTasks(TourInspectionRest.scala:26)[tpt_web.tpt_web-2.3.jar:2.3] at controllers.TourInspectionController$$anonfun$indexCurrentTasks$1.apply(TourInspectionController.scala:199)[tpt_web.tpt_web-2.3.jar:2.3] at controllers.TourInspectionController$$anonfun$indexCurrentTasks$1.apply(TourInspectionController.scala:198)[tpt_web.tpt_web-2.3.jar:2.3] at play.api.mvc.ActionBuilder$$anonfun$apply$16.apply(Action.scala:433)[com.typesafe.play.play_2.11-2.3.9.jar:2.3.9] at play.api.mvc.ActionBuilder$$anonfun$apply$16.apply(Action.scala:432)[com.typesafe.play.play_2.11-2.3.9.jar:2.3.9] at play.api.mvc.Action$.invokeBlock(Action.scala:556)[com.typesafe.play.play_2.11-2.3.9.jar:2.3.9] at play.api.mvc.Action$.invokeBlock(Action.scala:555)[com.typesafe.play.play_2.11-2.3.9.jar:2.3.9] at play.api.mvc.ActionBuilder$$anon$1.apply(Action.scala:518)[com.typesafe.play.play_2.11-2.3.9.jar:2.3.9] at play.api.mvc.Action$$anonfun$apply$1$$anonfun$apply$4$$anonfun$apply$5.apply(Action.scala:130)[com.typesafe.play.play_2.11-2.3.9.jar:2.3.9] at play.api.mvc.Action$$anonfun$apply$1$$anonfun$apply$4$$anonfun$apply$5.apply(Action.scala:130)[com.typesafe.play.play_2.11-2.3.9.jar:2.3.9] at play.utils.Threads$.withContextClassLoader(Threads.scala:21)[com.typesafe.play.play_2.11-2.3.9.jar:2.3.9] at play.api.mvc.Action$$anonfun$apply$1$$anonfun$apply$4.apply(Action.scala:129)[com.typesafe.play.play_2.11-2.3.9.jar:2.3.9] at play.api.mvc.Action$$anonfun$apply$1$$anonfun$apply$4.apply(Action.scala:128)[com.typesafe.play.play_2.11-2.3.9.jar:2.3.9] at scala.Option.map(Option.scala:145)[org.scala-lang.scala-library-2.11.1.jar:na] at play.api.mvc.Action$$anonfun$apply$1.apply(Action.scala:128)[com.typesafe.play.play_2.11-2.3.9.jar:2.3.9] at play.api.mvc.Action$$anonfun$apply$1.apply(Action.scala:121)[com.typesafe.play.play_2.11-2.3.9.jar:2.3.9] at play.api.libs.iteratee.DoneIteratee$$anonfun$mapM$2.apply(Iteratee.scala:705)[com.typesafe.play.play-iteratees_2.11-2.3.9.jar:2.3.9] at play.api.libs.iteratee.DoneIteratee$$anonfun$mapM$2.apply(Iteratee.scala:705)[com.typesafe.play.play-iteratees_2.11-2.3.9.jar:2.3.9] at scala.concurrent.impl.Future$PromiseCompletingRunnable.liftedTree1$1(Future.scala:24)[org.scala-lang.scala-library-2.11.1.jar:na] at scala.concurrent.impl.Future$PromiseCompletingRunnable.run(Future.scala:24)[org.scala-lang.scala-library-2.11.1.jar:na] ... 6 more
    No Bugmate found.