Searched on Google with the first line of a JAVA stack trace?

We can recommend more relevant solutions and speed up debugging when you paste your entire stack trace with the exception message. Try a sample exception.

Recommended solutions based on your search

java.lang.NullPointerException: null	at io.cattle.platform.util.net.NetUtils.ip2Long(NetUtils.java:8)	at io.cattle.platform.resource.pool.subnet.SubnetAddressGenerator.fromString(SubnetAddressGenerator.java:14)	at io.cattle.platform.resource.pool.impl.AbstractStringRangeGenerator.(AbstractStringRangeGenerator.java:17)	at io.cattle.platform.resource.pool.subnet.SubnetAddressGenerator.(SubnetAddressGenerator.java:9)	at io.cattle.platform.resource.pool.subnet.SubnetAddressGeneratorFactory.createGenerator(SubnetAddressGeneratorFactory.java:17)	at io.cattle.platform.resource.pool.impl.AbstractTypeAndQualifierPooledItemGeneratorFactory.getGenerator(AbstractTypeAndQualifierPooledItemGeneratorFactory.java:28)	at io.cattle.platform.resource.pool.impl.ResourcePoolManagerImpl.getItem(ResourcePoolManagerImpl.java:138)	at io.cattle.platform.resource.pool.impl.ResourcePoolManagerImpl.allocateResource(ResourcePoolManagerImpl.java:56)	at io.cattle.platform.resource.pool.impl.ResourcePoolManagerImpl.allocateOneResource(ResourcePoolManagerImpl.java:130)	at io.cattle.platform.servicediscovery.service.impl.ServiceDiscoveryServiceImpl.allocateIpForService(ServiceDiscoveryServiceImpl.java:229)	at io.cattle.platform.servicediscovery.service.impl.ServiceDiscoveryServiceImpl.allocateIpToServiceIndex(ServiceDiscoveryServiceImpl.java:528)	at io.cattle.platform.servicediscovery.deployment.impl.unit.DefaultDeploymentUnitInstance.createServiceIndex(DefaultDeploymentUnitInstance.java:346)	at io.cattle.platform.servicediscovery.deployment.impl.unit.DefaultDeploymentUnitInstance.(DefaultDeploymentUnitInstance.java:74)	at io.cattle.platform.servicediscovery.deployment.impl.unit.DeploymentUnitInstanceFactoryImpl.createDeploymentUnitInstance(DeploymentUnitInstanceFactoryImpl.java:44)	at io.cattle.platform.servicediscovery.deployment.impl.unit.DeploymentUnit.createMissingUnitInstances(DeploymentUnit.java:166)	at io.cattle.platform.servicediscovery.deployment.impl.unit.DeploymentUnit.create(DeploymentUnit.java:299)	at io.cattle.platform.servicediscovery.deployment.ServiceDeploymentPlanner.deploy(ServiceDeploymentPlanner.java:150)	at io.cattle.platform.servicediscovery.deployment.impl.DeploymentManagerImpl.startUnits(DeploymentManagerImpl.java:360)	at io.cattle.platform.servicediscovery.deployment.impl.DeploymentManagerImpl$2.run(DeploymentManagerImpl.java:335)	at io.cattle.platform.activity.ActivityService.run(ActivityService.java:43)	at io.cattle.platform.servicediscovery.deployment.impl.DeploymentManagerImpl.activateDeploymentUnits(DeploymentManagerImpl.java:332)	at io.cattle.platform.servicediscovery.deployment.impl.DeploymentManagerImpl.deploy(DeploymentManagerImpl.java:263)	at io.cattle.platform.servicediscovery.deployment.impl.DeploymentManagerImpl.reconcileDeployment(DeploymentManagerImpl.java:129)	at io.cattle.platform.servicediscovery.deployment.impl.DeploymentManagerImpl$1.doWithLock(DeploymentManagerImpl.java:118)	at io.cattle.platform.servicediscovery.deployment.impl.DeploymentManagerImpl$1.doWithLock(DeploymentManagerImpl.java:112)	at io.cattle.platform.lock.impl.AbstractLockManagerImpl$3.doWithLock(AbstractLockManagerImpl.java:40)	at io.cattle.platform.lock.impl.LockManagerImpl.doLock(LockManagerImpl.java:33)	at io.cattle.platform.lock.impl.AbstractLockManagerImpl.lock(AbstractLockManagerImpl.java:13)	at io.cattle.platform.lock.impl.AbstractLockManagerImpl.lock(AbstractLockManagerImpl.java:37)	at io.cattle.platform.servicediscovery.deployment.impl.DeploymentManagerImpl.activate(DeploymentManagerImpl.java:112)	at io.cattle.platform.servicediscovery.deployment.impl.DeploymentManagerImpl.activate(DeploymentManagerImpl.java:98)	at io.cattle.platform.servicediscovery.process.ServiceUpdateActivate$1.run(ServiceUpdateActivate.java:73)	at io.cattle.platform.activity.ActivityService.run(ActivityService.java:43)	at io.cattle.platform.servicediscovery.process.ServiceUpdateActivate.handle(ServiceUpdateActivate.java:70)	at io.cattle.platform.engine.process.impl.DefaultProcessInstanceImpl.runHandler(DefaultProcessInstanceImpl.java:427)	at io.cattle.platform.engine.process.impl.DefaultProcessInstanceImpl$4.execute(DefaultProcessInstanceImpl.java:378)	at io.cattle.platform.engine.process.impl.DefaultProcessInstanceImpl$4.execute(DefaultProcessInstanceImpl.java:372)	at io.cattle.platform.engine.idempotent.Idempotent.execute(Idempotent.java:54)	at io.cattle.platform.engine.process.impl.DefaultProcessInstanceImpl.runHandlers(DefaultProcessInstanceImpl.java:372)	at io.cattle.platform.engine.process.impl.DefaultProcessInstanceImpl.runLogic(DefaultProcessInstanceImpl.java:474)	at io.cattle.platform.engine.process.impl.DefaultProcessInstanceImpl.runWithProcessLock(DefaultProcessInstanceImpl.java:308)	at io.cattle.platform.engine.process.impl.DefaultProcessInstanceImpl$2.doWithLockNoResult(DefaultProcessInstanceImpl.java:247)	at io.cattle.platform.lock.LockCallbackNoReturn.doWithLock(LockCallbackNoReturn.java:7)	at io.cattle.platform.lock.LockCallbackNoReturn.doWithLock(LockCallbackNoReturn.java:3)	at io.cattle.platform.lock.impl.AbstractLockManagerImpl$3.doWithLock(AbstractLockManagerImpl.java:40)	at io.cattle.platform.lock.impl.LockManagerImpl.doLock(LockManagerImpl.java:33)	at io.cattle.platform.lock.impl.AbstractLockManagerImpl.lock(AbstractLockManagerImpl.java:13)	at io.cattle.platform.lock.impl.AbstractLockManagerImpl.lock(AbstractLockManagerImpl.java:37)	at io.cattle.platform.engine.process.impl.DefaultProcessInstanceImpl.acquireLockAndRun(DefaultProcessInstanceImpl.java:244)	at io.cattle.platform.engine.process.impl.DefaultProcessInstanceImpl.runDelegateLoop(DefaultProcessInstanceImpl.java:186)	at io.cattle.platform.engine.process.impl.DefaultProcessInstanceImpl.executeWithProcessInstanceLock(DefaultProcessInstanceImpl.java:159)	at io.cattle.platform.engine.process.impl.DefaultProcessInstanceImpl$1.doWithLock(DefaultProcessInstanceImpl.java:108)	at io.cattle.platform.engine.process.impl.DefaultProcessInstanceImpl$1.doWithLock(DefaultProcessInstanceImpl.java:105)	at io.cattle.platform.lock.impl.AbstractLockManagerImpl$3.doWithLock(AbstractLockManagerImpl.java:40)	at io.cattle.platform.lock.impl.LockManagerImpl.doLock(LockManagerImpl.java:33)	at io.cattle.platform.lock.impl.AbstractLockManagerImpl.lock(AbstractLockManagerImpl.java:13)	at io.cattle.platform.lock.impl.AbstractLockManagerImpl.lock(AbstractLockManagerImpl.java:37)	at io.cattle.platform.engine.process.impl.DefaultProcessInstanceImpl.execute(DefaultProcessInstanceImpl.java:105)	at io.cattle.platform.engine.eventing.impl.ProcessEventListenerImpl.processExecute(ProcessEventListenerImpl.java:75)	at io.cattle.platform.engine.eventing.impl.ProcessEventListenerImpl.processExecute(ProcessEventListenerImpl.java:57)	at sun.reflect.GeneratedMethodAccessor540.invoke(Unknown Source)	at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)	at java.lang.reflect.Method.invoke(Method.java:606)	at io.cattle.platform.eventing.annotation.MethodInvokingListener$1.doWithLockNoResult(MethodInvokingListener.java:76)	at io.cattle.platform.lock.LockCallbackNoReturn.doWithLock(LockCallbackNoReturn.java:7)	at io.cattle.platform.lock.LockCallbackNoReturn.doWithLock(LockCallbackNoReturn.java:3)	at io.cattle.platform.lock.impl.AbstractLockManagerImpl$3.doWithLock(AbstractLockManagerImpl.java:40)	at io.cattle.platform.lock.impl.LockManagerImpl.doLock(LockManagerImpl.java:33)	at io.cattle.platform.lock.impl.AbstractLockManagerImpl.lock(AbstractLockManagerImpl.java:13)	at io.cattle.platform.lock.impl.AbstractLockManagerImpl.lock(AbstractLockManagerImpl.java:37)	at io.cattle.platform.eventing.annotation.MethodInvokingListener.onEvent(MethodInvokingListener.java:72)	at io.cattle.platform.eventing.impl.AbstractThreadPoolingEventService$2.doRun(AbstractThreadPoolingEventService.java:135)	at org.apache.cloudstack.managed.context.NoExceptionRunnable.runInContext(NoExceptionRunnable.java:15)	at org.apache.cloudstack.managed.context.ManagedContextRunnable$1.run(ManagedContextRunnable.java:49)	at org.apache.cloudstack.managed.context.impl.DefaultManagedContext$1.call(DefaultManagedContext.java:55)	at org.apache.cloudstack.managed.context.impl.DefaultManagedContext.callWithContext(DefaultManagedContext.java:108)	at org.apache.cloudstack.managed.context.impl.DefaultManagedContext.runWithContext(DefaultManagedContext.java:52)	at org.apache.cloudstack.managed.context.ManagedContextRunnable.run(ManagedContextRunnable.java:46)	at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145)	at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615)	at java.lang.Thread.run(Thread.java:745)