org.hibernate.HibernateException: Unable to access lob stream

Google Groups | Wim Wintmolders | 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

    IntervalRetryScheduler configuration

    Google Groups | 6 months ago | Wim Wintmolders
    org.hibernate.HibernateException: Unable to access lob stream

    Root Cause Analysis

    1. org.hibernate.HibernateException

      Unable to access lob stream

      at org.hibernate.jpa.spi.AbstractEntityManagerImpl.convert()
    2. org.hibernate.jpa
      QueryImpl.getResultList
      1. org.hibernate.jpa.spi.AbstractEntityManagerImpl.convert(AbstractEntityManagerImpl.java:1692)[hibernate-entitymanager-5.0.9.Final.jar:5.0.9.Final]
      2. org.hibernate.jpa.spi.AbstractEntityManagerImpl.convert(AbstractEntityManagerImpl.java:1602)[hibernate-entitymanager-5.0.9.Final.jar:5.0.9.Final]
      3. org.hibernate.jpa.internal.QueryImpl.getResultList(QueryImpl.java:492)[hibernate-entitymanager-5.0.9.Final.jar:5.0.9.Final]
      3 frames
    3. Java RT
      Method.invoke
      1. sun.reflect.GeneratedMethodAccessor166.invoke(Unknown Source)[na:na]
      2. sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)[na:1.8.0_71]
      3. java.lang.reflect.Method.invoke(Method.java:497)[na:1.8.0_71]
      3 frames
    4. Spring ORM
      SharedEntityManagerCreator$DeferredQueryInvocationHandler.invoke
      1. org.springframework.orm.jpa.SharedEntityManagerCreator$DeferredQueryInvocationHandler.invoke(SharedEntityManagerCreator.java:372)[spring-orm-4.3.2.RELEASE.jar:4.3.2.RELEASE]
      1 frame
    5. com.sun.proxy
      $Proxy178.getResultList
      1. com.sun.proxy.$Proxy178.getResultList(Unknown Source)[na:na]
      1 frame
    6. org.axonframework.eventstore
      JpaEventStore.readEvents
      1. org.axonframework.eventstore.jpa.DefaultEventEntryStore$BatchingAggregateStreamIterator.fetchBatch(DefaultEventEntryStore.java:319)[axon-core-2.4.3.jar:2.4.3]
      2. org.axonframework.eventstore.jpa.DefaultEventEntryStore$BatchingAggregateStreamIterator.<init>(DefaultEventEntryStore.java:290)[axon-core-2.4.3.jar:2.4.3]
      3. org.axonframework.eventstore.jpa.DefaultEventEntryStore$BatchingAggregateStreamIterator.<init>(DefaultEventEntryStore.java:272)[axon-core-2.4.3.jar:2.4.3]
      4. org.axonframework.eventstore.jpa.DefaultEventEntryStore.fetchAggregateStream(DefaultEventEntryStore.java:268)[axon-core-2.4.3.jar:2.4.3]
      5. org.axonframework.eventstore.jpa.JpaEventStore.readEvents(JpaEventStore.java:213)[axon-core-2.4.3.jar:2.4.3]
      5 frames
    7. org.axonframework.eventsourcing
      EventSourcingRepository.doLoad
      1. org.axonframework.eventsourcing.EventSourcingRepository.doLoad(EventSourcingRepository.java:166)[axon-core-2.4.3.jar:2.4.3]
      2. org.axonframework.eventsourcing.EventSourcingRepository.doLoad(EventSourcingRepository.java:56)[axon-core-2.4.3.jar:2.4.3]
      2 frames
    8. org.axonframework.repository
      LockingRepository.load
      1. org.axonframework.repository.AbstractRepository.load(AbstractRepository.java:76)[axon-core-2.4.3.jar:2.4.3]
      2. org.axonframework.repository.LockingRepository.load(LockingRepository.java:102)[axon-core-2.4.3.jar:2.4.3]
      3. org.axonframework.repository.LockingRepository.load(LockingRepository.java:51)[axon-core-2.4.3.jar:2.4.3]
      3 frames
    9. org.axonframework.commandhandling
      RetryingCallback$RetryDispatch.run
      1. org.axonframework.commandhandling.annotation.AggregateAnnotationCommandHandler.loadAggregate(AggregateAnnotationCommandHandler.java:282)[axon-core-2.4.3.jar:2.4.3]
      2. org.axonframework.commandhandling.annotation.AggregateAnnotationCommandHandler.access$100(AggregateAnnotationCommandHandler.java:52)[axon-core-2.4.3.jar:2.4.3]
      3. org.axonframework.commandhandling.annotation.AggregateAnnotationCommandHandler$AggregateCommandHandler.handle(AggregateAnnotationCommandHandler.java:329)[axon-core-2.4.3.jar:2.4.3]
      4. org.axonframework.commandhandling.annotation.AggregateAnnotationCommandHandler.handle(AggregateAnnotationCommandHandler.java:277)[axon-core-2.4.3.jar:2.4.3]
      5. org.axonframework.commandhandling.DefaultInterceptorChain.proceed(DefaultInterceptorChain.java:63)[axon-core-2.4.3.jar:2.4.3]
      6. org.axonframework.commandhandling.DefaultInterceptorChain.proceed(DefaultInterceptorChain.java:69)[axon-core-2.4.3.jar:2.4.3]
      7. org.axonframework.commandhandling.SimpleCommandBus.doDispatch(SimpleCommandBus.java:127)[axon-core-2.4.3.jar:2.4.3]
      8. org.axonframework.commandhandling.SimpleCommandBus.doDispatch(SimpleCommandBus.java:103)[axon-core-2.4.3.jar:2.4.3]
      9. org.axonframework.commandhandling.SimpleCommandBus.dispatch(SimpleCommandBus.java:75)[axon-core-2.4.3.jar:2.4.3]
      10. org.axonframework.commandhandling.gateway.RetryingCallback$RetryDispatch.run(RetryingCallback.java:113)[axon-core-2.4.3.jar:2.4.3]
      10 frames
    10. Spring Context
      DelegatingErrorHandlingRunnable.run
      1. org.springframework.scheduling.support.DelegatingErrorHandlingRunnable.run(DelegatingErrorHandlingRunnable.java:54)[spring-context-4.3.2.RELEASE.jar:4.3.2.RELEASE]
      1 frame
    11. Java RT
      Thread.run
      1. java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:511)[na:1.8.0_71]
      2. java.util.concurrent.FutureTask.run(FutureTask.java:266)[na:1.8.0_71]
      3. java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.access$201(ScheduledThreadPoolExecutor.java:180)[na:1.8.0_71]
      4. java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.run(ScheduledThreadPoolExecutor.java:293)[na:1.8.0_71]
      5. java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142)[na:1.8.0_71]
      6. java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617)[na:1.8.0_71]
      7. java.lang.Thread.run(Thread.java:745)[na:1.8.0_71]
      7 frames