antlr.NoViableAltException: unexpected token: GROUP_CONCAT

GitHub | HackSung | 6 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

    Support for GROUP_CONCAT() in QueryDSL

    GitHub | 6 months ago | HackSung
    antlr.NoViableAltException: unexpected token: GROUP_CONCAT
  2. 0

    Query DSL - How to group by/retrieve an element in a collection

    Stack Overflow | 1 year ago | virtualpathum
    antlr.NoViableAltException: unexpected token: field1
  3. 0

    [SOLVED] JPQL error: unexpected token: part near line 1, column 140

    javaprogrammingforums.com | 1 year ago
    antlr.NoViableAltException: unexpected token: part
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

  5. 0

    [SOLVED] JPQL error: unexpected token: part near line 1, column 140

    javaprogrammingforums.com | 1 year ago
    antlr.NoViableAltException: unexpected token: part
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. antlr.NoViableAltException

    unexpected token: GROUP_CONCAT

    at org.hibernate.hql.internal.antlr.HqlBaseParser.identPrimaryBase()
  2. Hibernate
    SessionImpl.createQuery
    1. org.hibernate.hql.internal.antlr.HqlBaseParser.identPrimaryBase(HqlBaseParser.java:4793)
    2. org.hibernate.hql.internal.antlr.HqlBaseParser.identPrimary(HqlBaseParser.java:4252)
    3. org.hibernate.hql.internal.antlr.HqlBaseParser.primaryExpression(HqlBaseParser.java:975)
    4. org.hibernate.hql.internal.antlr.HqlBaseParser.atom(HqlBaseParser.java:3530)
    5. org.hibernate.hql.internal.antlr.HqlBaseParser.unaryExpression(HqlBaseParser.java:3383)
    6. org.hibernate.hql.internal.antlr.HqlBaseParser.multiplyExpression(HqlBaseParser.java:3255)
    7. org.hibernate.hql.internal.antlr.HqlBaseParser.additiveExpression(HqlBaseParser.java:2912)
    8. org.hibernate.hql.internal.antlr.HqlBaseParser.concatenation(HqlBaseParser.java:597)
    9. org.hibernate.hql.internal.antlr.HqlBaseParser.relationalExpression(HqlBaseParser.java:2679)
    10. org.hibernate.hql.internal.antlr.HqlBaseParser.equalityExpression(HqlBaseParser.java:2540)
    11. org.hibernate.hql.internal.antlr.HqlBaseParser.negatedExpression(HqlBaseParser.java:2504)
    12. org.hibernate.hql.internal.antlr.HqlBaseParser.logicalAndExpression(HqlBaseParser.java:2420)
    13. org.hibernate.hql.internal.antlr.HqlBaseParser.logicalOrExpression(HqlBaseParser.java:2385)
    14. org.hibernate.hql.internal.antlr.HqlBaseParser.expression(HqlBaseParser.java:2098)
    15. org.hibernate.hql.internal.antlr.HqlBaseParser.aliasedExpression(HqlBaseParser.java:2339)
    16. org.hibernate.hql.internal.antlr.HqlBaseParser.selectedPropertiesList(HqlBaseParser.java:1372)
    17. org.hibernate.hql.internal.antlr.HqlBaseParser.selectClause(HqlBaseParser.java:1282)
    18. org.hibernate.hql.internal.antlr.HqlBaseParser.selectFrom(HqlBaseParser.java:1022)
    19. org.hibernate.hql.internal.antlr.HqlBaseParser.queryRule(HqlBaseParser.java:730)
    20. org.hibernate.hql.internal.antlr.HqlBaseParser.selectStatement(HqlBaseParser.java:323)
    21. org.hibernate.hql.internal.antlr.HqlBaseParser.statement(HqlBaseParser.java:186)
    22. org.hibernate.hql.internal.ast.QueryTranslatorImpl.parse(QueryTranslatorImpl.java:279)
    23. org.hibernate.hql.internal.ast.QueryTranslatorImpl.doCompile(QueryTranslatorImpl.java:187)
    24. org.hibernate.hql.internal.ast.QueryTranslatorImpl.compile(QueryTranslatorImpl.java:142)
    25. org.hibernate.engine.query.spi.HQLQueryPlan.<init>(HQLQueryPlan.java:115)
    26. org.hibernate.engine.query.spi.HQLQueryPlan.<init>(HQLQueryPlan.java:76)
    27. org.hibernate.engine.query.spi.QueryPlanCache.getHQLQueryPlan(QueryPlanCache.java:150)
    28. org.hibernate.internal.AbstractSessionImpl.getHQLQueryPlan(AbstractSessionImpl.java:302)
    29. org.hibernate.internal.AbstractSessionImpl.createQuery(AbstractSessionImpl.java:240)
    30. org.hibernate.internal.SessionImpl.createQuery(SessionImpl.java:1907)
    30 frames
  3. org.hibernate.jpa
    AbstractEntityManagerImpl.createQuery
    1. org.hibernate.jpa.spi.AbstractEntityManagerImpl.createQuery(AbstractEntityManagerImpl.java:291)
    1 frame
  4. Java RT
    Method.invoke
    1. sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
    2. sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
    3. sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
    4. java.lang.reflect.Method.invoke(Method.java:498)
    4 frames
  5. Spring ORM
    SharedEntityManagerCreator$SharedEntityManagerInvocationHandler.invoke
    1. org.springframework.orm.jpa.SharedEntityManagerCreator$SharedEntityManagerInvocationHandler.invoke(SharedEntityManagerCreator.java:294)
    1 frame
  6. com.sun.proxy
    $Proxy96.createQuery
    1. com.sun.proxy.$Proxy96.createQuery(Unknown Source)
    1 frame
  7. com.querydsl.jpa
    AbstractJPAQuery.fetchResults
    1. com.querydsl.jpa.impl.AbstractJPAQuery.createQuery(AbstractJPAQuery.java:101)
    2. com.querydsl.jpa.impl.AbstractJPAQuery.fetchResults(AbstractJPAQuery.java:215)
    2 frames