java.lang.NullPointerException

cloudstack-users-cn | qin wu | 4 years ago
tip
Click on the to mark the solution that helps you, Samebug will learn from it.
As a community member, you’ll be rewarded for you help.

Root Cause Analysis

  1. java.lang.NullPointerException

    No message provided

    at com.cloud.network.NetworkManagerImpl.allocate()
  2. com.cloud.network
    NetworkManagerImpl.allocate
    1. com.cloud.network.NetworkManagerImpl.allocate(NetworkManagerImpl.java:1535)
    1 frame
  3. com.cloud.utils
    DatabaseCallback.intercept
    1. com.cloud.utils.db.DatabaseCallback.intercept(DatabaseCallback.java:30)
    1 frame
  4. com.cloud.vm
    VirtualMachineManagerImpl.allocate
    1. com.cloud.vm.VirtualMachineManagerImpl.allocate(VirtualMachineManagerImpl.java:280)
    1 frame
  5. com.cloud.utils
    DatabaseCallback.intercept
    1. com.cloud.utils.db.DatabaseCallback.intercept(DatabaseCallback.java:30)
    1 frame
  6. com.cloud.vm
    UserVmManagerImpl.createVirtualMachine
    1. com.cloud.vm.UserVmManagerImpl.createVirtualMachine(UserVmManagerImpl.java:2465)
    1 frame
  7. com.cloud.utils
    ComponentLocator$InterceptorDispatcher.intercept
    1. com.cloud.utils.component.ComponentLocator$InterceptorDispatcher.intercept(ComponentLocator.java:1185)
    1 frame
  8. com.cloud.vm
    UserVmManagerImpl.createAdvancedVirtualMachine
    1. com.cloud.vm.UserVmManagerImpl.createAdvancedVirtualMachine(UserVmManagerImpl.java:2251)
    1 frame
  9. com.cloud.api
    ApiServlet.doGet
    1. com.cloud.api.commands.DeployVMCmd.create(DeployVMCmd.java:388)
    2. com.cloud.api.ApiDispatcher.dispatchCreateCmd(ApiDispatcher.java:78)
    3. com.cloud.api.ApiServer.queueCommand(ApiServer.java:451)
    4. com.cloud.api.ApiServer.handleRequest(ApiServer.java:416)
    5. com.cloud.api.ApiServlet.processRequest(ApiServlet.java:300)
    6. com.cloud.api.ApiServlet.doGet(ApiServlet.java:59)
    6 frames
  10. JavaServlet
    HttpServlet.service
    1. javax.servlet.http.HttpServlet.service(HttpServlet.java:617)
    2. javax.servlet.http.HttpServlet.service(HttpServlet.java:717)
    2 frames
  11. Glassfish Core
    CoyoteAdapter.service
    1. org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:290)
    2. org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
    3. org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:233)
    4. org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:191)
    5. org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:127)
    6. org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:102)
    7. org.apache.catalina.valves.AccessLogValve.invoke(AccessLogValve.java:555)
    8. org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:109)
    9. org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:298)
    9 frames
  12. Grizzly HTTP
    NioEndpoint$SocketProcessor.run
    1. org.apache.coyote.http11.Http11NioProcessor.process(Http11NioProcessor.java:889)
    2. org.apache.coyote.http11.Http11NioProtocol$Http11ConnectionHandler.process(Http11NioProtocol.java:721)
    3. org.apache.tomcat.util.net.NioEndpoint$SocketProcessor.run(NioEndpoint.java:2260)
    3 frames
  13. Java RT
    Thread.run
    1. java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1110)
    2. java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:603)
    3. java.lang.Thread.run(Thread.java:679)
    3 frames