org.hibernate.HibernateException: Unable to access lob stream

Google Groups | Wim Wintmolders | 8 months ago
tip
Click on the to mark the solution that helps you, Samebug will learn from it.
As a community member, you’ll be rewarded for you help.
  1. 0

    IntervalRetryScheduler configuration

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

    Remote procedure call error

    GitHub | 3 years ago | paxanga
    org.hibernate.HibernateException: Connection cannot be null when 'hibernate.dialect' not set INFO | jvm 1 | 2013/10/31 01:47:16 | at org.hibernate.service.jdbc.dialect.internal.DialectFactoryImpl.determineDialect(DialectFactoryImpl.java:97) INFO | jvm 1 | 2013/10/31 01:47:16 | at org.hibernate.service.jdbc.dialect.internal.DialectFactoryImpl.buildDialect(DialectFactoryImpl.java:67) INFO | jvm 1 | 2013/10/31 01:47:16 | at org.hibernate.engine.jdbc.internal.JdbcServicesImpl.configure(JdbcServicesImpl.java:170) INFO | jvm 1 | 2013/10/31 01:47:16 | at org.hibernate.service.internal.StandardServiceRegistryImpl.configureService(StandardServiceRegistryImpl.java:75) INFO | jvm 1 | 2013/10/31 01:47:16 | at org.hibernate.service.internal.AbstractServiceRegistryImpl.initializeService(AbstractServiceRegistryImpl.java:159) INFO | jvm 1 | 2013/10/31 01:47:16 | at org.hibernate.service.internal.AbstractServiceRegistryImpl.getService(AbstractServiceRegistryImpl.java:131) INFO | jvm 1 | 2013/10/31 01:47:16 | at org.hibernate.cfg.SettingsFactory.buildSettings(SettingsFactory.java:77) INFO | jvm 1 | 2013/10/31 01:47:16 | at org.hibernate.cfg.Configuration.buildSettingsInternal(Configuration.java:2276) INFO | jvm 1 | 2013/10/31 01:47:16 | at org.hibernate.cfg.Configuration.buildSettings(Configuration.java:2272) INFO | jvm 1 | 2013/10/31 01:47:16 | at org.hibernate.cfg.Configuration.buildSessionFactory(Configuration.java:1741) INFO | jvm 1 | 2013/10/31 01:47:16 | at org.hibernate.ejb.EntityManagerFactoryImpl.<init>(EntityManagerFactoryImpl.java:94) INFO | jvm 1 | 2013/10/31 01:47:16 | at org.hibernate.ejb.Ejb3Configuration.buildEntityManagerFactory(Ejb3Configuration.java:905) INFO | jvm 1 | 2013/10/31 01:47:16 | at org.hibernate.ejb.Ejb3Configuration.buildEntityManagerFactory(Ejb3Configuration.java:890) INFO | jvm 1 | 2013/10/31 01:47:16 | at org.hibernate.ejb.HibernatePersistence.createEntityManagerFactory(HibernatePersistence.java:57) INFO | jvm 1 | 2013/10/31 01:47:16 | at javax.persistence.Persistence.createEntityManagerFactory(Persistence.java:63) INFO | jvm 1 | 2013/10/31 01:47:16 | at javax.persistence.Persistence.createEntityManagerFactory(Persistence.java:47) INFO | jvm 1 | 2013/10/31 01:47:16 | at org.traccar.web.server.model.DataServiceImpl.init(DataServiceImpl.java:66) INFO | jvm 1 | 2013/10/31 01:47:16 | at javax.servlet.GenericServlet.init(GenericServlet.java:244) INFO | jvm 1 | 2013/10/31 01:47:16 | at org.eclipse.jetty.servlet.ServletHolder.initServlet(ServletHolder.java:534) INFO | jvm 1 | 2013/10/31 01:47:16 | at org.eclipse.jetty.servlet.ServletHolder.getServlet(ServletHolder.java:417) INFO | jvm 1 | 2013/10/31 01:47:16 | at org.eclipse.jetty.servlet.ServletHolder.handle(ServletHolder.java:659) INFO | jvm 1 | 2013/10/31 01:47:16 | at org.eclipse.jetty.servlet.ServletHandler.doHandle(ServletHandler.java:501) INFO | jvm 1 | 2013/10/31 01:47:16 | at org.eclipse.jetty.server.handler.ScopedHandler.handle(ScopedHandler.java:137) INFO | jvm 1 | 2013/10/31 01:47:16 | at org.eclipse.jetty.security.SecurityHandler.handle(SecurityHandler.java:557) INFO | jvm 1 | 2013/10/31 01:47:16 | at org.eclipse.jetty.server.session.SessionHandler.doHandle(SessionHandler.java:231) INFO | jvm 1 | 2013/10/31 01:47:16 | at org.eclipse.jetty.server.handler.ContextHandler.doHandle(ContextHandler.java:1086) INFO | jvm 1 | 2013/10/31 01:47:16 | at org.eclipse.jetty.servlet.ServletHandler.doScope(ServletHandler.java:428) INFO | jvm 1 | 2013/10/31 01:47:16 | at org.eclipse.jetty.server.session.SessionHandler.doScope(SessionHandler.java:193) INFO | jvm 1 | 2013/10/31 01:47:16 | at org.eclipse.jetty.server.handler.ContextHandler.doScope(ContextHandler.java:1020) INFO | jvm 1 | 2013/10/31 01:47:16 | at org.eclipse.jetty.server.handler.ScopedHandler.handle(ScopedHandler.java:135) INFO | jvm 1 | 2013/10/31 01:47:16 | at org.eclipse.jetty.server.handler.HandlerWrapper.handle(HandlerWrapper.java:116) INFO | jvm 1 | 2013/10/31 01:47:16 | at org.eclipse.jetty.server.Server.handle(Server.java:370) INFO | jvm 1 | 2013/10/31 01:47:16 | at org.eclipse.jetty.server.AbstractHttpConnection.handleRequest(AbstractHttpConnection.java:489) INFO | jvm 1 | 2013/10/31 01:47:16 | at org.eclipse.jetty.server.AbstractHttpConnection.content(AbstractHttpConnection.java:960) INFO | jvm 1 | 2013/10/31 01:47:16 | at org.eclipse.jetty.server.AbstractHttpConnection$RequestHandler.content(AbstractHttpConnection.java:1021) INFO | jvm 1 | 2013/10/31 01:47:16 | at org.eclipse.jetty.http.HttpParser.parseNext(HttpParser.java:865) INFO | jvm 1 | 2013/10/31 01:47:16 | at org.eclipse.jetty.http.HttpParser.parseAvailable(HttpParser.java:240) INFO | jvm 1 | 2013/10/31 01:47:16 | at org.eclipse.jetty.server.AsyncHttpConnection.handle(AsyncHttpConnection.java:82) INFO | jvm 1 | 2013/10/31 01:47:16 | at org.eclipse.jetty.io.nio.SelectChannelEndPoint.handle(SelectChannelEndPoint.java:668) INFO | jvm 1 | 2013/10/31 01:47:16 | at org.eclipse.jetty.io.nio.SelectChannelEndPoint$1.run(SelectChannelEndPoint.java:52) INFO | jvm 1 | 2013/10/31 01:47:16 | at org.eclipse.jetty.util.thread.QueuedThreadPool.runJob(QueuedThreadPool.java:608) INFO | jvm 1 | 2013/10/31 01:47:16 | at org.eclipse.jetty.util.thread.QueuedThreadPool$3.run(QueuedThreadPool.java:543)
  3. 0

    Illegal attempt to associate a collection with two open sessions - Spring Forum

    spring.io | 2 years ago
    org.hibernate.HibernateException: Illegal attempt to associate a collection with two open sessions at org.hibernate.collection.AbstractPersistentCollect ion.setCurrentSession(AbstractPersistentCollection .java:237) at org.hibernate.event.def.OnUpdateVisitor.processCol lection(OnUpdateVisitor.java:41) at org.hibernate.event.def.AbstractVisitor.processVal ue(AbstractVisitor.java:104) at org.hibernate.event.def.AbstractVisitor.processVal ue(AbstractVisitor.java:64) at org.hibernate.event.def.AbstractVisitor.processEnt ityPropertyValues(AbstractVisitor.java:58) at org.hibernate.event.def.AbstractVisitor.process(Ab stractVisitor.java:129) at org.hibernate.event.def.DefaultDeleteEventListener .onDelete(DefaultDeleteEventListener.java:74) at org.hibernate.impl.SessionImpl.delete(SessionImpl. java:579) at org.springframework.orm.hibernate3.HibernateTempla te$26.doInHibernate(HibernateTemplate.java:703) at org.springframework.orm.hibernate3.HibernateTempla te.execute(HibernateTemplate.java:312) at org.springframework.orm.hibernate3.HibernateTempla te.deleteAll(HibernateTemplate.java:699) at org.tiaa.secarchive.dao.impl.SecProductionCltDAOIm pl.deleteSourceData(SecProductionCltDAOImpl.java:7 6) at org.tiaa.secarchive.delegate.impl.SecArchiveDelega teImpl.archive(SecArchiveDelegateImpl.java:86) at org.tiaa.secarchive.schedule.impl.JobImpl.archive( JobImpl.java:328) at org.tiaa.secarchive.schedule.impl.JobImpl.execute( JobImpl.java:210) at org.tiaa.secarchive.schedule.impl.DaemonImpl.run(D aemonImpl.java:239)
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

  5. 0

    Re: Apache ODE 1.3.6 on Oracle DB with Hibernate 3.2.0

    ode-user | 3 years ago | Sathwik B P
    org.hibernate.HibernateException: CGLIB Enhancement failed: > org.apache.ode.daohib.bpel.hobj.HMessage > at > org.apache.ode.bpel.engine.BpelEngineImpl.onScheduledJob(BpelEngineImpl. > java:478) > at > org.apache.ode.bpel.engine.BpelServerImpl.onScheduledJob(BpelServerImpl. > java:450) > at > org.apache.ode.scheduler.simple.SimpleScheduler$RunJob$1.call(SimpleSche > duler.java:523) > at > org.apache.ode.scheduler.simple.SimpleScheduler$RunJob$1.call(SimpleSche > duler.java:517) > at > org.apache.ode.scheduler.simple.SimpleScheduler.execTransaction(SimpleSc > heduler.java:289) > at > org.apache.ode.scheduler.simple.SimpleScheduler.execTransaction(SimpleSc > heduler.java:244) > at > org.apache.ode.scheduler.simple.SimpleScheduler$RunJob.call(SimpleSchedu > ler.java:517) > at > org.apache.ode.scheduler.simple.SimpleScheduler$RunJob.call(SimpleSchedu > ler.java:501) > at > java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:303) > at java.util.concurrent.FutureTask.run(FutureTask.java:138)
  6. 0

    RE: Apache ODE 1.3.6 on Oracle DB with Hibernate 3.2.0

    ode-user | 3 years ago | Servaas, M. (Michael)
    org.hibernate.HibernateException: CGLIB Enhancement failed: > org.apache.ode.daohib.bpel.hobj.HMessage > at > org.apache.ode.bpel.engine.BpelEngineImpl.onScheduledJob(BpelEngineImpl. > java:478) > at > org.apache.ode.bpel.engine.BpelServerImpl.onScheduledJob(BpelServerImpl. > java:450) > at > org.apache.ode.scheduler.simple.SimpleScheduler$RunJob$1.call(SimpleSc > he > duler.java:523) > at > org.apache.ode.scheduler.simple.SimpleScheduler$RunJob$1.call(SimpleSc > he > duler.java:517) > at > org.apache.ode.scheduler.simple.SimpleScheduler.execTransaction(Simple > Sc > heduler.java:289) > at > org.apache.ode.scheduler.simple.SimpleScheduler.execTransaction(Simple > Sc > heduler.java:244) > at > org.apache.ode.scheduler.simple.SimpleScheduler$RunJob.call(SimpleSche > du > ler.java:517) > at > org.apache.ode.scheduler.simple.SimpleScheduler$RunJob.call(SimpleSche > du > ler.java:501) > at > java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:303) > at java.util.concurrent.FutureTask.run(FutureTask.java:138)

    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. 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