org.hibernate.HibernateException: Unable to access lob stream

Searched on Google with the first line of a JAVA stack trace?

We can recommend more relevant solutions and speed up debugging when you paste your entire stack trace with the exception message. Try a sample exception.

Recommended solutions based on your search

Solutions on the web

via Google Groups by Wim Wintmolders, 1 year ago
Unable to access lob stream
via Google Groups by Richard Valdivieso, 1 year ago
Unable to access lob stream
org.hibernate.HibernateException: Unable to access lob stream
at org.hibernate.jpa.spi.AbstractEntityManagerImpl.convert(AbstractEntityManagerImpl.java:1692)
at org.hibernate.jpa.spi.AbstractEntityManagerImpl.convert(AbstractEntityManagerImpl.java:1602)
at org.hibernate.jpa.internal.QueryImpl.getResultList(QueryImpl.java:492)
at sun.reflect.GeneratedMethodAccessor166.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:497)
at com.sun.proxy.$Proxy178.getResultList(Unknown Source)
at org.axonframework.eventstore.jpa.DefaultEventEntryStore$BatchingAggregateStreamIterator.fetchBatch(DefaultEventEntryStore.java:319)
at org.axonframework.eventstore.jpa.DefaultEventEntryStore$BatchingAggregateStreamIterator.(DefaultEventEntryStore.java:290)
at org.axonframework.eventstore.jpa.DefaultEventEntryStore$BatchingAggregateStreamIterator.(DefaultEventEntryStore.java:272)
at org.axonframework.eventstore.jpa.DefaultEventEntryStore.fetchAggregateStream(DefaultEventEntryStore.java:268)
at org.axonframework.eventstore.jpa.JpaEventStore.readEvents(JpaEventStore.java:213)
at org.axonframework.eventsourcing.EventSourcingRepository.doLoad(EventSourcingRepository.java:166)
at org.axonframework.eventsourcing.EventSourcingRepository.doLoad(EventSourcingRepository.java:56)
at org.axonframework.repository.AbstractRepository.load(AbstractRepository.java:76)
at org.axonframework.repository.LockingRepository.load(LockingRepository.java:102)
at org.axonframework.repository.LockingRepository.load(LockingRepository.java:51)
at org.axonframework.commandhandling.annotation.AggregateAnnotationCommandHandler.loadAggregate(AggregateAnnotationCommandHandler.java:282)
at org.axonframework.commandhandling.annotation.AggregateAnnotationCommandHandler.access$100(AggregateAnnotationCommandHandler.java:52)
at org.axonframework.commandhandling.annotation.AggregateAnnotationCommandHandler$AggregateCommandHandler.handle(AggregateAnnotationCommandHandler.java:329)
at org.axonframework.commandhandling.annotation.AggregateAnnotationCommandHandler.handle(AggregateAnnotationCommandHandler.java:277)
at org.axonframework.commandhandling.DefaultInterceptorChain.proceed(DefaultInterceptorChain.java:63)
at org.axonframework.commandhandling.DefaultInterceptorChain.proceed(DefaultInterceptorChain.java:69)
at org.axonframework.commandhandling.SimpleCommandBus.doDispatch(SimpleCommandBus.java:127)
at org.axonframework.commandhandling.SimpleCommandBus.doDispatch(SimpleCommandBus.java:103)
at org.axonframework.commandhandling.SimpleCommandBus.dispatch(SimpleCommandBus.java:75)
at org.axonframework.commandhandling.gateway.RetryingCallback$RetryDispatch.run(RetryingCallback.java:113)
at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:511)
at java.util.concurrent.FutureTask.run(FutureTask.java:266)
at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.access$201(ScheduledThreadPoolExecutor.java:180)
at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.run(ScheduledThreadPoolExecutor.java:293)
at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617)
at java.lang.Thread.run(Thread.java:745)

Users with the same issue

You are the first who have seen this exception.

Write tip

Know the solutions? Share your knowledge to help other developers to debug faster.