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 Matthew Jensen [Atlassian], 1 year ago
Invocation of method 'getVisibleLabels' in class com.atlassian.confluence.pages.Page threw exception class net.sf.hibernate.LazyInitializationException : Failed to lazily initialize a collection
via Atlassian JIRA by Matthew Jensen [Atlassian], 1 year ago
Invocation of method 'getVisibleLabels' in class com.atlassian.confluence.pages.Page threw exception class net.sf.hibernate.LazyInitializationException : Failed to lazily initialize a collection
via Atlassian JIRA by Jean-Christophe Huet, 2 years ago
Invocation of method 'getFullName' in class com.opensymphony.user.User threw exception class java.lang.NullPointerException : null
via Atlassian JIRA by Jean-Christophe Huet, 1 year ago
Invocation of method 'getFullName' in class com.opensymphony.user.User threw exception class java.lang.NullPointerException : null
via Atlassian JIRA by Paul Walk, 2 years ago
Invocation of method 'getSuggestedLabelsForSpace' in class com.atlassian.confluence.spaces.actions.AddLabelToSpaceAction threw exception class java.lang.NullPointerException : null
via Atlassian JIRA by Igor Minar, 2 years ago
Invocation of method 'hasChildren' in class com.atlassian.confluence.pages.Page threw exception net.sf.hibernate.LazyInitializationException: Failed to lazily initialize a collection @ /pages/includes/page-location-form.vm[34,74]
org.apache.velocity.exception.MethodInvocationException: Invocation of method 'getVisibleLabels' in  class com.atlassian.confluence.pages.Page threw exception class net.sf.hibernate.LazyInitializationException : Failed to lazily initialize a collection	at org.apache.velocity.runtime.parser.node.ASTMethod.execute(ASTMethod.java:309)	at org.apache.velocity.runtime.parser.node.ASTReference.execute(ASTReference.java:207)	at org.apache.velocity.runtime.parser.node.ASTReference.value(ASTReference.java:357)	at org.apache.velocity.runtime.parser.node.ASTSetDirective.render(ASTSetDirective.java:135)	at org.apache.velocity.runtime.parser.node.ASTBlock.render(ASTBlock.java:94)	at org.apache.velocity.runtime.parser.node.ASTIfStatement.render(ASTIfStatement.java:109)	at org.apache.velocity.runtime.parser.node.SimpleNode.render(SimpleNode.java:271)	at org.apache.velocity.runtime.directive.VelocimacroProxy.render(VelocimacroProxy.java:215)	at org.apache.velocity.runtime.parser.node.ASTDirective.render(ASTDirective.java:153)	at org.apache.velocity.runtime.parser.node.ASTBlock.render(ASTBlock.java:94)	at org.apache.velocity.runtime.directive.Foreach.render(Foreach.java:344)	at org.apache.velocity.runtime.parser.node.ASTDirective.render(ASTDirective.java:153)	at org.apache.velocity.runtime.parser.node.SimpleNode.render(SimpleNode.java:271)	at org.apache.velocity.Template.merge(Template.java:296)	at com.atlassian.confluence.util.velocity.VelocityUtils.getRenderedTemplateWithoutSwallowingErrors(VelocityUtils.java:53)	at com.atlassian.confluence.setup.velocity.ApplyDecoratorDirective.render(ApplyDecoratorDirective.java:229)	at org.apache.velocity.runtime.parser.node.ASTDirective.render(ASTDirective.java:153)	at org.apache.velocity.runtime.parser.node.SimpleNode.render(SimpleNode.java:271)	at org.apache.velocity.runtime.directive.VelocimacroProxy.render(VelocimacroProxy.java:215)	at org.apache.velocity.runtime.parser.node.ASTDirective.render(ASTDirective.java:153)	at org.apache.velocity.runtime.parser.node.ASTBlock.render(ASTBlock.java:94)	at org.apache.velocity.runtime.parser.node.ASTElseIfStatement.render(ASTElseIfStatement.java:118)	at org.apache.velocity.runtime.parser.node.ASTIfStatement.render(ASTIfStatement.java:128)	at org.apache.velocity.runtime.parser.node.SimpleNode.render(SimpleNode.java:271)	at org.apache.velocity.Template.merge(Template.java:296)	at com.atlassian.confluence.util.velocity.VelocityUtils.getRenderedTemplateWithoutSwallowingErrors(VelocityUtils.java:53)	at com.atlassian.confluence.setup.velocity.ApplyDecoratorDirective.render(ApplyDecoratorDirective.java:229)	at org.apache.velocity.runtime.parser.node.ASTDirective.render(ASTDirective.java:153)	at org.apache.velocity.runtime.parser.node.ASTBlock.render(ASTBlock.java:94)	at org.apache.velocity.runtime.parser.node.ASTIfStatement.render(ASTIfStatement.java:109)	at org.apache.velocity.runtime.parser.node.ASTBlock.render(ASTBlock.java:94)	at org.apache.velocity.runtime.parser.node.ASTIfStatement.render(ASTIfStatement.java:109)	at org.apache.velocity.runtime.parser.node.ASTBlock.render(ASTBlock.java:94)	at org.apache.velocity.runtime.parser.node.ASTIfStatement.render(ASTIfStatement.java:109)	at org.apache.velocity.runtime.parser.node.ASTBlock.render(ASTBlock.java:94)	at org.apache.velocity.runtime.parser.node.ASTIfStatement.render(ASTIfStatement.java:109)	at org.apache.velocity.runtime.parser.node.ASTBlock.render(ASTBlock.java:94)	at org.apache.velocity.runtime.parser.node.ASTIfStatement.render(ASTIfStatement.java:109)	at org.apache.velocity.runtime.parser.node.SimpleNode.render(SimpleNode.java:271)	at org.apache.velocity.runtime.directive.Parse.render(Parse.java:232)	at org.apache.velocity.runtime.parser.node.ASTDirective.render(ASTDirective.java:153)	at org.apache.velocity.runtime.parser.node.SimpleNode.render(SimpleNode.java:271)	at org.apache.velocity.Template.merge(Template.java:296)	at com.atlassian.confluence.util.velocity.VelocityUtils.getRenderedTemplateWithoutSwallowingErrors(VelocityUtils.java:53)	at com.atlassian.confluence.setup.velocity.ApplyDecoratorDirective.render(ApplyDecoratorDirective.java:229)	at org.apache.velocity.runtime.parser.node.ASTDirective.render(ASTDirective.java:153)	at org.apache.velocity.runtime.parser.node.SimpleNode.render(SimpleNode.java:271)	at org.apache.velocity.runtime.directive.VelocimacroProxy.render(VelocimacroProxy.java:215)	at org.apache.velocity.runtime.parser.node.ASTDirective.render(ASTDirective.java:153)	at org.apache.velocity.runtime.parser.node.ASTBlock.render(ASTBlock.java:94)	at org.apache.velocity.runtime.parser.node.ASTElseIfStatement.render(ASTElseIfStatement.java:118)	at org.apache.velocity.runtime.parser.node.ASTIfStatement.render(ASTIfStatement.java:128)	at org.apache.velocity.runtime.parser.node.SimpleNode.render(SimpleNode.java:271)	at org.apache.velocity.Template.merge(Template.java:296)	at com.atlassian.confluence.util.velocity.VelocityUtils.getRenderedTemplateWithoutSwallowingErrors(VelocityUtils.java:53)	at com.atlassian.confluence.setup.velocity.ApplyDecoratorDirective.render(ApplyDecoratorDirective.java:229)	at org.apache.velocity.runtime.parser.node.ASTDirective.render(ASTDirective.java:153)	at org.apache.velocity.runtime.parser.node.SimpleNode.render(SimpleNode.java:271)	at org.apache.velocity.Template.merge(Template.java:296)	at com.opensymphony.webwork.dispatcher.VelocityResult.doExecute(VelocityResult.java:91)	at com.atlassian.xwork.results.ProfiledVelocityResult.doExecute(ProfiledVelocityResult.java:21)	at com.opensymphony.webwork.dispatcher.WebWorkResultSupport.execute(WebWorkResultSupport.java:116)	at com.opensymphony.xwork.DefaultActionInvocation.executeResult(DefaultActionInvocation.java:263)	at com.opensymphony.xwork.DefaultActionInvocation.invoke(DefaultActionInvocation.java:187)	at com.opensymphony.xwork.interceptor.AroundInterceptor.intercept(AroundInterceptor.java:35)	at com.opensymphony.xwork.DefaultActionInvocation.invoke(DefaultActionInvocation.java:165)	at com.opensymphony.xwork.interceptor.DefaultWorkflowInterceptor.intercept(DefaultWorkflowInterceptor.java:55)	at com.atlassian.confluence.core.ConfluenceWorkflowInterceptor.intercept(ConfluenceWorkflowInterceptor.java:39)	at com.opensymphony.xwork.DefaultActionInvocation.invoke(DefaultActionInvocation.java:165)	at com.opensymphony.xwork.interceptor.AroundInterceptor.intercept(AroundInterceptor.java:35)	at com.atlassian.confluence.core.ConfluenceValidationInterceptor.intercept(ConfluenceValidationInterceptor.java:16)	at com.opensymphony.xwork.DefaultActionInvocation.invoke(DefaultActionInvocation.java:165)	at com.opensymphony.xwork.interceptor.AroundInterceptor.intercept(AroundInterceptor.java:35)	at com.opensymphony.xwork.DefaultActionInvocation.invoke(DefaultActionInvocation.java:165)	at com.atlassian.confluence.util.LoggingContextInterceptor.intercept(LoggingContextInterceptor.java:48)	at com.opensymphony.xwork.DefaultActionInvocation.invoke(DefaultActionInvocation.java:165)	at com.atlassian.confluence.security.actions.PermissionCheckInterceptor.intercept(PermissionCheckInterceptor.java:47)	at com.opensymphony.xwork.DefaultActionInvocation.invoke(DefaultActionInvocation.java:165)	at com.atlassian.confluence.pages.actions.PageAwareInterceptor.intercept(PageAwareInterceptor.java:114)	at com.opensymphony.xwork.DefaultActionInvocation.invoke(DefaultActionInvocation.java:165)	at com.atlassian.confluence.spaces.actions.SpaceAwareInterceptor.intercept(SpaceAwareInterceptor.java:67)	at com.opensymphony.xwork.DefaultActionInvocation.invoke(DefaultActionInvocation.java:165)	at com.opensymphony.xwork.interceptor.AroundInterceptor.intercept(AroundInterceptor.java:35)	at com.opensymphony.xwork.DefaultActionInvocation.invoke(DefaultActionInvocation.java:165)	at com.atlassian.confluence.core.actions.LastModifiedInterceptor.intercept(LastModifiedInterceptor.java:39)	at com.opensymphony.xwork.DefaultActionInvocation.invoke(DefaultActionInvocation.java:165)	at com.atlassian.confluence.core.ConfluenceAutowireInterceptor.intercept(ConfluenceAutowireInterceptor.java:25)	at com.opensymphony.xwork.DefaultActionInvocation.invoke(DefaultActionInvocation.java:165)	at com.opensymphony.xwork.interceptor.AroundInterceptor.intercept(AroundInterceptor.java:35)	at com.opensymphony.xwork.DefaultActionInvocation.invoke(DefaultActionInvocation.java:165)	at com.opensymphony.xwork.interceptor.AroundInterceptor.intercept(AroundInterceptor.java:35)	at com.opensymphony.xwork.DefaultActionInvocation.invoke(DefaultActionInvocation.java:165)	at com.atlassian.xwork.interceptors.XWorkTransactionInterceptor.intercept(XWorkTransactionInterceptor.java:98)	at com.opensymphony.xwork.DefaultActionInvocation.invoke(DefaultActionInvocation.java:165)	at com.opensymphony.xwork.interceptor.AroundInterceptor.intercept(AroundInterceptor.java:35)	at com.opensymphony.xwork.DefaultActionInvocation.invoke(DefaultActionInvocation.java:165)	at com.opensymphony.xwork.DefaultActionProxy.execute(DefaultActionProxy.java:115)	at com.opensymphony.webwork.dispatcher.ServletDispatcher.serviceAction(ServletDispatcher.java:229)	at com.opensymphony.webwork.dispatcher.ServletDispatcher.service(ServletDispatcher.java:199)	at javax.servlet.http.HttpServlet.service(HttpServlet.java:802)	at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:252)	at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173)	at com.opensymphony.module.sitemesh.filter.PageFilter.parsePage(PageFilter.java:118)	at com.atlassian.confluence.util.profiling.ProfilingPageFilter.parsePage(ProfilingPageFilter.java:137)	at com.opensymphony.module.sitemesh.filter.PageFilter.doFilter(PageFilter.java:54)	at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:202)	at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173)	at com.atlassian.core.filters.ServletContextThreadLocalFilter.doFilter(ServletContextThreadLocalFilter.java:21)	at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:202)	at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173)	at com.atlassian.confluence.util.LoggingContextFilter.doFilter(LoggingContextFilter.java:46)	at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:202)	at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173)	at com.atlassian.confluence.util.UserThreadLocalFilter.doFilter(UserThreadLocalFilter.java:44)	at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:202)	at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173)	at com.atlassian.seraph.filter.SecurityFilter.doFilter(SecurityFilter.java:182)	at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:202)	at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173)	at com.atlassian.seraph.filter.LoginFilter.doFilter(LoginFilter.java:159)	at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:202)	at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173)	at com.atlassian.confluence.util.ClusterHeaderFilter.doFilter(ClusterHeaderFilter.java:35)	at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:202)	at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173)	at com.atlassian.johnson.filters.JohnsonFilter.doFilter(JohnsonFilter.java:96)	at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:202)	at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173)	at org.springframework.orm.hibernate.support.OpenSessionInViewFilter.doFilterInternal(OpenSessionInViewFilter.java:174)	at com.atlassian.spring.filter.FlushingSpringSessionInViewFilter.doFilterInternal(FlushingSpringSessionInViewFilter.java:29)	at org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:76)	at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:202)	at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173)	at com.atlassian.util.profiling.filters.ProfilingFilter.doFilter(ProfilingFilter.java:140)	at com.atlassian.core.filters.ProfilingAndErrorFilter.doFilter(ProfilingAndErrorFilter.java:27)	at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:202)	at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173)	at com.atlassian.confluence.util.RequestCacheThreadLocalFilter.doFilter(RequestCacheThreadLocalFilter.java:25)	at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:202)	at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173)	at com.atlassian.core.filters.gzip.GzipFilter.doFilter(GzipFilter.java:61)	at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:202)	at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173)	at com.atlassian.core.filters.AbstractEncodingFilter.doFilter(AbstractEncodingFilter.java:37)	at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:202)	at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173)	at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:213)	at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:178)	at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:126)	at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:105)	at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:107)	at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:148)	at org.apache.jk.server.JkCoyoteHandler.invoke(JkCoyoteHandler.java:199)	at org.apache.jk.common.HandlerRequest.invoke(HandlerRequest.java:282)	at org.apache.jk.common.ChannelSocket.invoke(ChannelSocket.java:754)	at org.apache.jk.common.ChannelSocket.processConnection(ChannelSocket.java:684)	at org.apache.jk.common.ChannelSocket$SocketConnection.runIt(ChannelSocket.java:876)	at org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(ThreadPool.java:684)	at java.lang.Thread.run(Thread.java:595)