Abhinav Roy created CLOUDSTACK-2817:
---------------------------------------
Summary: NPE while executing the API listLoadBalancerRules
Key: CLOUDSTACK-2817
URL: https://issues.apache.org/jira/browse/CLOUDSTACK-2817
Project: CloudStack
Issue Type: Bug
Security Level: Public (Anyone can view this level - this is the default.)
Components: Network Controller
Affects Versions: 4.2.0
Reporter: Abhinav Roy
Fix For: 4.2.0
Executing the API listLoadBalancerRules throws a NPE :
------------------------------------------------------------------------------------------
http://10.102.192.175:8096/client/api?command=listLoadBalancerRules&listAll=true
<listloadbalancerrulesresponse
cloud-stack-version="4.2.0-SNAPSHOT"><errorcode>530</errorcode><cserrorcode>9999</cserrorcode></listloadbalancerrulesresponse>
2013-06-03 15:48:26,272 ERROR [cloud.api.ApiServer] (ApiServer-2:null)
unhandled exception executing api command: listLoadBalancerRules
java.lang.NullPointerException
at
com.cloud.api.ApiResponseHelper.createLoadBalancerResponse(ApiResponseHelper.java:752)
at
org.apache.cloudstack.api.command.user.loadbalancer.ListLoadBalancerRulesCmd.execute(ListLoadBalancerRulesCmd.java:115)
at com.cloud.api.ApiDispatcher.dispatch(ApiDispatcher.java:155)
at com.cloud.api.ApiServer.queueCommand(ApiServer.java:524)
at com.cloud.api.ApiServer.handleRequest(ApiServer.java:367)
at com.cloud.api.ApiServer.handle(ApiServer.java:298)
at org.apache.http.protocol.HttpService.doService(HttpService.java:375)
at
org.apache.http.protocol.HttpService.handleRequest(HttpService.java:290)
at com.cloud.api.ApiServer$WorkerTask.run(ApiServer.java:988)
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