java.lang.IllegalArgumentException: org.hibernate.hql.internal.ast.QuerySyntaxException: Invalid path: 'e_documento_empresa.nombre' [SELECT e.oid, e.importePosicion, e_documento.ejercicioPeriodo from com.openxava.oxsigo.modelo.DetalleDocumentoContable e left join e.documento e_documento where e.importePosicion != 0 and e.concepto.cuentaContable.cuenta in ( select cuenta from com.openxava.oxsigo.modelo.CuentaContable where escueganan= true) AND 1=1 order by e_documento_empresa.nombre asc, e.concepto.cuentaContable.cuenta asc]

openxava | jegomez | 8 months ago
tip
Your exception is missing from the Samebug knowledge base.
Here are the best solutions we found on the Internet.
Click on the to mark the helpful solution and get rewards for you help.
  1. 0

    Fallo en la representación de gráficos, editor no disponible para eje X

    openxava | 8 months ago | jegomez
    java.lang.IllegalArgumentException: org.hibernate.hql.internal.ast.QuerySyntaxException: Invalid path: 'e_documento_empresa.nombre' [SELECT e.oid, e.importePosicion, e_documento.ejercicioPeriodo from com.openxava.oxsigo.modelo.DetalleDocumentoContable e left join e.documento e_documento where e.importePosicion != 0 and e.concepto.cuentaContable.cuenta in ( select cuenta from com.openxava.oxsigo.modelo.CuentaContable where escueganan= true) AND 1=1 order by e_documento_empresa.nombre asc, e.concepto.cuentaContable.cuenta asc]
  2. 0

    Error creando tabla muy simple

    openxava | 2 months ago | ghermida00
    java.lang.IllegalArgumentException: org.hibernate.hql.internal.ast.QuerySyntaxException: unexpected token: from near line 1, column 23 [SELECT e.idregistro, from org.openxava.SistemasGestion.modelo.TareasItem e]
  3. 0

    null check for joined entity not working

    GitHub | 7 months ago | Kernle32DLL
    org.hibernate.hql.internal.ast.QuerySyntaxException: unexpected AST node: is not null [select person from de.com.steep.radoclid2.model.entities.Person person order by person.radiationExposedPerson is not null asc]
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

  5. 0

    How can I use order by in clause in JPA?

    Stack Overflow | 4 months ago | wener
    org.hibernate.hql.internal.ast.QuerySyntaxException: unexpected AST node: in near line 3, column 36 [select activityInfoEntity from x.x.x.ActivityInfoEntity activityInfoEntity order by activityInfoEntity.status in (?1) desc]
  6. 0

    org.hibernate.hql.internal.ast.QuerySyntaxException: unexpected token: * near line 1

    Stack Overflow | 1 year ago | Crazy Coder
    org.hibernate.hql.internal.ast.QuerySyntaxException: unexpected token: * near line 1, column 8 [SELECT * FROM com.rhcloud.giveme.entity.User u WHERE u.email = :email]
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. org.hibernate.hql.internal.ast.QuerySyntaxException

    Invalid path: 'e_documento_empresa.nombre' [SELECT e.oid, e.importePosicion, e_documento.ejercicioPeriodo from com.openxava.oxsigo.modelo.DetalleDocumentoContable e left join e.documento e_documento where e.importePosicion != 0 and e.concepto.cuentaContable.cuenta in ( select cuenta from com.openxava.oxsigo.modelo.CuentaContable where escueganan= true) AND 1=1 order by e_documento_empresa.nombre asc, e.concepto.cuentaContable.cuenta asc]

    at org.hibernate.hql.internal.ast.QuerySyntaxException.convert()
  2. Hibernate
    SessionImpl.createQuery
    1. org.hibernate.hql.internal.ast.QuerySyntaxException.convert(QuerySyntaxException.java:91)
    2. org.hibernate.hql.internal.ast.ErrorCounter.throwQueryException(ErrorCounter.java:109)
    3. org.hibernate.hql.internal.ast.QueryTranslatorImpl.analyze(QueryTranslatorImpl.java:284)
    4. org.hibernate.hql.internal.ast.QueryTranslatorImpl.doCompile(QueryTranslatorImpl.java:206)
    5. org.hibernate.hql.internal.ast.QueryTranslatorImpl.compile(QueryTranslatorImpl.java:158)
    6. org.hibernate.engine.query.spi.HQLQueryPlan.<init>(HQLQueryPlan.java:131)
    7. org.hibernate.engine.query.spi.HQLQueryPlan.<init>(HQLQueryPlan.java:93)
    8. org.hibernate.engine.query.spi.QueryPlanCache.getHQLQueryPlan(QueryPlanCache.java:167)
    9. org.hibernate.internal.AbstractSessionImpl.getHQLQueryPlan(AbstractSessionImpl.java:301)
    10. org.hibernate.internal.AbstractSessionImpl.createQuery(AbstractSessionImpl.java:236)
    11. org.hibernate.internal.SessionImpl.createQuery(SessionImpl.java:1836)
    11 frames
  3. org.hibernate.jpa
    AbstractEntityManagerImpl.createQuery
    1. org.hibernate.jpa.spi.AbstractEntityManagerImpl.createQuery(AbstractEntityManagerImpl.java:328)
    1 frame
  4. org.openxava.jpa
    EntityManagerDecorator.createQuery
    1. org.openxava.jpa.impl.EntityManagerDecorator.createQuery(EntityManagerDecorator.java:124)
    1 frame
  5. org.openxava.tab
    XTableModelDecoratorBase.getObjectAt
    1. org.openxava.tab.impl.JPATabProvider.nextBlock(JPATabProvider.java:153)
    2. org.openxava.tab.impl.JPATabProvider.nextChunk(JPATabProvider.java:139)
    3. org.openxava.tab.impl.EntityTabDataProvider.nextChunk(EntityTabDataProvider.java:34)
    4. org.openxava.tab.impl.EntityTab.nextChunk(EntityTab.java:249)
    5. org.openxava.tab.impl.TableModelBean.getRow(TableModelBean.java:121)
    6. org.openxava.tab.impl.TableModelBean.getObjectAt(TableModelBean.java:149)
    7. org.openxava.tab.impl.XTableModelDecoratorBase.getObjectAt(XTableModelDecoratorBase.java:54)
    7 frames
  6. org.apache.jsp
    chartDataEditor_jsp._jspService
    1. org.apache.jsp.xava.editors.chartDataEditor_jsp._jspService(chartDataEditor_jsp.java:173)
    1 frame
  7. GWT dev
    HttpJspBase.service
    1. org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:70)
    1 frame
  8. JavaServlet
    HttpServlet.service
    1. javax.servlet.http.HttpServlet.service(HttpServlet.java:728)
    1 frame
  9. GWT dev
    JspServlet.service
    1. org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:432)
    2. org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:390)
    3. org.apache.jasper.servlet.JspServlet.service(JspServlet.java:334)
    3 frames
  10. JavaServlet
    HttpServlet.service
    1. javax.servlet.http.HttpServlet.service(HttpServlet.java:728)
    1 frame
  11. Glassfish Core
    ApplicationDispatcher.include
    1. org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:305)
    2. org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:210)
    3. org.apache.catalina.core.ApplicationDispatcher.invoke(ApplicationDispatcher.java:749)
    4. org.apache.catalina.core.ApplicationDispatcher.doInclude(ApplicationDispatcher.java:605)
    5. org.apache.catalina.core.ApplicationDispatcher.include(ApplicationDispatcher.java:544)
    5 frames
  12. GWT dev
    PageContextImpl.include
    1. org.apache.jasper.runtime.JspRuntimeLibrary.include(JspRuntimeLibrary.java:954)
    2. org.apache.jasper.runtime.PageContextImpl.include(PageContextImpl.java:652)
    2 frames
  13. org.openxava.web
    EditorTag.doStartTag
    1. org.openxava.web.taglib.EditorTag.doStartTag(EditorTag.java:135)
    1 frame
  14. org.apache.jsp
    editor_jsp._jspService
    1. org.apache.jsp.xava.editor_jsp._jspService(editor_jsp.java:339)
    1 frame
  15. GWT dev
    HttpJspBase.service
    1. org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:70)
    1 frame
  16. JavaServlet
    HttpServlet.service
    1. javax.servlet.http.HttpServlet.service(HttpServlet.java:728)
    1 frame
  17. GWT dev
    JspServlet.service
    1. org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:432)
    2. org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:390)
    3. org.apache.jasper.servlet.JspServlet.service(JspServlet.java:334)
    3 frames
  18. JavaServlet
    HttpServlet.service
    1. javax.servlet.http.HttpServlet.service(HttpServlet.java:728)
    1 frame
  19. Glassfish Core
    ApplicationDispatcher.include
    1. org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:305)
    2. org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:210)
    3. org.apache.catalina.core.ApplicationDispatcher.invoke(ApplicationDispatcher.java:749)
    4. org.apache.catalina.core.ApplicationDispatcher.doInclude(ApplicationDispatcher.java:605)
    5. org.apache.catalina.core.ApplicationDispatcher.include(ApplicationDispatcher.java:544)
    5 frames
  20. GWT dev
    JspRuntimeLibrary.include
    1. org.apache.jasper.runtime.JspRuntimeLibrary.include(JspRuntimeLibrary.java:954)
    1 frame
  21. org.apache.jsp
    detail_jsp._jspService
    1. org.apache.jsp.xava.detail_jsp._jspService(detail_jsp.java:295)
    1 frame
  22. GWT dev
    HttpJspBase.service
    1. org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:70)
    1 frame
  23. JavaServlet
    HttpServlet.service
    1. javax.servlet.http.HttpServlet.service(HttpServlet.java:728)
    1 frame
  24. GWT dev
    JspServlet.service
    1. org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:432)
    2. org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:390)
    3. org.apache.jasper.servlet.JspServlet.service(JspServlet.java:334)
    3 frames
  25. JavaServlet
    HttpServlet.service
    1. javax.servlet.http.HttpServlet.service(HttpServlet.java:728)
    1 frame
  26. Glassfish Core
    ApplicationDispatcher.include
    1. org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:305)
    2. org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:210)
    3. org.apache.catalina.core.ApplicationDispatcher.invoke(ApplicationDispatcher.java:749)
    4. org.apache.catalina.core.ApplicationDispatcher.doInclude(ApplicationDispatcher.java:605)
    5. org.apache.catalina.core.ApplicationDispatcher.include(ApplicationDispatcher.java:544)
    5 frames
  27. GWT dev
    JspRuntimeLibrary.include
    1. org.apache.jasper.runtime.JspRuntimeLibrary.include(JspRuntimeLibrary.java:954)
    1 frame
  28. org.apache.jsp
    chartsEditor_jsp._jspService
    1. org.apache.jsp.xava.editors.chartsEditor_jsp._jspService(chartsEditor_jsp.java:75)
    1 frame
  29. GWT dev
    HttpJspBase.service
    1. org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:70)
    1 frame
  30. JavaServlet
    HttpServlet.service
    1. javax.servlet.http.HttpServlet.service(HttpServlet.java:728)
    1 frame
  31. GWT dev
    JspServlet.service
    1. org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:432)
    2. org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:390)
    3. org.apache.jasper.servlet.JspServlet.service(JspServlet.java:334)
    3 frames
  32. JavaServlet
    HttpServlet.service
    1. javax.servlet.http.HttpServlet.service(HttpServlet.java:728)
    1 frame
  33. Glassfish Core
    ApplicationDispatcher.include
    1. org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:305)
    2. org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:210)
    3. org.apache.catalina.core.ApplicationDispatcher.invoke(ApplicationDispatcher.java:749)
    4. org.apache.catalina.core.ApplicationDispatcher.doInclude(ApplicationDispatcher.java:605)
    5. org.apache.catalina.core.ApplicationDispatcher.include(ApplicationDispatcher.java:544)
    5 frames
  34. GWT dev
    JspRuntimeLibrary.include
    1. org.apache.jasper.runtime.JspRuntimeLibrary.include(JspRuntimeLibrary.java:954)
    1 frame
  35. org.apache.jsp
    list_jsp._jspService
    1. org.apache.jsp.xava.list_jsp._jspService(list_jsp.java:82)
    1 frame
  36. GWT dev
    HttpJspBase.service
    1. org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:70)
    1 frame
  37. JavaServlet
    HttpServlet.service
    1. javax.servlet.http.HttpServlet.service(HttpServlet.java:728)
    1 frame
  38. GWT dev
    JspServlet.service
    1. org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:432)
    2. org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:390)
    3. org.apache.jasper.servlet.JspServlet.service(JspServlet.java:334)
    3 frames
  39. JavaServlet
    HttpServlet.service
    1. javax.servlet.http.HttpServlet.service(HttpServlet.java:728)
    1 frame
  40. Glassfish Core
    ApplicationFilterChain.doFilter
    1. org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:305)
    2. org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:210)
    2 frames
  41. Tomcat WS
    WsFilter.doFilter
    1. org.apache.tomcat.websocket.server.WsFilter.doFilter(WsFilter.java:52)
    1 frame
  42. Glassfish Core
    ApplicationDispatcher.forward
    1. org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:243)
    2. org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:210)
    3. org.apache.catalina.core.ApplicationDispatcher.invoke(ApplicationDispatcher.java:749)
    4. org.apache.catalina.core.ApplicationDispatcher.processRequest(ApplicationDispatcher.java:487)
    5. org.apache.catalina.core.ApplicationDispatcher.doForward(ApplicationDispatcher.java:412)
    6. org.apache.catalina.core.ApplicationDispatcher.forward(ApplicationDispatcher.java:339)
    6 frames
  43. org.openxava.web
    Module.request
    1. org.openxava.web.servlets.Servlets.getURIAsString(Servlets.java:120)
    2. org.openxava.web.servlets.Servlets.getURIAsString(Servlets.java:99)
    3. org.openxava.web.dwr.Module.getURIAsString(Module.java:208)
    4. org.openxava.web.dwr.Module.fillResult(Module.java:230)
    5. org.openxava.web.dwr.Module.request(Module.java:94)
    5 frames
  44. Java RT
    Method.invoke
    1. sun.reflect.GeneratedMethodAccessor72.invoke(Unknown Source)
    2. sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
    3. java.lang.reflect.Method.invoke(Unknown Source)
    3 frames
  45. Direct Web Remoting
    DwrServlet.doPost
    1. org.directwebremoting.impl.ExecuteAjaxFilter.doFilter(ExecuteAjaxFilter.java:34)
    2. org.directwebremoting.impl.DefaultRemoter$1.doFilter(DefaultRemoter.java:428)
    3. org.directwebremoting.impl.DefaultRemoter.execute(DefaultRemoter.java:431)
    4. org.directwebremoting.impl.DefaultRemoter.execute(DefaultRemoter.java:283)
    5. org.directwebremoting.servlet.PlainCallHandler.handle(PlainCallHandler.java:52)
    6. org.directwebremoting.servlet.UrlProcessor.handle(UrlProcessor.java:101)
    7. org.directwebremoting.servlet.DwrServlet.doPost(DwrServlet.java:146)
    7 frames
  46. JavaServlet
    HttpServlet.service
    1. javax.servlet.http.HttpServlet.service(HttpServlet.java:647)
    2. javax.servlet.http.HttpServlet.service(HttpServlet.java:728)
    2 frames
  47. Glassfish Core
    ApplicationFilterChain.doFilter
    1. org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:305)
    2. org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:210)
    2 frames
  48. Tomcat WS
    WsFilter.doFilter
    1. org.apache.tomcat.websocket.server.WsFilter.doFilter(WsFilter.java:52)
    1 frame
  49. Glassfish Core
    CoyoteAdapter.service
    1. org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:243)
    2. org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:210)
    3. org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:222)
    4. org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:123)
    5. org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:502)
    6. org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:171)
    7. org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:100)
    8. org.apache.catalina.valves.AccessLogValve.invoke(AccessLogValve.java:953)
    9. org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:118)
    10. org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:409)
    10 frames
  50. Grizzly HTTP
    JIoEndpoint$SocketProcessor.run
    1. org.apache.coyote.http11.AbstractHttp11Processor.process(AbstractHttp11Processor.java:1044)
    2. org.apache.coyote.AbstractProtocol$AbstractConnectionHandler.process(AbstractProtocol.java:607)
    3. org.apache.tomcat.util.net.JIoEndpoint$SocketProcessor.run(JIoEndpoint.java:313)
    3 frames
  51. Java RT
    Thread.run
    1. java.util.concurrent.ThreadPoolExecutor.runWorker(Unknown Source)
    2. java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source)
    3. java.lang.Thread.run(Unknown Source)
    3 frames