org.hibernate.type.SerializationException: could not deserialize

Stack Overflow | elpazio | 6 months ago
tip
Your exception is missing from the Samebug knowledge base.
Here are the best solutions we found on the Internet.
Click on the to mark the helpful solution and get rewards for you help.
  1. 0

    invalid stream header while getting data Hibernate, H2 database, excel and tomcat

    Stack Overflow | 6 months ago | elpazio
    org.hibernate.type.SerializationException: could not deserialize
  2. 0

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

    qiita.com | 9 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
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: 00000001

    at java.io.ObjectInputStream.readStreamHeader()
  2. Java RT
    ObjectInputStream.<init>
    1. java.io.ObjectInputStream.readStreamHeader(Unknown Source)
    2. java.io.ObjectInputStream.<init>(Unknown Source)
    2 frames
  3. Hibernate
    QueryImpl.list
    1. org.hibernate.internal.util.SerializationHelper$CustomObjectInputStream.<init>(SerializationHelper.java:328)
    2. org.hibernate.internal.util.SerializationHelper$CustomObjectInputStream.<init>(SerializationHelper.java:318)
    3. org.hibernate.internal.util.SerializationHelper.doDeserialize(SerializationHelper.java:237)
    4. org.hibernate.internal.util.SerializationHelper.deserialize(SerializationHelper.java:306)
    5. org.hibernate.type.descriptor.java.SerializableTypeDescriptor.fromBytes(SerializableTypeDescriptor.java:140)
    6. org.hibernate.type.descriptor.java.SerializableTypeDescriptor.wrap(SerializableTypeDescriptor.java:121)
    7. org.hibernate.type.descriptor.java.SerializableTypeDescriptor.wrap(SerializableTypeDescriptor.java:44)
    8. org.hibernate.type.descriptor.sql.VarbinaryTypeDescriptor$2.doExtract(VarbinaryTypeDescriptor.java:67)
    9. org.hibernate.type.descriptor.sql.BasicExtractor.extract(BasicExtractor.java:64)
    10. org.hibernate.type.AbstractStandardBasicType.nullSafeGet(AbstractStandardBasicType.java:261)
    11. org.hibernate.type.AbstractStandardBasicType.nullSafeGet(AbstractStandardBasicType.java:257)
    12. org.hibernate.type.AbstractStandardBasicType.nullSafeGet(AbstractStandardBasicType.java:247)
    13. org.hibernate.type.AbstractStandardBasicType.hydrate(AbstractStandardBasicType.java:332)
    14. org.hibernate.persister.entity.AbstractEntityPersister.hydrate(AbstractEntityPersister.java:2926)
    15. org.hibernate.loader.Loader.loadFromResultSet(Loader.java:1673)
    16. org.hibernate.loader.Loader.instanceNotYetLoaded(Loader.java:1605)
    17. org.hibernate.loader.Loader.getRow(Loader.java:1505)
    18. org.hibernate.loader.Loader.getRowFromResultSet(Loader.java:713)
    19. org.hibernate.loader.Loader.processResultSet(Loader.java:943)
    20. org.hibernate.loader.Loader.doQuery(Loader.java:911)
    21. org.hibernate.loader.Loader.doQueryAndInitializeNonLazyCollections(Loader.java:342)
    22. org.hibernate.loader.Loader.doList(Loader.java:2526)
    23. org.hibernate.loader.Loader.doList(Loader.java:2512)
    24. org.hibernate.loader.Loader.listIgnoreQueryCache(Loader.java:2342)
    25. org.hibernate.loader.Loader.list(Loader.java:2337)
    26. org.hibernate.loader.hql.QueryLoader.list(QueryLoader.java:495)
    27. org.hibernate.hql.internal.ast.QueryTranslatorImpl.list(QueryTranslatorImpl.java:357)
    28. org.hibernate.engine.query.spi.HQLQueryPlan.performList(HQLQueryPlan.java:195)
    29. org.hibernate.internal.SessionImpl.list(SessionImpl.java:1275)
    30. org.hibernate.internal.QueryImpl.list(QueryImpl.java:101)
    30 frames
  4. com.sopra.dao
    RessourceDaoImp.findAll
    1. com.sopra.dao.imp.RessourceDaoImp.findAll(RessourceDaoImp.java:114)
    1 frame
  5. com.sopra.business
    RessourceBean.getL
    1. com.sopra.business.RessourceBean.getL(RessourceBean.java:1015)
    1 frame
  6. Java RT
    Method.invoke
    1. sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
    2. sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
    3. sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
    4. java.lang.reflect.Method.invoke(Unknown Source)
    4 frames
  7. EL
    BeanELResolver.getValue
    1. javax.el.BeanELResolver.getValue(BeanELResolver.java:99)
    1 frame
  8. JSF
    DemuxCompositeELResolver.getValue
    1. com.sun.faces.el.DemuxCompositeELResolver._getValue(DemuxCompositeELResolver.java:176)
    2. com.sun.faces.el.DemuxCompositeELResolver.getValue(DemuxCompositeELResolver.java:203)
    2 frames
  9. Pax Jsp
    ValueExpressionImpl.getValue
    1. org.apache.el.parser.AstValue.getValue(AstValue.java:184)
    2. org.apache.el.ValueExpressionImpl.getValue(ValueExpressionImpl.java:184)
    2 frames
  10. JSF
    TagValueExpression.getValue
    1. com.sun.faces.facelets.el.TagValueExpression.getValue(TagValueExpression.java:109)
    1 frame
  11. JavaEE 7
    UIData.getValue
    1. javax.faces.component.ComponentStateHelper.eval(ComponentStateHelper.java:194)
    2. javax.faces.component.ComponentStateHelper.eval(ComponentStateHelper.java:182)
    3. javax.faces.component.UIData.getValue(UIData.java:732)
    3 frames
  12. primefaces
    UIData.getDataModel
    1. org.primefaces.component.api.UIData.getDataModel(UIData.java:759)
    1 frame
  13. JavaEE 7
    UIData.getRowCount
    1. javax.faces.component.UIData.getRowCount(UIData.java:356)
    1 frame
  14. primefaces
    DataTableRenderer.encodeEnd
    1. org.primefaces.component.api.UIData.calculateFirst(UIData.java:210)
    2. org.primefaces.component.datatable.DataTableRenderer.preRender(DataTableRenderer.java:115)
    3. org.primefaces.component.datatable.DataTableRenderer.encodeEnd(DataTableRenderer.java:83)
    3 frames
  15. JavaEE 7
    UIComponentBase.encodeChildren
    1. javax.faces.component.UIComponentBase.encodeEnd(UIComponentBase.java:920)
    2. javax.faces.component.UIComponent.encodeAll(UIComponent.java:1863)
    3. javax.faces.render.Renderer.encodeChildren(Renderer.java:176)
    4. javax.faces.component.UIComponentBase.encodeChildren(UIComponentBase.java:890)
    4 frames
  16. JSF
    GroupRenderer.encodeChildren
    1. com.sun.faces.renderkit.html_basic.HtmlBasicRenderer.encodeRecursive(HtmlBasicRenderer.java:304)
    2. com.sun.faces.renderkit.html_basic.GroupRenderer.encodeChildren(GroupRenderer.java:114)
    2 frames
  17. JavaEE 7
    UIComponent.encodeAll
    1. javax.faces.component.UIComponentBase.encodeChildren(UIComponentBase.java:890)
    2. javax.faces.component.UIComponent.encodeAll(UIComponent.java:1856)
    3. javax.faces.component.UIComponent.encodeAll(UIComponent.java:1859)
    4. javax.faces.component.UIComponent.encodeAll(UIComponent.java:1859)
    4 frames
  18. JSF
    MultiViewHandler.renderView
    1. com.sun.faces.application.view.FaceletViewHandlingStrategy.renderView(FaceletViewHandlingStrategy.java:458)
    2. com.sun.faces.application.view.MultiViewHandler.renderView(MultiViewHandler.java:134)
    2 frames
  19. JavaEE 7
    ViewHandlerWrapper.renderView
    1. javax.faces.application.ViewHandlerWrapper.renderView(ViewHandlerWrapper.java:337)
    1 frame
  20. JSF
    LifecycleImpl.render
    1. com.sun.faces.lifecycle.RenderResponsePhase.execute(RenderResponsePhase.java:120)
    2. com.sun.faces.lifecycle.Phase.doPhase(Phase.java:101)
    3. com.sun.faces.lifecycle.LifecycleImpl.render(LifecycleImpl.java:219)
    3 frames
  21. JavaEE 7
    FacesServlet.service
    1. javax.faces.webapp.FacesServlet.service(FacesServlet.java:659)
    1 frame
  22. Glassfish Core
    ApplicationFilterChain.doFilter
    1. org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:303)
    2. org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:208)
    2 frames
  23. Tomcat WS
    WsFilter.doFilter
    1. org.apache.tomcat.websocket.server.WsFilter.doFilter(WsFilter.java:52)
    1 frame
  24. Glassfish Core
    CoyoteAdapter.service
    1. org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:241)
    2. org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:208)
    3. org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:218)
    4. org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:122)
    5. org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:505)
    6. org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:169)
    7. org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:103)
    8. org.apache.catalina.valves.AccessLogValve.invoke(AccessLogValve.java:956)
    9. org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:116)
    10. org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:442)
    10 frames
  25. Grizzly HTTP
    JIoEndpoint$SocketProcessor.run
    1. org.apache.coyote.http11.AbstractHttp11Processor.process(AbstractHttp11Processor.java:1082)
    2. org.apache.coyote.AbstractProtocol$AbstractConnectionHandler.process(AbstractProtocol.java:623)
    3. org.apache.tomcat.util.net.JIoEndpoint$SocketProcessor.run(JIoEndpoint.java:318)
    3 frames
  26. Java RT
    ThreadPoolExecutor$Worker.run
    1. java.util.concurrent.ThreadPoolExecutor.runWorker(Unknown Source)
    2. java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source)
    2 frames
  27. Tomcat Util
    TaskThread$WrappingRunnable.run
    1. org.apache.tomcat.util.threads.TaskThread$WrappingRunnable.run(TaskThread.java:61)
    1 frame
  28. Java RT
    Thread.run
    1. java.lang.Thread.run(Unknown Source)
    1 frame