[ https://issues.apache.org/jira/browse/CLOUDSTACK-2629?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13664618#comment-13664618 ]
ASF subversion and git services commented on CLOUDSTACK-2629: ------------------------------------------------------------- Commit 19321d4eeb7accd2bd67af1c8b2c2a5988a23ac0 in branch refs/heads/master from [~minchen07] [ https://git-wip-us.apache.org/repos/asf?p=cloudstack.git;h=19321d4 ] CLOUDSTACK-2629: ListRouters with networkid throws exception. > ListRouters with networkid throws exception > ------------------------------------------- > > Key: CLOUDSTACK-2629 > URL: https://issues.apache.org/jira/browse/CLOUDSTACK-2629 > Project: CloudStack > Issue Type: Bug > Security Level: Public(Anyone can view this level - this is the > default.) > Components: API > Affects Versions: 4.2.0 > Reporter: Min Chen > Assignee: Min Chen > Fix For: 4.2.0 > > > Passing networkid parameter for listRouters api, it will throw exception: > unhandled exception executing api command: listInternalLoadBalancerVMs > java.lang.NullPointerException > at com.cloud.utils.db.SearchCriteria.findJoin(SearchCriteria.java:204) > at > com.cloud.utils.db.SearchCriteria.setJoinParameters(SearchCriteria.java:223) > at > com.cloud.api.query.QueryManagerImpl.searchForRoutersInternal(QueryManagerImpl.java:1098) > at > com.cloud.api.query.QueryManagerImpl.searchForInternalLbVms(QueryManagerImpl.java:998) > at > org.apache.cloudstack.api.command.admin.internallb.ListInternalLBVMsCmd.execute(ListInternalLBVMsCmd.java:147) > at com.cloud.api.ApiDispatcher.dispatch(ApiDispatcher.java:155) > at com.cloud.api.ApiServer.queueCommand(ApiServer.java:519) > at com.cloud.api.ApiServer.handleRequest(ApiServer.java:369) > at com.cloud.api.ApiServlet.processRequest(ApiServlet.java:304) > at com.cloud.api.ApiServlet.doGet(ApiServlet.java:66) > at javax.servlet.http.HttpServlet.service(HttpServlet.java:707) > at javax.servlet.http.HttpServlet.service(HttpServlet.java:820) > at org.mortbay.jetty.servlet.ServletHolder.handle(ServletHolder.java:511 -- 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