Searched on Google with the first line of a JAVA stack trace?

We can recommend more relevant solutions and speed up debugging when you paste your entire stack trace with the exception message. Try a sample exception.

Recommended solutions based on your search

Solutions on the web

via Hibernate JIRA by Marco Papini, 1 year ago
via Hibernate JIRA by Marco Papini, 1 year ago
java.lang.ClassCastException: 	at org.hibernate.hql.ast.SyntheticAndFactory.addWhereFragment(SyntheticAndFactory.java:44)	at org.hibernate.hql.ast.JoinProcessor.addJoinNodes(JoinProcessor.java:98)	at org.hibernate.hql.ast.JoinProcessor.processJoins(JoinProcessor.java:70)	at org.hibernate.hql.ast.HqlSqlWalker.processQuery(HqlSqlWalker.java:354)	at org.hibernate.hql.antlr.HqlSqlBaseWalker.afterQuery(HqlSqlBaseWalker.java:112)	at org.hibernate.hql.antlr.HqlSqlBaseWalker.query(HqlSqlBaseWalker.java:296)	at org.hibernate.hql.antlr.HqlSqlBaseWalker.select(HqlSqlBaseWalker.java:132)	at org.hibernate.hql.ast.QueryTranslatorImpl.analyze(QueryTranslatorImpl.java:202)	at org.hibernate.hql.ast.QueryTranslatorImpl.doCompile(QueryTranslatorImpl.java:158)	at org.hibernate.hql.ast.QueryTranslatorImpl.compile(QueryTranslatorImpl.java:111)	at org.hibernate.impl.SessionFactoryImpl.getQuery(SessionFactoryImpl.java:413)	at org.hibernate.impl.SessionFactoryImpl.checkNamedQueries(SessionFactoryImpl.java:374)	at org.hibernate.impl.SessionFactoryImpl.(SessionFactoryImpl.java:277)	at org.hibernate.cfg.Configuration.buildSessionFactory(Configuration.java:1033)