java.lang.ClassCastException

ch.logobject.test.model.Address

Samebug tips0

There are no available Samebug tips for this exception. If you know how to solve this issue, help other users by writing a short tip.

Don't give up yet. Paste your full stack trace to get a solution.

Solutions on the web1

  • via Hibernate JIRA by Ortwin Glück, 9 months ago
    ch.logobject.test.model.Address
  • Stack trace

    • java.lang.ClassCastException: ch.logobject.test.model.Address at org.hibernate.loader.Loader.readCollectionElement(Loader.java:912) at org.hibernate.loader.Loader.readCollectionElements(Loader.java:619) at org.hibernate.loader.Loader.getRowFromResultSet(Loader.java:563) at org.hibernate.loader.Loader.doQuery(Loader.java:666) at org.hibernate.loader.Loader.doQueryAndInitializeNonLazyCollections(Loader.java:221) at org.hibernate.loader.Loader.doList(Loader.java:2001) at org.hibernate.loader.Loader.list(Loader.java:1985) at org.hibernate.loader.hql.QueryLoader.list(QueryLoader.java:405) at org.hibernate.hql.ast.QueryTranslatorImpl.list(QueryTranslatorImpl.java:293) at org.hibernate.impl.SessionImpl.list(SessionImpl.java:864) at org.hibernate.impl.QueryImpl.list(QueryImpl.java:74) at org.hibernate.ejb.QueryImpl.getResultList(QueryImpl.java:41)

    Write tip

    You have a different solution? A short tip here would help you and many other users who saw this issue last week.

    Users with the same issue

    You’re the first here who have seen this exception.