java.lang.ClassCastException: This exception has no message.

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 Jessica Marchiori, 1 year ago
This exception has no message.
via Hibernate JIRA by Jessica Marchiori, 1 year ago
This exception has no message.
java.lang.ClassCastException:
at org.hibernate.hql.ast.FromElementFactory.createFromElement(FromElementFactory.java:410)
at org.hibernate.hql.ast.FromElementFactory.createAndAddFromElement(FromElementFactory.java:388)
at org.hibernate.hql.ast.FromElementFactory.addFromElement(FromElementFactory.java:79)
at org.hibernate.hql.ast.FromClause.addFromElement(FromClause.java:67)
at org.hibernate.hql.antlr.HqlSqlBaseWalker.fromElement(HqlSqlBaseWalker.java:2767)
at org.hibernate.hql.antlr.HqlSqlBaseWalker.fromElementList(HqlSqlBaseWalker.java:2656)
at org.hibernate.hql.antlr.HqlSqlBaseWalker.fromClause(HqlSqlBaseWalker.java:582)
at org.hibernate.hql.antlr.HqlSqlBaseWalker.deleteStatement(HqlSqlBaseWalker.java:319)
at org.hibernate.hql.ast.QueryTranslatorImpl.analyze(QueryTranslatorImpl.java:191)
at org.hibernate.hql.ast.QueryTranslatorImpl.doCompile(QueryTranslatorImpl.java:133)
at org.hibernate.hql.ast.QueryTranslatorImpl.compile(QueryTranslatorImpl.java:86)
at org.hibernate.impl.SessionFactoryImpl.getQuery(SessionFactoryImpl.java:429)
at org.hibernate.impl.SessionImpl.getQueries(SessionImpl.java:890)
at org.hibernate.impl.SessionImpl.executeUpdate(SessionImpl.java:871)

Users with the same issue

You are the first who have seen this exception. Write a tip to help other users and build your expert profile.

Know the solutions? Share your knowledge to help other developers to debug faster.