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]]

GitHub | RasAlGu1 | 2 months ago
  1. 0

    当前巡检任务,打开失败

    GitHub | 2 months ago | RasAlGu1
    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]]
  2. Speed up your debug routine!

    Automated exception search integrated into your IDE

  3. 0

    Cannot save or update a bean with multiple @Id

    GitHub | 1 year ago | ufoscout
    java.lang.RuntimeException: Cannot use this find method for class [eu.europa.ec.empl.eures.db.shared.model.domain.LabelTranslated]. Expected maximum one primary key field but found 2: [language, key]
  4. 0

    generating data fails

    GitHub | 1 year ago | hansbogert
    java.lang.RuntimeException: [6.12] failure: \`\`union'' expected but `by' found DISTRIBUTE BY ^

    Not finding the right solution?
    Take a tour to get the most out of Samebug.

    Tired of useless tips?

    Automated exception search integrated into your IDE

    Root Cause Analysis

    1. 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()
    2. lib.rest
      TourInspectionRest$.allCurrentTasks
      1. lib.rest.Base$class.sendRequest(Base.scala:148)[tpt_web.tpt_web-2.3.jar:2.3]
      2. lib.rest.Base$class.getObjectArray(Base.scala:42)[tpt_web.tpt_web-2.3.jar:2.3]
      3. lib.rest.TourInspectionRest$.getObjectArray(TourInspectionRest.scala:11)[tpt_web.tpt_web-2.3.jar:2.3]
      4. lib.rest.TourInspectionRest$.allCurrentTasks(TourInspectionRest.scala:26)[tpt_web.tpt_web-2.3.jar:2.3]
      4 frames
    3. controllers
      TourInspectionController$$anonfun$indexCurrentTasks$1.apply
      1. controllers.TourInspectionController$$anonfun$indexCurrentTasks$1.apply(TourInspectionController.scala:199)[tpt_web.tpt_web-2.3.jar:2.3]
      2. controllers.TourInspectionController$$anonfun$indexCurrentTasks$1.apply(TourInspectionController.scala:198)[tpt_web.tpt_web-2.3.jar:2.3]
      2 frames
    4. Play
      Action$$anonfun$apply$1$$anonfun$apply$4.apply
      1. play.api.mvc.ActionBuilder$$anonfun$apply$16.apply(Action.scala:433)[com.typesafe.play.play_2.11-2.3.9.jar:2.3.9]
      2. play.api.mvc.ActionBuilder$$anonfun$apply$16.apply(Action.scala:432)[com.typesafe.play.play_2.11-2.3.9.jar:2.3.9]
      3. play.api.mvc.Action$.invokeBlock(Action.scala:556)[com.typesafe.play.play_2.11-2.3.9.jar:2.3.9]
      4. play.api.mvc.Action$.invokeBlock(Action.scala:555)[com.typesafe.play.play_2.11-2.3.9.jar:2.3.9]
      5. play.api.mvc.ActionBuilder$$anon$1.apply(Action.scala:518)[com.typesafe.play.play_2.11-2.3.9.jar:2.3.9]
      6. 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]
      7. 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]
      8. play.utils.Threads$.withContextClassLoader(Threads.scala:21)[com.typesafe.play.play_2.11-2.3.9.jar:2.3.9]
      9. 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]
      10. 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]
      10 frames
    5. Scala
      Option.map
      1. scala.Option.map(Option.scala:145)[org.scala-lang.scala-library-2.11.1.jar:na]
      1 frame
    6. Play
      Action$$anonfun$apply$1.apply
      1. play.api.mvc.Action$$anonfun$apply$1.apply(Action.scala:128)[com.typesafe.play.play_2.11-2.3.9.jar:2.3.9]
      2. play.api.mvc.Action$$anonfun$apply$1.apply(Action.scala:121)[com.typesafe.play.play_2.11-2.3.9.jar:2.3.9]
      2 frames
    7. Play Iteratees
      DoneIteratee$$anonfun$mapM$2.apply
      1. 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]
      2. 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]
      2 frames
    8. Scala
      Future$PromiseCompletingRunnable.run
      1. scala.concurrent.impl.Future$PromiseCompletingRunnable.liftedTree1$1(Future.scala:24)[org.scala-lang.scala-library-2.11.1.jar:na]
      2. scala.concurrent.impl.Future$PromiseCompletingRunnable.run(Future.scala:24)[org.scala-lang.scala-library-2.11.1.jar:na]
      2 frames
    9. Akka Actor
      ForkJoinExecutorConfigurator$AkkaForkJoinTask.exec
      1. akka.dispatch.TaskInvocation.run(AbstractDispatcher.scala:41)[com.typesafe.akka.akka-actor_2.11-2.3.4.jar:na]
      2. akka.dispatch.ForkJoinExecutorConfigurator$AkkaForkJoinTask.exec(AbstractDispatcher.scala:393)[com.typesafe.akka.akka-actor_2.11-2.3.4.jar:na]
      2 frames
    10. Scala
      ForkJoinWorkerThread.run
      1. scala.concurrent.forkjoin.ForkJoinTask.doExec(ForkJoinTask.java:260)[org.scala-lang.scala-library-2.11.1.jar:na]
      2. scala.concurrent.forkjoin.ForkJoinPool$WorkQueue.runTask(ForkJoinPool.java:1339)[org.scala-lang.scala-library-2.11.1.jar:na]
      3. scala.concurrent.forkjoin.ForkJoinPool.runWorker(ForkJoinPool.java:1979)[org.scala-lang.scala-library-2.11.1.jar:na]
      4. scala.concurrent.forkjoin.ForkJoinWorkerThread.run(ForkJoinWorkerThread.java:107)[org.scala-lang.scala-library-2.11.1.jar:na]
      4 frames