Details

    • Type: Bug
    • Status: Resolved
    • Priority: Highest
    • Resolution: Fixed
    • Affects Version/s: 1.1.0
    • Fix Version/s: 1.1.0
    • Component/s: None
    • Labels:
      None
    • Environment:

      All datasources pointed to MySQL
      wso2appm-1.1.0-SNAPSHOT-02-12-2015
      JDK 1.7
      Ubuntu 13.04

    • Severity:
      Major
    • Estimated Complexity:
      Moderate
    • Test cases added:
      Yes

      Description

      Log into super tenant admin on publisher
      Refresh store (Super tenant admin is logged onto the store)
      Log out of publisher and login as a tenant admin.
      Refresh store

      • Super tenant admin is still logged onto the store
      • Error [1] is thrown.

      Try to log out of store

      • Error [2] is thrown

      It is not possible to attach error logs and screenshots to the JIRA.
      Will mail on request.

      [1]

      [2015-12-04 02:20:54,286] ERROR - WebAppManager org.mozilla.javascript.WrappedException: Wrapped java.lang.NullPointerException (/store/controllers/acs.jag#30)
      org.jaggeryjs.scriptengine.exceptions.ScriptException: org.mozilla.javascript.WrappedException: Wrapped java.lang.NullPointerException (/store/controllers/acs.jag#30)
      	at org.jaggeryjs.scriptengine.engine.RhinoEngine.execScript(RhinoEngine.java:571)
      
      .........
      
      Caused by: org.mozilla.javascript.WrappedException: Wrapped java.lang.NullPointerException (/store/controllers/acs.jag#30)
      	at org.mozilla.javascript.Context.throwAsScriptRuntimeEx(Context.java:1754)
      	at org.mozilla.javascript.MemberBox.invoke(MemberBox.java:148)
      
      ........
      Caused by: java.lang.NullPointerException
      	at org.jaggeryjs.scriptengine.util.HostObjectUtil.invalidArgsError(HostObjectUtil.java:41)
      	at org.jaggeryjs.hostobjects.uri.URIMatcherHostObject.jsConstructor(URIMatcherHostObject.java:54)
      	at sun.reflect.GeneratedMethodAccessor65.invoke(Unknown Source)
      	at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
      	at java.lang.reflect.Method.invoke(Method.java:606)
      	at org.mozilla.javascript.MemberBox.invoke(MemberBox.java:126)
      	... 50 more
      

      [2]

      [2015-12-04 02:21:43,062] ERROR - LogoutRequestProcessor Error Processing the Logout Request
      java.lang.NullPointerException
      	at org.wso2.carbon.identity.sso.saml.processors.LogoutRequestProcessor.process(LogoutRequestProcessor.java:115)
      	at org.wso2.carbon.identity.sso.saml.SAMLSSOService.validateSPInitSSORequest(SAMLSSOService.java:83)
      	at org.wso2.carbon.identity.sso.saml.servlet.SAMLSSOProviderServlet.handleSPInitSSO(SAMLSSOProviderServlet.java:268)
      	at org.wso2.carbon.identity.sso.saml.servlet.SAMLSSOProviderServlet.handleRequest(SAMLSSOProviderServlet.java:186)
      	at org.wso2.carbon.identity.sso.saml.servlet.SAMLSSOProviderServlet.doPost(SAMLSSOProviderServlet.java:103)
      	at javax.servlet.http.HttpServlet.service(HttpServlet.java:755)
      ................
      [2015-12-04 02:21:43,067] ERROR - SAMLSSOProviderServlet Error when processing the authentication request!
      org.wso2.carbon.identity.base.IdentityException: Error Processing the Logout Request
      	at org.wso2.carbon.identity.sso.saml.processors.LogoutRequestProcessor.process(LogoutRequestProcessor.java:205)
      	at org.wso2.carbon.identity.sso.saml.SAMLSSOService.validateSPInitSSORequest(SAMLSSOService.java:83)
      	at org.wso2.carbon.identity.sso.saml.servlet.SAMLSSOProviderServlet.handleSPInitSSO(SAMLSSOProviderServlet.java:268)
      	at org.wso2.carbon.identity.sso.saml.servlet.SAMLSSOProviderServlet.handleRequest(SAMLSSOProviderServlet.java:186)
      	at org.wso2.carbon.identity.sso.saml.servlet.SAMLSSOProviderServlet.doPost(SAMLSSOProviderServlet.java:103)
      	at javax.servlet.http.HttpServlet.service(HttpServlet.java:755)
      ........
      [2015-12-04 02:21:54,308]  INFO - LogoutRequestSender Sending single log out request again with retry count 1 after waiting for 60000 milli seconds to https://localhost:9443/store/acs
      [2015-12-04 02:21:54,337] ERROR - WebAppManager org.mozilla.javascript.WrappedException: Wrapped java.lang.NullPointerException (/store/controllers/acs.jag#30)
      org.jaggeryjs.scriptengine.exceptions.ScriptException: org.mozilla.javascript.WrappedException: Wrapped java.lang.NullPointerException (/store/controllers/acs.jag#30)
      	at org.jaggeryjs.scriptengine.engine.RhinoEngine.execScript(RhinoEngine.java:571)
      	at org.jaggeryjs.scriptengine.engine.RhinoEngine.exec(RhinoEngine.java:273)
      .............
      
      Caused by: org.mozilla.javascript.WrappedException: Wrapped java.lang.NullPointerException (/store/controllers/acs.jag#30)
      	at org.mozilla.javascript.Context.throwAsScriptRuntimeEx(Context.java:1754)
      	at org.mozilla.javascript.MemberBox.invoke(MemberBox.java:148)
      	at org.mozilla.javascript.FunctionObject.call(FunctionObject.java:392)
      	at org.mozilla.javascript.BaseFunction.construct(BaseFunction.java:343)
      ............
      Caused by: java.lang.NullPointerException
      	at org.jaggeryjs.scriptengine.util.HostObjectUtil.invalidArgsError(HostObjectUtil.java:41)
      	at org.jaggeryjs.hostobjects.uri.URIMatcherHostObject.jsConstructor(URIMatcherHostObject.java:54)
      	at sun.reflect.GeneratedMethodAccessor65.invoke(Unknown Source)
      	at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
      	at java.lang.reflect.Method.invoke(Method.java:606)
      	at org.mozilla.javascript.MemberBox.invoke(MemberBox.java:126)
      	... 50 more
      [2015-12-04 02:21:54,343]  WARN - LogoutRequestSender Failed single logout response from https://localhost:9443/store/acs with status code Internal Server Error
      
      

        Attachments

          Activity

            People

            • Assignee:
              dinusha@wso2.com Dinusha Dilrukshi
              Reporter:
              asanthi@wso2.com Asanthi Kulasinghe
            • Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: