Uploaded image for project: 'Confluence Server'
  1. Confluence Server
  2. CONFSERVER-7269

ERROR [opensymphony.webwork.dispatcher.VelocityResult] doExecute Unable to render Velocity Template, '/users/viewuserprofile.vm'

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Low
    • Resolution: Cannot Reproduce
    • Affects Version/s: 2.2.8
    • Fix Version/s: None
    • Component/s: None
    • Labels:
    • Environment:

      Description

      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)

        Attachments

          Activity

            People

            • Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved:
                Last commented:
                11 years, 39 weeks, 5 days ago