Details

    • Type: Bug
    • Status: Resolved
    • Priority: Highest
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 5.3.0
    • Component/s: None
    • Labels:
      None
    • Severity:
      Major
    • Estimated Complexity:
      Moderate
    • Test cases added:
      Yes

      Description

      AS 5.3.0-SNAPSHOT cluster setup - 19th June.

      Steps to re-produce:

      1. See the steps in WSAS-1976
      2. Instead of webapp reload, try to expire the session that are idle than 1 minute.

      Error:
      Following NPE was observed in the back-end. The UI shows an empty page.

      Caused by: org.apache.jasper.JasperException: An exception occurred processing JSP page /webapp-list/expire_sessions.jsp at line 99

      96: CarbonUIMessage.sendCarbonUIMessage(e.getMessage(), CarbonUIMessage.ERROR, request);
      97: %>
      98: <script type="text/javascript">
      99: location.href = "<%= redirectPage %>?pageNumber=<%=pageNumberInt%>&webappFileName=<%= URLEncoder.encode(webappKeys[0].split(":")[1], "UTF-8") %>"
      100: <% if (hostName != null && httpPort != null)

      { %> 101: +"&hostName=<%= hostName %>&httpPort=<%= httpPort %>" 102: <% }

      %> ;

      Stacktrace:
      at org.apache.jasper.servlet.JspServletWrapper.handleJspException(JspServletWrapper.java:568)
      at org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:470)
      at org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:395)
      at org.apache.jasper.servlet.JspServlet.service(JspServlet.java:339)
      at javax.servlet.http.HttpServlet.service(HttpServlet.java:727)
      at org.wso2.carbon.ui.JspServlet.service(JspServlet.java:155)
      at org.wso2.carbon.ui.TilesJspServlet.service(TilesJspServlet.java:80)
      at javax.servlet.http.HttpServlet.service(HttpServlet.java:727)
      at org.eclipse.equinox.http.helper.ContextPathServletAdaptor.service(ContextPathServletAdaptor.java:37)
      at org.eclipse.equinox.http.servlet.internal.ServletRegistration.service(ServletRegistration.java:61)
      at org.eclipse.equinox.http.servlet.internal.ProxyServlet.processAlias(ProxyServlet.java:128)
      at org.eclipse.equinox.http.servlet.internal.ProxyServlet.service(ProxyServlet.java:68)
      at javax.servlet.http.HttpServlet.service(HttpServlet.java:727)
      at org.wso2.carbon.tomcat.ext.servlet.DelegationServlet.service(DelegationServlet.java:68)
      at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:303)
      at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:208)
      at org.apache.catalina.core.ApplicationDispatcher.invoke(ApplicationDispatcher.java:748)
      at org.apache.catalina.core.ApplicationDispatcher.doInclude(ApplicationDispatcher.java:604)
      at org.apache.catalina.core.ApplicationDispatcher.include(ApplicationDispatcher.java:543)
      at org.eclipse.equinox.http.servlet.internal.RequestDispatcherAdaptor.include(RequestDispatcherAdaptor.java:37)
      at org.eclipse.equinox.http.helper.ContextPathServletAdaptor$RequestDispatcherAdaptor.include(ContextPathServletAdaptor.java:369)
      at org.apache.jasper.runtime.JspRuntimeLibrary.include(JspRuntimeLibrary.java:954)
      at org.apache.jasper.runtime.PageContextImpl.include(PageContextImpl.java:656)
      at org.apache.tiles.jsp.context.JspUtil.doInclude(JspUtil.java:98)
      ... 83 more
      Caused by: java.lang.NullPointerException
      at org.apache.jsp.webapp_002dlist.expire_005fsessions_jsp._jspService(expire_005fsessions_jsp.java:192)
      at org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:70)
      at javax.servlet.http.HttpServlet.service(HttpServlet.java:727)
      at org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:432)
      ... 105 more

        Attachments

          Activity

            People

            • Assignee:
              nipuni@wso2.com Nipuni Perera
              Reporter:
              kasung@wso2.com Kasun Gajasinghe
            • Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: