Advertisement
Guest User

Untitled

a guest
Jul 20th, 2017
98
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 6.61 KB | None | 0 0
  1. 20:37:54,227 ERROR [io.undertow.request] (default task-10) UT005023: Exception handling request to /auth/realms/master/beer: org.jboss.resteasy.spi.UnhandledException: org.keycloak.models.ModelException: java.lang.IllegalArgumentException: Type specified for TypedQuery [beercloak.models.jpa.entities.BeerEntity] is incompatible with query return type [class beercloak.models.jpa.entities.BeerEntity]
  2. at org.jboss.resteasy.core.ExceptionHandler.handleApplicationException(ExceptionHandler.java:76)
  3. at org.jboss.resteasy.core.ExceptionHandler.handleException(ExceptionHandler.java:212)
  4. at org.jboss.resteasy.core.SynchronousDispatcher.writeException(SynchronousDispatcher.java:168)
  5. at org.jboss.resteasy.core.SynchronousDispatcher.invoke(SynchronousDispatcher.java:411)
  6. at org.jboss.resteasy.core.SynchronousDispatcher.invoke(SynchronousDispatcher.java:202)
  7. at org.jboss.resteasy.plugins.server.servlet.ServletContainerDispatcher.service(ServletContainerDispatcher.java:221)
  8. at org.jboss.resteasy.plugins.server.servlet.HttpServletDispatcher.service(HttpServletDispatcher.java:56)
  9. at org.jboss.resteasy.plugins.server.servlet.HttpServletDispatcher.service(HttpServletDispatcher.java:51)
  10. at javax.servlet.http.HttpServlet.service(HttpServlet.java:790)
  11. at io.undertow.servlet.handlers.ServletHandler.handleRequest(ServletHandler.java:85)
  12. at io.undertow.servlet.handlers.FilterHandler$FilterChainImpl.doFilter(FilterHandler.java:129)
  13. at org.keycloak.services.filters.KeycloakSessionServletFilter.doFilter(KeycloakSessionServletFilter.java:90)
  14. at io.undertow.servlet.core.ManagedFilter.doFilter(ManagedFilter.java:60)
  15. at io.undertow.servlet.handlers.FilterHandler$FilterChainImpl.doFilter(FilterHandler.java:131)
  16. at io.undertow.servlet.handlers.FilterHandler.handleRequest(FilterHandler.java:84)
  17. at io.undertow.servlet.handlers.security.ServletSecurityRoleHandler.handleRequest(ServletSecurityRoleHandler.java:62)
  18. at io.undertow.servlet.handlers.ServletDispatchingHandler.handleRequest(ServletDispatchingHandler.java:36)
  19. at org.wildfly.extension.undertow.security.SecurityContextAssociationHandler.handleRequest(SecurityContextAssociationHandler.java:78)
  20. at io.undertow.server.handlers.PredicateHandler.handleRequest(PredicateHandler.java:43)
  21. at io.undertow.servlet.handlers.security.SSLInformationAssociationHandler.handleRequest(SSLInformationAssociationHandler.java:131)
  22. at io.undertow.servlet.handlers.security.ServletAuthenticationCallHandler.handleRequest(ServletAuthenticationCallHandler.java:57)
  23. at io.undertow.server.handlers.PredicateHandler.handleRequest(PredicateHandler.java:43)
  24. at io.undertow.security.handlers.AbstractConfidentialityHandler.handleRequest(AbstractConfidentialityHandler.java:46)
  25. at io.undertow.servlet.handlers.security.ServletConfidentialityConstraintHandler.handleRequest(ServletConfidentialityConstraintHandler.java:64)
  26. at io.undertow.security.handlers.AuthenticationMechanismsHandler.handleRequest(AuthenticationMechanismsHandler.java:60)
  27. at io.undertow.servlet.handlers.security.CachedAuthenticatedSessionHandler.handleRequest(CachedAuthenticatedSessionHandler.java:77)
  28. at io.undertow.security.handlers.NotificationReceiverHandler.handleRequest(NotificationReceiverHandler.java:50)
  29. at io.undertow.security.handlers.AbstractSecurityContextAssociationHandler.handleRequest(AbstractSecurityContextAssociationHandler.java:43)
  30. at io.undertow.server.handlers.PredicateHandler.handleRequest(PredicateHandler.java:43)
  31. at org.wildfly.extension.undertow.security.jacc.JACCContextIdHandler.handleRequest(JACCContextIdHandler.java:61)
  32. at io.undertow.server.handlers.PredicateHandler.handleRequest(PredicateHandler.java:43)
  33. at io.undertow.server.handlers.PredicateHandler.handleRequest(PredicateHandler.java:43)
  34. at io.undertow.servlet.handlers.ServletInitialHandler.handleFirstRequest(ServletInitialHandler.java:284)
  35. at io.undertow.servlet.handlers.ServletInitialHandler.dispatchRequest(ServletInitialHandler.java:263)
  36. at io.undertow.servlet.handlers.ServletInitialHandler.access$000(ServletInitialHandler.java:81)
  37. at io.undertow.servlet.handlers.ServletInitialHandler$1.handleRequest(ServletInitialHandler.java:174)
  38. at io.undertow.server.Connectors.executeRootHandler(Connectors.java:202)
  39. at io.undertow.server.HttpServerExchange$1.run(HttpServerExchange.java:793)
  40. at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142)
  41. at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617)
  42. at java.lang.Thread.run(Thread.java:745)
  43. Caused by: org.keycloak.models.ModelException: java.lang.IllegalArgumentException: Type specified for TypedQuery [beercloak.models.jpa.entities.BeerEntity] is incompatible with query return type [class beercloak.models.jpa.entities.BeerEntity]
  44. at org.keycloak.connections.jpa.PersistenceExceptionConverter.convert(PersistenceExceptionConverter.java:61)
  45. at org.keycloak.connections.jpa.PersistenceExceptionConverter.invoke(PersistenceExceptionConverter.java:51)
  46. at com.sun.proxy.$Proxy62.createQuery(Unknown Source)
  47. at beercloak.BeerResource.list(BeerResource.java:77)
  48. at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
  49. at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
  50. at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
  51. at java.lang.reflect.Method.invoke(Method.java:498)
  52. at org.jboss.resteasy.core.MethodInjectorImpl.invoke(MethodInjectorImpl.java:139)
  53. at org.jboss.resteasy.core.ResourceMethodInvoker.invokeOnTarget(ResourceMethodInvoker.java:295)
  54. at org.jboss.resteasy.core.ResourceMethodInvoker.invoke(ResourceMethodInvoker.java:249)
  55. at org.jboss.resteasy.core.ResourceLocatorInvoker.invokeOnTargetObject(ResourceLocatorInvoker.java:138)
  56. at org.jboss.resteasy.core.ResourceLocatorInvoker.invoke(ResourceLocatorInvoker.java:101)
  57. at org.jboss.resteasy.core.SynchronousDispatcher.invoke(SynchronousDispatcher.java:395)
  58. ... 37 more
  59. Caused by: java.lang.IllegalArgumentException: Type specified for TypedQuery [beercloak.models.jpa.entities.BeerEntity] is incompatible with query return type [class beercloak.models.jpa.entities.BeerEntity]
  60. at org.hibernate.jpa.spi.AbstractEntityManagerImpl.resultClassChecking(AbstractEntityManagerImpl.java:354)
  61. at org.hibernate.jpa.spi.AbstractEntityManagerImpl.createQuery(AbstractEntityManagerImpl.java:307)
  62. at sun.reflect.GeneratedMethodAccessor497.invoke(Unknown Source)
  63. at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
  64. at java.lang.reflect.Method.invoke(Method.java:498)
  65. at org.keycloak.connections.jpa.PersistenceExceptionConverter.invoke(PersistenceExceptionConverter.java:49)
  66. ... 49 more
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement