I'm testing out flink 1.18.1 with java 17, and run...
# troubleshooting
l
I'm testing out flink 1.18.1 with java 17, and run into the following error:
Copy code
Exception in thread "main" java.lang.NullPointerException: Cannot invoke "Object.getClass()" because "this.rpcSystem" is null
	at org.apache.flink.runtime.entrypoint.ClusterEntrypoint.shutDownAsync(ClusterEntrypoint.java:595)
	at org.apache.flink.runtime.entrypoint.ClusterEntrypoint.startCluster(ClusterEntrypoint.java:247)
	at org.apache.flink.runtime.entrypoint.ClusterEntrypoint.runClusterEntrypoint(ClusterEntrypoint.java:739)
	at org.apache.flink.kubernetes.entrypoint.KubernetesApplicationClusterEntrypoint.main(KubernetesApplicationClusterEntrypoint.java:86)
we're building our image to deploy to kubernetes from the
flink:1.18.1-java17
docker image
the code works both from intelij, and when deploying to local flink cluster.
downgrading to java11 seems to fix the issue, but is not really a solution