org.apache.velocity.exception.MethodInvocationException: Invocation of method 'hasPreviousVersion' in class com.atlassian.confluence.pages.actions.DiffPagesAction threw exception class java.util.NoSuchElementException : null

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

Samebug tips

Do you know how to solve this issue? Write a tip to help other users and build your expert profile.

Solutions on the web

via Atlassian JIRA by Bob Swift, 1 year ago
Invocation of method 'hasPreviousVersion' in class com.atlassian.confluence.pages.actions.DiffPagesAction threw exception class java.util.NoSuchElementException : null
via Atlassian JIRA by Bob Swift, 1 year ago
Invocation of method 'hasPreviousVersion' in class com.atlassian.confluence.pages.actions.DiffPagesAction threw exception class java.util.NoSuchElementException : null
via Atlassian JIRA by Bob Swift, 1 year ago
Invocation of method 'hasPreviousVersion' in class com.atlassian.confluence.pages.actions.DiffPagesAction threw exception class java.lang.UnsupportedOperationException : Attempting to request a version that does not exist: 323 for page page: Administrators Guide v.259 (138143)
via Atlassian JIRA by Bob Swift, 1 year ago
Invocation of method 'hasPreviousVersion' in class com.atlassian.confluence.pages.actions.DiffPagesAction threw exception class java.lang.UnsupportedOperationException : Attempting to request a version that does not exist: 323 for page page: Administrators Guide v.259 (138143)
via Atlassian JIRA by Dave Loeng [Atlassian], 1 year ago
Invocation of method 'isEmpty' in class com.atlassian.user.search.page.MergedPager threw exception class java.lang.NullPointerException : null
via Atlassian JIRA by Dave Loeng [Atlassian], 1 year ago
Invocation of method 'isEmpty' in class com.atlassian.user.search.page.MergedPager threw exception class java.lang.NullPointerException : null
org.apache.velocity.exception.MethodInvocationException: Invocation of method 'hasPreviousVersion' in class com.atlassian.confluence.pages.actions.DiffPagesAction threw exception class java.util.NoSuchElementException : 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.ASTBlock.render(ASTBlock.java:94)
at org.apache.velocity.runtime.parser.node.ASTIfStatement.render(ASTIfStatement.java:109)
at com.atlassian.confluence.setup.velocity.ApplyDecoratorDirective.render(ApplyDecoratorDirective.java:162)
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 bucket.util.profiling.ProfiledVelocityResult.doExecute(ProfiledVelocityResult.java:18)
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)

Users with the same issue

You are the first who have seen this exception. Write a tip to help other users and build your expert profile.

Write tip

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