templates.exception.html Maven / Gradle / Ivy
Show all versions of spot-cms-base Show documentation
Exception
500 Internal Server error
An exception of type 'Exception' occurred:
io.spotnext.core.persistence.exception.QueryException: Could not execute query 'SELECT p FROM aParty p'
at io.spotnext.core.persistence.hibernate.impl.HibernatePersistenceService.query(HibernatePersistenceService.java:251)
at io.spotnext.core.persistence.service.impl.DefaultQueryService.query(DefaultQueryService.java:44)
at io.spotnext.sample.endpoints.HomePageEndpoint.getAllParties(HomePageEndpoint.java:40)
at io.spotnext.sample.endpoints.HomePageEndpoint.get(HomePageEndpoint.java:32)
at sun.reflect.GeneratedMethodAccessor49.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:498)
at io.spotnext.core.infrastructure.service.impl.RemoteHttpEndpointHandlerService$HttpRoute.handle(RemoteHttpEndpointHandlerService.java:358)
at spark.ResponseTransformerRouteImpl$1.handle(ResponseTransformerRouteImpl.java:47)
at spark.http.matching.Routes.execute(Routes.java:61)
at spark.http.matching.MatcherFilter.doFilter(MatcherFilter.java:130)
at spark.embeddedserver.jetty.JettyHandler.doHandle(JettyHandler.java:50)
at org.eclipse.jetty.server.session.SessionHandler.doScope(SessionHandler.java:1568)
at org.eclipse.jetty.server.handler.ScopedHandler.handle(ScopedHandler.java:141)
at org.eclipse.jetty.server.handler.HandlerWrapper.handle(HandlerWrapper.java:132)
at org.eclipse.jetty.server.Server.handle(Server.java:564)
at org.eclipse.jetty.server.HttpChannel.handle(HttpChannel.java:317)
at org.eclipse.jetty.server.HttpConnection.onFillable(HttpConnection.java:251)
at org.eclipse.jetty.io.AbstractConnection$ReadCallback.succeeded(AbstractConnection.java:279)
at org.eclipse.jetty.io.FillInterest.fillable(FillInterest.java:110)
at org.eclipse.jetty.io.ChannelEndPoint$2.run(ChannelEndPoint.java:124)
at org.eclipse.jetty.util.thread.Invocable.invokePreferred(Invocable.java:128)
at org.eclipse.jetty.util.thread.Invocable$InvocableExecutor.invoke(Invocable.java:222)
at org.eclipse.jetty.util.thread.strategy.EatWhatYouKill.doProduce(EatWhatYouKill.java:294)
at org.eclipse.jetty.util.thread.strategy.EatWhatYouKill.run(EatWhatYouKill.java:199)
at org.eclipse.jetty.util.thread.QueuedThreadPool.runJob(QueuedThreadPool.java:673)
at org.eclipse.jetty.util.thread.QueuedThreadPool$2.run(QueuedThreadPool.java:591)
at java.lang.Thread.run(Thread.java:748)
Caused by: org.springframework.transaction.TransactionUsageException: Error during transactional execution.; nested exception is io.spotnext.core.persistence.exception.QueryException: Could not parse query
at io.spotnext.core.persistence.service.impl.DefaultTransactionService.execute(DefaultTransactionService.java:54)
at io.spotnext.core.persistence.hibernate.impl.HibernatePersistenceService.query(HibernatePersistenceService.java:148)
... 27 more