Uploaded image for project: 'Bamboo Data Center'
  1. Bamboo Data Center
  2. BAM-8360

LazyInitializationException in release management plugin on chainStart

    XMLWordPrintable

Details

    Description

      In Plan http://tardigrade.sydney.atlassian.com:8085/bamboo/build/result/gotoBuildResult.action?returnUrl=%2Fbrowse%2FBAM-FC-3567&buildKey=BAM-FC&buildNumber=3566

      net.sf.hibernate.LazyInitializationException: Failed to lazily initialize a collection - no session or session was closed
      	at net.sf.hibernate.collection.PersistentCollection.initialize(PersistentCollection.java:209)
      	at net.sf.hibernate.collection.PersistentCollection.write(PersistentCollection.java:84)
      	at net.sf.hibernate.collection.Map.put(Map.java:124)
      	at com.atlassian.bamboo.plugins.brmp.action.BRMPPreChainAction.execute(BRMPPreChainAction.java:134)
      	at com.atlassian.bamboo.chains.ChainPluginSupportImpl.chainStarted(ChainPluginSupportImpl.java:67)
      	at com.atlassian.bamboo.chains.ChainExecutionManagerImpl.start(ChainExecutionManagerImpl.java:113)
      	at sun.reflect.GeneratedMethodAccessor245.invoke(Unknown Source)
      	at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
      	at java.lang.reflect.Method.invoke(Method.java:597)
      	at org.springframework.aop.support.AopUtils.invokeJoinpointUsingReflection(AopUtils.java:304)
      	at org.springframework.aop.framework.JdkDynamicAopProxy.invoke(JdkDynamicAopProxy.java:198)
      	at $Proxy49.start(Unknown Source)
      	at com.atlassian.bamboo.plan.PlanExecutionManagerImpl.startWithLockTaken(PlanExecutionManagerImpl.java:174)
      	at com.atlassian.bamboo.plan.PlanExecutionManagerImpl.access$100(PlanExecutionManagerImpl.java:39)
      	at com.atlassian.bamboo.plan.PlanExecutionManagerImpl$2.call(PlanExecutionManagerImpl.java:155)
      	at com.atlassian.bamboo.plan.PlanExecutionManagerImpl.doWithProcessLock(PlanExecutionManagerImpl.java:306)
      	at com.atlassian.bamboo.plan.PlanExecutionManagerImpl.start(PlanExecutionManagerImpl.java:148)
      	at com.atlassian.bamboo.v2.trigger.ChangeDetectionListener.handleEvent(ChangeDetectionListener.java:50)
      	at com.atlassian.event.legacy.LegacyListenerHandler$LegacyListenerInvoker.invoke(LegacyListenerHandler.java:55)
      	at com.atlassian.event.internal.AsynchronousAbleEventDispatcher$2.run(AsynchronousAbleEventDispatcher.java:60)
      	at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:886)
      	at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:908)
      	at com.atlassian.bamboo.build.pipeline.concurrent.NamedThreadFactory$2.run(NamedThreadFactory.java:50)
      	at java.lang.Thread.run(Thread.java:637)
      

      Attachments

        Activity

          People

            pbruski Przemek Bruski
            jdumay James Dumay
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: