javax.persistence.PersistenceException: org.hibernate.type.SerializationException: could not deserialize

Stack Overflow | JohnPlata | 2 months ago
  1. 0

    org.hibernate.AnnotationException: Unknown Id.generator: increment

    Stack Overflow | 2 months ago | JohnPlata
    javax.persistence.PersistenceException: org.hibernate.type.SerializationException: could not deserialize
  2. 0

    Java8 JPAをさわってはまったTimestampとLocalDateTimeに気をつける - Qiita

    qiita.com | 7 months ago
    org.springframework.web.util.NestedServletException: Request processing failed; nested exception is org.springframework.orm.jpa.JpaSystemException: could not deserialize; nested exception is org.hibernate.type.SerializationException: could not deserialize
  3. 0

    Hibernate custom user type throws serialization Exception

    Stack Overflow | 1 year ago | Mahi
    org.hibernate.type.SerializationException: could not deserialize
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

  5. 0

    org hibernate type SerializationException could not deserialize

    javahonk.com | 1 year ago
    org.hibernate.type.SerializationException: could not deserialize
  6. 0

    hibernate - Exception Hibernate 'org.hibernate.type.SerializationException: could not deserialize'

    com.br | 1 year ago
    javax.el.ELException: javax.persistence.PersistenceException: org.hibernate.type.SerializationException: could not deserialize

  1. tererecool 2 times, last 2 months ago
  2. Stefan Braune 4 times, last 4 months ago
  3. RoiOtero 1 times, last 5 months ago
  4. MoYapro 15 times, last 5 months ago
46 unregistered visitors
Not finding the right solution?
Take a tour to get the most out of Samebug.

Tired of useless tips?

Automated exception search integrated into your IDE

Root Cause Analysis

  1. java.io.StreamCorruptedException

    invalid stream header: 41444D49

    at java.io.ObjectInputStream.readStreamHeader()
  2. Java RT
    ObjectInputStream.<init>
    1. java.io.ObjectInputStream.readStreamHeader(ObjectInputStream.java:808)
    2. java.io.ObjectInputStream.<init>(ObjectInputStream.java:301)
    2 frames
  3. Hibernate
    QueryImpl.list
    1. org.hibernate.internal.util.SerializationHelper$CustomObjectInputStream.<init>(SerializationHelper.java:309)
    2. org.hibernate.internal.util.SerializationHelper$CustomObjectInputStream.<init>(SerializationHelper.java:299)
    3. org.hibernate.internal.util.SerializationHelper.doDeserialize(SerializationHelper.java:218)
    4. org.hibernate.internal.util.SerializationHelper.deserialize(SerializationHelper.java:287)
    5. org.hibernate.type.descriptor.java.SerializableTypeDescriptor.fromBytes(SerializableTypeDescriptor.java:138)
    6. org.hibernate.type.descriptor.java.SerializableTypeDescriptor.wrap(SerializableTypeDescriptor.java:113)
    7. org.hibernate.type.descriptor.java.SerializableTypeDescriptor.wrap(SerializableTypeDescriptor.java:27)
    8. org.hibernate.type.descriptor.sql.VarbinaryTypeDescriptor$2.doExtract(VarbinaryTypeDescriptor.java:60)
    9. org.hibernate.type.descriptor.sql.BasicExtractor.extract(BasicExtractor.java:47)
    10. org.hibernate.type.AbstractStandardBasicType.nullSafeGet(AbstractStandardBasicType.java:238)
    11. org.hibernate.type.AbstractStandardBasicType.nullSafeGet(AbstractStandardBasicType.java:234)
    12. org.hibernate.type.AbstractStandardBasicType.nullSafeGet(AbstractStandardBasicType.java:224)
    13. org.hibernate.type.AbstractStandardBasicType.hydrate(AbstractStandardBasicType.java:300)
    14. org.hibernate.persister.entity.AbstractEntityPersister.hydrate(AbstractEntityPersister.java:2738)
    15. org.hibernate.loader.Loader.loadFromResultSet(Loader.java:1729)
    16. org.hibernate.loader.Loader.instanceNotYetLoaded(Loader.java:1655)
    17. org.hibernate.loader.Loader.getRow(Loader.java:1544)
    18. org.hibernate.loader.Loader.getRowFromResultSet(Loader.java:727)
    19. org.hibernate.loader.Loader.processResultSet(Loader.java:972)
    20. org.hibernate.loader.Loader.doQuery(Loader.java:930)
    21. org.hibernate.loader.Loader.doQueryAndInitializeNonLazyCollections(Loader.java:336)
    22. org.hibernate.loader.Loader.doList(Loader.java:2617)
    23. org.hibernate.loader.Loader.doList(Loader.java:2600)
    24. org.hibernate.loader.Loader.listIgnoreQueryCache(Loader.java:2429)
    25. org.hibernate.loader.Loader.list(Loader.java:2424)
    26. org.hibernate.loader.hql.QueryLoader.list(QueryLoader.java:501)
    27. org.hibernate.hql.internal.ast.QueryTranslatorImpl.list(QueryTranslatorImpl.java:371)
    28. org.hibernate.engine.query.spi.HQLQueryPlan.performList(HQLQueryPlan.java:216)
    29. org.hibernate.internal.SessionImpl.list(SessionImpl.java:1326)
    30. org.hibernate.internal.QueryImpl.list(QueryImpl.java:87)
    30 frames
  4. org.hibernate.jpa
    QueryImpl.getSingleResult
    1. org.hibernate.jpa.internal.QueryImpl.list(QueryImpl.java:606)
    2. org.hibernate.jpa.internal.QueryImpl.getSingleResult(QueryImpl.java:529)
    2 frames
  5. de.jb.toyjo
    LoginBean.login
    1. de.jb.toyjo.dao.GenericDAO.findOneResult(GenericDAO.java:130)
    2. de.jb.toyjo.dao.UserDAO.findUserByEmail(UserDAO.java:23)
    3. de.jb.toyjo.facade.UserFacade.isValidLogin(UserFacade.java:14)
    4. de.jb.toyjo.bean.LoginBean.login(LoginBean.java:24)
    4 frames
  6. Java RT
    Method.invoke
    1. sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
    2. sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
    3. sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
    4. java.lang.reflect.Method.invoke(Method.java:498)
    4 frames
  7. EL
    MethodExpressionImpl.invoke
    1. com.sun.el.util.ReflectionUtil.invokeMethod(ReflectionUtil.java:181)
    2. com.sun.el.parser.AstValue.invoke(AstValue.java:289)
    3. com.sun.el.MethodExpressionImpl.invoke(MethodExpressionImpl.java:304)
    3 frames
  8. Weld Implementation
    WeldMethodExpression.invoke
    1. org.jboss.weld.util.el.ForwardingMethodExpression.invoke(ForwardingMethodExpression.java:40)
    2. org.jboss.weld.el.WeldMethodExpression.invoke(WeldMethodExpression.java:50)
    3. org.jboss.weld.util.el.ForwardingMethodExpression.invoke(ForwardingMethodExpression.java:40)
    4. org.jboss.weld.el.WeldMethodExpression.invoke(WeldMethodExpression.java:50)
    4 frames
  9. JSF
    TagMethodExpression.invoke
    1. com.sun.faces.facelets.el.TagMethodExpression.invoke(TagMethodExpression.java:105)
    1 frame
  10. JavaEE 7
    MethodBindingMethodExpressionAdapter.invoke
    1. javax.faces.component.MethodBindingMethodExpressionAdapter.invoke(MethodBindingMethodExpressionAdapter.java:87)
    1 frame
  11. JSF
    ActionListenerImpl.processAction
    1. com.sun.faces.application.ActionListenerImpl.processAction(ActionListenerImpl.java:102)
    1 frame
  12. JavaEE 7
    UIViewRoot.processApplication
    1. javax.faces.component.UICommand.broadcast(UICommand.java:315)
    2. javax.faces.component.UIViewRoot.broadcastEvents(UIViewRoot.java:790)
    3. javax.faces.component.UIViewRoot.processApplication(UIViewRoot.java:1282)
    3 frames
  13. JSF
    LifecycleImpl.execute
    1. com.sun.faces.lifecycle.InvokeApplicationPhase.execute(InvokeApplicationPhase.java:81)
    2. com.sun.faces.lifecycle.Phase.doPhase(Phase.java:101)
    3. com.sun.faces.lifecycle.LifecycleImpl.execute(LifecycleImpl.java:198)
    3 frames
  14. JavaEE 7
    FacesServlet.service
    1. javax.faces.webapp.FacesServlet.service(FacesServlet.java:658)
    1 frame
  15. Undertow Servlet
    FilterHandler$FilterChainImpl.doFilter
    1. io.undertow.servlet.handlers.ServletHandler.handleRequest(ServletHandler.java:85)
    2. io.undertow.servlet.handlers.FilterHandler$FilterChainImpl.doFilter(FilterHandler.java:129)
    2 frames
  16. de.jb.toyjo
    LoginCheckFilter.doFilter
    1. de.jb.toyjo.filter.LoginCheckFilter.doFilter(LoginCheckFilter.java:84)
    1 frame
  17. Undertow Servlet
    ServletDispatchingHandler.handleRequest
    1. io.undertow.servlet.core.ManagedFilter.doFilter(ManagedFilter.java:61)
    2. io.undertow.servlet.handlers.FilterHandler$FilterChainImpl.doFilter(FilterHandler.java:131)
    3. io.undertow.servlet.handlers.FilterHandler.handleRequest(FilterHandler.java:84)
    4. io.undertow.servlet.handlers.security.ServletSecurityRoleHandler.handleRequest(ServletSecurityRoleHandler.java:62)
    5. io.undertow.servlet.handlers.ServletDispatchingHandler.handleRequest(ServletDispatchingHandler.java:36)
    5 frames
  18. WildFly: Undertow
    SecurityContextAssociationHandler.handleRequest
    1. org.wildfly.extension.undertow.security.SecurityContextAssociationHandler.handleRequest(SecurityContextAssociationHandler.java:78)
    1 frame
  19. Undertow Core
    PredicateHandler.handleRequest
    1. io.undertow.server.handlers.PredicateHandler.handleRequest(PredicateHandler.java:43)
    1 frame
  20. Undertow Servlet
    ServletAuthenticationCallHandler.handleRequest
    1. io.undertow.servlet.handlers.security.SSLInformationAssociationHandler.handleRequest(SSLInformationAssociationHandler.java:131)
    2. io.undertow.servlet.handlers.security.ServletAuthenticationCallHandler.handleRequest(ServletAuthenticationCallHandler.java:57)
    2 frames
  21. Undertow Core
    AbstractConfidentialityHandler.handleRequest
    1. io.undertow.server.handlers.PredicateHandler.handleRequest(PredicateHandler.java:43)
    2. io.undertow.security.handlers.AbstractConfidentialityHandler.handleRequest(AbstractConfidentialityHandler.java:46)
    2 frames
  22. Undertow Servlet
    ServletConfidentialityConstraintHandler.handleRequest
    1. io.undertow.servlet.handlers.security.ServletConfidentialityConstraintHandler.handleRequest(ServletConfidentialityConstraintHandler.java:64)
    1 frame
  23. Undertow Core
    AuthenticationMechanismsHandler.handleRequest
    1. io.undertow.security.handlers.AuthenticationMechanismsHandler.handleRequest(AuthenticationMechanismsHandler.java:60)
    1 frame
  24. Undertow Servlet
    CachedAuthenticatedSessionHandler.handleRequest
    1. io.undertow.servlet.handlers.security.CachedAuthenticatedSessionHandler.handleRequest(CachedAuthenticatedSessionHandler.java:77)
    1 frame
  25. Undertow Core
    PredicateHandler.handleRequest
    1. io.undertow.security.handlers.NotificationReceiverHandler.handleRequest(NotificationReceiverHandler.java:50)
    2. io.undertow.security.handlers.AbstractSecurityContextAssociationHandler.handleRequest(AbstractSecurityContextAssociationHandler.java:43)
    3. io.undertow.server.handlers.PredicateHandler.handleRequest(PredicateHandler.java:43)
    3 frames
  26. WildFly: Undertow
    JACCContextIdHandler.handleRequest
    1. org.wildfly.extension.undertow.security.jacc.JACCContextIdHandler.handleRequest(JACCContextIdHandler.java:61)
    1 frame
  27. Undertow Core
    PredicateHandler.handleRequest
    1. io.undertow.server.handlers.PredicateHandler.handleRequest(PredicateHandler.java:43)
    2. io.undertow.server.handlers.PredicateHandler.handleRequest(PredicateHandler.java:43)
    2 frames
  28. Undertow Servlet
    ServletInitialHandler$1.handleRequest
    1. io.undertow.servlet.handlers.ServletInitialHandler.handleFirstRequest(ServletInitialHandler.java:292)
    2. io.undertow.servlet.handlers.ServletInitialHandler.access$100(ServletInitialHandler.java:81)
    3. io.undertow.servlet.handlers.ServletInitialHandler$2.call(ServletInitialHandler.java:138)
    4. io.undertow.servlet.handlers.ServletInitialHandler$2.call(ServletInitialHandler.java:135)
    5. io.undertow.servlet.core.ServletRequestContextThreadSetupAction$1.call(ServletRequestContextThreadSetupAction.java:48)
    6. io.undertow.servlet.core.ContextClassLoaderSetupAction$1.call(ContextClassLoaderSetupAction.java:43)
    7. io.undertow.servlet.api.LegacyThreadSetupActionWrapper$1.call(LegacyThreadSetupActionWrapper.java:44)
    8. io.undertow.servlet.api.LegacyThreadSetupActionWrapper$1.call(LegacyThreadSetupActionWrapper.java:44)
    9. io.undertow.servlet.api.LegacyThreadSetupActionWrapper$1.call(LegacyThreadSetupActionWrapper.java:44)
    10. io.undertow.servlet.api.LegacyThreadSetupActionWrapper$1.call(LegacyThreadSetupActionWrapper.java:44)
    11. io.undertow.servlet.api.LegacyThreadSetupActionWrapper$1.call(LegacyThreadSetupActionWrapper.java:44)
    12. io.undertow.servlet.handlers.ServletInitialHandler.dispatchRequest(ServletInitialHandler.java:272)
    13. io.undertow.servlet.handlers.ServletInitialHandler.access$000(ServletInitialHandler.java:81)
    14. io.undertow.servlet.handlers.ServletInitialHandler$1.handleRequest(ServletInitialHandler.java:104)
    14 frames
  29. Undertow Core
    HttpServerExchange$1.run
    1. io.undertow.server.Connectors.executeRootHandler(Connectors.java:202)
    2. io.undertow.server.HttpServerExchange$1.run(HttpServerExchange.java:805)
    2 frames
  30. Java RT
    Thread.run
    1. java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142)
    2. java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617)
    3. java.lang.Thread.run(Thread.java:745)
    3 frames