org.apache.velocity.exception.MethodInvocationException: Invocation of method 'save' in class com.xpn.xwiki.api.Document threw exception com.xpn.xwiki.XWikiException: Error number 9001 in 9: Access denied in edit mode on document XWiki.WebPreferences @ /templates/admin.vm[58,26]

XWiki.org JIRA | Guillaume Lerouge | 8 years ago
  1. 0

    Here's the behavior I got in XE 1.8 RC1 when performing the following actions: * Go to http://localhost:8080/xwiki/bin/admin/Sandbox/WebPreferences and explicitely give the admin right to an user * Go to http://localhost:8080/xwiki/bin/edit/XWiki/XWikiPreferences?editor=object and clear every XWiki.GlobalRights object * The wiki no longer has any right specified. Every user can do everything unless a right has been specified down the way. * Try accessing the administration page of the Sandbox space (or any space where access rights have been set at the space level) * The following error is thrown: {code} Error number 4001 in 4: Error while parsing velocity page /templates/admin.vm Wrapped Exception: Failed to evaluate content with id [/templates/admin.vm] {code} Stacktrace when clicking on the error: {code} Error number 4001 in 4: Error while parsing velocity page /templates/admin.vm Wrapped Exception: Failed to evaluate content with id [/templates/admin.vm] com.xpn.xwiki.XWikiException: Error number 4001 in 4: Error while parsing velocity page /templates/admin.vm Wrapped Exception: Failed to evaluate content with id [/templates/admin.vm] at com.xpn.xwiki.render.XWikiVelocityRenderer.evaluate(XWikiVelocityRenderer.java:114) ... Wrapped Exception: org.apache.velocity.exception.MethodInvocationException: Invocation of method 'save' in class com.xpn.xwiki.api.Document threw exception com.xpn.xwiki.XWikiException: Error number 9001 in 9: Access denied in edit mode on document XWiki.WebPreferences @ /templates/admin.vm[58,26] at org.apache.velocity.runtime.parser.node.ASTMethod.execute(ASTMethod.java:286) ... Caused by: com.xpn.xwiki.XWikiException: Error number 9001 in 9: Access denied in edit mode on document XWiki.WebPreferences at com.xpn.xwiki.api.Document.save(Document.java:1631) {code} Additional note: since every user can do everything, the current user can give Admin rights to himself at the wiki level. He will then be able to access and change the rights of the Sandbox space that he couldn't access before.

    XWiki.org JIRA | 8 years ago | Guillaume Lerouge
    org.apache.velocity.exception.MethodInvocationException: Invocation of method 'save' in class com.xpn.xwiki.api.Document threw exception com.xpn.xwiki.XWikiException: Error number 9001 in 9: Access denied in edit mode on document XWiki.WebPreferences @ /templates/admin.vm[58,26]
  2. 0

    To begin developing a Confluence plugin: {noformat} mvn org.apache.maven.plugins:maven-archetype-plugin:1.0-alpha-7:create -DarchetypeGroupId=com.atlassian.maven.archetypes -DarchetypeArtifactId=confluence-plugin-archetype -DarchetypeVersion=14 -DremoteRepositories=https://maven.atlassian.com/repository/public/ -DgroupId=com.palm.confluence.plugin -DartifactId=blank {noformat} and then from the new 'blank' directory, ran {noformat} mvn -Pplugin-debug {noformat} and then logged into http://localhost:1990/confluence and then click the 'Demonstration Space' link and I get {noformat} System Error A system error has occurred — our apologies! Please ask your Confluence administrator to create a support issue on Atlassian's 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. a copy of the error and system information found below 3. a copy of the application logs (if possible). Your Confluence administrator can use the support request form to create a support ticket which will include this information. We will respond as promptly as possible. Thank you! Return to site homepage... Cause java.lang.RuntimeException: Error rendering template for decorator root at com.atlassian.confluence.setup.velocity.ApplyDecoratorDirective.render(ApplyDecoratorDirective.java:232) caused by: java.lang.RuntimeException: Error rendering template for decorator page at com.atlassian.confluence.setup.velocity.ApplyDecoratorDirective.render(ApplyDecoratorDirective.java:232) caused by: java.lang.RuntimeException: Error rendering template for decorator root at com.atlassian.confluence.setup.velocity.ApplyDecoratorDirective.render(ApplyDecoratorDirective.java:232) caused by: java.lang.RuntimeException: Error rendering template for decorator comments at com.atlassian.confluence.setup.velocity.ApplyDecoratorDirective.render(ApplyDecoratorDirective.java:232) caused by: org.apache.velocity.exception.MethodInvocationException: Invocation of method 'formatFriendlyDate' in class com.atlassian.confluence.pages.actions.ViewPageAction threw exception java.lang.IllegalArgumentException: The datetime zone id is not recognised: SystemV/PST8PDT @ /decorators/components/comments.vmd[44,29] at org.apache.velocity.runtime.parser.node.ASTMethod.execute(ASTMethod.java:286) caused by: java.lang.IllegalArgumentException: The datetime zone id is not recognised: SystemV/PST8PDT at org.joda.time.DateTimeZone.forTimeZone(DateTimeZone.java:310) {noformat}

    Atlassian JIRA | 8 years ago | Renan Battaglin
    org.apache.velocity.exception.MethodInvocationException: Invocation of method 'formatFriendlyDate' in class com.atlassian.confluence.pages.actions.ViewPageAction threw exception java.lang.IllegalArgumentException: The datetime zone id is not recognised: SystemV/PST8PDT @ /decorators/components/comments.vmd[44,29]
  3. Speed up your debug routine!

    Automated exception search integrated into your IDE

  4. 0

    Confluence produces a stacktrace error com.atlassian.confluence.importexport.ImportExportException when we display a big png dimension image with align parameter. In order to reproduce the problem, please go through the following steps: # Create a page containing the following: {noformat} h1. !RAP-Configuration-ERM.png|align=center! {noformat} # Save it # Export the page to PDF. If you, either remove {{align=center}} or h1, the export function will be working fine. The following is the stacktrace that happens after exporting the page to PDF. {noformat} com.atlassian.confluence.importexport.ImportExportException: org.apache.velocity.exception.MethodInvocationException: Invocation of method 'exportWikiToXslFo' in class com.atlassian.confluence.importexport.impl.WikiExporter threw exception com.atlassian.confluence.renderer.WikiRenderException: Error while generating XSL-FO for 'EAIPROJECTS:Configuration Database' @ com/atlassian/confluence/pages/Page.pdfexport.vm[20,37] at com.atlassian.confluence.importexport.impl.PdfExporter.generateXslFo(PdfExporter.java:165) caused by: org.apache.velocity.exception.MethodInvocationException: Invocation of method 'exportWikiToXslFo' in class com.atlassian.confluence.importexport.impl.WikiExporter threw exception com.atlassian.confluence.renderer.WikiRenderException: Error while generating XSL-FO for 'EAIPROJECTS:Configuration Database' @ com/atlassian/confluence/pages/Page.pdfexport.vm[20,37] at org.apache.velocity.runtime.parser.node.ASTMethod.execute(ASTMethod.java:286) caused by: com.atlassian.confluence.renderer.WikiRenderException: Error while generating XSL-FO for 'EAIPROJECTS:Configuration Database' at com.atlassian.confluence.importexport.impl.WikiExporter.exportWikiToXslFo(WikiExporter.java:106) caused by: com.atlassian.confluence.renderer.WikiRenderException: Can not transform XHTML to XSL-FO due to an error in the following XHTML null at com.atlassian.confluence.importexport.impl.WikiExporter.convertXHtmlToXslFo(WikiExporter.java:205) caused by: java.lang.NullPointerException at org.dom4j.io.DOMReader.read(DOMReader.java:86) {noformat} Please note that I have tried the problem using images which type png, jpeg and bmp. Using those types, the problem are reproducible.

    Atlassian JIRA | 8 years ago | Arie Murdianto
    org.apache.velocity.exception.MethodInvocationException: Invocation of method 'exportWikiToXslFo' in class com.atlassian.confluence.importexport.impl.WikiExporter threw exception com.atlassian.confluence.renderer.WikiRenderException: Error while generating XSL-FO for 'EAIPROJECTS:Configuration Database' @ com/atlassian/confluence/pages/Page.pdfexport.vm[20,37]
  5. 0

    We are running two installations of Confluence (both 2.8.1). In both versions we have a problem with draft pages: When calling the action viewmydrafts.action in users preferences, we got an exception: CONFLUENCE System Error A system error has occurred - our apologies! Please contact your Confluence administrator to 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: org.apache.velocity.exception.MethodInvocationException: Invocation of method 'isMergeRequired' in class $Proxy73 threw exception java.lang.RuntimeException: draft has invalid pageId: 'null' @ /users/viewmydrafts.vm[33,48] at org.apache.velocity.runtime.parser.node.ASTMethod.execute(ASTMethod.java:286) caused by: java.lang.RuntimeException: draft has invalid pageId: 'null' at com.atlassian.confluence.pages.DefaultDraftManager.getAbstractPage(DefaultDraftManager.java:217) caused by: java.lang.NumberFormatException: null at java.lang.Long.parseLong(Long.java:372) Stack Trace: [hide] org.apache.velocity.exception.MethodInvocationException: Invocation of method 'isMergeRequired' in class $Proxy73 threw exception java.lang.RuntimeException: draft has invalid pageId: 'null' @ /users/viewmydrafts.vm[33,48] at org.apache.velocity.runtime.parser.node.ASTMethod.execute(ASTMethod.java:286) at org.apache.velocity.runtime.parser.node.ASTReference.execute(ASTReference.java:203) at org.apache.velocity.runtime.parser.node.ASTReference.evaluate(ASTReference.java:396) at org.apache.velocity.runtime.parser.node.ASTExpression.evaluate(ASTExpression.java:64) at org.apache.velocity.runtime.parser.node.ASTIfStatement.render(ASTIfStatement.java:86) at org.apache.velocity.runtime.parser.node.ASTBlock.render(ASTBlock.java:74) at org.apache.velocity.runtime.directive.Foreach.render(Foreach.java:448) at org.apache.velocity.runtime.parser.node.ASTDirective.render(ASTDirective.java:170) at org.apache.velocity.runtime.parser.node.ASTBlock.render(ASTBlock.java:74) at org.apache.velocity.runtime.parser.node.SimpleNode.render(SimpleNode.java:318) at org.apache.velocity.runtime.parser.node.ASTIfStatement.render(ASTIfStatement.java:107) at org.apache.velocity.runtime.parser.node.ASTBlock.render(ASTBlock.java:74) at com.atlassian.confluence.setup.velocity.ApplyDecoratorDirective.render(ApplyDecoratorDirective.java:159) at org.apache.velocity.runtime.parser.node.ASTDirective.render(ASTDirective.java:170) at org.apache.velocity.runtime.parser.node.SimpleNode.render(SimpleNode.java:318) at org.apache.velocity.Template.merge(Template.java:254) 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:54) at com.opensymphony.xwork.DefaultActionInvocation.invoke(DefaultActionInvocation.java:165) at com.atlassian.confluence.pages.actions.CommentAwareInterceptor.intercept(CommentAwareInterceptor.java:43) 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:97) 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:810) 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:141) 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.confluence.jmx.JmxFilter.doFilter(JmxFilter.java:109) 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:49) 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:192) 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.TrustedApplicationsFilter.doFilter(TrustedApplicationsFilter.java:114) at com.atlassian.confluence.util.AbstractBootstrapHotSwappingFilter.doFilter(AbstractBootstrapHotSwappingFilter.java:28) 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.BaseLoginFilter.doFilter(BaseLoginFilter.java:110) 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.AbstractJohnsonFilter.doFilter(AbstractJohnsonFilter.java:72) 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:170) at com.atlassian.spring.filter.FlushingSpringSessionInViewFilter.doFilterInternal(FlushingSpringSessionInViewFilter.java:29) at org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:75) 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:142) 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.core.datetime.RequestTimeThreadLocalFilter.doFilter(RequestTimeThreadLocalFilter.java:34) 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.gzipfilter.GzipFilter.doFilterInternal(GzipFilter.java:94) at com.atlassian.gzipfilter.GzipFilter.doFilter(GzipFilter.java:64) 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:33) at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:202) at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173) at org.jboss.web.tomcat.filters.ReplyHeaderFilter.doFilter(ReplyHeaderFilter.java:96) 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.jboss.web.tomcat.security.SecurityAssociationValve.invoke(SecurityAssociationValve.java:175) at org.jboss.web.tomcat.security.JaccContextValve.invoke(JaccContextValve.java:74) at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:126) at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:105) at org.jboss.web.tomcat.tc5.jca.CachedConnectionValve.invoke(CachedConnectionValve.java:156) 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:767) at org.apache.jk.common.ChannelSocket.processConnection(ChannelSocket.java:697) at org.apache.jk.common.ChannelSocket$SocketConnection.runIt(ChannelSocket.java:889) at org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(ThreadPool.java:684) at java.lang.Thread.run(Thread.java:619) Caused by: java.lang.RuntimeException: draft has invalid pageId: 'null' at com.atlassian.confluence.pages.DefaultDraftManager.getAbstractPage(DefaultDraftManager.java:217) at com.atlassian.confluence.pages.DefaultDraftManager.isMergeRequired(DefaultDraftManager.java:118) at sun.reflect.GeneratedMethodAccessor11997.invoke(Unknown Source) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) at java.lang.reflect.Method.invoke(Method.java:597) at org.springframework.aop.support.AopUtils.invokeJoinpointUsingReflection(AopUtils.java:296) at org.springframework.aop.framework.ReflectiveMethodInvocation.invokeJoinpoint(ReflectiveMethodInvocation.java:177) at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:144) at com.atlassian.spring.interceptors.SpringProfilingInterceptor.invoke(SpringProfilingInterceptor.java:20) at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:166) at org.springframework.aop.framework.JdkDynamicAopProxy.invoke(JdkDynamicAopProxy.java:204) at $Proxy73.isMergeRequired(Unknown Source) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) at java.lang.reflect.Method.invoke(Method.java:597) at org.apache.velocity.util.introspection.UberspectImpl$VelMethodImpl.invoke(UberspectImpl.java:295) at org.apache.velocity.runtime.parser.node.ASTMethod.execute(ASTMethod.java:245) ... 134 more Caused by: java.lang.NumberFormatException: null at java.lang.Long.parseLong(Long.java:372) at java.lang.Long.parseLong(Long.java:461) at com.atlassian.confluence.pages.DefaultDraftManager.getAbstractPage(DefaultDraftManager.java:205) ... 151 more Referer URL: https://kwiki.ops.oce.net/kwiki/users/viewnotifications.action Build Information: home: /opt/jboss/server/21-default/data/confluence buildNumber: 1322 upTime: 5 months, 26 days, 9 hours, 42 minutes, 29 seconds devMode: false version: 2.8.1 Unique ID: 0x0000011F378731DEC18A0C142353F425F007C1753819DEFAC7F69B928CF363A0 Server Information: Application Server: Apache Tomcat/5.5.20 Servlet Version: 2.4 Database Dialect: com.atlassian.hibernate.dialect.MySQLDialect Database Driver Name: null Database Driver Version: 5.0 Database Name: MySQL Database Version: 5.0.22-log Database Transaction Isolation: Repeatable read Database Latency: 0 Memory Information: Total Memory: 1453 MB Used Memory: 858 MB Free Memory: 594 MB System Information: favouriteColour: Myrtle javaRuntime: Java(TM) SE Runtime Environment jvmVersion: 1.0 operatingSystem: Linux 2.6.18-53.1.13.el5 fileSystemEncoding: UTF-8 javaVm: Java HotSpot(TM) 64-Bit Server VM javaVendor: Sun Microsystems Inc. userTimezone: Europe/Berlin jvmImplementationVersion: 10.0-b19 appServer: Apache Tomcat date: Monday, 02 Feb 2009 time: 16:07:27 jvmVendor: Sun Microsystems Inc. userName: jboss javaVersion: 1.6.0_04 operatingSystemArchitecture: amd64 Cluster Information: Not clustered. Enabled Plugins: Calendar Plugin (confluence.extra.calendar, Version: 2.7.1) Confluence Attachments Plugin (confluence.extra.attachments, Version: 2.10) JIRA Macros (confluence.extra.jira, Version: 2.7) Social Bookmarking Plugin (com.atlassian.confluence.plugins.socialbookmarking, Version: 1.2.1) Admin Sections (confluence.sections.admin, Version: 1.0) Chart Plugin (confluence.extra.chart, Version: 1.11) System Web Resources (confluence.web.resources, Version: 1.0) Left Navigation Theme (com.atlassian.confluence.themes.leftnavigation, Version: 2.0-rc1) Confluence Remote API (confluence.extra.confluencerpc, Version: 2.8.1) Page Operations (confluence.sections.page.operations, Version: 1.0) Tracking Plugin (net.customware.confluence.plugin.tracking, Version: 2.4.1) Adaptavist Theme Builder (com.adaptavist.confluence.themes.sitebuilder, Version: 3.3.2) Space Browse Sections (confluence.sections.space.browse, Version: 1.0) Core Path Converters (confluence.converters.core, Version: 1.0) Page Tree (com.atlassian.confluence.plugins.pagetree, Version: 1.10.1) Advanced Macros (confluence.macros.advanced, Version: 1.3) Code Macro (confluence.macros.code, Version: 1.4) User Menu Sections (confluence.user.menu, Version: 1.0) TinyMCE Editor Plugin (com.atlassian.confluence.extra.tinymceplugin, Version: 3.0-rc1) Add Content Menu Sections (confluence.menu.add, Version: 1.0) Table of Contents Plugin (org.randombits.confluence.toc, Version: 2.4.10.1) Image Attacher Plugin (com.kcbaltz.confluence.imageattacher, Version: 1.7) Confluence Atlassian Plugin Repository (confluence.repository.client, Version: 2.0.13) Confluence Classic Theme (com.atlassian.confluence.themes.classic, Version: 2.0-rc1) Default Theme (com.atlassian.confluence.themes.default, Version: 1.0) Scaffolding Plugin (net.customware.confluence.plugin.scaffolding, Version: 3.0.0) Excel Plugin (org.swift.confluence.excel, Version: 3.5.0) Page Tabs (confluence.search.mappers.lucene, Version: 1.0) Wiki Renderer Components (confluence.renderer.components, Version: 1.0) Space Advanced Sections (confluence.sections.space.advanced, Version: 1.0) Clickr Theme (com.atlassian.confluence.themes.clickr, Version: 2.3) WebDAV Plugin (confluence.extra.webdav, Version: 1.2.3) IM Presence NG Plugin (confluence.extra.impresence2, Version: 2.2) Attachment Actions (confluence.sections.attachments, Version: 1.0) Space Labels Sections (confluence.sections.space.labels, Version: 1.0) Space Actions Sections (confluence.sections.space.actions, Version: 1.0) Information Macros (confluence.extra.information, Version: 1.0) Content Buttons (confluence.sections.page.temp, Version: 1.0) Live Search Macros (confluence.extra.livesearch, Version: 2.6) Global Labels Sections (confluence.sections.labels, Version: 1.0) Page View Links (confluence.sections.page.actions, Version: 1.0) Adaptavist Advanced Search (com.adaptavist.confluence.advancedSearch, Version: 1.0.4) Space Admin Sections (confluence.sections.space.admin, Version: 1.0) Core Listeners (confluence.listeners.core, Version: 1.3) Reporting Plugin (net.customware.confluence.plugin.reporting, Version: 3.1.0) Content Action Menu Sections (confluence.content.action.menu, Version: 1.0) Cache Plugin (org.swift.confluence.cache, Version: 3.1.0) Space Item Tabs (confluence.sections.space, Version: 1.0) Alekta rating macros (confluence.alekta.macros, Version: 1.0) Space Pages Sections (confluence.sections.space.pages, Version: 1.0) Page Information Tools (com.adaptavist.confluence.pageinfo, Version: 1.2.9) Copy Space Plugin (com.atlassian.confluence.plugin.copyspace, Version: 0.1.1) Confluence Blogging RPC Plugin (com.atlassian.confluence.plugins.xmlrpc.bloggingrpc, Version: 1.2.3) Page Tabs (confluence.sections.page, Version: 1.0) Custom Space User Management Plugin (raju.kadam.confluence.permissionmgmt, Version: 2.0.2) Survey Macros (com.nearinfinity.confluence.survey-plugin, Version: 1.1.7) Visibility Plugin (net.customware.confluence.plugin.visibility, Version: 1.7.1) Attachment Extractors (confluence.extractors.attachments, Version: 1.4) Linking Plugin (net.customware.confluence.plugin.linking, Version: 2.5.0) German language pack (confluence.languages.de_DE, Version: 1.2) French language pack (confluence.languages.fr_FR, Version: 1.6) Basic Macros (confluence.macros.basic, Version: 1.3) News Tabs (confluence.sections.news, Version: 1.0) Core Extractors (confluence.extractors.core, Version: 1.4) Core Startup and Shutdown (confluence.lifecycle.core, Version: 1) Redirection Plugin (net.customware.confluence.plugin.redirection, Version: 2.3) Navigation Plugin (com.pentec.confluence.navigation, Version: 1.11) Edit Profile Sections (confluence.sections.profile.edit, Version: 1.0) Dashboard Macros (confluence.macros.dashboard, Version: 1.3) Backup Manager (com.adaptavist.confluence.backups, Version: 1.1.1) Confluence Contributors Plugin (com.atlassian.confluence.contributors, Version: 1.1.2) Office Connector plugin (com.atlassian.confluence.extra.officeconnector, Version: 1.4.1) User Lister (confluence.extra.userlister, Version: 2.4) Adaptavist Content Formatting Macros (com.adaptavist.confluence.contentFormattingMacros, Version: 1.6.6) Table Plugin (org.swift.confluence.table, Version: 3.3.1) Composition Plugin (net.customware.confluence.plugin.composition, Version: 2.3.2) Word Plugin (org.swift.confluence.word, Version: 3.0.1) Tabular Metadata (confluence.extra.masterdetail, Version: 2.7) Dynamic Task List 2 Plugin (confluence.extra.dynamictasklist2, Version: 3.0.5) Confluence Usage Stats (com.atlassian.confluence.ext.usage, Version: 0.7.3-SNAPSHOT) Comment Action Sections (confluence.comment.action, Version: 1.0) Layout Macros (confluence.extra.layout, Version: 1.1) Profile Tabs (confluence.sections.profile, Version: 1.0) Request Information: URL: https://kwiki.ops.oce.net/kwiki/500page.jsp - Scheme: https - Server: kwiki.ops.oce.net - Port: 443 - URI: /kwiki/500page.jsp - - Context Path: /kwiki - - Servlet Path: /500page.jsp - - Path Info: - - Query String: foofoo Attributes: - javax.servlet.forward.request_uri : /kwiki/users/viewmydrafts.action - javax.servlet.forward.context_path : /kwiki - javax.servlet.forward.servlet_path : /users/viewmydrafts.action - javax.servlet.forward.path_info : /500page.jsp - os_securityfilter_already_filtered : true - javax.servlet.jsp.jspException : org.apache.velocity.exception.MethodInvocationException: Invocation of method 'isMergeRequired' in class $Proxy73 threw exception java.lang.RuntimeException: draft has invalid pageId: 'null' @ /users/viewmydrafts.vm[33,48] - atlassian.core.seraph.original.url : /users/viewmydrafts.action - javax.servlet.error.status_code : 500 - javax.servlet.error.servlet_name : action - __sitemesh__using_stream : false - com.atlassian.gzipfilter.GzipFilter_already_filtered : true - com.atlassian.johnson.filters.JohnsonFilter_already_filtered : true - loginfilter.already.filtered : true - Confluence-Request-Time : 1233587247068 - javax.servlet.error.message : - webwork.valueStack : com.opensymphony.xwork.util.OgnlValueStack@1ec88b5b - sessioninview.FILTERED : true - __sitemesh__filterapplied : true - javax.servlet.error.exception : org.apache.velocity.exception.MethodInvocationException: Invocation of method 'isMergeRequired' in class $Proxy73 threw exception java.lang.RuntimeException: draft has invalid pageId: 'null' @ /users/viewmydrafts.vm[33,48] - javax.servlet.error.request_uri : /kwiki/users/viewmydrafts.action Parameters: Confluence User: - anonymous Logging: 0 log statements generated by this request.

    Atlassian JIRA | 8 years ago | Stefan Baader
    org.apache.velocity.exception.MethodInvocationException: Invocation of method 'isMergeRequired' in class $Proxy73 threw exception java.lang.RuntimeException: draft has invalid pageId: 'null' @ /users/viewmydrafts.vm[33,48]

    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 'save' in class com.xpn.xwiki.api.Document threw exception com.xpn.xwiki.XWikiException: Error number 9001 in 9: Access denied in edit mode on document XWiki.WebPreferences @ /templates/admin.vm[58,26]

      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:286)
      1 frame