Uploaded image for project: 'ZZZ-WSO2 Private PaaS'
  1. ZZZ-WSO2 Private PaaS
  2. PAAS-318

NPE is thrown when executing export.sh script in subscription-manager tool

    Details

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

      Description

      Following NPE is thrown in PPaaS - 4.0.0 server when executing export.sh script in subscriptio-manager tool:
      [STRATOS] [2015-12-07 13:24:05,596] ERROR

      {org.wso2.ppaas.rest.endpoint.handlers.StratosAuthorizingHandler} - Unexpected error occured while REST api, authorization process {org.wso2.ppaas.rest.endpoint.handlers.StratosAuthorizingHandler}

      java.lang.NullPointerException
      at org.wso2.ppaas.rest.endpoint.handlers.StratosAuthorizingHandler.isAuthorized(StratosAuthorizingHandler.java:126)
      at org.wso2.ppaas.rest.endpoint.handlers.StratosAuthorizingHandler.authorize(StratosAuthorizingHandler.java:111)
      at org.wso2.ppaas.rest.endpoint.handlers.StratosAuthorizingHandler.handleRequest(StratosAuthorizingHandler.java:83)
      at org.apache.cxf.jaxrs.interceptor.JAXRSInInterceptor.processRequest(JAXRSInInterceptor.java:190)
      at org.apache.cxf.jaxrs.interceptor.JAXRSInInterceptor.handleMessage(JAXRSInInterceptor.java:101)
      at org.apache.cxf.phase.PhaseInterceptorChain.doIntercept(PhaseInterceptorChain.java:271)
      at org.apache.cxf.transport.ChainInitiationObserver.onMessage(ChainInitiationObserver.java:121)
      at org.apache.cxf.transport.http.AbstractHTTPDestination.invoke(AbstractHTTPDestination.java:239)
      at org.apache.cxf.transport.servlet.ServletController.invokeDestination(ServletController.java:223)
      at org.apache.cxf.transport.servlet.ServletController.invoke(ServletController.java:203)
      at org.apache.cxf.transport.servlet.ServletController.invoke(ServletController.java:137)
      at org.apache.cxf.transport.servlet.CXFNonSpringServlet.invoke(CXFNonSpringServlet.java:159)
      at org.apache.cxf.transport.servlet.AbstractHTTPServlet.handleRequest(AbstractHTTPServlet.java:286)
      at org.apache.cxf.transport.servlet.AbstractHTTPServlet.doGet(AbstractHTTPServlet.java:211)
      at javax.servlet.http.HttpServlet.service(HttpServlet.java:735)
      at org.apache.cxf.transport.servlet.AbstractHTTPServlet.service(AbstractHTTPServlet.java:262)
      at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:305)

        Attachments

          Activity

            People

            • Assignee:
              thanujau@wso2.com Thanuja Uruththirakodeeswaran
              Reporter:
              thanujau@wso2.com Thanuja Uruththirakodeeswaran
            • Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: