Open shruacha1234 opened 3 years ago
Applying blank layer presence label name results in NPE as seen below and applying valid yaml after that fails with io.fabric8.kubernetes.client.dsl.internal.RawWatchConnectionManager - Current reconnect backoff is 1000 milliseconds (T0)
07:44:47.885 [OkHttp https://10.96.0.1/...] WARN io.fabric8.kubernetes.client.dsl.internal.RawWatchConnectionManager - Exec Failure
java.lang.NullPointerException: null
at com.autotune.analyzer.deployment.AutotuneDeployment.addLayerInfo(AutotuneDeployment.java:563) ~[autotune-0.0.1.jar:?]
at com.autotune.analyzer.deployment.AutotuneDeployment$2.eventReceived(AutotuneDeployment.java:131) ~[autotune-0.0.1.jar:?]
at com.autotune.analyzer.deployment.AutotuneDeployment$2.eventReceived(AutotuneDeployment.java:120) ~[autotune-0.0.1.jar:?]
at io.fabric8.kubernetes.client.dsl.internal.RawWatchConnectionManager$1.onMessage(RawWatchConnectionManager.java:133) [kubernetes-client-4.13.0.jar:?]
at okhttp3.internal.ws.RealWebSocket.onReadMessage(RealWebSocket.java:323) ~[okhttp-3.12.12.jar:?]
at okhttp3.internal.ws.WebSocketReader.readMessageFrame(WebSocketReader.java:219) ~[okhttp-3.12.12.jar:?]
at okhttp3.internal.ws.WebSocketReader.processNextFrame(WebSocketReader.java:105) ~[okhttp-3.12.12.jar:?]
at okhttp3.internal.ws.RealWebSocket.loopReader(RealWebSocket.java:274) [okhttp-3.12.12.jar:?]
at okhttp3.internal.ws.RealWebSocket$2.onResponse(RealWebSocket.java:214) [okhttp-3.12.12.jar:?]
at okhttp3.RealCall$AsyncCall.execute(RealCall.java:203) [okhttp-3.12.12.jar:?]
at okhttp3.internal.NamedRunnable.run(NamedRunnable.java:32) [okhttp-3.12.12.jar:?]
at java.util.concurrent.ThreadPoolExecutor.runWorker(Unknown Source) [?:?]
at java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source) [?:?]
at java.lang.Thread.run(Unknown Source) [?:?]
07:44:47.885 [OkHttp https://10.96.0.1/...] DEBUG io.fabric8.kubernetes.client.dsl.internal.RawWatchConnectionManager - Submitting reconnect task to the executor
07:44:47.885 [scheduleReconnect|Executor for Watch 1867267844] DEBUG io.fabric8.kubernetes.client.dsl.internal.RawWatchConnectionManager - Scheduling reconnect task
07:44:47.885 [scheduleReconnect|Executor for Watch 1867267844] DEBUG io.fabric8.kubernetes.client.dsl.internal.RawWatchConnectionManager - Current reconnect backoff is 1000 milliseconds (T0)
Applying a valid layer config after applying a layer config with blank-layer-presence-label-name fails by throwing NullPointerException.
Applying layer config with blank-layer-presence-label-name throws NullPointerException https://github.com/kruize/autotune/issues/149. Now if we apply a valid layer config it creates the object but along with NullPointerException.
Steps to recreate:
blank-layer-presence-label-name yaml
autotune.log