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

Atlassian JIRA | Bob Swift | 1 decade ago
tip
Your exception is missing from the Samebug knowledge base.
Here are the best solutions we found on the Internet.
Click on the to mark the helpful solution and get rewards for you help.
  1. 0

    Clicked on view change on http://confluence.atlassian.com/display/CONFEXT/Calendar+Plugin Cause: Invocation of method 'hasPreviousVersion' in class com.atlassian.confluence.pages.actions.DiffPagesAction threw exception class java.util.NoSuchElementException : null Stack Trace: [hide] Invocation of method 'hasPreviousVersion' in class com.atlassian.confluence.pages.actions.DiffPagesAction threw exception class java.util.NoSuchElementException : null Referer URL: http://confluence.atlassian.com/display/CONFEXT/Calendar+Plugin Build Information: Confluence Home: /opt/java/src/confluence/deployments/conf.atlassian.com/home Uptime: 5 days, 3 hours, 36 minutes, 45 seconds Version: 2.0 Build Number: 320 Server Information: Application Server: Orion/2.0.2 Servlet Version: 2.2 Database Dialect: net.sf.hibernate.dialect.PostgreSQLDialect Memory Information: Total Memory: 494 MB Free Memory: 189 MB Used Memory: 305 MB System Information: System Date: Monday, 21 Nov 2005 System Time: 16:10:01 System Favourite Colour: Chartreuse Java Version: 1.4.2_04 Java Vendor: Sun Microsystems Inc. JVM Version: 1.0 JVM Vendor: Sun Microsystems Inc. JVM Implementation Version: 1.4.2_04-b05 Java Runtime: Java(TM) 2 Runtime Environment, Standard Edition Java VM: Java HotSpot(TM) Server VM User Name: j2ee User Timezone: America/Chicago Operating System: Linux 2.4.21-37.ELsmp OS Architecture: i386 Request Information: URL: http://atlassian01.contegix.com:10082/500page.jsp - Scheme: http - Server: atlassian01.contegix.com - Port: 10082 - URI: /500page.jsp - - Context Path: - - Servlet Path: /500page.jsp - - Path Info: null - - Query String: pageId=133982&originalId=144489 Attributes: - javax.servlet.error.exception : org.apache.velocity.exception.MethodInvocationException: Invocation of method 'hasPreviousVersion' in class com.atlassian.confluence.pages.actions.DiffPagesAction threw exception class java.util.NoSuchElementException : null - javax.servlet.error.message : Invocation of method 'hasPreviousVersion' in class com.atlassian.confluence.pages.actions.DiffPagesAction threw exception class java.util.NoSuchElementException : null - os_securityfilter_already_filtered : true - com.atlassian.johnson.filters.JohnsonFilter_already_filtered : true - javax.servlet.error.request_uri : /pages/diffpages.action - javax.servlet.error.status_code : 500 - os_authstatus : null - __sitemesh__filterapplied : true - javax.servlet.error.servlet_name : action - webwork.valueStack : com.opensymphony.xwork.util.OgnlValueStack@65e8b2 - loginfilter.already.filtered : true - atlassian.core.seraph.original.url : /pages/diffpages.action?pageId=133982&originalId=144489 - javax.servlet.jsp.jspException : org.apache.velocity.exception.MethodInvocationException: Invocation of method 'hasPreviousVersion' in class com.atlassian.confluence.pages.actions.DiffPagesAction threw exception class java.util.NoSuchElementException : null - sessioninview.FILTERED : true - com.atlassian.core.filters.gzip.GzipFilter_already_filtered : true Parameters: - originalId = 144489 - pageId = 133982 Logging: 2 log statements generated by this request: [ERROR] Mon Nov 21 16:10:01 CST 2005 [com.opensymphony.webwork.dispatcher.VelocityResult] Unable to render Velocity Template, '/pages/diffpages.vm' Throwable: 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 org.apache.velocity.runtime.parser.node.ASTBlock.render(ASTBlock.java:94) 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 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) [ERROR] Mon Nov 21 16:10:01 CST 2005 [com.opensymphony.webwork.dispatcher.ServletDispatcher] Could not execute action Throwable: 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 org.apache.velocity.runtime.parser.node.ASTBlock.render(ASTBlock.java:94) 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 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)

    Atlassian JIRA | 1 decade ago | Bob Swift
    org.apache.velocity.exception.MethodInvocationException: Invocation of method 'hasPreviousVersion' in class com.atlassian.confluence.pages.actions.DiffPagesAction threw exception class java.util.NoSuchElementException : null
  2. 0

    Clicked on view change on http://confluence.atlassian.com/display/CONFEXT/Calendar+Plugin Cause: Invocation of method 'hasPreviousVersion' in class com.atlassian.confluence.pages.actions.DiffPagesAction threw exception class java.util.NoSuchElementException : null Stack Trace: [hide] Invocation of method 'hasPreviousVersion' in class com.atlassian.confluence.pages.actions.DiffPagesAction threw exception class java.util.NoSuchElementException : null Referer URL: http://confluence.atlassian.com/display/CONFEXT/Calendar+Plugin Build Information: Confluence Home: /opt/java/src/confluence/deployments/conf.atlassian.com/home Uptime: 5 days, 3 hours, 36 minutes, 45 seconds Version: 2.0 Build Number: 320 Server Information: Application Server: Orion/2.0.2 Servlet Version: 2.2 Database Dialect: net.sf.hibernate.dialect.PostgreSQLDialect Memory Information: Total Memory: 494 MB Free Memory: 189 MB Used Memory: 305 MB System Information: System Date: Monday, 21 Nov 2005 System Time: 16:10:01 System Favourite Colour: Chartreuse Java Version: 1.4.2_04 Java Vendor: Sun Microsystems Inc. JVM Version: 1.0 JVM Vendor: Sun Microsystems Inc. JVM Implementation Version: 1.4.2_04-b05 Java Runtime: Java(TM) 2 Runtime Environment, Standard Edition Java VM: Java HotSpot(TM) Server VM User Name: j2ee User Timezone: America/Chicago Operating System: Linux 2.4.21-37.ELsmp OS Architecture: i386 Request Information: URL: http://atlassian01.contegix.com:10082/500page.jsp - Scheme: http - Server: atlassian01.contegix.com - Port: 10082 - URI: /500page.jsp - - Context Path: - - Servlet Path: /500page.jsp - - Path Info: null - - Query String: pageId=133982&originalId=144489 Attributes: - javax.servlet.error.exception : org.apache.velocity.exception.MethodInvocationException: Invocation of method 'hasPreviousVersion' in class com.atlassian.confluence.pages.actions.DiffPagesAction threw exception class java.util.NoSuchElementException : null - javax.servlet.error.message : Invocation of method 'hasPreviousVersion' in class com.atlassian.confluence.pages.actions.DiffPagesAction threw exception class java.util.NoSuchElementException : null - os_securityfilter_already_filtered : true - com.atlassian.johnson.filters.JohnsonFilter_already_filtered : true - javax.servlet.error.request_uri : /pages/diffpages.action - javax.servlet.error.status_code : 500 - os_authstatus : null - __sitemesh__filterapplied : true - javax.servlet.error.servlet_name : action - webwork.valueStack : com.opensymphony.xwork.util.OgnlValueStack@65e8b2 - loginfilter.already.filtered : true - atlassian.core.seraph.original.url : /pages/diffpages.action?pageId=133982&originalId=144489 - javax.servlet.jsp.jspException : org.apache.velocity.exception.MethodInvocationException: Invocation of method 'hasPreviousVersion' in class com.atlassian.confluence.pages.actions.DiffPagesAction threw exception class java.util.NoSuchElementException : null - sessioninview.FILTERED : true - com.atlassian.core.filters.gzip.GzipFilter_already_filtered : true Parameters: - originalId = 144489 - pageId = 133982 Logging: 2 log statements generated by this request: [ERROR] Mon Nov 21 16:10:01 CST 2005 [com.opensymphony.webwork.dispatcher.VelocityResult] Unable to render Velocity Template, '/pages/diffpages.vm' Throwable: 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 org.apache.velocity.runtime.parser.node.ASTBlock.render(ASTBlock.java:94) 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 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) [ERROR] Mon Nov 21 16:10:01 CST 2005 [com.opensymphony.webwork.dispatcher.ServletDispatcher] Could not execute action Throwable: 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 org.apache.velocity.runtime.parser.node.ASTBlock.render(ASTBlock.java:94) 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 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)

    Atlassian JIRA | 1 decade ago | Bob Swift
    org.apache.velocity.exception.MethodInvocationException: Invocation of method 'hasPreviousVersion' in class com.atlassian.confluence.pages.actions.DiffPagesAction threw exception class java.util.NoSuchElementException : null
  3. 0

    http://confluence.atlassian.com/display/DOC/Administrators+Guide click on view change Added by Vidya Madabushi, last edited by Jonathan Nolen on Feb 13, 2006 (view change) Cause: 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) Stack Trace: [hide] 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) Referer URL: http://confluence.atlassian.com/display/DOC/Administrators+Guide Build Information: Confluence Home: /opt/java/src/confluence/deployments/conf.atlassian.com/home Uptime: 7 days, 11 hours, 45 minutes, 37 seconds Version: 2.1.3 Build Number: 408 Server Information: Application Server: Orion/2.0.2 Servlet Version: 2.2 Database Dialect: net.sf.hibernate.dialect.PostgreSQLDialect Database Driver Name: org.postgresql.Driver Database Driver Version: 8.0 Memory Information: Total Memory: 494 MB Free Memory: 139 MB Used Memory: 355 MB System Information: System Date: Monday, 13 Feb 2006 System Time: 14:29:55 System Favourite Colour: Chartreuse Java Version: 1.4.2_04 Java Vendor: Sun Microsystems Inc. JVM Version: 1.0 JVM Vendor: Sun Microsystems Inc. JVM Implementation Version: 1.4.2_04-b05 Java Runtime: Java(TM) 2 Runtime Environment, Standard Edition Java VM: Java HotSpot(TM) Server VM User Name: j2ee User Timezone: America/Chicago Operating System: Linux 2.4.21-37.0.1.ELsmp OS Architecture: i386 Filesystem Encoding: UTF-8 Request Information: URL: http://atlassian01.contegix.com:10082/500page.jsp - Scheme: http - Server: atlassian01.contegix.com - Port: 10082 - URI: /500page.jsp - - Context Path: - - Servlet Path: /500page.jsp - - Path Info: null - - Query String: pageId=138143&originalId=159220 Attributes: - javax.servlet.error.exception : org.apache.velocity.exception.MethodInvocationException: 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) - javax.servlet.error.message : 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) - os_securityfilter_already_filtered : true - com.atlassian.johnson.filters.JohnsonFilter_already_filtered : true - javax.servlet.error.request_uri : /pages/diffpages.action - javax.servlet.error.status_code : 500 - os_authstatus : null - __sitemesh__filterapplied : true - javax.servlet.error.servlet_name : action - webwork.valueStack : com.opensymphony.xwork.util.OgnlValueStack@3ea40c - loginfilter.already.filtered : true - atlassian.core.seraph.original.url : /pages/diffpages.action?pageId=138143&originalId=159220 - javax.servlet.jsp.jspException : org.apache.velocity.exception.MethodInvocationException: 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) - sessioninview.FILTERED : true - com.atlassian.core.filters.gzip.GzipFilter_already_filtered : true Parameters: - originalId = 159220 - pageId = 138143 Logging: 2 log statements generated by this request: [ERROR] Mon Feb 13 14:29:55 CST 2006 [com.opensymphony.webwork.dispatcher.VelocityResult] Unable to render Velocity Template, '/pages/diffpages.vm' Throwable: org.apache.velocity.exception.MethodInvocationException: 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) 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 org.apache.velocity.runtime.parser.node.ASTBlock.render(ASTBlock.java:94) 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 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) [ERROR] Mon Feb 13 14:29:55 CST 2006 [com.opensymphony.webwork.dispatcher.ServletDispatcher] Could not execute action Throwable: org.apache.velocity.exception.MethodInvocationException: 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) 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 org.apache.velocity.runtime.parser.node.ASTBlock.render(ASTBlock.java:94) 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 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)

    Atlassian JIRA | 1 decade ago | Bob Swift
    org.apache.velocity.exception.MethodInvocationException: 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)
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

  5. 0

    http://confluence.atlassian.com/display/DOC/Administrators+Guide click on view change Added by Vidya Madabushi, last edited by Jonathan Nolen on Feb 13, 2006 (view change) Cause: 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) Stack Trace: [hide] 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) Referer URL: http://confluence.atlassian.com/display/DOC/Administrators+Guide Build Information: Confluence Home: /opt/java/src/confluence/deployments/conf.atlassian.com/home Uptime: 7 days, 11 hours, 45 minutes, 37 seconds Version: 2.1.3 Build Number: 408 Server Information: Application Server: Orion/2.0.2 Servlet Version: 2.2 Database Dialect: net.sf.hibernate.dialect.PostgreSQLDialect Database Driver Name: org.postgresql.Driver Database Driver Version: 8.0 Memory Information: Total Memory: 494 MB Free Memory: 139 MB Used Memory: 355 MB System Information: System Date: Monday, 13 Feb 2006 System Time: 14:29:55 System Favourite Colour: Chartreuse Java Version: 1.4.2_04 Java Vendor: Sun Microsystems Inc. JVM Version: 1.0 JVM Vendor: Sun Microsystems Inc. JVM Implementation Version: 1.4.2_04-b05 Java Runtime: Java(TM) 2 Runtime Environment, Standard Edition Java VM: Java HotSpot(TM) Server VM User Name: j2ee User Timezone: America/Chicago Operating System: Linux 2.4.21-37.0.1.ELsmp OS Architecture: i386 Filesystem Encoding: UTF-8 Request Information: URL: http://atlassian01.contegix.com:10082/500page.jsp - Scheme: http - Server: atlassian01.contegix.com - Port: 10082 - URI: /500page.jsp - - Context Path: - - Servlet Path: /500page.jsp - - Path Info: null - - Query String: pageId=138143&originalId=159220 Attributes: - javax.servlet.error.exception : org.apache.velocity.exception.MethodInvocationException: 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) - javax.servlet.error.message : 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) - os_securityfilter_already_filtered : true - com.atlassian.johnson.filters.JohnsonFilter_already_filtered : true - javax.servlet.error.request_uri : /pages/diffpages.action - javax.servlet.error.status_code : 500 - os_authstatus : null - __sitemesh__filterapplied : true - javax.servlet.error.servlet_name : action - webwork.valueStack : com.opensymphony.xwork.util.OgnlValueStack@3ea40c - loginfilter.already.filtered : true - atlassian.core.seraph.original.url : /pages/diffpages.action?pageId=138143&originalId=159220 - javax.servlet.jsp.jspException : org.apache.velocity.exception.MethodInvocationException: 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) - sessioninview.FILTERED : true - com.atlassian.core.filters.gzip.GzipFilter_already_filtered : true Parameters: - originalId = 159220 - pageId = 138143 Logging: 2 log statements generated by this request: [ERROR] Mon Feb 13 14:29:55 CST 2006 [com.opensymphony.webwork.dispatcher.VelocityResult] Unable to render Velocity Template, '/pages/diffpages.vm' Throwable: org.apache.velocity.exception.MethodInvocationException: 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) 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 org.apache.velocity.runtime.parser.node.ASTBlock.render(ASTBlock.java:94) 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 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) [ERROR] Mon Feb 13 14:29:55 CST 2006 [com.opensymphony.webwork.dispatcher.ServletDispatcher] Could not execute action Throwable: org.apache.velocity.exception.MethodInvocationException: 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) 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 org.apache.velocity.runtime.parser.node.ASTBlock.render(ASTBlock.java:94) 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 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)

    Atlassian JIRA | 1 decade ago | Bob Swift
    org.apache.velocity.exception.MethodInvocationException: 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)
  6. 0

    I modified the URL in the address bar, and it threw an NPE. http://confluence.atlassian.com/pages/listpages-dirview.action?key=CONFDISC Tsk tsk... backend should never trust URL params without validating them. Leaves the door open for bigger security exploits. ;-) Timo -------------- CONFLUENCE System Error A system error has occurred - our apologies! Please create a support issue on our support system at http://support.atlassian.com with the following information: 1. a description of your problem and what you were doing at the time it occurred 2. cut & paste the error and system information found below 3. attach the application server log file (if possible). We will respond as promptly as possible. Thank you! Cause: Invocation of method 'getSortedTopLevelPages' in class com.atlassian.confluence.pages.actions.DirectoryViewListPagesAction threw exception class java.lang.NullPointerException : null Stack Trace: [hide] Invocation of method 'getSortedTopLevelPages' in class com.atlassian.confluence.pages.actions.DirectoryViewListPagesAction threw exception class java.lang.NullPointerException : null Referer URL: Unknown Build Information: Uptime: 3 days, 16 hours, 34 minutes, 26 seconds Version: 1.3-DR1 Build Number: 101 Server Information: Application Server: Orion/2.0.2 Servlet Version: 2.2 Database Dialect: net.sf.hibernate.dialect.PostgreSQLDialect Memory Information: Total Memory: 375 MB Free Memory: 202 MB Used Memory: 173 MB System Information: System Date: Friday, 01 Oct 2004 System Time: 18:59:10 System Favourite Colour: Tangerine Java Version: 1.4.2_04 Java Vendor: Sun Microsystems Inc. JVM Version: 1.0 JVM Vendor: Sun Microsystems Inc. JVM Implementation Version: 1.4.2_04-b05 Java Runtime: Java(TM) 2 Runtime Environment, Standard Edition Java VM: Java HotSpot(TM) Server VM User Name: j2ee User Timezone: America/Chicago Operating System: Linux 2.4.21-20.ELsmp OS Architecture: i386 Request Information: URL: http://atlassian01.contegix.com:10082/500page.jsp - Scheme: http - Server: atlassian01.contegix.com - Port: 10082 - URI: /500page.jsp - - Context Path: - - Servlet Path: /500page.jsp - - Path Info: null - - Query String: key=CONFDISC Attributes: - com.atlassian.confluence.setup.SpringSessionInViewFilter.sessionFactory : true - javax.servlet.error.exception : org.apache.velocity.exception.MethodInvocationException: Invocation of method 'getSortedTopLevelPages' in class com.atlassian.confluence.pages.actions.DirectoryViewListPagesAction threw exception class java.lang.NullPointerException : null - javax.servlet.error.message : Invocation of method 'getSortedTopLevelPages' in class com.atlassian.confluence.pages.actions.DirectoryViewListPagesAction threw exception class java.lang.NullPointerException : null - os_securityfilter_already_filtered : true - com.atlassian.johnson.filters.JohnsonFilter_already_filtered : true - javax.servlet.error.request_uri : /pages/listpages-dirview.action - javax.servlet.error.status_code : 500 - os_authstatus : null - __sitemesh__filterapplied : true - javax.servlet.error.servlet_name : action - webwork.valueStack : com.opensymphony.xwork.util.OgnlValueStack@1522b66 - loginfilter.already.filtered : true - atlassian.core.seraph.original.url : /pages/listpages-dirview.action?key=CONFDISC - javax.servlet.jsp.jspException : org.apache.velocity.exception.MethodInvocationException: Invocation of method 'getSortedTopLevelPages' in class com.atlassian.confluence.pages.actions.DirectoryViewListPagesAction threw exception class java.lang.NullPointerException : null Parameters: - key = CONFDISC Logging: 2 log statements generated by this request: [ERROR] Fri Oct 01 18:59:10 CDT 2004 [com.opensymphony.webwork.dispatcher.VelocityResult] Unable to render Velocity Template, '/pages/listpages-dirview.vm' Throwable: org.apache.velocity.exception.MethodInvocationException: Invocation of method 'getSortedTopLevelPages' in class com.atlassian.confluence.pages.actions.DirectoryViewListPagesAction 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.value(ASTReference.java:357) at org.apache.velocity.runtime.directive.Foreach.getIterator(Foreach.java:203) at org.apache.velocity.runtime.directive.Foreach.render(Foreach.java:325) 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:144) 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:94) at bucket.util.profiling.ProfiledVelocityResult.doExecute(ProfiledVelocityResult.java:18) at com.opensymphony.webwork.dispatcher.WebWorkResultSupport.execute(WebWorkResultSupport.java:115) at com.opensymphony.xwork.DefaultActionInvocation.executeResult(DefaultActionInvocation.java:261) at com.opensymphony.xwork.DefaultActionInvocation.invoke(DefaultActionInvocation.java:185) at com.opensymphony.xwork.interceptor.AroundInterceptor.intercept(AroundInterceptor.java:34) at com.opensymphony.xwork.DefaultActionInvocation.invoke(DefaultActionInvocation.java:163) at com.opensymphony.xwork.interceptor.DefaultWorkflowInterceptor.intercept(DefaultWorkflowInterceptor.java:55) [ERROR] Fri Oct 01 18:59:10 CDT 2004 [com.opensymphony.webwork.dispatcher.ServletDispatcher] Could not execute action Throwable: org.apache.velocity.exception.MethodInvocationException: Invocation of method 'getSortedTopLevelPages' in class com.atlassian.confluence.pages.actions.DirectoryViewListPagesAction 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.value(ASTReference.java:357) at org.apache.velocity.runtime.directive.Foreach.getIterator(Foreach.java:203) at org.apache.velocity.runtime.directive.Foreach.render(Foreach.java:325) 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:144) 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:94) at bucket.util.profiling.ProfiledVelocityResult.doExecute(ProfiledVelocityResult.java:18) at com.opensymphony.webwork.dispatcher.WebWorkResultSupport.execute(WebWorkResultSupport.java:115) at com.opensymphony.xwork.DefaultActionInvocation.executeResult(DefaultActionInvocation.java:261) at com.opensymphony.xwork.DefaultActionInvocation.invoke(DefaultActionInvocation.java:185) at com.opensymphony.xwork.interceptor.AroundInterceptor.intercept(AroundInterceptor.java:34) at com.opensymphony.xwork.DefaultActionInvocation.invoke(DefaultActionInvocation.java:163) at com.opensymphony.xwork.interceptor.DefaultWorkflowInterceptor.intercept(DefaultWorkflowInterceptor.java:55)

    Atlassian JIRA | 1 decade ago | Tim Colson
    org.apache.velocity.exception.MethodInvocationException: Invocation of method 'getSortedTopLevelPages' in class com.atlassian.confluence.pages.actions.DirectoryViewListPagesAction threw exception class java.lang.NullPointerException : null

    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 '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()
    2. Apache Velocity
      ASTBlock.render
      1. org.apache.velocity.runtime.parser.node.ASTMethod.execute(ASTMethod.java:309)
      2. org.apache.velocity.runtime.parser.node.ASTReference.execute(ASTReference.java:207)
      3. org.apache.velocity.runtime.parser.node.ASTReference.evaluate(ASTReference.java:337)
      4. org.apache.velocity.runtime.parser.node.ASTExpression.evaluate(ASTExpression.java:84)
      5. org.apache.velocity.runtime.parser.node.ASTIfStatement.render(ASTIfStatement.java:107)
      6. org.apache.velocity.runtime.parser.node.ASTBlock.render(ASTBlock.java:94)
      7. org.apache.velocity.runtime.parser.node.ASTIfStatement.render(ASTIfStatement.java:109)
      8. org.apache.velocity.runtime.parser.node.ASTBlock.render(ASTBlock.java:94)
      8 frames
    3. com.atlassian.confluence
      ApplyDecoratorDirective.render
      1. com.atlassian.confluence.setup.velocity.ApplyDecoratorDirective.render(ApplyDecoratorDirective.java:162)
      1 frame
    4. Apache Velocity
      Template.merge
      1. org.apache.velocity.runtime.parser.node.ASTDirective.render(ASTDirective.java:153)
      2. org.apache.velocity.runtime.parser.node.SimpleNode.render(SimpleNode.java:271)
      3. org.apache.velocity.Template.merge(Template.java:296)
      3 frames
    5. WebWork
      VelocityResult.doExecute
      1. com.opensymphony.webwork.dispatcher.VelocityResult.doExecute(VelocityResult.java:91)
      1 frame
    6. bucket.util.profiling
      ProfiledVelocityResult.doExecute
      1. bucket.util.profiling.ProfiledVelocityResult.doExecute(ProfiledVelocityResult.java:18)
      1 frame
    7. WebWork
      WebWorkResultSupport.execute
      1. com.opensymphony.webwork.dispatcher.WebWorkResultSupport.execute(WebWorkResultSupport.java:116)
      1 frame
    8. XWork Tiger Extensions
      DefaultActionInvocation.invoke
      1. com.opensymphony.xwork.DefaultActionInvocation.executeResult(DefaultActionInvocation.java:263)
      2. com.opensymphony.xwork.DefaultActionInvocation.invoke(DefaultActionInvocation.java:187)
      2 frames
    9. com.opensymphony.xwork
      AroundInterceptor.intercept
      1. com.opensymphony.xwork.interceptor.AroundInterceptor.intercept(AroundInterceptor.java:35)
      1 frame
    10. XWork Tiger Extensions
      DefaultActionInvocation.invoke
      1. com.opensymphony.xwork.DefaultActionInvocation.invoke(DefaultActionInvocation.java:165)
      1 frame