Created
June 1, 2015 08:27
-
-
Save scesbron/3cf5d8e8732697612441 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
play.api.UnexpectedException: Unexpected exception[IllegalArgumentException: org.hibernate.hql.internal.ast.QuerySyntaxException: Test is not mapped [from Test]] | |
at play.api.http.HttpErrorHandlerExceptions$.throwableToUsefulException(HttpErrorHandler.scala:250) ~[com.typesafe.play.play_2.11-2.4.0.jar:2.4.0] | |
at play.api.http.DefaultHttpErrorHandler.onServerError(HttpErrorHandler.scala:180) ~[com.typesafe.play.play_2.11-2.4.0.jar:2.4.0] | |
at play.api.GlobalSettings$class.onError(GlobalSettings.scala:179) [com.typesafe.play.play_2.11-2.4.0.jar:2.4.0] | |
at play.api.DefaultGlobal$.onError(GlobalSettings.scala:212) [com.typesafe.play.play_2.11-2.4.0.jar:2.4.0] | |
at play.api.http.GlobalSettingsHttpErrorHandler.onServerError(HttpErrorHandler.scala:94) [com.typesafe.play.play_2.11-2.4.0.jar:2.4.0] | |
at play.core.server.netty.PlayDefaultUpstreamHandler$$anonfun$9$$anonfun$apply$1.applyOrElse(PlayDefaultUpstreamHandler.scala:158) [com.typesafe.play.play-netty-server_2.11-2.4.0.jar:2.4.0] | |
at play.core.server.netty.PlayDefaultUpstreamHandler$$anonfun$9$$anonfun$apply$1.applyOrElse(PlayDefaultUpstreamHandler.scala:155) [com.typesafe.play.play-netty-server_2.11-2.4.0.jar:2.4.0] | |
at scala.runtime.AbstractPartialFunction.apply(AbstractPartialFunction.scala:36) [org.scala-lang.scala-library-2.11.6.jar:na] | |
at scala.util.Failure$$anonfun$recover$1.apply(Try.scala:215) [org.scala-lang.scala-library-2.11.6.jar:na] | |
at scala.util.Try$.apply(Try.scala:191) [org.scala-lang.scala-library-2.11.6.jar:na] | |
at scala.util.Failure.recover(Try.scala:215) [org.scala-lang.scala-library-2.11.6.jar:na] | |
at scala.concurrent.Future$$anonfun$recover$1.apply(Future.scala:324) [org.scala-lang.scala-library-2.11.6.jar:na] | |
at scala.concurrent.Future$$anonfun$recover$1.apply(Future.scala:324) [org.scala-lang.scala-library-2.11.6.jar:na] | |
at scala.concurrent.impl.CallbackRunnable.run(Promise.scala:32) [org.scala-lang.scala-library-2.11.6.jar:na] | |
at play.api.libs.iteratee.Execution$trampoline$.executeScheduled(Execution.scala:109) [com.typesafe.play.play-iteratees_2.11-2.4.0.jar:2.4.0] | |
at play.api.libs.iteratee.Execution$trampoline$.execute(Execution.scala:71) [com.typesafe.play.play-iteratees_2.11-2.4.0.jar:2.4.0] | |
at scala.concurrent.impl.CallbackRunnable.executeWithValue(Promise.scala:40) [org.scala-lang.scala-library-2.11.6.jar:na] | |
at scala.concurrent.impl.Promise$DefaultPromise.tryComplete(Promise.scala:248) [org.scala-lang.scala-library-2.11.6.jar:na] | |
at scala.concurrent.Promise$class.complete(Promise.scala:55) [org.scala-lang.scala-library-2.11.6.jar:na] | |
at scala.concurrent.impl.Promise$DefaultPromise.complete(Promise.scala:153) [org.scala-lang.scala-library-2.11.6.jar:na] | |
at scala.concurrent.impl.Future$PromiseCompletingRunnable.run(Future.scala:23) [org.scala-lang.scala-library-2.11.6.jar:na] | |
at akka.dispatch.TaskInvocation.run(AbstractDispatcher.scala:40) [com.typesafe.akka.akka-actor_2.11-2.3.11.jar:na] | |
at akka.dispatch.ForkJoinExecutorConfigurator$AkkaForkJoinTask.exec(AbstractDispatcher.scala:397) [com.typesafe.akka.akka-actor_2.11-2.3.11.jar:na] | |
at scala.concurrent.forkjoin.ForkJoinTask.doExec(ForkJoinTask.java:260) [org.scala-lang.scala-library-2.11.6.jar:na] | |
at scala.concurrent.forkjoin.ForkJoinPool$WorkQueue.runTask(ForkJoinPool.java:1339) [org.scala-lang.scala-library-2.11.6.jar:na] | |
at scala.concurrent.forkjoin.ForkJoinPool.runWorker(ForkJoinPool.java:1979) [org.scala-lang.scala-library-2.11.6.jar:na] | |
at scala.concurrent.forkjoin.ForkJoinWorkerThread.run(ForkJoinWorkerThread.java:107) [org.scala-lang.scala-library-2.11.6.jar:na] | |
Caused by: java.lang.IllegalArgumentException: org.hibernate.hql.internal.ast.QuerySyntaxException: Test is not mapped [from Test] | |
at org.hibernate.jpa.spi.AbstractEntityManagerImpl.convert(AbstractEntityManagerImpl.java:1750) ~[org.hibernate.hibernate-entitymanager-4.3.6.Final.jar:4.3.6.Final] | |
at org.hibernate.jpa.spi.AbstractEntityManagerImpl.convert(AbstractEntityManagerImpl.java:1677) ~[org.hibernate.hibernate-entitymanager-4.3.6.Final.jar:4.3.6.Final] | |
at org.hibernate.jpa.spi.AbstractEntityManagerImpl.convert(AbstractEntityManagerImpl.java:1683) ~[org.hibernate.hibernate-entitymanager-4.3.6.Final.jar:4.3.6.Final] | |
at org.hibernate.jpa.spi.AbstractEntityManagerImpl.createQuery(AbstractEntityManagerImpl.java:350) ~[org.hibernate.hibernate-entitymanager-4.3.6.Final.jar:4.3.6.Final] | |
at models.Test.findAll(Test.java:17) ~[testjpa.testjpa-1.0-SNAPSHOT.jar:1.0-SNAPSHOT] | |
at controllers.Application.index(Application.java:14) ~[testjpa.testjpa-1.0-SNAPSHOT.jar:1.0-SNAPSHOT] | |
at router.Routes$$anonfun$routes$1$$anonfun$applyOrElse$1$$anonfun$apply$1.apply(Routes.scala:95) ~[testjpa.testjpa-1.0-SNAPSHOT.jar:1.0-SNAPSHOT] | |
at router.Routes$$anonfun$routes$1$$anonfun$applyOrElse$1$$anonfun$apply$1.apply(Routes.scala:95) ~[testjpa.testjpa-1.0-SNAPSHOT.jar:1.0-SNAPSHOT] | |
at play.core.routing.HandlerInvokerFactory$$anon$4.resultCall(HandlerInvoker.scala:136) ~[com.typesafe.play.play_2.11-2.4.0.jar:2.4.0] | |
at play.core.routing.HandlerInvokerFactory$JavaActionInvokerFactory$$anon$14$$anon$3$$anon$1.invocation(HandlerInvoker.scala:127) ~[com.typesafe.play.play_2.11-2.4.0.jar:2.4.0] | |
at play.core.j.JavaAction$$anon$1.call(JavaAction.scala:65) ~[com.typesafe.play.play_2.11-2.4.0.jar:2.4.0] | |
at play.http.DefaultHttpRequestHandler$1.call(DefaultHttpRequestHandler.java:20) ~[com.typesafe.play.play_2.11-2.4.0.jar:2.4.0] | |
at play.db.jpa.TransactionalAction.lambda$call$5(TransactionalAction.java:19) ~[com.typesafe.play.play-java-jpa_2.11-2.4.0.jar:2.4.0] | |
at play.db.jpa.TransactionalAction$$Lambda$36/299067631.apply(Unknown Source) ~[na:na] | |
at play.db.jpa.DefaultJPAApi.withTransaction(DefaultJPAApi.java:136) ~[com.typesafe.play.play-java-jpa_2.11-2.4.0.jar:2.4.0] | |
at play.db.jpa.JPA.withTransaction(JPA.java:159) ~[com.typesafe.play.play-java-jpa_2.11-2.4.0.jar:2.4.0] | |
at play.db.jpa.TransactionalAction.call(TransactionalAction.java:16) ~[com.typesafe.play.play-java-jpa_2.11-2.4.0.jar:2.4.0] | |
at play.core.j.JavaAction$$anonfun$7.apply(JavaAction.scala:85) ~[com.typesafe.play.play_2.11-2.4.0.jar:2.4.0] | |
at play.core.j.JavaAction$$anonfun$7.apply(JavaAction.scala:85) ~[com.typesafe.play.play_2.11-2.4.0.jar:2.4.0] | |
at scala.concurrent.impl.Future$PromiseCompletingRunnable.liftedTree1$1(Future.scala:24) [org.scala-lang.scala-library-2.11.6.jar:na] | |
at scala.concurrent.impl.Future$PromiseCompletingRunnable.run(Future.scala:24) [org.scala-lang.scala-library-2.11.6.jar:na] | |
at play.core.j.HttpExecutionContext$$anon$2.run(HttpExecutionContext.scala:40) ~[com.typesafe.play.play_2.11-2.4.0.jar:2.4.0] | |
at play.api.libs.iteratee.Execution$trampoline$.execute(Execution.scala:70) [com.typesafe.play.play-iteratees_2.11-2.4.0.jar:2.4.0] | |
at play.core.j.HttpExecutionContext.execute(HttpExecutionContext.scala:32) ~[com.typesafe.play.play_2.11-2.4.0.jar:2.4.0] | |
at scala.concurrent.impl.Future$.apply(Future.scala:31) ~[org.scala-lang.scala-library-2.11.6.jar:na] | |
at scala.concurrent.Future$.apply(Future.scala:492) ~[org.scala-lang.scala-library-2.11.6.jar:na] | |
at play.core.j.JavaAction.apply(JavaAction.scala:85) ~[com.typesafe.play.play_2.11-2.4.0.jar:2.4.0] | |
at play.api.mvc.Action$$anonfun$apply$1$$anonfun$apply$4$$anonfun$apply$5.apply(Action.scala:105) ~[com.typesafe.play.play_2.11-2.4.0.jar:2.4.0] | |
at play.api.mvc.Action$$anonfun$apply$1$$anonfun$apply$4$$anonfun$apply$5.apply(Action.scala:105) ~[com.typesafe.play.play_2.11-2.4.0.jar:2.4.0] | |
at play.utils.Threads$.withContextClassLoader(Threads.scala:21) ~[com.typesafe.play.play_2.11-2.4.0.jar:2.4.0] | |
at play.api.mvc.Action$$anonfun$apply$1$$anonfun$apply$4.apply(Action.scala:104) ~[com.typesafe.play.play_2.11-2.4.0.jar:2.4.0] | |
at play.api.mvc.Action$$anonfun$apply$1$$anonfun$apply$4.apply(Action.scala:103) ~[com.typesafe.play.play_2.11-2.4.0.jar:2.4.0] | |
at scala.Option.map(Option.scala:146) ~[org.scala-lang.scala-library-2.11.6.jar:na] | |
at play.api.mvc.Action$$anonfun$apply$1.apply(Action.scala:103) ~[com.typesafe.play.play_2.11-2.4.0.jar:2.4.0] | |
at play.api.mvc.Action$$anonfun$apply$1.apply(Action.scala:96) ~[com.typesafe.play.play_2.11-2.4.0.jar:2.4.0] | |
at play.api.libs.iteratee.Iteratee$$anonfun$mapM$1.apply(Iteratee.scala:524) ~[com.typesafe.play.play-iteratees_2.11-2.4.0.jar:2.4.0] | |
at play.api.libs.iteratee.Iteratee$$anonfun$mapM$1.apply(Iteratee.scala:524) ~[com.typesafe.play.play-iteratees_2.11-2.4.0.jar:2.4.0] | |
at play.api.libs.iteratee.Iteratee$$anonfun$flatMapM$1.apply(Iteratee.scala:560) ~[com.typesafe.play.play-iteratees_2.11-2.4.0.jar:2.4.0] | |
at play.api.libs.iteratee.Iteratee$$anonfun$flatMapM$1.apply(Iteratee.scala:560) ~[com.typesafe.play.play-iteratees_2.11-2.4.0.jar:2.4.0] | |
at play.api.libs.iteratee.Iteratee$$anonfun$flatMap$1$$anonfun$apply$13.apply(Iteratee.scala:536) ~[com.typesafe.play.play-iteratees_2.11-2.4.0.jar:2.4.0] | |
at play.api.libs.iteratee.Iteratee$$anonfun$flatMap$1$$anonfun$apply$13.apply(Iteratee.scala:536) ~[com.typesafe.play.play-iteratees_2.11-2.4.0.jar:2.4.0] | |
at scala.concurrent.impl.Future$PromiseCompletingRunnable.liftedTree1$1(Future.scala:24) [org.scala-lang.scala-library-2.11.6.jar:na] | |
at scala.concurrent.impl.Future$PromiseCompletingRunnable.run(Future.scala:24) [org.scala-lang.scala-library-2.11.6.jar:na] | |
... 6 common frames omitted | |
Caused by: org.hibernate.hql.internal.ast.QuerySyntaxException: Test is not mapped [from Test] | |
at org.hibernate.hql.internal.ast.QuerySyntaxException.generateQueryException(QuerySyntaxException.java:96) ~[org.hibernate.hibernate-core-4.3.6.Final.jar:4.3.6.Final] | |
at org.hibernate.QueryException.wrapWithQueryString(QueryException.java:120) ~[org.hibernate.hibernate-core-4.3.6.Final.jar:4.3.6.Final] | |
at org.hibernate.hql.internal.ast.QueryTranslatorImpl.doCompile(QueryTranslatorImpl.java:234) ~[org.hibernate.hibernate-core-4.3.6.Final.jar:4.3.6.Final] | |
at org.hibernate.hql.internal.ast.QueryTranslatorImpl.compile(QueryTranslatorImpl.java:158) ~[org.hibernate.hibernate-core-4.3.6.Final.jar:4.3.6.Final] | |
at org.hibernate.engine.query.spi.HQLQueryPlan.<init>(HQLQueryPlan.java:126) ~[org.hibernate.hibernate-core-4.3.6.Final.jar:4.3.6.Final] | |
at org.hibernate.engine.query.spi.HQLQueryPlan.<init>(HQLQueryPlan.java:88) ~[org.hibernate.hibernate-core-4.3.6.Final.jar:4.3.6.Final] | |
at org.hibernate.engine.query.spi.QueryPlanCache.getHQLQueryPlan(QueryPlanCache.java:167) ~[org.hibernate.hibernate-core-4.3.6.Final.jar:4.3.6.Final] | |
at org.hibernate.internal.AbstractSessionImpl.getHQLQueryPlan(AbstractSessionImpl.java:301) ~[org.hibernate.hibernate-core-4.3.6.Final.jar:4.3.6.Final] | |
at org.hibernate.internal.AbstractSessionImpl.createQuery(AbstractSessionImpl.java:236) ~[org.hibernate.hibernate-core-4.3.6.Final.jar:4.3.6.Final] | |
at org.hibernate.internal.SessionImpl.createQuery(SessionImpl.java:1800) ~[org.hibernate.hibernate-core-4.3.6.Final.jar:4.3.6.Final] | |
at org.hibernate.jpa.spi.AbstractEntityManagerImpl.createQuery(AbstractEntityManagerImpl.java:342) ~[org.hibernate.hibernate-entitymanager-4.3.6.Final.jar:4.3.6.Final] | |
... 45 common frames omitted | |
Caused by: org.hibernate.hql.internal.ast.QuerySyntaxException: Test is not mapped | |
at org.hibernate.hql.internal.ast.util.SessionFactoryHelper.requireClassPersister(SessionFactoryHelper.java:189) ~[org.hibernate.hibernate-core-4.3.6.Final.jar:4.3.6.Final] | |
at org.hibernate.hql.internal.ast.tree.FromElementFactory.addFromElement(FromElementFactory.java:109) ~[org.hibernate.hibernate-core-4.3.6.Final.jar:4.3.6.Final] | |
at org.hibernate.hql.internal.ast.tree.FromClause.addFromElement(FromClause.java:95) ~[org.hibernate.hibernate-core-4.3.6.Final.jar:4.3.6.Final] | |
at org.hibernate.hql.internal.ast.HqlSqlWalker.createFromElement(HqlSqlWalker.java:332) ~[org.hibernate.hibernate-core-4.3.6.Final.jar:4.3.6.Final] | |
at org.hibernate.hql.internal.antlr.HqlSqlBaseWalker.fromElement(HqlSqlBaseWalker.java:3678) ~[org.hibernate.hibernate-core-4.3.6.Final.jar:4.3.6.Final] | |
at org.hibernate.hql.internal.antlr.HqlSqlBaseWalker.fromElementList(HqlSqlBaseWalker.java:3567) ~[org.hibernate.hibernate-core-4.3.6.Final.jar:4.3.6.Final] | |
at org.hibernate.hql.internal.antlr.HqlSqlBaseWalker.fromClause(HqlSqlBaseWalker.java:708) ~[org.hibernate.hibernate-core-4.3.6.Final.jar:4.3.6.Final] | |
at org.hibernate.hql.internal.antlr.HqlSqlBaseWalker.query(HqlSqlBaseWalker.java:564) ~[org.hibernate.hibernate-core-4.3.6.Final.jar:4.3.6.Final] | |
at org.hibernate.hql.internal.antlr.HqlSqlBaseWalker.selectStatement(HqlSqlBaseWalker.java:301) ~[org.hibernate.hibernate-core-4.3.6.Final.jar:4.3.6.Final] | |
at org.hibernate.hql.internal.antlr.HqlSqlBaseWalker.statement(HqlSqlBaseWalker.java:249) ~[org.hibernate.hibernate-core-4.3.6.Final.jar:4.3.6.Final] | |
at org.hibernate.hql.internal.ast.QueryTranslatorImpl.analyze(QueryTranslatorImpl.java:278) ~[org.hibernate.hibernate-core-4.3.6.Final.jar:4.3.6.Final] | |
at org.hibernate.hql.internal.ast.QueryTranslatorImpl.doCompile(QueryTranslatorImpl.java:206) ~[org.hibernate.hibernate-core-4.3.6.Final.jar:4.3.6.Final] | |
... 53 common frames omitted |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment