java.lang.ClassCastException

org.kyrian.entity.gnomo.GnUserType_$$_javassist_268 cannot be cast to javassist.util.proxy.Proxy

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 web19027

  • via Hibernate JIRA by Marcial Atienzar, 1 year ago
    org.kyrian.entity.gnomo.GnUserType_$$_javassist_268 cannot be cast to javassist.util.proxy.Proxy
  • via Hibernate JIRA by Marcial Atienzar, 1 year ago
    org.kyrian.entity.gnomo.GnUserType_$$_javassist_268 cannot be cast to javassist.util.proxy.Proxy
  • via Hibernate JIRA by Edilmar Alves, 1 year ago
    entity.ClientePsq_$$_javassist_323 cannot be cast to javassist.util.proxy.Proxy
  • Stack trace

    • java.lang.ClassCastException: org.kyrian.entity.gnomo.GnUserType_$$_javassist_268 cannot be cast to javassist.util.proxy.Proxy at org.hibernate.proxy.pojo.javassist.JavassistLazyInitializer.getProxy(JavassistLazyInitializer.java:148) at org.hibernate.proxy.pojo.javassist.JavassistProxyFactory.getProxy(JavassistProxyFactory.java:73) at org.hibernate.tuple.entity.AbstractEntityTuplizer.createProxy(AbstractEntityTuplizer.java:758) at org.hibernate.persister.entity.AbstractEntityPersister.createProxy(AbstractEntityPersister.java:4419) at org.hibernate.event.internal.DefaultLoadEventListener.createProxyIfNecessary(DefaultLoadEventListener.java:333) at org.hibernate.event.internal.DefaultLoadEventListener.proxyOrLoad(DefaultLoadEventListener.java:259) at org.hibernate.event.internal.DefaultLoadEventListener.onLoad(DefaultLoadEventListener.java:151) at org.hibernate.internal.SessionImpl.fireLoad(SessionImpl.java:1017) at org.hibernate.internal.SessionImpl.internalLoad(SessionImpl.java:944) at org.hibernate.type.EntityType.resolveIdentifier(EntityType.java:671) at org.hibernate.type.EntityType.resolve(EntityType.java:489) at org.hibernate.engine.internal.TwoPhaseLoad.doInitializeEntity(TwoPhaseLoad.java:168) at org.hibernate.engine.internal.TwoPhaseLoad.initializeEntity(TwoPhaseLoad.java:137) at org.hibernate.loader.Loader.initializeEntitiesAndCollections(Loader.java:1112) at org.hibernate.loader.Loader.processResultSet(Loader.java:969) at org.hibernate.loader.Loader.doQuery(Loader.java:917) at org.hibernate.loader.Loader.doQueryAndInitializeNonLazyCollections(Loader.java:348) at org.hibernate.loader.Loader.doList(Loader.java:2548) at org.hibernate.loader.Loader.doList(Loader.java:2534) at org.hibernate.loader.Loader.listIgnoreQueryCache(Loader.java:2364) at org.hibernate.loader.Loader.list(Loader.java:2359) at org.hibernate.loader.hql.QueryLoader.list(QueryLoader.java:495) at org.hibernate.hql.internal.ast.QueryTranslatorImpl.list(QueryTranslatorImpl.java:357) at org.hibernate.engine.query.spi.HQLQueryPlan.performList(HQLQueryPlan.java:195) at org.hibernate.internal.SessionImpl.list(SessionImpl.java:1194) at org.hibernate.internal.QueryImpl.list(QueryImpl.java:101) at org.hibernate.ejb.QueryImpl.getSingleResult(QueryImpl.java:287) at com.sun.enterprise.container.common.impl.QueryWrapper.getSingleResult(QueryWrapper.java:210) at com.sun.enterprise.container.common.impl.TypedQueryWrapper.getSingleResult(TypedQueryWrapper.java:137) at org.kyrian.negocio.entity.gnomo.GnPrincipalBean.getConnectedPrincipal(GnPrincipalBean.java:92)

    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

    Once, 4 weeks ago
    Unknown user
    Once, 1 year ago
    Unknown user
    Once, 1 year ago
    Unknown user
    Once, 1 year ago
    Unknown user
    Once, 1 year ago
    4 more bugmates