java.lang.NullPointerException: Cannot invoke method findResults() on null object

GitHub | epeay | 4 weeks ago
tip
Do you find the tips below useful? Click on the to mark them and say thanks to rp . Or join the community to write better ones.
  1. 0

    Kubernetes rollback results in "Cannot invoke method findResults() on null object" error

    GitHub | 4 weeks ago | epeay
    java.lang.NullPointerException: Cannot invoke method findResults() on null object
  2. 0

    (Openstack) Enable server group fails

    GitHub | 5 months ago | jcwest
    exception.OpenstackOperationException: enableServerGroup failed: Cannot get property 'addr' on null object
  3. 0

    Kubernetes: Unable to Disable/Destroy cluster

    GitHub | 10 months ago | dgarbus
    com.netflix.spinnaker.clouddriver.kubernetes.deploy.exception.KubernetesOperationException: Toggle Pod Labels failed: Error executing: PUT at: https://kubernetes-test.aws.example.com/api/v1/namespaces/default/pods/helloworld-v000-w1oxk. Cause: org.codehaus.groovy.runtime.GStringImpl cannot be cast to java.lang.String
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

  5. 0
    samebug tip
    Upgrade your old nexus to 2.14.1-01
    via Sonatype JIRA by Marc Lévi
  6. 0

    GitHub comment 807#197928110

    GitHub | 11 months ago | ttomsu
    java.lang.NullPointerException: Cannot get property 'loadBalancer' on null object
Not finding the right solution?
Take a tour to get the most out of Samebug.

Tired of useless tips?

Automated exception search integrated into your IDE

Root Cause Analysis

  1. java.lang.NullPointerException

    Cannot invoke method findResults() on null object

    at org.codehaus.groovy.runtime.NullObject.invokeMethod()
  2. Groovy
    AbstractCallSite.call
    1. org.codehaus.groovy.runtime.NullObject.invokeMethod(NullObject.java:91)
    2. org.codehaus.groovy.runtime.callsite.PogoMetaClassSite.call(PogoMetaClassSite.java:48)
    3. org.codehaus.groovy.runtime.callsite.CallSiteArray.defaultCall(CallSiteArray.java:48)
    4. org.codehaus.groovy.runtime.callsite.NullCallSite.call(NullCallSite.java:35)
    5. org.codehaus.groovy.runtime.callsite.CallSiteArray.defaultCall(CallSiteArray.java:48)
    6. org.codehaus.groovy.runtime.callsite.PojoMetaMethodSite.call(PojoMetaMethodSite.java:58)
    7. org.codehaus.groovy.runtime.callsite.AbstractCallSite.call(AbstractCallSite.java:125)
    7 frames
  3. com.netflix.spinnaker
    EnableKubernetesAtomicOperation.super$2$operate
    1. com.netflix.spinnaker.clouddriver.kubernetes.deploy.KubernetesUtil.getLoadBalancers(KubernetesUtil.groovy:142)
    2. com.netflix.spinnaker.clouddriver.kubernetes.deploy.KubernetesUtil$getLoadBalancers$0.call(Unknown Source)
    3. com.netflix.spinnaker.clouddriver.kubernetes.deploy.ops.servergroup.AbstractEnableDisableKubernetesAtomicOperation.operate(AbstractEnableDisableKubernetesAtomicOperation.groovy:68)
    4. com.netflix.spinnaker.clouddriver.kubernetes.deploy.ops.servergroup.EnableKubernetesAtomicOperation.super$2$operate(EnableKubernetesAtomicOperation.groovy)
    4 frames
  4. Java RT
    Method.invoke
    1. sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
    2. sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
    3. sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
    4. java.lang.reflect.Method.invoke(Method.java:498)
    4 frames
  5. Groovy
    ScriptBytecodeAdapter.invokeMethodOnSuperN
    1. org.codehaus.groovy.reflection.CachedMethod.invoke(CachedMethod.java:93)
    2. groovy.lang.MetaMethod.doMethodInvoke(MetaMethod.java:325)
    3. groovy.lang.MetaClassImpl.invokeMethod(MetaClassImpl.java:1215)
    4. org.codehaus.groovy.runtime.ScriptBytecodeAdapter.invokeMethodOnSuperN(ScriptBytecodeAdapter.java:132)
    4 frames
  6. com.netflix.spinnaker
    DefaultOrchestrationProcessor$_process_closure1$_closure2.doCall
    1. com.netflix.spinnaker.clouddriver.kubernetes.deploy.ops.servergroup.EnableKubernetesAtomicOperation.operate(EnableKubernetesAtomicOperation.groovy:46)
    2. com.netflix.spinnaker.clouddriver.kubernetes.deploy.ops.servergroup.EnableKubernetesAtomicOperation.operate(EnableKubernetesAtomicOperation.groovy)
    3. com.netflix.spinnaker.clouddriver.orchestration.AtomicOperation$operate.call(Unknown Source)
    4. com.netflix.spinnaker.clouddriver.orchestration.DefaultOrchestrationProcessor$_process_closure1$_closure2.doCall(DefaultOrchestrationProcessor.groovy:89)
    5. com.netflix.spinnaker.clouddriver.orchestration.DefaultOrchestrationProcessor$_process_closure1$_closure2.doCall(DefaultOrchestrationProcessor.groovy)
    5 frames
  7. Java RT
    Method.invoke
    1. sun.reflect.GeneratedMethodAccessor2326.invoke(Unknown Source)
    2. sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
    3. java.lang.reflect.Method.invoke(Method.java:498)
    3 frames
  8. Groovy
    Closure.call
    1. org.codehaus.groovy.reflection.CachedMethod.invoke(CachedMethod.java:93)
    2. groovy.lang.MetaMethod.doMethodInvoke(MetaMethod.java:325)
    3. org.codehaus.groovy.runtime.metaclass.ClosureMetaClass.invokeMethod(ClosureMetaClass.java:294)
    4. groovy.lang.MetaClassImpl.invokeMethod(MetaClassImpl.java:1024)
    5. groovy.lang.Closure.call(Closure.java:414)
    6. groovy.lang.Closure.call(Closure.java:408)
    6 frames
  9. com.netflix.spinnaker
    TimedCallable.call
    1. com.netflix.spinnaker.clouddriver.metrics.TimedCallable$ClosureWrapper.call(TimedCallable.groovy:55)
    2. com.netflix.spinnaker.clouddriver.metrics.TimedCallable.call(TimedCallable.groovy:82)
    2 frames
  10. Unknown
    java_util_concurrent_Callable$call.call
    1. java_util_concurrent_Callable$call.call(Unknown Source)
    1 frame
  11. com.netflix.spinnaker
    DefaultOrchestrationProcessor$_process_closure1.doCall
    1. com.netflix.spinnaker.clouddriver.orchestration.DefaultOrchestrationProcessor$_process_closure1.doCall(DefaultOrchestrationProcessor.groovy:88)
    2. com.netflix.spinnaker.clouddriver.orchestration.DefaultOrchestrationProcessor$_process_closure1.doCall(DefaultOrchestrationProcessor.groovy)
    2 frames
  12. Java RT
    Method.invoke
    1. sun.reflect.GeneratedMethodAccessor2323.invoke(Unknown Source)
    2. sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
    3. java.lang.reflect.Method.invoke(Method.java:498)
    3 frames
  13. Groovy
    AbstractCallSite.call
    1. org.codehaus.groovy.reflection.CachedMethod.invoke(CachedMethod.java:93)
    2. groovy.lang.MetaMethod.doMethodInvoke(MetaMethod.java:325)
    3. org.codehaus.groovy.runtime.metaclass.ClosureMetaClass.invokeMethod(ClosureMetaClass.java:294)
    4. groovy.lang.MetaClassImpl.invokeMethod(MetaClassImpl.java:1024)
    5. org.codehaus.groovy.runtime.callsite.PogoMetaClassSite.call(PogoMetaClassSite.java:42)
    6. org.codehaus.groovy.runtime.callsite.AbstractCallSite.call(AbstractCallSite.java:117)
    6 frames
  14. com.netflix.spinnaker
    AuthenticatedRequest$_propagate_closure2.doCall
    1. com.netflix.spinnaker.security.AuthenticatedRequest$_propagate_closure2.doCall(AuthenticatedRequest.groovy:57)
    2. com.netflix.spinnaker.security.AuthenticatedRequest$_propagate_closure2.doCall(AuthenticatedRequest.groovy)
    2 frames
  15. Java RT
    Method.invoke
    1. sun.reflect.GeneratedMethodAccessor2395.invoke(Unknown Source)
    2. sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
    3. java.lang.reflect.Method.invoke(Method.java:498)
    3 frames
  16. Groovy
    Closure.call
    1. org.codehaus.groovy.reflection.CachedMethod.invoke(CachedMethod.java:93)
    2. groovy.lang.MetaMethod.doMethodInvoke(MetaMethod.java:325)
    3. org.codehaus.groovy.runtime.metaclass.ClosureMetaClass.invokeMethod(ClosureMetaClass.java:294)
    4. groovy.lang.MetaClassImpl.invokeMethod(MetaClassImpl.java:1024)
    5. groovy.lang.Closure.call(Closure.java:414)
    6. groovy.lang.Closure.call(Closure.java:408)
    6 frames
  17. com.netflix.spinnaker
    TimedCallable.call
    1. com.netflix.spinnaker.clouddriver.metrics.TimedCallable$ClosureWrapper.call(TimedCallable.groovy:55)
    2. com.netflix.spinnaker.clouddriver.metrics.TimedCallable.call(TimedCallable.groovy:82)
    2 frames
  18. Java RT
    Thread.run
    1. java.util.concurrent.FutureTask.run(FutureTask.java:266)
    2. java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142)
    3. java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617)
    4. java.lang.Thread.run(Thread.java:745)
    4 frames