org.apache.velocity.exception.MethodInvocationException: Invocation of method 'getSpace' in class com.atlassian.confluence.user.actions.ViewUserProfileAction threw exception class java.lang.NullPointerException : null

Atlassian JIRA | Sudhakar Ramasamy | 1 decade ago
  1. 0

    We noticed that our confluence failed to come up that the application had crashed. Here's what we had in the log files: 2006-11-03 10:44:51,416 ERROR [opensymphony.webwork.dispatcher.VelocityResult] doExecute Unable to render Velocity Template, '/users/viewuserprofile.vm' org.apache.velocity.exception.MethodInvocationException: Invocation of method 'getSpace' in class com.atlassian.confluence.user.actions.ViewUserProfileAction 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.tomcat.util.threads.ThreadPool$ControlRunnable.run(ThreadPool.java:684) at java.lang.Thread.run(Thread.java:595) caused by: java.lang.NullPointerException at com.atlassian.confluence.user.actions.AbstractUserProfileAction.getPersonalSpaceKey(AbstractUserProfileAction.java:425) at com.atlassian.confluence.user.actions.AbstractUserProfileAction.getSpace(AbstractUserProfileAction.java:420) at sun.reflect.GeneratedMethodAccessor2403.invoke(Unknown Source) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) ........................... at org.apache.tomcat.util.net.LeaderFollowerWorkerThread.runIt(LeaderFollowerWorkerThread.java:80) at org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(ThreadPool.java:684) at java.lang.Thread.run(Thread.java:595) 2006-11-03 10:44:51,428 ERROR [opensymphony.webwork.dispatcher.ServletDispatcher] serviceAction Could not execute action org.apache.velocity.exception.MethodInvocationException: Invocation of method 'getSpace' in class com.atlassian.confluence.user.actions.ViewUserProfileAction 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.evaluate(ASTReference.java:337) at org.apache.velocity.runtime.parser.node.ASTNotNode.evaluate(ASTNotNode.java:85) ................................. at org.apache.coyote.http11.Http11BaseProtocol$Http11ConnectionHandler.processConnection(Http11BaseProtocol.java:664) at org.apache.tomcat.util.net.PoolTcpEndpoint.processSocket(PoolTcpEndpoint.java:527) at org.apache.tomcat.util.net.LeaderFollowerWorkerThread.runIt(LeaderFollowerWorkerThread.java:80) at org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(ThreadPool.java:684) at java.lang.Thread.run(Thread.java:595) caused by: java.lang.NullPointerException at com.atlassian.confluence.user.actions.AbstractUserProfileAction.getPersonalSpaceKey(AbstractUserProfileAction.java:425) at com.atlassian.confluence.user.actions.AbstractUserProfileAction.getSpace(AbstractUserProfileAction.java:420) at sun.reflect.GeneratedMethodAccessor2403.invoke(Unknown Source) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) at java.lang.reflect.Method.invoke(Method.java:585) at org.apache.velocity.runtime.parser.node.PropertyExecutor.execute(PropertyExecutor.java:154) ..................................... at org.apache.tomcat.util.net.LeaderFollowerWorkerThread.runIt(LeaderFollowerWorkerThread.java:80) at org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(ThreadPool.java:684) at java.lang.Thread.run(Thread.java:595) 2006-11-03 10:44:51,434 ERROR [[Catalina].[localhost].[/wiki].[action]] invoke Servlet.service() for servlet action threw exception java.lang.IllegalStateException at org.apache.catalina.connector.ResponseFacade.sendError(ResponseFacade.java:404) at javax.servlet.http.HttpServletResponseWrapper.sendError(HttpServletResponseWrapper.java:107) at javax.servlet.http.HttpServletResponseWrapper.sendError(HttpServletResponseWrapper.java:107) ......................................... at org.apache.tomcat.util.net.LeaderFollowerWorkerThread.runIt(LeaderFollowerWorkerThread.java:80) at org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(ThreadPool.java:684) at java.lang.Thread.run(Thread.java:595) 2006-11-03 10:44:51,438 WARN [confluence.servlet.simpledisplay.SimpleDisplayServlet] doGet Error while parsing path /~Unknown java.lang.IllegalStateException at org.apache.catalina.connector.ResponseFacade.sendError(ResponseFacade.java:404) at javax.servlet.http.HttpServletResponseWrapper.sendError(HttpServletResponseWrapper.java:107) at javax.servlet.http.HttpServletResponseWrapper.sendError(HttpServletResponseWrapper.java:107) ................................... at org.apache.tomcat.util.net.LeaderFollowerWorkerThread.runIt(LeaderFollowerWorkerThread.java:80) at org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(ThreadPool.java:684) at java.lang.Thread.run(Thread.java:595) 2006-11-03 10:44:51,442 ERROR [[Catalina].[localhost].[/wiki].[simple-display]] invoke Servlet.service() for servlet simple-display threw exception java.lang.IllegalStateException at org.apache.catalina.connector.ResponseFacade.sendError(ResponseFacade.java:404) at javax.servlet.http.HttpServletResponseWrapper.sendError(HttpServletResponseWrapper.java:107) at javax.servlet.http.HttpServletResponseWrapper.sendError(HttpServletResponseWrapper.java:107) ..................................... at org.apache.tomcat.util.net.PoolTcpEndpoint.processSocket(PoolTcpEndpoint.java:527) at org.apache.tomcat.util.net.LeaderFollowerWorkerThread.runIt(LeaderFollowerWorkerThread.java:80) at org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(ThreadPool.java:684) at java.lang.Thread.run(Thread.java:595)

    Atlassian JIRA | 1 decade ago | Sudhakar Ramasamy
    org.apache.velocity.exception.MethodInvocationException: Invocation of method 'getSpace' in class com.atlassian.confluence.user.actions.ViewUserProfileAction threw exception class java.lang.NullPointerException : null
  2. 0

    We noticed that our confluence failed to come up that the application had crashed. Here's what we had in the log files: 2006-11-03 10:44:51,416 ERROR [opensymphony.webwork.dispatcher.VelocityResult] doExecute Unable to render Velocity Template, '/users/viewuserprofile.vm' org.apache.velocity.exception.MethodInvocationException: Invocation of method 'getSpace' in class com.atlassian.confluence.user.actions.ViewUserProfileAction 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.tomcat.util.threads.ThreadPool$ControlRunnable.run(ThreadPool.java:684) at java.lang.Thread.run(Thread.java:595) caused by: java.lang.NullPointerException at com.atlassian.confluence.user.actions.AbstractUserProfileAction.getPersonalSpaceKey(AbstractUserProfileAction.java:425) at com.atlassian.confluence.user.actions.AbstractUserProfileAction.getSpace(AbstractUserProfileAction.java:420) at sun.reflect.GeneratedMethodAccessor2403.invoke(Unknown Source) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) ........................... at org.apache.tomcat.util.net.LeaderFollowerWorkerThread.runIt(LeaderFollowerWorkerThread.java:80) at org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(ThreadPool.java:684) at java.lang.Thread.run(Thread.java:595) 2006-11-03 10:44:51,428 ERROR [opensymphony.webwork.dispatcher.ServletDispatcher] serviceAction Could not execute action org.apache.velocity.exception.MethodInvocationException: Invocation of method 'getSpace' in class com.atlassian.confluence.user.actions.ViewUserProfileAction 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.evaluate(ASTReference.java:337) at org.apache.velocity.runtime.parser.node.ASTNotNode.evaluate(ASTNotNode.java:85) ................................. at org.apache.coyote.http11.Http11BaseProtocol$Http11ConnectionHandler.processConnection(Http11BaseProtocol.java:664) at org.apache.tomcat.util.net.PoolTcpEndpoint.processSocket(PoolTcpEndpoint.java:527) at org.apache.tomcat.util.net.LeaderFollowerWorkerThread.runIt(LeaderFollowerWorkerThread.java:80) at org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(ThreadPool.java:684) at java.lang.Thread.run(Thread.java:595) caused by: java.lang.NullPointerException at com.atlassian.confluence.user.actions.AbstractUserProfileAction.getPersonalSpaceKey(AbstractUserProfileAction.java:425) at com.atlassian.confluence.user.actions.AbstractUserProfileAction.getSpace(AbstractUserProfileAction.java:420) at sun.reflect.GeneratedMethodAccessor2403.invoke(Unknown Source) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) at java.lang.reflect.Method.invoke(Method.java:585) at org.apache.velocity.runtime.parser.node.PropertyExecutor.execute(PropertyExecutor.java:154) ..................................... at org.apache.tomcat.util.net.LeaderFollowerWorkerThread.runIt(LeaderFollowerWorkerThread.java:80) at org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(ThreadPool.java:684) at java.lang.Thread.run(Thread.java:595) 2006-11-03 10:44:51,434 ERROR [[Catalina].[localhost].[/wiki].[action]] invoke Servlet.service() for servlet action threw exception java.lang.IllegalStateException at org.apache.catalina.connector.ResponseFacade.sendError(ResponseFacade.java:404) at javax.servlet.http.HttpServletResponseWrapper.sendError(HttpServletResponseWrapper.java:107) at javax.servlet.http.HttpServletResponseWrapper.sendError(HttpServletResponseWrapper.java:107) ......................................... at org.apache.tomcat.util.net.LeaderFollowerWorkerThread.runIt(LeaderFollowerWorkerThread.java:80) at org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(ThreadPool.java:684) at java.lang.Thread.run(Thread.java:595) 2006-11-03 10:44:51,438 WARN [confluence.servlet.simpledisplay.SimpleDisplayServlet] doGet Error while parsing path /~Unknown java.lang.IllegalStateException at org.apache.catalina.connector.ResponseFacade.sendError(ResponseFacade.java:404) at javax.servlet.http.HttpServletResponseWrapper.sendError(HttpServletResponseWrapper.java:107) at javax.servlet.http.HttpServletResponseWrapper.sendError(HttpServletResponseWrapper.java:107) ................................... at org.apache.tomcat.util.net.LeaderFollowerWorkerThread.runIt(LeaderFollowerWorkerThread.java:80) at org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(ThreadPool.java:684) at java.lang.Thread.run(Thread.java:595) 2006-11-03 10:44:51,442 ERROR [[Catalina].[localhost].[/wiki].[simple-display]] invoke Servlet.service() for servlet simple-display threw exception java.lang.IllegalStateException at org.apache.catalina.connector.ResponseFacade.sendError(ResponseFacade.java:404) at javax.servlet.http.HttpServletResponseWrapper.sendError(HttpServletResponseWrapper.java:107) at javax.servlet.http.HttpServletResponseWrapper.sendError(HttpServletResponseWrapper.java:107) ..................................... at org.apache.tomcat.util.net.PoolTcpEndpoint.processSocket(PoolTcpEndpoint.java:527) at org.apache.tomcat.util.net.LeaderFollowerWorkerThread.runIt(LeaderFollowerWorkerThread.java:80) at org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(ThreadPool.java:684) at java.lang.Thread.run(Thread.java:595)

    Atlassian JIRA | 1 decade ago | Sudhakar Ramasamy
    org.apache.velocity.exception.MethodInvocationException: Invocation of method 'getSpace' in class com.atlassian.confluence.user.actions.ViewUserProfileAction threw exception class java.lang.NullPointerException : null
  3. 0

    We noticed that our confluence failed to come up that the application had crashed. Here's what we had in the log files: 2006-11-03 10:44:51,416 ERROR [opensymphony.webwork.dispatcher.VelocityResult] doExecute Unable to render Velocity Template, '/users/viewuserprofile.vm' org.apache.velocity.exception.MethodInvocationException: Invocation of method 'getSpace' in class com.atlassian.confluence.user.actions.ViewUserProfileAction 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.tomcat.util.threads.ThreadPool$ControlRunnable.run(ThreadPool.java:684) at java.lang.Thread.run(Thread.java:595) caused by: java.lang.NullPointerException at com.atlassian.confluence.user.actions.AbstractUserProfileAction.getPersonalSpaceKey(AbstractUserProfileAction.java:425) at com.atlassian.confluence.user.actions.AbstractUserProfileAction.getSpace(AbstractUserProfileAction.java:420) at sun.reflect.GeneratedMethodAccessor2403.invoke(Unknown Source) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) ........................... at org.apache.tomcat.util.net.LeaderFollowerWorkerThread.runIt(LeaderFollowerWorkerThread.java:80) at org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(ThreadPool.java:684) at java.lang.Thread.run(Thread.java:595) 2006-11-03 10:44:51,428 ERROR [opensymphony.webwork.dispatcher.ServletDispatcher] serviceAction Could not execute action org.apache.velocity.exception.MethodInvocationException: Invocation of method 'getSpace' in class com.atlassian.confluence.user.actions.ViewUserProfileAction 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.evaluate(ASTReference.java:337) at org.apache.velocity.runtime.parser.node.ASTNotNode.evaluate(ASTNotNode.java:85) ................................. at org.apache.coyote.http11.Http11BaseProtocol$Http11ConnectionHandler.processConnection(Http11BaseProtocol.java:664) at org.apache.tomcat.util.net.PoolTcpEndpoint.processSocket(PoolTcpEndpoint.java:527) at org.apache.tomcat.util.net.LeaderFollowerWorkerThread.runIt(LeaderFollowerWorkerThread.java:80) at org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(ThreadPool.java:684) at java.lang.Thread.run(Thread.java:595) caused by: java.lang.NullPointerException at com.atlassian.confluence.user.actions.AbstractUserProfileAction.getPersonalSpaceKey(AbstractUserProfileAction.java:425) at com.atlassian.confluence.user.actions.AbstractUserProfileAction.getSpace(AbstractUserProfileAction.java:420) at sun.reflect.GeneratedMethodAccessor2403.invoke(Unknown Source) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) at java.lang.reflect.Method.invoke(Method.java:585) at org.apache.velocity.runtime.parser.node.PropertyExecutor.execute(PropertyExecutor.java:154) ..................................... at org.apache.tomcat.util.net.LeaderFollowerWorkerThread.runIt(LeaderFollowerWorkerThread.java:80) at org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(ThreadPool.java:684) at java.lang.Thread.run(Thread.java:595) 2006-11-03 10:44:51,434 ERROR [[Catalina].[localhost].[/wiki].[action]] invoke Servlet.service() for servlet action threw exception java.lang.IllegalStateException at org.apache.catalina.connector.ResponseFacade.sendError(ResponseFacade.java:404) at javax.servlet.http.HttpServletResponseWrapper.sendError(HttpServletResponseWrapper.java:107) at javax.servlet.http.HttpServletResponseWrapper.sendError(HttpServletResponseWrapper.java:107) ......................................... at org.apache.tomcat.util.net.LeaderFollowerWorkerThread.runIt(LeaderFollowerWorkerThread.java:80) at org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(ThreadPool.java:684) at java.lang.Thread.run(Thread.java:595) 2006-11-03 10:44:51,438 WARN [confluence.servlet.simpledisplay.SimpleDisplayServlet] doGet Error while parsing path /~Unknown java.lang.IllegalStateException at org.apache.catalina.connector.ResponseFacade.sendError(ResponseFacade.java:404) at javax.servlet.http.HttpServletResponseWrapper.sendError(HttpServletResponseWrapper.java:107) at javax.servlet.http.HttpServletResponseWrapper.sendError(HttpServletResponseWrapper.java:107) ................................... at org.apache.tomcat.util.net.LeaderFollowerWorkerThread.runIt(LeaderFollowerWorkerThread.java:80) at org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(ThreadPool.java:684) at java.lang.Thread.run(Thread.java:595) 2006-11-03 10:44:51,442 ERROR [[Catalina].[localhost].[/wiki].[simple-display]] invoke Servlet.service() for servlet simple-display threw exception java.lang.IllegalStateException at org.apache.catalina.connector.ResponseFacade.sendError(ResponseFacade.java:404) at javax.servlet.http.HttpServletResponseWrapper.sendError(HttpServletResponseWrapper.java:107) at javax.servlet.http.HttpServletResponseWrapper.sendError(HttpServletResponseWrapper.java:107) ..................................... at org.apache.tomcat.util.net.PoolTcpEndpoint.processSocket(PoolTcpEndpoint.java:527) at org.apache.tomcat.util.net.LeaderFollowerWorkerThread.runIt(LeaderFollowerWorkerThread.java:80) at org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(ThreadPool.java:684) at java.lang.Thread.run(Thread.java:595)

    Atlassian JIRA | 1 decade ago | Sudhakar Ramasamy
    org.apache.velocity.exception.MethodInvocationException: Invocation of method 'getSpace' in class com.atlassian.confluence.user.actions.ViewUserProfileAction threw exception class java.lang.NullPointerException : null
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

  5. 0

    We noticed that our confluence failed to come up that the application had crashed. Here's what we had in the log files: 2006-11-03 10:44:51,416 ERROR [opensymphony.webwork.dispatcher.VelocityResult] doExecute Unable to render Velocity Template, '/users/viewuserprofile.vm' org.apache.velocity.exception.MethodInvocationException: Invocation of method 'getSpace' in class com.atlassian.confluence.user.actions.ViewUserProfileAction 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.tomcat.util.threads.ThreadPool$ControlRunnable.run(ThreadPool.java:684) at java.lang.Thread.run(Thread.java:595) caused by: java.lang.NullPointerException at com.atlassian.confluence.user.actions.AbstractUserProfileAction.getPersonalSpaceKey(AbstractUserProfileAction.java:425) at com.atlassian.confluence.user.actions.AbstractUserProfileAction.getSpace(AbstractUserProfileAction.java:420) at sun.reflect.GeneratedMethodAccessor2403.invoke(Unknown Source) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) ........................... at org.apache.tomcat.util.net.LeaderFollowerWorkerThread.runIt(LeaderFollowerWorkerThread.java:80) at org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(ThreadPool.java:684) at java.lang.Thread.run(Thread.java:595) 2006-11-03 10:44:51,428 ERROR [opensymphony.webwork.dispatcher.ServletDispatcher] serviceAction Could not execute action org.apache.velocity.exception.MethodInvocationException: Invocation of method 'getSpace' in class com.atlassian.confluence.user.actions.ViewUserProfileAction 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.evaluate(ASTReference.java:337) at org.apache.velocity.runtime.parser.node.ASTNotNode.evaluate(ASTNotNode.java:85) ................................. at org.apache.coyote.http11.Http11BaseProtocol$Http11ConnectionHandler.processConnection(Http11BaseProtocol.java:664) at org.apache.tomcat.util.net.PoolTcpEndpoint.processSocket(PoolTcpEndpoint.java:527) at org.apache.tomcat.util.net.LeaderFollowerWorkerThread.runIt(LeaderFollowerWorkerThread.java:80) at org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(ThreadPool.java:684) at java.lang.Thread.run(Thread.java:595) caused by: java.lang.NullPointerException at com.atlassian.confluence.user.actions.AbstractUserProfileAction.getPersonalSpaceKey(AbstractUserProfileAction.java:425) at com.atlassian.confluence.user.actions.AbstractUserProfileAction.getSpace(AbstractUserProfileAction.java:420) at sun.reflect.GeneratedMethodAccessor2403.invoke(Unknown Source) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) at java.lang.reflect.Method.invoke(Method.java:585) at org.apache.velocity.runtime.parser.node.PropertyExecutor.execute(PropertyExecutor.java:154) ..................................... at org.apache.tomcat.util.net.LeaderFollowerWorkerThread.runIt(LeaderFollowerWorkerThread.java:80) at org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(ThreadPool.java:684) at java.lang.Thread.run(Thread.java:595) 2006-11-03 10:44:51,434 ERROR [[Catalina].[localhost].[/wiki].[action]] invoke Servlet.service() for servlet action threw exception java.lang.IllegalStateException at org.apache.catalina.connector.ResponseFacade.sendError(ResponseFacade.java:404) at javax.servlet.http.HttpServletResponseWrapper.sendError(HttpServletResponseWrapper.java:107) at javax.servlet.http.HttpServletResponseWrapper.sendError(HttpServletResponseWrapper.java:107) ......................................... at org.apache.tomcat.util.net.LeaderFollowerWorkerThread.runIt(LeaderFollowerWorkerThread.java:80) at org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(ThreadPool.java:684) at java.lang.Thread.run(Thread.java:595) 2006-11-03 10:44:51,438 WARN [confluence.servlet.simpledisplay.SimpleDisplayServlet] doGet Error while parsing path /~Unknown java.lang.IllegalStateException at org.apache.catalina.connector.ResponseFacade.sendError(ResponseFacade.java:404) at javax.servlet.http.HttpServletResponseWrapper.sendError(HttpServletResponseWrapper.java:107) at javax.servlet.http.HttpServletResponseWrapper.sendError(HttpServletResponseWrapper.java:107) ................................... at org.apache.tomcat.util.net.LeaderFollowerWorkerThread.runIt(LeaderFollowerWorkerThread.java:80) at org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(ThreadPool.java:684) at java.lang.Thread.run(Thread.java:595) 2006-11-03 10:44:51,442 ERROR [[Catalina].[localhost].[/wiki].[simple-display]] invoke Servlet.service() for servlet simple-display threw exception java.lang.IllegalStateException at org.apache.catalina.connector.ResponseFacade.sendError(ResponseFacade.java:404) at javax.servlet.http.HttpServletResponseWrapper.sendError(HttpServletResponseWrapper.java:107) at javax.servlet.http.HttpServletResponseWrapper.sendError(HttpServletResponseWrapper.java:107) ..................................... at org.apache.tomcat.util.net.PoolTcpEndpoint.processSocket(PoolTcpEndpoint.java:527) at org.apache.tomcat.util.net.LeaderFollowerWorkerThread.runIt(LeaderFollowerWorkerThread.java:80) at org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(ThreadPool.java:684) at java.lang.Thread.run(Thread.java:595)

    Atlassian JIRA | 1 decade ago | Sudhakar Ramasamy
    org.apache.velocity.exception.MethodInvocationException: Invocation of method 'getSpace' in class com.atlassian.confluence.user.actions.ViewUserProfileAction threw exception class java.lang.NullPointerException : null
  6. 0

    I belong to a group which have Global permission to attach files to an User Profile. But when I click on any User Profile, 1. For Some User Profile It does not show browse and upload button for attachments 2. For some users it does not even show the profile and also in the Tomcat Log it throws null pointer exception. The error in log files is as below. 2005-05-04 18:50:38,522 ERROR [atlassian.confluence.util.VelocityUtils] Error occurred rendering template: /decorators/global.vmd org.apache.velocity.exception.MethodInvocationException: Invocation of method 'getPathToProfilePicture' in class com.atlassian.confluence.user.actions.ViewUserProfileAction threw exception class java.lang.NullPointerException : null at org.apache.velocity.runtime.parser.node.ASTMethod.execute(ASTMethod.java:309) at org.apache.velocity.runtime.parser.node.ASTReference.execute(ASTReference.java:207) at org.apache.velocity.runtime.parser.node.ASTReference.evaluate(ASTReference.java:337) at org.apache.velocity.runtime.parser.node.ASTExpression.evaluate(ASTExpression.java:84) at org.apache.velocity.runtime.parser.node.ASTIfStatement.render(ASTIfStatement.java:107) at org.apache.velocity.runtime.parser.node.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.parser.node.ASTElseIfStatement.render(ASTElseIfStatement.java:118) at org.apache.velocity.runtime.parser.node.ASTIfStatement.render(ASTIfStatement.java:128) at org.apache.velocity.runtime.parser.node.SimpleNode.render(SimpleNode.java:271) at org.apache.velocity.Template.merge(Template.java:296) at com.atlassian.confluence.util.VelocityUtils.getRenderedTemplateWithoutSwallowingErrors(VelocityUtils.java:47) at com.atlassian.confluence.util.VelocityUtils.getRenderedTemplate(VelocityUtils.java:33) at com.atlassian.confluence.setup.velocity.ApplyDecoratorDirective.render(ApplyDecoratorDirective.java:210) 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 org.apache.velocity.runtime.parser.node.ASTElseIfStatement.render(ASTElseIfStatement.java:118) at org.apache.velocity.runtime.parser.node.ASTIfStatement.render(ASTIfStatement.java:128) at org.apache.velocity.runtime.parser.node.SimpleNode.render(SimpleNode.java:271) at org.apache.velocity.Template.merge(Template.java:296) at com.atlassian.confluence.util.VelocityUtils.getRenderedTemplateWithoutSwallowingErrors(VelocityUtils.java:47) at com.atlassian.confluence.util.VelocityUtils.getRenderedTemplate(VelocityUtils.java:33) at com.atlassian.confluence.setup.velocity.ApplyDecoratorDirective.render(ApplyDecoratorDirective.java:210) 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:84) 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.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:802) at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:237) at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:157) at org.apache.catalina.core.ApplicationDispatcher.invoke(ApplicationDispatcher.java:704) at org.apache.catalina.core.ApplicationDispatcher.processRequest(ApplicationDispatcher.java:474) at org.apache.catalina.core.ApplicationDispatcher.doForward(ApplicationDispatcher.java:409) at org.apache.catalina.core.ApplicationDispatcher.forward(ApplicationDispatcher.java:312) at com.atlassian.confluence.servlet.simpledisplay.SimpleDisplayServlet.doGet(SimpleDisplayServlet.java:44) at javax.servlet.http.HttpServlet.service(HttpServlet.java:689) at javax.servlet.http.HttpServlet.service(HttpServlet.java:802) at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:237) at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:157) at com.opensymphony.module.sitemesh.filter.PageFilter.parsePage(PageFilter.java:118) at com.atlassian.confluence.util.profiling.ProfilingPageFilter.parsePage(ProfilingPageFilter.java:150) at com.opensymphony.module.sitemesh.filter.PageFilter.doFilter(PageFilter.java:52) at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:186) at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:157) at com.atlassian.seraph.filter.SecurityFilter.doFilter(SecurityFilter.java:168) at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:186) at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:157) at com.atlassian.seraph.filter.LoginFilter.doFilter(LoginFilter.java:181) at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:186) at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:157) at com.atlassian.johnson.filters.JohnsonFilter.doFilter(JohnsonFilter.java:96) at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:186) at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:157) at org.springframework.orm.hibernate.support.OpenSessionInViewFilter.doFilterInternal(OpenSessionInViewFilter.java:170) at bucket.custom.FlushingSpringSessionInViewFilter.doFilterInternal(FlushingSpringSessionInViewFilter.java:31) at org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:73) at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:186) at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:157) 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:186) at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:157) at com.atlassian.core.filters.gzip.GzipFilter.doFilter(GzipFilter.java:61) at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:186) at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:157) at com.atlassian.core.filters.AbstractEncodingFilter.doFilter(AbstractEncodingFilter.java:36) at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:186) at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:157) at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:214) at org.apache.catalina.core.StandardValveContext.invokeNext(StandardValveContext.java:104) at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:520) at org.apache.catalina.core.StandardContextValve.invokeInternal(StandardContextValve.java:198) at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:152) at org.apache.catalina.core.StandardValveContext.invokeNext(StandardValveContext.java:104) at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:520) at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:137) at org.apache.catalina.core.StandardValveContext.invokeNext(StandardValveContext.java:104) at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:118) at org.apache.catalina.core.StandardValveContext.invokeNext(StandardValveContext.java:102) at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:520) at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:109) at org.apache.catalina.core.StandardValveContext.invokeNext(StandardValveContext.java:104) at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:520) at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:929) at org.apache.coyote.tomcat5.CoyoteAdapter.service(CoyoteAdapter.java:160) at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:799) at org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.processConnection(Http11Protocol.java:705) at org.apache.tomcat.util.net.TcpWorkerThread.runIt(PoolTcpEndpoint.java:577) at org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(ThreadPool.java:683) at java.lang.Thread.run(Thread.java:534)

    Atlassian JIRA | 1 decade ago | sikhar saikia
    org.apache.velocity.exception.MethodInvocationException: Invocation of method 'getPathToProfilePicture' in class com.atlassian.confluence.user.actions.ViewUserProfileAction 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 'getSpace' in class com.atlassian.confluence.user.actions.ViewUserProfileAction threw exception class java.lang.NullPointerException : null

      at org.apache.velocity.runtime.parser.node.PropertyExecutor.execute()
    2. Apache Velocity
      ASTNotNode.evaluate
      1. org.apache.velocity.runtime.parser.node.PropertyExecutor.execute(PropertyExecutor.java:188)
      2. org.apache.velocity.runtime.parser.node.ASTIdentifier.execute(ASTIdentifier.java:226)
      3. org.apache.velocity.runtime.parser.node.ASTReference.execute(ASTReference.java:207)
      4. org.apache.velocity.runtime.parser.node.ASTReference.evaluate(ASTReference.java:337)
      5. org.apache.velocity.runtime.parser.node.ASTNotNode.evaluate(ASTNotNode.java:85)
      5 frames