ClassCastException « HQL « JPA Q&A





1. java.lang.ClassCastException: org.hibernate.hql.ast.HqlToken    forum.hibernate.org

java.lang.ClassCastException: org.hibernate.hql.ast.HqlToken at org.hibernate.hql.ast.HqlLexer.makeToken(HqlLexer.java:33) at org.hibernate.hql.antlr.HqlBaseLexer.mIDENT(HqlBaseLexer.java:632) at org.hibernate.hql.antlr.HqlBaseLexer.nextToken(HqlBaseLexer.java:225) at antlr.TokenBuffer.fill(TokenBuffer.java:69) at antlr.TokenBuffer.LA(TokenBuffer.java:80) at antlr.LLkParser.LA(LLkParser.java:52) at org.hibernate.hql.antlr.HqlBaseParser.statement(HqlBaseParser.java:130) at org.hibernate.hql.ast.QueryTranslatorImpl.parse(QueryTranslatorImpl.java:209) at org.hibernate.hql.ast.QueryTranslatorImpl.doCompile(QueryTranslatorImpl.java:127) at org.hibernate.hql.ast.QueryTranslatorImpl.compile(QueryTranslatorImpl.java:83) at org.hibernate.impl.SessionFactoryImpl.getQuery(SessionFactoryImpl.java:427) at ...

2. java.lang.ClassCastException: org.hibernate.hql.ast.HqlToken    forum.hibernate.org

Hello! Can someone help me figure out this ClassCastException error message? java.lang.ClassCastException: org.hibernate.hql.ast.HqlToken JBOSS: 4.0 HIBERNATE: 3.0 JDK: 1.5 Code: java.lang.reflect.InvocationTargetException at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) at ...

3. ClassCastException org.hibernate.hql.ast.HqlToken    forum.hibernate.org

Newbie Joined: Thu Apr 01, 2004 3:31 pm Posts: 4 We're using the following environment 1. JBoss 4.0.2 2. Hibernate 3.0 3. ActiveMQ 4.0 We were using ActiveMQ 3.2 without any issues before upgrading to version 4.0. On upgrade we've started getting the following exception. We've even tried upgrading to JBoss 4.0.3 SP1, but that didn't help either. The sequence is, ...