cloudstack-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Likitha Shetty (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (CLOUDSTACK-3112) [AWSAPI] EC2 SOAP calls fail with an NPE
Date Mon, 24 Jun 2013 06:32:19 GMT

    [ https://issues.apache.org/jira/browse/CLOUDSTACK-3112?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13691730#comment-13691730
] 

Likitha Shetty commented on CLOUDSTACK-3112:
--------------------------------------------

This is because UserCredentials that is injected in AuthenticationHandler is not picked up
                
> [AWSAPI] EC2 SOAP calls fail with an NPE
> ----------------------------------------
>
>                 Key: CLOUDSTACK-3112
>                 URL: https://issues.apache.org/jira/browse/CLOUDSTACK-3112
>             Project: CloudStack
>          Issue Type: Bug
>      Security Level: Public(Anyone can view this level - this is the default.) 
>          Components: AWSAPI
>    Affects Versions: 4.2.0
>            Reporter: Likitha Shetty
>            Assignee: Likitha Shetty
>             Fix For: 4.2.0
>
>
> Enable ec2 api flag. Use EC2 API Soap tool to run ec2-describe-availability-zones. 
> Ouput - Server:unknown
> 2013-06-21 14:51:59,200 DEBUG [auth.ec2.AuthenticationHandler] (catalina-exec-int-1:null)
X509 cert's uniqueId: EMAILADDRESS=likithashetty@gmail.com, CN=localhost, OU=cpg, O=citrix,
L=bangalore, ST=karnataka, C=in, serial=18442984792527269479
> 2013-06-21 14:51:59,203 ERROR [auth.ec2.AuthenticationHandler] (catalina-exec-int-1:null)
EC2 Authentication Handler:
> java.lang.NullPointerException
>         at com.cloud.bridge.auth.ec2.AuthenticationHandler.invoke(AuthenticationHandler.java:125)
>         at org.apache.axis2.engine.Phase.invoke(Phase.java:318)
>         at org.apache.axis2.engine.AxisEngine.invoke(AxisEngine.java:254)
>         at org.apache.axis2.engine.AxisEngine.receive(AxisEngine.java:160)
>         at org.apache.axis2.transport.http.HTTPTransportUtils.processHTTPPostRequest(HTTPTransportUtils.java:173)
>         at org.apache.axis2.transport.http.AxisServlet.doPost(AxisServlet.java:144)
>         at javax.servlet.http.HttpServlet.service(HttpServlet.java:637)
>         at javax.servlet.http.HttpServlet.service(HttpServlet.java:717)
>         at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:290)
>         at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
>         at org.apache.catalina.core.ApplicationDispatcher.invoke(ApplicationDispatcher.java:646)
>         at org.apache.catalina.core.ApplicationDispatcher.processRequest(ApplicationDispatcher.java:436)
>         at org.apache.catalina.core.ApplicationDispatcher.doForward(ApplicationDispatcher.java:374)
>         at org.apache.catalina.core.ApplicationDispatcher.forward(ApplicationDispatcher.java:302)
>         at com.cloud.bridge.service.EC2MainServlet.doGetOrPost(EC2MainServlet.java:114)
>         at com.cloud.bridge.service.EC2MainServlet.doPost(EC2MainServlet.java:89)
>         at javax.servlet.http.HttpServlet.service(HttpServlet.java:637)
>         at javax.servlet.http.HttpServlet.service(HttpServlet.java:717)
>         at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:290)
>         at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
>         at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:233)
>         at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:191)
>         at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:127)
>         at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:102)
>         at org.apache.catalina.valves.AccessLogValve.invoke(AccessLogValve.java:555)
>         at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:109)
>         at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:298)
>         at org.apache.coyote.http11.Http11NioProcessor.process(Http11NioProcessor.java:889)
>         at org.apache.coyote.http11.Http11NioProtocol$Http11ConnectionHandler.process(Http11NioProtocol.java:721)
>         at org.apache.tomcat.util.net.NioEndpoint$SocketProcessor.run(NioEndpoint.java:2268)
>         at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1110)
>         at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:603)
>         at java.lang.Thread.run(Thread.java:679)

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira

Mime
View raw message