org.hibernate.LazyInitializationException: could not initialize proxy - no Session

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 Atlassian JIRA by Alexey Chystoprudov, 1 year ago
could not initialize proxy - no Session
org.hibernate.LazyInitializationException: could not initialize proxy - no Session
at org.hibernate.proxy.AbstractLazyInitializer.initialize(AbstractLazyInitializer.java:167)
at org.hibernate.proxy.AbstractLazyInitializer.getImplementation(AbstractLazyInitializer.java:215)
at com.atlassian.bamboo.plan.AbstractChain_$$_javassist_1.equals(AbstractChain_$$_javassist_1.java)
at com.atlassian.bamboo.plan.PlanHelper.getBranchedJob(PlanHelper.java:201)
at com.atlassian.bamboo.build.creation.ChainBranchCreationServiceImpl.cloneQuarantinedTestsFromMaster(ChainBranchCreationServiceImpl.java:421)
at com.atlassian.bamboo.build.creation.ChainBranchCreationServiceImpl.triggerCreationCompleteEvents(ChainBranchCreationServiceImpl.java:457)
at com.atlassian.bamboo.plan.branch.BranchDetectionServiceImpl.createChainBranch(BranchDetectionServiceImpl.java:955)
at com.atlassian.bamboo.plan.branch.BranchDetectionServiceImpl.createPlanBranches(BranchDetectionServiceImpl.java:590)
at com.atlassian.bamboo.plan.branch.BranchDetectionServiceImpl.createPlanBranchesIfAutoCreationIsEnabled(BranchDetectionServiceImpl.java:511)
at com.atlassian.bamboo.plan.branch.BranchDetectionServiceImpl.createNewBranchesForChainNoLock(BranchDetectionServiceImpl.java:451)
at com.atlassian.bamboo.plan.branch.BranchDetectionServiceImpl$BranchDetector$1.lambda$run$0(BranchDetectionServiceImpl.java:262)

Users with the same issue

Samebug visitor profile picture
Unknown user
Once, 1 year ago
Samebug visitor profile picture
Unknown user
Once, 1 year ago
Samebug visitor profile picture
Unknown user
Once, 2 years ago
Samebug visitor profile picture
Unknown user
Once, 2 years ago
Once, 2 months ago
19 more bugmates

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