net.sf.hibernate.HibernateException: disconnected session

Atlassian JIRA | Adrian Hempel [Atlassian] | 9 years 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

    Members of the Cenqua team received empty notification e-mails from Bamboo. The following was written to bamboo.log at the time the e-mail was sent: {noformat} 2008-02-12 09:45:15,626 ERROR [pool-25-thread-1] [PersistentCollection] Failed to lazily initialize a collection net.sf.hibernate.HibernateException: disconnected session at net.sf.hibernate.collection.PersistentCollection.forceInitialization(PersistentCollection.java:335) at net.sf.hibernate.impl.SessionImpl.initializeNonLazyCollections(SessionImpl.java:3168) at net.sf.hibernate.loader.Loader.doQueryAndInitializeNonLazyCollections(Loader.java:143) at net.sf.hibernate.loader.Loader.loadCollection(Loader.java:1020) at net.sf.hibernate.loader.Loader.loadCollection(Loader.java:995) at net.sf.hibernate.loader.OneToManyLoader.initialize(OneToManyLoader.java:93) at net.sf.hibernate.collection.AbstractCollectionPersister.initialize(AbstractCollectionPersister.java:288) at net.sf.hibernate.impl.SessionImpl.initializeCollection(SessionImpl.java:3315) at net.sf.hibernate.collection.PersistentCollection.initialize(PersistentCollection.java:195) at net.sf.hibernate.collection.PersistentCollection.read(PersistentCollection.java:71) at net.sf.hibernate.collection.Set.iterator(Set.java:130) at com.atlassian.bamboo.results.BuildResultsImpl.getUniqueAuthors(BuildResultsImpl.java:636) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) at java.lang.reflect.Method.invoke(Method.java:585) at org.apache.velocity.runtime.parser.node.PropertyExecutor.execute(PropertyExecutor.java:111) at org.apache.velocity.util.introspection.UberspectImpl$VelGetterImpl.invoke(UberspectImpl.java:302) at org.apache.velocity.runtime.parser.node.ASTIdentifier.execute(ASTIdentifier.java:157) at org.apache.velocity.runtime.parser.node.ASTReference.execute(ASTReference.java:175) at org.apache.velocity.runtime.parser.node.ASTReference.value(ASTReference.java:327) at org.apache.velocity.runtime.parser.node.ASTNENode.evaluate(ASTNENode.java:45) at org.apache.velocity.runtime.parser.node.ASTExpression.evaluate(ASTExpression.java:45) at org.apache.velocity.runtime.parser.node.ASTIfStatement.render(ASTIfStatement.java:68) at org.apache.velocity.runtime.parser.node.SimpleNode.render(SimpleNode.java:230) at org.apache.velocity.Template.merge(Template.java:256) at com.atlassian.bamboo.notification.conditions.BuildFailedandFirstFixedCondition.getTextEmail(BuildFailedandFirstFixedCondition.java:102) at com.atlassian.bamboo.notification.NotificationListener.handleEvent(NotificationListener.java:113) at sun.reflect.GeneratedMethodAccessor583.invoke(Unknown Source) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) at java.lang.reflect.Method.invoke(Method.java:585) at org.springframework.aop.support.AopUtils.invokeJoinpointUsingReflection(AopUtils.java:304) at org.springframework.aop.framework.ReflectiveMethodInvocation.invokeJoinpoint(ReflectiveMethodInvocation.java:182) at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:149) at org.springframework.orm.hibernate.HibernateInterceptor.invoke(HibernateInterceptor.java:117) at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:171) at org.springframework.aop.framework.JdkDynamicAopProxy.invoke(JdkDynamicAopProxy.java:204) at $Proxy35.handleEvent(Unknown Source) at com.atlassian.event.DefaultEventManager$2.run(DefaultEventManager.java:202) at edu.emory.mathcs.backport.java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:650) at edu.emory.mathcs.backport.java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:675) at com.atlassian.bamboo.build.pipeline.concurrent.NamedThreadFactory$1.run(NamedThreadFactory.java:32) at edu.emory.mathcs.backport.java.util.concurrent.helpers.ThreadHelpers$1.run(ThreadHelpers.java:34) at java.lang.Thread.run(Thread.java:595) 2008-02-12 09:45:15,741 ERROR [pool-25-thread-1] [BuildFailedandFirstFixedCondition] Could not create email content for notificationFailed Builds And First Successful 2008-02-12 09:45:15,826 ERROR [pool-25-thread-1] [EmailListener] Failed decryption during sending of email. com.atlassian.bamboo.security.EncryptionException: Failed to decrypt. at com.atlassian.bamboo.security.StringEncrypter.decrypt(StringEncrypter.java:78) at com.atlassian.bamboo.mail.EmailListener.decryptPassword(EmailListener.java:92) at com.atlassian.bamboo.mail.EmailListener.handleEvent(EmailListener.java:53) at com.atlassian.event.DefaultEventManager$2.run(DefaultEventManager.java:202) at edu.emory.mathcs.backport.java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:650) at edu.emory.mathcs.backport.java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:675) at com.atlassian.bamboo.build.pipeline.concurrent.NamedThreadFactory$1.run(NamedThreadFactory.java:32) at edu.emory.mathcs.backport.java.util.concurrent.helpers.ThreadHelpers$1.run(ThreadHelpers.java:34) at java.lang.Thread.run(Thread.java:595) Caused by: javax.crypto.IllegalBlockSizeException: Input length must be multiple of 8 when decrypting with padded cipher at com.sun.crypto.provider.SunJCE_h.b(DashoA12275) at com.sun.crypto.provider.SunJCE_h.b(DashoA12275) at com.sun.crypto.provider.DESedeCipher.engineDoFinal(DashoA12275) at javax.crypto.Cipher.doFinal(DashoA12275) at com.atlassian.bamboo.security.StringEncrypter.decrypt(StringEncrypter.java:74) ... 8 more 2008-02-12 09:45:15,828 ERROR [pool-30-thread-1] [EmailListener] Failed decryption during sending of email. com.atlassian.bamboo.security.EncryptionException: Failed to decrypt. at com.atlassian.bamboo.security.StringEncrypter.decrypt(StringEncrypter.java:78) at com.atlassian.bamboo.mail.EmailListener.decryptPassword(EmailListener.java:92) at com.atlassian.bamboo.mail.EmailListener.handleEvent(EmailListener.java:53) at com.atlassian.event.DefaultEventManager$2.run(DefaultEventManager.java:202) at edu.emory.mathcs.backport.java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:650) at edu.emory.mathcs.backport.java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:675) at com.atlassian.bamboo.build.pipeline.concurrent.NamedThreadFactory$1.run(NamedThreadFactory.java:32) at edu.emory.mathcs.backport.java.util.concurrent.helpers.ThreadHelpers$1.run(ThreadHelpers.java:34) at java.lang.Thread.run(Thread.java:595) Caused by: javax.crypto.IllegalBlockSizeException: Input length must be multiple of 8 when decrypting with padded cipher at com.sun.crypto.provider.SunJCE_h.b(DashoA12275) at com.sun.crypto.provider.SunJCE_h.b(DashoA12275) at com.sun.crypto.provider.DESedeCipher.engineDoFinal(DashoA12275) at javax.crypto.Cipher.doFinal(DashoA12275) at com.atlassian.bamboo.security.StringEncrypter.decrypt(StringEncrypter.java:74) ... 8 more 2008-02-12 09:45:15,829 ERROR [pool-21-thread-1] [EmailListener] Failed decryption during sending of email. com.atlassian.bamboo.security.EncryptionException: Failed to decrypt. at com.atlassian.bamboo.security.StringEncrypter.decrypt(StringEncrypter.java:78) at com.atlassian.bamboo.mail.EmailListener.decryptPassword(EmailListener.java:92) at com.atlassian.bamboo.mail.EmailListener.handleEvent(EmailListener.java:53) at com.atlassian.event.DefaultEventManager$2.run(DefaultEventManager.java:202) at edu.emory.mathcs.backport.java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:650) at edu.emory.mathcs.backport.java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:675) at com.atlassian.bamboo.build.pipeline.concurrent.NamedThreadFactory$1.run(NamedThreadFactory.java:32) at edu.emory.mathcs.backport.java.util.concurrent.helpers.ThreadHelpers$1.run(ThreadHelpers.java:34) at java.lang.Thread.run(Thread.java:595) Caused by: javax.crypto.IllegalBlockSizeException: Input length must be multiple of 8 when decrypting with padded cipher at com.sun.crypto.provider.SunJCE_h.b(DashoA12275) at com.sun.crypto.provider.SunJCE_h.b(DashoA12275) at com.sun.crypto.provider.DESedeCipher.engineDoFinal(DashoA12275) at javax.crypto.Cipher.doFinal(DashoA12275) at com.atlassian.bamboo.security.StringEncrypter.decrypt(StringEncrypter.java:74) ... 8 more 2008-02-12 09:45:15,830 ERROR [pool-19-thread-1] [EmailListener] Failed decryption during sending of email. com.atlassian.bamboo.security.EncryptionException: Failed to decrypt. at com.atlassian.bamboo.security.StringEncrypter.decrypt(StringEncrypter.java:78) at com.atlassian.bamboo.mail.EmailListener.decryptPassword(EmailListener.java:92) at com.atlassian.bamboo.mail.EmailListener.handleEvent(EmailListener.java:53) at com.atlassian.event.DefaultEventManager$2.run(DefaultEventManager.java:202) at edu.emory.mathcs.backport.java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:650) at edu.emory.mathcs.backport.java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:675) at com.atlassian.bamboo.build.pipeline.concurrent.NamedThreadFactory$1.run(NamedThreadFactory.java:32) at edu.emory.mathcs.backport.java.util.concurrent.helpers.ThreadHelpers$1.run(ThreadHelpers.java:34) at java.lang.Thread.run(Thread.java:595) Caused by: javax.crypto.IllegalBlockSizeException: Input length must be multiple of 8 when decrypting with padded cipher at com.sun.crypto.provider.SunJCE_h.b(DashoA12275) at com.sun.crypto.provider.SunJCE_h.b(DashoA12275) at com.sun.crypto.provider.DESedeCipher.engineDoFinal(DashoA12275) at javax.crypto.Cipher.doFinal(DashoA12275) at com.atlassian.bamboo.security.StringEncrypter.decrypt(StringEncrypter.java:74) ... 8 more {noformat}

    Atlassian JIRA | 9 years ago | Adrian Hempel [Atlassian]
    net.sf.hibernate.HibernateException: disconnected session
  2. 0

    Members of the Cenqua team received empty notification e-mails from Bamboo. The following was written to bamboo.log at the time the e-mail was sent: {noformat} 2008-02-12 09:45:15,626 ERROR [pool-25-thread-1] [PersistentCollection] Failed to lazily initialize a collection net.sf.hibernate.HibernateException: disconnected session at net.sf.hibernate.collection.PersistentCollection.forceInitialization(PersistentCollection.java:335) at net.sf.hibernate.impl.SessionImpl.initializeNonLazyCollections(SessionImpl.java:3168) at net.sf.hibernate.loader.Loader.doQueryAndInitializeNonLazyCollections(Loader.java:143) at net.sf.hibernate.loader.Loader.loadCollection(Loader.java:1020) at net.sf.hibernate.loader.Loader.loadCollection(Loader.java:995) at net.sf.hibernate.loader.OneToManyLoader.initialize(OneToManyLoader.java:93) at net.sf.hibernate.collection.AbstractCollectionPersister.initialize(AbstractCollectionPersister.java:288) at net.sf.hibernate.impl.SessionImpl.initializeCollection(SessionImpl.java:3315) at net.sf.hibernate.collection.PersistentCollection.initialize(PersistentCollection.java:195) at net.sf.hibernate.collection.PersistentCollection.read(PersistentCollection.java:71) at net.sf.hibernate.collection.Set.iterator(Set.java:130) at com.atlassian.bamboo.results.BuildResultsImpl.getUniqueAuthors(BuildResultsImpl.java:636) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) at java.lang.reflect.Method.invoke(Method.java:585) at org.apache.velocity.runtime.parser.node.PropertyExecutor.execute(PropertyExecutor.java:111) at org.apache.velocity.util.introspection.UberspectImpl$VelGetterImpl.invoke(UberspectImpl.java:302) at org.apache.velocity.runtime.parser.node.ASTIdentifier.execute(ASTIdentifier.java:157) at org.apache.velocity.runtime.parser.node.ASTReference.execute(ASTReference.java:175) at org.apache.velocity.runtime.parser.node.ASTReference.value(ASTReference.java:327) at org.apache.velocity.runtime.parser.node.ASTNENode.evaluate(ASTNENode.java:45) at org.apache.velocity.runtime.parser.node.ASTExpression.evaluate(ASTExpression.java:45) at org.apache.velocity.runtime.parser.node.ASTIfStatement.render(ASTIfStatement.java:68) at org.apache.velocity.runtime.parser.node.SimpleNode.render(SimpleNode.java:230) at org.apache.velocity.Template.merge(Template.java:256) at com.atlassian.bamboo.notification.conditions.BuildFailedandFirstFixedCondition.getTextEmail(BuildFailedandFirstFixedCondition.java:102) at com.atlassian.bamboo.notification.NotificationListener.handleEvent(NotificationListener.java:113) at sun.reflect.GeneratedMethodAccessor583.invoke(Unknown Source) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) at java.lang.reflect.Method.invoke(Method.java:585) at org.springframework.aop.support.AopUtils.invokeJoinpointUsingReflection(AopUtils.java:304) at org.springframework.aop.framework.ReflectiveMethodInvocation.invokeJoinpoint(ReflectiveMethodInvocation.java:182) at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:149) at org.springframework.orm.hibernate.HibernateInterceptor.invoke(HibernateInterceptor.java:117) at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:171) at org.springframework.aop.framework.JdkDynamicAopProxy.invoke(JdkDynamicAopProxy.java:204) at $Proxy35.handleEvent(Unknown Source) at com.atlassian.event.DefaultEventManager$2.run(DefaultEventManager.java:202) at edu.emory.mathcs.backport.java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:650) at edu.emory.mathcs.backport.java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:675) at com.atlassian.bamboo.build.pipeline.concurrent.NamedThreadFactory$1.run(NamedThreadFactory.java:32) at edu.emory.mathcs.backport.java.util.concurrent.helpers.ThreadHelpers$1.run(ThreadHelpers.java:34) at java.lang.Thread.run(Thread.java:595) 2008-02-12 09:45:15,741 ERROR [pool-25-thread-1] [BuildFailedandFirstFixedCondition] Could not create email content for notificationFailed Builds And First Successful 2008-02-12 09:45:15,826 ERROR [pool-25-thread-1] [EmailListener] Failed decryption during sending of email. com.atlassian.bamboo.security.EncryptionException: Failed to decrypt. at com.atlassian.bamboo.security.StringEncrypter.decrypt(StringEncrypter.java:78) at com.atlassian.bamboo.mail.EmailListener.decryptPassword(EmailListener.java:92) at com.atlassian.bamboo.mail.EmailListener.handleEvent(EmailListener.java:53) at com.atlassian.event.DefaultEventManager$2.run(DefaultEventManager.java:202) at edu.emory.mathcs.backport.java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:650) at edu.emory.mathcs.backport.java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:675) at com.atlassian.bamboo.build.pipeline.concurrent.NamedThreadFactory$1.run(NamedThreadFactory.java:32) at edu.emory.mathcs.backport.java.util.concurrent.helpers.ThreadHelpers$1.run(ThreadHelpers.java:34) at java.lang.Thread.run(Thread.java:595) Caused by: javax.crypto.IllegalBlockSizeException: Input length must be multiple of 8 when decrypting with padded cipher at com.sun.crypto.provider.SunJCE_h.b(DashoA12275) at com.sun.crypto.provider.SunJCE_h.b(DashoA12275) at com.sun.crypto.provider.DESedeCipher.engineDoFinal(DashoA12275) at javax.crypto.Cipher.doFinal(DashoA12275) at com.atlassian.bamboo.security.StringEncrypter.decrypt(StringEncrypter.java:74) ... 8 more 2008-02-12 09:45:15,828 ERROR [pool-30-thread-1] [EmailListener] Failed decryption during sending of email. com.atlassian.bamboo.security.EncryptionException: Failed to decrypt. at com.atlassian.bamboo.security.StringEncrypter.decrypt(StringEncrypter.java:78) at com.atlassian.bamboo.mail.EmailListener.decryptPassword(EmailListener.java:92) at com.atlassian.bamboo.mail.EmailListener.handleEvent(EmailListener.java:53) at com.atlassian.event.DefaultEventManager$2.run(DefaultEventManager.java:202) at edu.emory.mathcs.backport.java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:650) at edu.emory.mathcs.backport.java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:675) at com.atlassian.bamboo.build.pipeline.concurrent.NamedThreadFactory$1.run(NamedThreadFactory.java:32) at edu.emory.mathcs.backport.java.util.concurrent.helpers.ThreadHelpers$1.run(ThreadHelpers.java:34) at java.lang.Thread.run(Thread.java:595) Caused by: javax.crypto.IllegalBlockSizeException: Input length must be multiple of 8 when decrypting with padded cipher at com.sun.crypto.provider.SunJCE_h.b(DashoA12275) at com.sun.crypto.provider.SunJCE_h.b(DashoA12275) at com.sun.crypto.provider.DESedeCipher.engineDoFinal(DashoA12275) at javax.crypto.Cipher.doFinal(DashoA12275) at com.atlassian.bamboo.security.StringEncrypter.decrypt(StringEncrypter.java:74) ... 8 more 2008-02-12 09:45:15,829 ERROR [pool-21-thread-1] [EmailListener] Failed decryption during sending of email. com.atlassian.bamboo.security.EncryptionException: Failed to decrypt. at com.atlassian.bamboo.security.StringEncrypter.decrypt(StringEncrypter.java:78) at com.atlassian.bamboo.mail.EmailListener.decryptPassword(EmailListener.java:92) at com.atlassian.bamboo.mail.EmailListener.handleEvent(EmailListener.java:53) at com.atlassian.event.DefaultEventManager$2.run(DefaultEventManager.java:202) at edu.emory.mathcs.backport.java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:650) at edu.emory.mathcs.backport.java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:675) at com.atlassian.bamboo.build.pipeline.concurrent.NamedThreadFactory$1.run(NamedThreadFactory.java:32) at edu.emory.mathcs.backport.java.util.concurrent.helpers.ThreadHelpers$1.run(ThreadHelpers.java:34) at java.lang.Thread.run(Thread.java:595) Caused by: javax.crypto.IllegalBlockSizeException: Input length must be multiple of 8 when decrypting with padded cipher at com.sun.crypto.provider.SunJCE_h.b(DashoA12275) at com.sun.crypto.provider.SunJCE_h.b(DashoA12275) at com.sun.crypto.provider.DESedeCipher.engineDoFinal(DashoA12275) at javax.crypto.Cipher.doFinal(DashoA12275) at com.atlassian.bamboo.security.StringEncrypter.decrypt(StringEncrypter.java:74) ... 8 more 2008-02-12 09:45:15,830 ERROR [pool-19-thread-1] [EmailListener] Failed decryption during sending of email. com.atlassian.bamboo.security.EncryptionException: Failed to decrypt. at com.atlassian.bamboo.security.StringEncrypter.decrypt(StringEncrypter.java:78) at com.atlassian.bamboo.mail.EmailListener.decryptPassword(EmailListener.java:92) at com.atlassian.bamboo.mail.EmailListener.handleEvent(EmailListener.java:53) at com.atlassian.event.DefaultEventManager$2.run(DefaultEventManager.java:202) at edu.emory.mathcs.backport.java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:650) at edu.emory.mathcs.backport.java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:675) at com.atlassian.bamboo.build.pipeline.concurrent.NamedThreadFactory$1.run(NamedThreadFactory.java:32) at edu.emory.mathcs.backport.java.util.concurrent.helpers.ThreadHelpers$1.run(ThreadHelpers.java:34) at java.lang.Thread.run(Thread.java:595) Caused by: javax.crypto.IllegalBlockSizeException: Input length must be multiple of 8 when decrypting with padded cipher at com.sun.crypto.provider.SunJCE_h.b(DashoA12275) at com.sun.crypto.provider.SunJCE_h.b(DashoA12275) at com.sun.crypto.provider.DESedeCipher.engineDoFinal(DashoA12275) at javax.crypto.Cipher.doFinal(DashoA12275) at com.atlassian.bamboo.security.StringEncrypter.decrypt(StringEncrypter.java:74) ... 8 more {noformat}

    Atlassian JIRA | 9 years ago | Adrian Hempel [Atlassian]
    net.sf.hibernate.HibernateException: disconnected session
  3. 0

    1 more error - Java Programming Help - KnowCoding.com

    knowcoding.com | 2 years ago
    net.sf.hibernate.HibernateException: Error attempting to do session work at com.azure.spark.database.hibernate.util.HibernateU til.doSessionWork(HibernateUtil.java:96) at com.azure.spark.database.hibernate.util.HibernateU til.doSessionWork(HibernateUtil.java:59) at com.azure.spark.database.hibernate.util.HibernateU til.get(HibernateUtil.java:569) at com.azure.spark.database.hibernate.util.HibernateS ession.get(HibernateSession.java:340) at com.azure.spark.taskcontroller.TaskControllerCompo nent.taskCompleted(TaskControllerComponent.java:11 54) at com.azure.spark.taskcontroller.TaskControllerCompo nent.onTaskEvent(TaskControllerComponent.java:1111 ) at com.azure.spark.taskcontroller.tasks.AbstractTaskC omponent.run(AbstractTaskComponent.java:354)
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

  5. 0

    " Protocol violation" Error in java application

    javaprogrammingforums.com | 1 year ago
    net.sf.hibernate.HibernateException: Error attempting to do session work at com.azure.spark.database.hibernate.util.HibernateU til.doSessionWork(HibernateUtil.java:96) at com.azure.spark.database.hibernate.util.HibernateU til.doSessionWork(HibernateUtil.java:59) at com.azure.spark.database.hibernate.util.HibernateU til.get(HibernateUtil.java:569) at com.azure.spark.database.hibernate.util.HibernateS ession.get(HibernateSession.java:340) at com.azure.spark.taskcontroller.TaskControllerCompo nent.taskCompleted(TaskControllerComponent.java:11 54) at com.azure.spark.taskcontroller.TaskControllerCompo nent.onTaskEvent(TaskControllerComponent.java:1111 ) at com.azure.spark.taskcontroller.tasks.AbstractTaskC omponent.run(AbstractTaskComponent.java:354)
  6. 0

    Thread java - Java Programming Help - KnowCoding.com

    knowcoding.com | 2 years ago
    net.sf.hibernate.HibernateException: Error attempting to do session work at com.azure.spark.database.hibernate.util.HibernateU til.doSessionWork(HibernateUtil.java:96) at com.azure.spark.database.hibernate.util.HibernateU til.doSessionWork(HibernateUtil.java:59) at com.azure.spark.database.hibernate.util.HibernateU til.get(HibernateUtil.java:569) at com.azure.spark.database.hibernate.util.HibernateS ession.get(HibernateSession.java:340) at com.azure.spark.taskcontroller.TaskControllerCompo nent.taskCompleted(TaskControllerComponent.java:11 54) at com.azure.spark.taskcontroller.TaskControllerCompo nent.onTaskEvent(TaskControllerComponent.java:1111 ) at com.azure.spark.taskcontroller.tasks.AbstractTaskC omponent.run(AbstractTaskComponent.java:354)

    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. net.sf.hibernate.HibernateException

      disconnected session

      at net.sf.hibernate.collection.PersistentCollection.forceInitialization()
    2. net.sf.hibernate
      Set.iterator
      1. net.sf.hibernate.collection.PersistentCollection.forceInitialization(PersistentCollection.java:335)
      2. net.sf.hibernate.impl.SessionImpl.initializeNonLazyCollections(SessionImpl.java:3168)
      3. net.sf.hibernate.loader.Loader.doQueryAndInitializeNonLazyCollections(Loader.java:143)
      4. net.sf.hibernate.loader.Loader.loadCollection(Loader.java:1020)
      5. net.sf.hibernate.loader.Loader.loadCollection(Loader.java:995)
      6. net.sf.hibernate.loader.OneToManyLoader.initialize(OneToManyLoader.java:93)
      7. net.sf.hibernate.collection.AbstractCollectionPersister.initialize(AbstractCollectionPersister.java:288)
      8. net.sf.hibernate.impl.SessionImpl.initializeCollection(SessionImpl.java:3315)
      9. net.sf.hibernate.collection.PersistentCollection.initialize(PersistentCollection.java:195)
      10. net.sf.hibernate.collection.PersistentCollection.read(PersistentCollection.java:71)
      11. net.sf.hibernate.collection.Set.iterator(Set.java:130)
      11 frames
    3. com.atlassian.bamboo
      BuildResultsImpl.getUniqueAuthors
      1. com.atlassian.bamboo.results.BuildResultsImpl.getUniqueAuthors(BuildResultsImpl.java:636)
      1 frame
    4. Java RT
      Method.invoke
      1. sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
      2. sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
      3. sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
      4. java.lang.reflect.Method.invoke(Method.java:585)
      4 frames
    5. Apache Velocity
      Template.merge
      1. org.apache.velocity.runtime.parser.node.PropertyExecutor.execute(PropertyExecutor.java:111)
      2. org.apache.velocity.util.introspection.UberspectImpl$VelGetterImpl.invoke(UberspectImpl.java:302)
      3. org.apache.velocity.runtime.parser.node.ASTIdentifier.execute(ASTIdentifier.java:157)
      4. org.apache.velocity.runtime.parser.node.ASTReference.execute(ASTReference.java:175)
      5. org.apache.velocity.runtime.parser.node.ASTReference.value(ASTReference.java:327)
      6. org.apache.velocity.runtime.parser.node.ASTNENode.evaluate(ASTNENode.java:45)
      7. org.apache.velocity.runtime.parser.node.ASTExpression.evaluate(ASTExpression.java:45)
      8. org.apache.velocity.runtime.parser.node.ASTIfStatement.render(ASTIfStatement.java:68)
      9. org.apache.velocity.runtime.parser.node.SimpleNode.render(SimpleNode.java:230)
      10. org.apache.velocity.Template.merge(Template.java:256)
      10 frames
    6. com.atlassian.bamboo
      NotificationListener.handleEvent
      1. com.atlassian.bamboo.notification.conditions.BuildFailedandFirstFixedCondition.getTextEmail(BuildFailedandFirstFixedCondition.java:102)
      2. com.atlassian.bamboo.notification.NotificationListener.handleEvent(NotificationListener.java:113)
      2 frames
    7. Java RT
      Method.invoke
      1. sun.reflect.GeneratedMethodAccessor583.invoke(Unknown Source)
      2. sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
      3. java.lang.reflect.Method.invoke(Method.java:585)
      3 frames
    8. Spring AOP
      ReflectiveMethodInvocation.proceed
      1. org.springframework.aop.support.AopUtils.invokeJoinpointUsingReflection(AopUtils.java:304)
      2. org.springframework.aop.framework.ReflectiveMethodInvocation.invokeJoinpoint(ReflectiveMethodInvocation.java:182)
      3. org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:149)
      3 frames
    9. Hibernate
      HibernateInterceptor.invoke
      1. org.springframework.orm.hibernate.HibernateInterceptor.invoke(HibernateInterceptor.java:117)
      1 frame
    10. Spring AOP
      JdkDynamicAopProxy.invoke
      1. org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:171)
      2. org.springframework.aop.framework.JdkDynamicAopProxy.invoke(JdkDynamicAopProxy.java:204)
      2 frames
    11. Unknown
      $Proxy35.handleEvent
      1. $Proxy35.handleEvent(Unknown Source)
      1 frame
    12. com.atlassian.event
      DefaultEventManager$2.run
      1. com.atlassian.event.DefaultEventManager$2.run(DefaultEventManager.java:202)
      1 frame
    13. Backport of JSR 166
      ThreadPoolExecutor$Worker.run
      1. edu.emory.mathcs.backport.java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:650)
      2. edu.emory.mathcs.backport.java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:675)
      2 frames
    14. com.atlassian.bamboo
      NamedThreadFactory$1.run
      1. com.atlassian.bamboo.build.pipeline.concurrent.NamedThreadFactory$1.run(NamedThreadFactory.java:32)
      1 frame
    15. Backport of JSR 166
      ThreadHelpers$1.run
      1. edu.emory.mathcs.backport.java.util.concurrent.helpers.ThreadHelpers$1.run(ThreadHelpers.java:34)
      1 frame
    16. Java RT
      Thread.run
      1. java.lang.Thread.run(Thread.java:595)
      1 frame