[ https://issues.apache.org/jira/browse/CLOUDSTACK-2915?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13689169#comment-13689169 ]
ASF subversion and git services commented on CLOUDSTACK-2915: ------------------------------------------------------------- Commit c27e99c39ac6706463dd0c226c1abf0f4684912e in branch refs/heads/master-6-17-stable from [~kishan] [ https://git-wip-us.apache.org/repos/asf?p=cloudstack.git;h=c27e99c ] CLOUDSTACK-2915: Create network ACL when adding ACL item to a tier without ACL for backward compatibility > NPE when creating network ACL item > ---------------------------------- > > Key: CLOUDSTACK-2915 > URL: https://issues.apache.org/jira/browse/CLOUDSTACK-2915 > 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: Prasanna Santhanam > Assignee: Kishan Kavala > Priority: Critical > Fix For: 4.2.0 > > > On creating a network ACL item following NPE is encountered and network ACL > creation fails > 2013-06-10 12:12:59,172 DEBUG [cloud.api.ApiServlet] > (1886622491@qtp-675153853-10:null) ===START=== 0:0:0:0:0:0:0:1%0 -- GET > networkid=84182b2d-52c0-4f47-bdf3-11df09cbd022&apiKey=tXflShMkw-k6smFTwQZ3Dq4MoyZNQzy2YqEU3STFIPdAEua9hSuLkldDG7AaJaYWKcaobhvMpLmk6v26X-j1fw&protocol=TCP&endport=2222&cidrlist=0.0.0.0%2F0&traffictype=Ingress&command=createNetworkACL&signature=MLJVyCeko3NydqcbEku833c9aOg%3D&action=Allow&startport=22&response=json > 2013-06-10 12:12:59,194 ERROR [cloud.api.ApiServer] > (1886622491@qtp-675153853-10:null) unhandled exception executing api command: > createNetworkACL > java.lang.NullPointerException > at > com.cloud.network.vpc.NetworkACLServiceImpl.createNetworkACLItem(NetworkACLServiceImpl.java:252) > at > org.apache.cloudstack.api.command.user.network.CreateNetworkACLCmd.create(CreateNetworkACLCmd.java:213) > at com.cloud.api.ApiDispatcher.dispatchCreateCmd(ApiDispatcher.java:101) > at com.cloud.api.ApiServer.queueCommand(ApiServer.java:475) > at com.cloud.api.ApiServer.handleRequest(ApiServer.java:371) > 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) > at > org.mortbay.jetty.servlet.ServletHandler.handle(ServletHandler.java:401) > at > org.mortbay.jetty.security.SecurityHandler.handle(SecurityHandler.java:216) > at > org.mortbay.jetty.servlet.SessionHandler.handle(SessionHandler.java:182) > at > org.mortbay.jetty.handler.ContextHandler.handle(ContextHandler.java:766) > at org.mortbay.jetty.webapp.WebAppContext.handle(WebAppContext.java:450) > at > org.mortbay.jetty.handler.ContextHandlerCollection.handle(ContextHandlerCollection.java:230) > at > org.mortbay.jetty.handler.HandlerCollection.handle(HandlerCollection.java:114) > at > org.mortbay.jetty.handler.HandlerWrapper.handle(HandlerWrapper.java:152) > at org.mortbay.jetty.Server.handle(Server.java:326) > at > org.mortbay.jetty.HttpConnection.handleRequest(HttpConnection.java:542) > at > org.mortbay.jetty.HttpConnection$RequestHandler.headerComplete(HttpConnection.java:928) > at org.mortbay.jetty.HttpParser.parseNext(HttpParser.java:549) > at org.mortbay.jetty.HttpParser.parseAvailable(HttpParser.java:212) > at org.mortbay.jetty.HttpConnection.handle(HttpConnection.java:404) > at > org.mortbay.io.nio.SelectChannelEndPoint.run(SelectChannelEndPoint.java:410) > at > org.mortbay.thread.QueuedThreadPool$PoolThread.run(QueuedThreadPool.java:582) > 2013-06-10 12:12:59,195 DEBUG [cloud.api.ApiServlet] > (1886622491@qtp-675153853-10:null) ===END=== 0:0:0:0:0:0:0:1%0 -- GET > networkid=84182b2d-52c0-4f47-bdf3-11df09cbd022&apiKey=tXflShMkw-k6smFTwQZ3Dq4MoyZNQzy2YqEU3STFIPdAEua9hSuLkldDG7AaJaYWKcaobhvMpLmk6v26X-j1fw&protocol=TCP&endport=2222&cidrlist=0.0.0.0%2F0&traffictype=Ingress&command=createNetworkACL&signature=MLJVyCeko3NydqcbEku833c9aOg%3D&action=Allow&startport=22&response=json -- 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