cloudstack-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Alena Prokharchyk (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (CLOUDSTACK-2817) NPE while executing the API listLoadBalancerRules
Date Tue, 04 Jun 2013 20:43:20 GMT

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

Alena Prokharchyk commented on CLOUDSTACK-2817:
-----------------------------------------------

Steps to reproduce:

1) Create internal LB rule
2) Execute the command listLoadBalancerRules (suppose to list only Public Lbs)

the bug is, the search builder where the api passes scheme=Public, doesn't have "scheme" attribute
pre-set.
                
> 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
>            Assignee: Alena Prokharchyk
>             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

Mime
View raw message