org.apache.velocity.exception.MethodInvocationException: Invocation of method 'isEmpty' in class com.atlassian.user.search.page.MergedPager threw exception class java.lang.NullPointerException : null

Atlassian JIRA | Dave Loeng [Atlassian] | 1 decade ago
  1. 0

    Cause: org.apache.velocity.exception.MethodInvocationException: Invocation of method 'isEmpty' in class com.atlassian.user.search.page.MergedPager threw exception class java.lang.NullPointerException : null at org.apache.velocity.runtime.parser.node.ASTMethod.execute(ASTMethod.java:309) caused by: java.lang.NullPointerException at com.atlassian.user.search.page.MergedPager.isEmpty(MergedPager.java:24) Stack Trace: [hide] org.apache.velocity.exception.MethodInvocationException: Invocation of method 'isEmpty' in class com.atlassian.user.search.page.MergedPager threw exception class java.lang.NullPointerException : null 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.evaluate(ASTReference.java:337) at org.apache.velocity.runtime.parser.node.ASTExpression.evaluate(ASTExpression.java:84) at org.apache.velocity.runtime.parser.node.ASTIfStatement.render(ASTIfStatement.java:107) 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 bucket.util.profiling.ProfiledVelocityResult.doExecute(ProfiledVelocityResult.java:18) 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.atlassian.confluence.security.actions.PermissionCheckInterceptor.intercept(PermissionCheckInterceptor.java:39) at com.opensymphony.xwork.DefaultActionInvocation.invoke(DefaultActionInvocation.java:165) at com.atlassian.confluence.pages.actions.PageAwareInterceptor.intercept(PageAwareInterceptor.java:94)

    Atlassian JIRA | 1 decade ago | Dave Loeng [Atlassian]
    org.apache.velocity.exception.MethodInvocationException: Invocation of method 'isEmpty' in class com.atlassian.user.search.page.MergedPager threw exception class java.lang.NullPointerException : null
  2. 0

    Cause: org.apache.velocity.exception.MethodInvocationException: Invocation of method 'isEmpty' in class com.atlassian.user.search.page.MergedPager threw exception class java.lang.NullPointerException : null at org.apache.velocity.runtime.parser.node.ASTMethod.execute(ASTMethod.java:309) caused by: java.lang.NullPointerException at com.atlassian.user.search.page.MergedPager.isEmpty(MergedPager.java:24) Stack Trace: [hide] org.apache.velocity.exception.MethodInvocationException: Invocation of method 'isEmpty' in class com.atlassian.user.search.page.MergedPager threw exception class java.lang.NullPointerException : null 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.evaluate(ASTReference.java:337) at org.apache.velocity.runtime.parser.node.ASTExpression.evaluate(ASTExpression.java:84) at org.apache.velocity.runtime.parser.node.ASTIfStatement.render(ASTIfStatement.java:107) 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 bucket.util.profiling.ProfiledVelocityResult.doExecute(ProfiledVelocityResult.java:18) 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.atlassian.confluence.security.actions.PermissionCheckInterceptor.intercept(PermissionCheckInterceptor.java:39) at com.opensymphony.xwork.DefaultActionInvocation.invoke(DefaultActionInvocation.java:165) at com.atlassian.confluence.pages.actions.PageAwareInterceptor.intercept(PageAwareInterceptor.java:94)

    Atlassian JIRA | 1 decade ago | Dave Loeng [Atlassian]
    org.apache.velocity.exception.MethodInvocationException: Invocation of method 'isEmpty' in class com.atlassian.user.search.page.MergedPager threw exception class java.lang.NullPointerException : null
  3. Speed up your debug routine!

    Automated exception search integrated into your IDE

  4. 0

    When attempting to rename a page by editing at http://extranet.atlassian.com/pages/editpage.action?pageId=620691550 then typing in a new name and clicking save, the attached error page is thrown. Cause: org.apache.velocity.exception.MethodInvocationException: Invocation of method 'hasChildren' 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) caused by: net.sf.hibernate.LazyInitializationException: Failed to lazily initialize a collection at net.sf.hibernate.collection.PersistentCollection.initialize(PersistentCollection.java:201) caused by: net.sf.hibernate.HibernateException: collection was evicted at net.sf.hibernate.impl.SessionImpl.initializeCollection(SessionImpl.java:3305) Stack Trace: [hide] org.apache.velocity.exception.MethodInvocationException: Invocation of method 'hasChildren' 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.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.ASTBlock.render(ASTBlock.java:94) at com.atlassian.confluence.setup.velocity.ApplyDecoratorDirective.render(ApplyDecoratorDirective.java:159) 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) ...

    Atlassian JIRA | 9 years ago | David Soul [Atlassian]
    org.apache.velocity.exception.MethodInvocationException: Invocation of method 'hasChildren' in class com.atlassian.confluence.pages.Page threw exception class net.sf.hibernate.LazyInitializationException : Failed to lazily initialize a collection

    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.apache.velocity.exception.MethodInvocationException

      Invocation of method 'isEmpty' in class com.atlassian.user.search.page.MergedPager threw exception class java.lang.NullPointerException : null

      at org.apache.velocity.runtime.parser.node.ASTMethod.execute()
    2. Apache Velocity
      ASTMethod.execute
      1. org.apache.velocity.runtime.parser.node.ASTMethod.execute(ASTMethod.java:309)
      1 frame