fabric8io/fabric8

NullPointerException: an exception while deleting Pod

Opened this issue · 0 comments

I have NullPointerException when I delete Pod in OpenShift using fabric8 client.
This exception happens only in the case when I try to delete Pod that is not ready after deploy.

Log:

java.lang.NullPointerException
--
  | at io.fabric8.kubernetes.client.dsl.internal.DeploymentOperationsImpl$DeploymentReaper.reap(DeploymentOperationsImpl.java:167)
  | at io.fabric8.kubernetes.client.dsl.base.BaseOperation.delete(BaseOperation.java:621)
  | at io.fabric8.kubernetes.client.dsl.base.BaseOperation.delete(BaseOperation.java:70)
  | at io.strimzi.controller.cluster.operator.resource.AbstractResourceOperator.internalDelete(AbstractResourceOperator.java:113)
  | at io.strimzi.controller.cluster.operator.resource.AbstractResourceOperator.lambda$reconcile$0(AbstractResourceOperator.java:93)
  | at io.vertx.core.impl.ContextImpl.lambda$executeBlocking$1(ContextImpl.java:273)
  | at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1149)
  | at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624)
  | at io.netty.util.concurrent.FastThreadLocalRunnable.run(FastThreadLocalRunnable.java:30)
  | at java.lang.Thread.run(Thread.java:748)

Additional information:

[sromanov@kh172 ~]$ oc version
oc v3.7.1+ab0f056
kubernetes v1.7.6+a08f5eeb62
features: Basic-Auth GSSAPI Kerberos SPNEGO

Server https://127.0.0.1:8443
openshift v3.7.1+282e43f-42
kubernetes v1.7.6+a08f5eeb62