Hi,

I followed the tutorial[1] on creating a Carbon Component but after
deploying the artifacts the backend service is blocked from being accessed.

When I click on the Students link on the Carbon server management Console
following stacktrace is shown.




*[2014-07-25 13:16:37,141] ERROR {java.lang.Class} -  System failed to
authorize.nulljava.lang.NullPointerException    at
org.wso2.carbon.server.admin.module.handler.AuthorizationHandler.doAuthorization(AuthorizationHandler.java:119)
*

SoapUI displays the following response from the service.













*<soapenv:Envelope xmlns:soapenv="http://www.w3.org/2003/05/soap-envelope
<http://www.w3.org/2003/05/soap-envelope>">    <soapenv:Body>
<soapenv:Fault xmlns:axis2ns1="http://www.w3.org/2003/05/soap-envelope
<http://www.w3.org/2003/05/soap-envelope>">
<soapenv:Code>            <soapenv:Value>axis2ns1:50978</soapenv:Value>
         </soapenv:Code>         <soapenv:Reason>            <soapenv:Text
xml:lang="en-US">System failed to authorize.</soapenv:Text>
</soapenv:Reason>         <soapenv:Detail/>       </soapenv:Fault>
</soapenv:Body></soapenv:Envelope>*



What is the cause of this?

[1] -
http://wso2.com/library/tutorials/2014/03/how-to-write-a-wso2-carbon-component/


-- 

Regards,
Chamila de Alwis
Software Engineer | WSO2 | +94772207163
Blog: code.chamiladealwis.com
_______________________________________________
Dev mailing list
[email protected]
http://wso2.org/cgi-bin/mailman/listinfo/dev

Reply via email to