org.apache.velocity.exception.MethodInvocationException: Invocation of method 'getLink' in class com.atlassian.applinks.core.docs.DocumentationLinkerImpl threw exception java.lang.RuntimeException: Failed to concatenate http://confluence.atlassian.com/display/APPLINKS to form URI (Illegal character in path) at /common/_help_link.vm[line 11, column 87]

Atlassian JIRA | Hanis Suhailah | 4 years ago
  1. 0

    h4. Steps to Reproduce # Install [Confluence-5.0.1-language-pack-pl_PL.jar|https://translations.atlassian.com/download/Confluence/5.0.1/pl_PL/Confluence-5.0.1-language-pack-pl_PL.jar] (from https://translations.atlassian.com/) # Set the Global Default Language (http://Confluence-URL/admin/viewlanguage.action) to "*polski (Polska)*" # Go to http://Confluence-URL/users/viewmysettings.action # Change the Language to "*polski (Polska)*" # Go to Browse >> Confluence Admin >> Application Links. Or just simply access http://Confluence-URL/admin/listapplicationlinks.action. # You'll get a System Error page with the following stack trace in the log: {code} 2013-03-07 15:27:53,372 ERROR [http-8041-3] [atlassian.confluence.servlet.ConfluenceServletDispatcher] sendError Could not execute action -- url: /confluence/spaces/listentitylinks.action | userName: admin | referer: http://localhost:8041/confluence/spaces/editspace.action?key=SEVT org.apache.velocity.exception.MethodInvocationException: Invocation of method 'getLink' in class com.atlassian.applinks.core.docs.DocumentationLinkerImpl threw exception java.lang.RuntimeException: Failed to concatenate http://confluence.atlassian.com/display/APPLINKS to form URI (Illegal character in path) at /common/_help_link.vm[line 11, column 87] at org.apache.velocity.runtime.parser.node.ASTMethod.handleInvocationException(ASTMethod.java:337) at org.apache.velocity.runtime.parser.node.ASTMethod.execute(ASTMethod.java:284) at org.apache.velocity.runtime.parser.node.ASTReference.execute(ASTReference.java:262) at org.apache.velocity.runtime.parser.node.ASTReference.render(ASTReference.java:342) at org.apache.velocity.runtime.parser.node.ASTBlock.render(ASTBlock.java:72) at org.apache.velocity.runtime.parser.node.SimpleNode.render(SimpleNode.java:336) at org.apache.velocity.runtime.parser.node.ASTIfStatement.render(ASTIfStatement.java:106) at org.apache.velocity.runtime.parser.node.ASTBlock.render(ASTBlock.java:72) . . . Caused by: java.lang.RuntimeException: Failed to concatenate http://confluence.atlassian.com/display/APPLINKS to form URI (Illegal character in path) at com.atlassian.applinks.core.util.URIUtil.uncheckedConcatenate(URIUtil.java:118) at com.atlassian.applinks.core.docs.DocumentationLinkerImpl.getLink(DocumentationLinkerImpl.java:34) at com.atlassian.applinks.core.docs.DocumentationLinkerImpl.getLink(DocumentationLinkerImpl.java:24) 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.doInvoke(UberspectImpl.java:389) at org.apache.velocity.util.introspection.UberspectImpl$VelMethodImpl.invoke(UberspectImpl.java:378) at com.atlassian.confluence.velocity.introspection.UnboxingMethod.invoke(UnboxingMethod.java:33) at org.apache.velocity.runtime.parser.node.ASTMethod.execute(ASTMethod.java:270) ... 230 more Caused by: java.net.URISyntaxException: Illegal character in path at index 61: http://confluence.atlassian.com/display/APPLINKS/Przychodz?ce + i + wychodz?cej + uwierzytelniania at java.net.URI$Parser.fail(URI.java:2809) at java.net.URI$Parser.checkChars(URI.java:2982) at java.net.URI$Parser.parseHierarchical(URI.java:3066) at java.net.URI$Parser.parse(URI.java:3014) at java.net.URI.<init>(URI.java:578) at com.atlassian.applinks.core.util.URIUtil.concatenate(URIUtil.java:28) at com.atlassian.applinks.core.util.URIUtil.uncheckedConcatenate(URIUtil.java:114) ... 240 more {code} # Same error observed when accessing Space Admin >> Application Links This issue is related to this fixed bug: [CONF-24172|https://jira.atlassian.com/browse/CONF-24172]. The problem is only observed when Polish Language Pack is in used. German Language Pack is not affected. h4. Workaround Set your language setting temporarily to English through http://Confluence-URL/users/viewmysettings.action and do the necessary changes in Application Link page.

    Atlassian JIRA | 4 years ago | Hanis Suhailah
    org.apache.velocity.exception.MethodInvocationException: Invocation of method 'getLink' in class com.atlassian.applinks.core.docs.DocumentationLinkerImpl threw exception java.lang.RuntimeException: Failed to concatenate http://confluence.atlassian.com/display/APPLINKS to form URI (Illegal character in path) at /common/_help_link.vm[line 11, column 87]
  2. 0

    h4. Steps to Reproduce # Install [Confluence-5.0.1-language-pack-pl_PL.jar|https://translations.atlassian.com/download/Confluence/5.0.1/pl_PL/Confluence-5.0.1-language-pack-pl_PL.jar] (from https://translations.atlassian.com/) # Set the Global Default Language (http://Confluence-URL/admin/viewlanguage.action) to "*polski (Polska)*" # Go to http://Confluence-URL/users/viewmysettings.action # Change the Language to "*polski (Polska)*" # Go to Browse >> Confluence Admin >> Application Links. Or just simply access http://Confluence-URL/admin/listapplicationlinks.action. # You'll get a System Error page with the following stack trace in the log: {code} 2013-03-07 15:27:53,372 ERROR [http-8041-3] [atlassian.confluence.servlet.ConfluenceServletDispatcher] sendError Could not execute action -- url: /confluence/spaces/listentitylinks.action | userName: admin | referer: http://localhost:8041/confluence/spaces/editspace.action?key=SEVT org.apache.velocity.exception.MethodInvocationException: Invocation of method 'getLink' in class com.atlassian.applinks.core.docs.DocumentationLinkerImpl threw exception java.lang.RuntimeException: Failed to concatenate http://confluence.atlassian.com/display/APPLINKS to form URI (Illegal character in path) at /common/_help_link.vm[line 11, column 87] at org.apache.velocity.runtime.parser.node.ASTMethod.handleInvocationException(ASTMethod.java:337) at org.apache.velocity.runtime.parser.node.ASTMethod.execute(ASTMethod.java:284) at org.apache.velocity.runtime.parser.node.ASTReference.execute(ASTReference.java:262) at org.apache.velocity.runtime.parser.node.ASTReference.render(ASTReference.java:342) at org.apache.velocity.runtime.parser.node.ASTBlock.render(ASTBlock.java:72) at org.apache.velocity.runtime.parser.node.SimpleNode.render(SimpleNode.java:336) at org.apache.velocity.runtime.parser.node.ASTIfStatement.render(ASTIfStatement.java:106) at org.apache.velocity.runtime.parser.node.ASTBlock.render(ASTBlock.java:72) . . . Caused by: java.lang.RuntimeException: Failed to concatenate http://confluence.atlassian.com/display/APPLINKS to form URI (Illegal character in path) at com.atlassian.applinks.core.util.URIUtil.uncheckedConcatenate(URIUtil.java:118) at com.atlassian.applinks.core.docs.DocumentationLinkerImpl.getLink(DocumentationLinkerImpl.java:34) at com.atlassian.applinks.core.docs.DocumentationLinkerImpl.getLink(DocumentationLinkerImpl.java:24) 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.doInvoke(UberspectImpl.java:389) at org.apache.velocity.util.introspection.UberspectImpl$VelMethodImpl.invoke(UberspectImpl.java:378) at com.atlassian.confluence.velocity.introspection.UnboxingMethod.invoke(UnboxingMethod.java:33) at org.apache.velocity.runtime.parser.node.ASTMethod.execute(ASTMethod.java:270) ... 230 more Caused by: java.net.URISyntaxException: Illegal character in path at index 61: http://confluence.atlassian.com/display/APPLINKS/Przychodz?ce + i + wychodz?cej + uwierzytelniania at java.net.URI$Parser.fail(URI.java:2809) at java.net.URI$Parser.checkChars(URI.java:2982) at java.net.URI$Parser.parseHierarchical(URI.java:3066) at java.net.URI$Parser.parse(URI.java:3014) at java.net.URI.<init>(URI.java:578) at com.atlassian.applinks.core.util.URIUtil.concatenate(URIUtil.java:28) at com.atlassian.applinks.core.util.URIUtil.uncheckedConcatenate(URIUtil.java:114) ... 240 more {code} # Same error observed when accessing Space Admin >> Application Links This issue is related to this fixed bug: [CONF-24172|https://jira.atlassian.com/browse/CONF-24172]. The problem is only observed when Polish Language Pack is in used. German Language Pack is not affected. h4. Workaround Set your language setting temporarily to English through http://Confluence-URL/users/viewmysettings.action and do the necessary changes in Application Link page.

    Atlassian JIRA | 4 years ago | Hanis Suhailah
    org.apache.velocity.exception.MethodInvocationException: Invocation of method 'getLink' in class com.atlassian.applinks.core.docs.DocumentationLinkerImpl threw exception java.lang.RuntimeException: Failed to concatenate http://confluence.atlassian.com/display/APPLINKS to form URI (Illegal character in path) at /common/_help_link.vm[line 11, column 87]
  3. 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
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

  5. 0

    Happens when searching in mySpace -->Content "Search this Space" Seems to be related to CONF-2735, but the Exception happens in another class. Cause: org.apache.velocity.exception.MethodInvocationException: Invocation of method 'getExcludedMailCount' in class com.atlassian.confluence.pages.actions.SearchViewListPagesAction threw exception class java.lang.NullPointerException : null Stack Trace: [hide] org.apache.velocity.exception.MethodInvocationException: Invocation of method 'getExcludedMailCount' in class com.atlassian.confluence.pages.actions.SearchViewListPagesAction threw exception class java.lang.NullPointerException : null at org.apache.velocity.runtime.parser.node.PropertyExecutor.execute(PropertyExecutor.java:188) at org.apache.velocity.runtime.parser.node.ASTIdentifier.execute(ASTIdentifier.java:226) 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.ASTEQNode.evaluate(ASTEQNode.java:109) 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.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.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: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: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.opensymphony.xwork.interceptor.DefaultWorkflowInterceptor.intercept(DefaultWorkflowInterceptor.java:55) at com.atlassian.confluence.core.ConfluenceWorkflowInterceptor.intercept(ConfluenceWorkflowInterceptor.java:33) 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.security.actions.PermissionCheckInterceptor.intercept(PermissionCheckInterceptor.java:40) at com.opensymphony.xwork.DefaultActionInvocation.invoke(DefaultActionInvocation.java:165) at com.atlassian.confluence.pages.actions.PageAwareInterceptor.intercept(PageAwareInterceptor.java:73) 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.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.opensymphony.xwork.interceptor.AroundInterceptor.intercept(AroundInterceptor.java:35) at com.opensymphony.xwork.DefaultActionInvocation.invoke(DefaultActionInvocation.java:165) at com.atlassian.confluence.user.actions.AuthenticatedUserInterceptor.intercept(AuthenticatedUserInterceptor.java:51) at com.opensymphony.xwork.DefaultActionInvocation.invoke(DefaultActionInvocation.java:165) at com.atlassian.confluence.util.XWorkTransactionInterceptor.intercept(XWorkTransactionInterceptor.java:133) 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:853) at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:247) at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:193) at com.opensymphony.module.sitemesh.filter.PageFilter.parsePage(PageFilter.java:118) at com.atlassian.confluence.util.profiling.ProfilingPageFilter.parsePage(ProfilingPageFilter.java:159) at com.opensymphony.module.sitemesh.filter.PageFilter.doFilter(PageFilter.java:52) at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:213) at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:193) at com.atlassian.seraph.filter.SecurityFilter.doFilter(SecurityFilter.java:168) at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:213) at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:193) at com.atlassian.seraph.filter.LoginFilter.doFilter(LoginFilter.java:181) at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:213) at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:193) at com.atlassian.johnson.filters.JohnsonFilter.doFilter(JohnsonFilter.java:96) at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:213) at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:193) at org.springframework.orm.hibernate.support.OpenSessionInViewFilter.doFilterInternal(OpenSessionInViewFilter.java:170) at bucket.custom.FlushingSpringSessionInViewFilter.doFilterInternal(FlushingSpringSessionInViewFilter.java:30) at org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:73) at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:213) at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:193) at com.atlassian.util.profiling.filters.ProfilingFilter.doFilter(ProfilingFilter.java:132) at com.atlassian.confluence.util.error.ProfilingAndErrorFilter.doFilter(ProfilingAndErrorFilter.java:27) at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:213) at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:193) at com.atlassian.core.filters.AbstractEncodingFilter.doFilter(AbstractEncodingFilter.java:36) at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:213) at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:193) at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:256) at org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.invokeNext(StandardPipeline.java:643) at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:480) at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:995) at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:191) at org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.invokeNext(StandardPipeline.java:643) at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:480) at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:995) at org.apache.catalina.core.StandardContext.invoke(StandardContext.java:2417) at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:180) at org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.invokeNext(StandardPipeline.java:643) at org.apache.catalina.valves.ErrorDispatcherValve.invoke(ErrorDispatcherValve.java:171) at org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.invokeNext(StandardPipeline.java:641) at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:172) at org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.invokeNext(StandardPipeline.java:641) at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:480) at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:995) at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:174) at org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.invokeNext(StandardPipeline.java:643) at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:480) at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:995) at org.apache.coyote.tomcat4.CoyoteAdapter.service(CoyoteAdapter.java:193) at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:781) at org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.processConnection(Http11Protocol.java:549) at org.apache.tomcat.util.net.TcpWorkerThread.runIt(PoolTcpEndpoint.java:589) at org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(ThreadPool.java:666) at java.lang.Thread.run(Thread.java:534) Referer URL: https://jira/confluence/pages/listpages-searchview.action?key=mySpace Build Information: Uptime: 6 , 11 , 18 , 37 Version: 1.3.4 Build Number: 121 Server Information: Application Server: Apache Tomcat/4.1.29 Servlet Version: 2.3 Database Dialect: N/A Memory Information: Total Memory: 508 MB Free Memory: 236 MB Used Memory: 272 MB System Information: System Date: Wednesday, 02 Mar 2005 System Time: 10:00:33 System Favourite Colour: Lime 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) Client VM User Name: jira User Timezone: Europe/Berlin Operating System: Linux 2.4.21-212-smp OS Architecture: i386 Request Information: URL: http://192.168.18.14:8080/confluence/pages/listpages-searchview-do.action - Scheme: http - Server: 192.168.18.14 - Port: 8080 - URI: /confluence/500page.jsp - - Context Path: /confluence - - Servlet Path: /500page.jsp - - Path Info: null - - Query String: key=mySpace Attributes: - javax.servlet.error.message : - javax.servlet.error.exception : org.apache.velocity.exception.MethodInvocationException: Invocation of method 'getExcludedMailCount' in class com.atlassian.confluence.pages.actions.SearchViewListPagesAction threw exception class java.lang.NullPointerException : null - os_securityfilter_already_filtered : true - __sitemesh__using_stream : false - com.atlassian.johnson.filters.JohnsonFilter_already_filtered : true - javax.servlet.error.request_uri : /confluence/pages/listpages-searchview-do.action - javax.servlet.error.status_code : 500 - __sitemesh__filterapplied : true - javax.servlet.error.servlet_name : action - webwork.valueStack : com.opensymphony.xwork.util.OgnlValueStack@1602a20 - atlassian.core.seraph.original.url : /pages/listpages-searchview-do.action?key=mySpace - loginfilter.already.filtered : true - javax.servlet.jsp.jspException : org.apache.velocity.exception.MethodInvocationException: Invocation of method 'getExcludedMailCount' in class com.atlassian.confluence.pages.actions.SearchViewListPagesAction threw exception class java.lang.NullPointerException : null - sessioninview.FILTERED : true Parameters: - key = mySpace - searchQuery.queryString = Termine Logging: 0 log statements generated by this request.

    Atlassian JIRA | 1 decade ago | Moritz Walther
    org.apache.velocity.exception.MethodInvocationException: Invocation of method 'getExcludedMailCount' in class com.atlassian.confluence.pages.actions.SearchViewListPagesAction threw exception class java.lang.NullPointerException : null
  6. 0

    Cause: org.apache.velocity.exception.MethodInvocationException: Invocation of method 'getActiveGroups' in class com.atlassian.confluence.security.actions.ViewSpacePermissionsAction threw exception class net.sf.hibernate.LazyInitializationException : Failed to lazily initialize a collection Stack Trace: [hide] org.apache.velocity.exception.MethodInvocationException: Invocation of method 'getActiveGroups' in class com.atlassian.confluence.security.actions.ViewSpacePermissionsAction threw exception class net.sf.hibernate.LazyInitializationException : Failed to lazily initialize a collection at org.apache.velocity.runtime.parser.node.PropertyExecutor.execute(PropertyExecutor.java:188) at org.apache.velocity.runtime.parser.node.ASTIdentifier.execute(ASTIdentifier.java:226) 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.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.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 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: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 | Charles Miller
    org.apache.velocity.exception.MethodInvocationException: Invocation of method 'getActiveGroups' in class com.atlassian.confluence.security.actions.ViewSpacePermissionsAction 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 'getLink' in class com.atlassian.applinks.core.docs.DocumentationLinkerImpl threw exception java.lang.RuntimeException: Failed to concatenate http://confluence.atlassian.com/display/APPLINKS to form URI (Illegal character in path) at /common/_help_link.vm[line 11, column 87]

      at org.apache.velocity.runtime.parser.node.ASTMethod.handleInvocationException()
    2. Apache Velocity
      ASTBlock.render
      1. org.apache.velocity.runtime.parser.node.ASTMethod.handleInvocationException(ASTMethod.java:337)
      2. org.apache.velocity.runtime.parser.node.ASTMethod.execute(ASTMethod.java:284)
      3. org.apache.velocity.runtime.parser.node.ASTReference.execute(ASTReference.java:262)
      4. org.apache.velocity.runtime.parser.node.ASTReference.render(ASTReference.java:342)
      5. org.apache.velocity.runtime.parser.node.ASTBlock.render(ASTBlock.java:72)
      6. org.apache.velocity.runtime.parser.node.SimpleNode.render(SimpleNode.java:336)
      7. org.apache.velocity.runtime.parser.node.ASTIfStatement.render(ASTIfStatement.java:106)
      8. org.apache.velocity.runtime.parser.node.ASTBlock.render(ASTBlock.java:72)
      8 frames