You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@cloudstack.apache.org by "manasaveloori (JIRA)" <ji...@apache.org> on 2013/06/21 08:15:21 UTC

[jira] [Created] (CLOUDSTACK-3109) NPE while deleting the vlan IP Range of the shared network.

manasaveloori created CLOUDSTACK-3109:
-----------------------------------------

             Summary: NPE while deleting the vlan IP Range of the shared network.
                 Key: CLOUDSTACK-3109
                 URL: https://issues.apache.org/jira/browse/CLOUDSTACK-3109
             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: manasaveloori
            Priority: Critical
             Fix For: 4.2.0


Steps:
1.	Have a CS with advanced zone.
2.	Create a Shared guest network.(Infrastructure->Zone->physical N/W->Guest N/w->add N/w)
3.	Assign the shared network to some VM.
4.	Now try to delete the vlan IP range of the shared network. (Infrastructure->Zone->physical N/W->Guest N/w-> <created shared n/w> ->view Ip range).

Observation:

Observed NPE while deleting  the Vlan IP range.Observed this only when the created shared network is assigned to some VM.
User should be prompted that the IP range is in use  and cannot be deleted.



2013-06-21 16:54:10,390 ERROR [cloud.api.ApiServer] (catalina-exec-6:null) unhandled exception executing api command: deleteVlanIpRange
java.lang.NullPointerException
        at com.cloud.configuration.ConfigurationManagerImpl.deleteVlanAndPublicIpRange(ConfigurationManagerImpl.java:3008)
        at com.cloud.utils.component.ComponentInstantiationPostProcessor$InterceptorDispatcher.intercept(ComponentInstantiationPostProcessor.java:125)
        at com.cloud.configuration.ConfigurationManagerImpl.deleteVlanIpRange(ConfigurationManagerImpl.java:3533)
        at com.cloud.utils.component.ComponentInstantiationPostProcessor$InterceptorDispatcher.intercept(ComponentInstantiationPostProcessor.java:125)
        at org.apache.cloudstack.api.command.admin.vlan.DeleteVlanIpRangeCmd.execute(DeleteVlanIpRangeCmd.java:69)
        at com.cloud.api.ApiDispatcher.dispatch(ApiDispatcher.java:155)
        at com.cloud.api.ApiServer.queueCommand(ApiServer.java:528)
        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:617)
        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)
2013-06-21 16:54:10,394 DEBUG [cloud.api.ApiServlet] (catalina-exec-6:null) ===END===  10.252.192.69 -- GET  command=deleteVlanIpRange&id=39b0cd6d-b2e6-4518-9a6b-11d9188de0ff&response=json&sessionkey=fEUYFA7%2B5eZOpYyC0OVDvHQ%2FjlE%3D&_=1371794398171
2013-06-21 16:54:11,004 DEBUG [agent.manager.AgentManagerImpl] (AgentManager-Handler-5:null) SeqA 3-19101: Processing Seq 3-19101:  { Cmd , MgmtId: -1, via: 3, Ver: v1, Flags: 11, [{"ConsoleProxyLoadReportCommand":{"_proxyVmId":2,"_loadInfo":"{\n



--
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