eolivelli commented on issue #8673:
URL: https://github.com/apache/pulsar/issues/8673#issuecomment-732266909


   The same error is on pulsar-functions-worker module
   ```
   
   java.lang.RuntimeException: java.lang.NullPointerException
        at 
org.apache.pulsar.functions.runtime.kubernetes.KubernetesRuntimeFactory.initialize(KubernetesRuntimeFactory.java:211)
        at 
org.apache.pulsar.functions.worker.FunctionRuntimeManager.<init>(FunctionRuntimeManager.java:211)
        at 
org.apache.pulsar.functions.worker.FunctionRuntimeManagerTest.testExternallyManagedRuntimeUpdate(FunctionRuntimeManagerTest.java:674)
        at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
        at 
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
        at 
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
        at java.lang.reflect.Method.invoke(Method.java:498)
        at 
org.testng.internal.MethodInvocationHelper.invokeMethod(MethodInvocationHelper.java:132)
        at 
org.testng.internal.InvokeMethodRunnable.runOne(InvokeMethodRunnable.java:45)
        at 
org.testng.internal.InvokeMethodRunnable.call(InvokeMethodRunnable.java:73)
        at 
org.testng.internal.InvokeMethodRunnable.call(InvokeMethodRunnable.java:11)
        at java.util.concurrent.FutureTask.run(FutureTask.java:266)
        at 
java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1149)
        at 
java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624)
        at java.lang.Thread.run(Thread.java:748)
   Caused by: java.lang.NullPointerException
        at 
io.kubernetes.client.util.ClientBuilder.kubeconfig(ClientBuilder.java:259)
        at 
io.kubernetes.client.util.ClientBuilder.getClientBuilder(ClientBuilder.java:108)
        at 
io.kubernetes.client.util.ClientBuilder.standard(ClientBuilder.java:87)
        at 
io.kubernetes.client.util.ClientBuilder.standard(ClientBuilder.java:79)
        at io.kubernetes.client.util.Config.defaultClient(Config.java:113)
        at 
org.apache.pulsar.functions.runtime.kubernetes.KubernetesRuntimeFactory.setupClient(KubernetesRuntimeFactory.java:339)
        at 
org.apache.pulsar.functions.runtime.kubernetes.KubernetesRuntimeFactory.initialize(KubernetesRuntimeFactory.java:208)
        ... 14 more
   
   ```


----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

For queries about this service, please contact Infrastructure at:
[email protected]


Reply via email to