Labs
  1. Labs
  2. LABS-391

[Fragment User] Error in activation account

    Details

    • Type: Bug Bug
    • Status: Resolved
    • Priority: Major Major
    • Resolution: Fixed
    • Affects Version/s: Current
    • Fix Version/s: Current
    • Component/s: Magma
    • Labels:
      None

      Description

      When, in emails list, there are some activation links of a previous test (with empty db) and the test click the wrong activation link, we have that error:

      Error invoking
      Error invoking

      RequestURI=/petstore-tests/user/activate!1201
      Caused by:

      org.apache.magma.basics.MagmaException: Error invoking
      Error invoking

      at org.apache.magma.website.WebHandler.init$_aroundBody6(WebHandler.java:144)
      at org.apache.magma.website.WebHandler.find(WebHandler.java:144)
      at org.apache.magma.website.WebHandler.find(WebHandler.java:139)
      at org.apache.magma.website.WebHandler.find(WebHandler.java:112)
      at org.apache.magma.website.Dispatch.findProducer(Dispatch.java:269)
      at org.apache.magma.website.Dispatch.handle(Dispatch.java:99)
      at org.apache.magma.website.Dispatch.doGet(Dispatch.java:63)
      at javax.servlet.http.HttpServlet.service(HttpServlet.java:707)
      at javax.servlet.http.HttpServlet.service(HttpServlet.java:820)
      at org.mortbay.jetty.servlet.ServletHolder.handle(ServletHolder.java:502)
      at org.mortbay.jetty.servlet.ServletHandler.handle(ServletHandler.java:363)
      at org.mortbay.jetty.security.SecurityHandler.handle(SecurityHandler.java:216)
      at org.mortbay.jetty.servlet.SessionHandler.handle(SessionHandler.java:181)
      at org.mortbay.jetty.handler.ContextHandler.handle(ContextHandler.java:766)
      at org.mortbay.jetty.webapp.WebAppContext.handle(WebAppContext.java:417)
      at org.mortbay.jetty.handler.ContextHandlerCollection.handle(ContextHandlerCollection.java:230)
      at org.mortbay.jetty.handler.HandlerCollection.handle(HandlerCollection.java:114)
      at org.mortbay.jetty.handler.HandlerWrapper.handle(HandlerWrapper.java:152)
      at org.mortbay.jetty.Server.handle(Server.java:324)
      at org.mortbay.jetty.HttpConnection.handleRequest(HttpConnection.java:534)
      at org.mortbay.jetty.HttpConnection$RequestHandler.headerComplete(HttpConnection.java:864)
      at org.mortbay.jetty.HttpParser.parseNext(HttpParser.java:533)
      at org.mortbay.jetty.HttpParser.parseAvailable(HttpParser.java:207)
      at org.mortbay.jetty.HttpConnection.handle(HttpConnection.java:403)
      at org.mortbay.io.nio.SelectChannelEndPoint.run(SelectChannelEndPoint.java:409)
      at org.mortbay.thread.QueuedThreadPool$PoolThread.run(QueuedThreadPool.java:522)
      Caused by: java.lang.reflect.InvocationTargetException
      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.magma.website.WebHandler.find(WebHandler.java:132)
      ... 24 more
      Caused by: java.lang.NullPointerException
      at org.apache.magma.web.user.UserWebHandler.doActivate_aroundBody14(UserWebHandler.java:67)
      at org.apache.magma.web.user.UserWebHandler$AjcClosure15.run(UserWebHandler.java:1)
      at org.apache.magma.website.admin.InterceptWebMethods.ajc$around$org_apache_magma_website_admin_InterceptWebMethods$1$9d0441aaproceed(InterceptWebMethods.aj:1)
      at org.apache.magma.website.admin.InterceptWebMethods.ajc$around$org_apache_magma_website_admin_InterceptWebMethods$1$9d0441aa(InterceptWebMethods.aj:34)
      at org.apache.magma.web.user.UserWebHandler.doActivate(UserWebHandler.java:66)
      ... 29 more

      Caused by:

      java.lang.reflect.InvocationTargetException
      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.magma.website.WebHandler.find(WebHandler.java:132)
      at org.apache.magma.website.WebHandler.find(WebHandler.java:139)
      at org.apache.magma.website.WebHandler.find(WebHandler.java:112)
      at org.apache.magma.website.Dispatch.findProducer(Dispatch.java:269)
      at org.apache.magma.website.Dispatch.handle(Dispatch.java:99)
      at org.apache.magma.website.Dispatch.doGet(Dispatch.java:63)
      at javax.servlet.http.HttpServlet.service(HttpServlet.java:707)
      at javax.servlet.http.HttpServlet.service(HttpServlet.java:820)
      at org.mortbay.jetty.servlet.ServletHolder.handle(ServletHolder.java:502)
      at org.mortbay.jetty.servlet.ServletHandler.handle(ServletHandler.java:363)
      at org.mortbay.jetty.security.SecurityHandler.handle(SecurityHandler.java:216)
      at org.mortbay.jetty.servlet.SessionHandler.handle(SessionHandler.java:181)
      at org.mortbay.jetty.handler.ContextHandler.handle(ContextHandler.java:766)
      at org.mortbay.jetty.webapp.WebAppContext.handle(WebAppContext.java:417)
      at org.mortbay.jetty.handler.ContextHandlerCollection.handle(ContextHandlerCollection.java:230)
      at org.mortbay.jetty.handler.HandlerCollection.handle(HandlerCollection.java:114)
      at org.mortbay.jetty.handler.HandlerWrapper.handle(HandlerWrapper.java:152)
      at org.mortbay.jetty.Server.handle(Server.java:324)
      at org.mortbay.jetty.HttpConnection.handleRequest(HttpConnection.java:534)
      at org.mortbay.jetty.HttpConnection$RequestHandler.headerComplete(HttpConnection.java:864)
      at org.mortbay.jetty.HttpParser.parseNext(HttpParser.java:533)
      at org.mortbay.jetty.HttpParser.parseAvailable(HttpParser.java:207)
      at org.mortbay.jetty.HttpConnection.handle(HttpConnection.java:403)
      at org.mortbay.io.nio.SelectChannelEndPoint.run(SelectChannelEndPoint.java:409)
      at org.mortbay.thread.QueuedThreadPool$PoolThread.run(QueuedThreadPool.java:522)
      Caused by: java.lang.NullPointerException
      at org.apache.magma.web.user.UserWebHandler.doActivate_aroundBody14(UserWebHandler.java:67)
      at org.apache.magma.web.user.UserWebHandler$AjcClosure15.run(UserWebHandler.java:1)
      at org.apache.magma.website.admin.InterceptWebMethods.ajc$around$org_apache_magma_website_admin_InterceptWebMethods$1$9d0441aaproceed(InterceptWebMethods.aj:1)
      at org.apache.magma.website.admin.InterceptWebMethods.ajc$around$org_apache_magma_website_admin_InterceptWebMethods$1$9d0441aa(InterceptWebMethods.aj:34)
      at org.apache.magma.web.user.UserWebHandler.doActivate(UserWebHandler.java:66)
      ... 29 more

      Caused by:

      java.lang.NullPointerException
      at org.apache.magma.web.user.UserWebHandler.doActivate_aroundBody14(UserWebHandler.java:67)
      at org.apache.magma.web.user.UserWebHandler$AjcClosure15.run(UserWebHandler.java:1)
      at org.apache.magma.website.admin.InterceptWebMethods.ajc$around$org_apache_magma_website_admin_InterceptWebMethods$1$9d0441aaproceed(InterceptWebMethods.aj:1)
      at org.apache.magma.website.admin.InterceptWebMethods.ajc$around$org_apache_magma_website_admin_InterceptWebMethods$1$9d0441aa(InterceptWebMethods.aj:34)
      at org.apache.magma.web.user.UserWebHandler.doActivate(UserWebHandler.java:66)
      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.magma.website.WebHandler.find(WebHandler.java:132)
      at org.apache.magma.website.WebHandler.find(WebHandler.java:139)
      at org.apache.magma.website.WebHandler.find(WebHandler.java:112)
      at org.apache.magma.website.Dispatch.findProducer(Dispatch.java:269)
      at org.apache.magma.website.Dispatch.handle(Dispatch.java:99)
      at org.apache.magma.website.Dispatch.doGet(Dispatch.java:63)
      at javax.servlet.http.HttpServlet.service(HttpServlet.java:707)
      at javax.servlet.http.HttpServlet.service(HttpServlet.java:820)
      at org.mortbay.jetty.servlet.ServletHolder.handle(ServletHolder.java:502)
      at org.mortbay.jetty.servlet.ServletHandler.handle(ServletHandler.java:363)
      at org.mortbay.jetty.security.SecurityHandler.handle(SecurityHandler.java:216)
      at org.mortbay.jetty.servlet.SessionHandler.handle(SessionHandler.java:181)
      at org.mortbay.jetty.handler.ContextHandler.handle(ContextHandler.java:766)
      at org.mortbay.jetty.webapp.WebAppContext.handle(WebAppContext.java:417)
      at org.mortbay.jetty.handler.ContextHandlerCollection.handle(ContextHandlerCollection.java:230)
      at org.mortbay.jetty.handler.HandlerCollection.handle(HandlerCollection.java:114)
      at org.mortbay.jetty.handler.HandlerWrapper.handle(HandlerWrapper.java:152)
      at org.mortbay.jetty.Server.handle(Server.java:324)
      at org.mortbay.jetty.HttpConnection.handleRequest(HttpConnection.java:534)
      at org.mortbay.jetty.HttpConnection$RequestHandler.headerComplete(HttpConnection.java:864)
      at org.mortbay.jetty.HttpParser.parseNext(HttpParser.java:533)
      at org.mortbay.jetty.HttpParser.parseAvailable(HttpParser.java:207)
      at org.mortbay.jetty.HttpConnection.handle(HttpConnection.java:403)
      at org.mortbay.io.nio.SelectChannelEndPoint.run(SelectChannelEndPoint.java:409)
      at org.mortbay.thread.QueuedThreadPool$PoolThread.run(QueuedThreadPool.java:522)

      Powered by Jetty://

        Activity

          People

          • Assignee:
            Simone Gianni
            Reporter:
            Arianna Giancola
          • Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved:

              Development