Hi! Thanks for posting this. Ugly error. This does indeed look like either a dependency conflict, or a mix of incompatible class files.
Some suggestions to diagnose this further: - Is this the setup of your POM to build the JAR file for your application, or for running it from within the IDE? - If this is the POM for building you application JAR, please set the "flink-java", "flink-streaming-java", and "flink-clients" dependencies to the scope "provided". - Can you try to set the following entry in your config "classloader.resolve-order: parent-first" Please let us know how this affects the program. Best, Stephan On Mon, Jan 22, 2018 at 2:45 PM, Edward <egb...@hotmail.com> wrote: > Also, I'm not sure if this would cause the uninitialized error, but I did > notice that in the maven dependency tree there are 2 different versions of > kyro listed as Flink dependencies: > flink-java 1.4 requires kyro 2.24, but flink-streaming-java_2.11 requires > kyro 2.21: > > [INFO] +- org.apache.flink:flink-java:jar:1.4.0:compile > [INFO] | +- org.apache.flink:flink-core:jar:1.4.0:compile > [INFO] | | +- com.esotericsoftware.kryo:kryo:jar:2.24.0:compile > .... > [INFO] +- org.apache.flink:flink-streaming-java_2.11:jar:1.4.0:compile > [INFO] | +- (org.apache.flink:flink-core:jar:1.4.0:compile - omitted for > duplicate) > [INFO] | +- org.apache.flink:flink-runtime_2.11:jar:1.4.0:compile > [INFO] | | +- com.twitter:chill_2.11:jar:0.7.4:compile > [INFO] | | | +- com.twitter:chill-java:jar:0.7.4:compile > [INFO] | | | | \- (com.esotericsoftware.kryo:kryo:jar:2.21:compile - > omitted for conflict with 2.24.0) > [INFO] | | | \- (com.esotericsoftware.kryo:kryo:jar:2.21:compile - > omitted for conflict with 2.24.0) > > > > -- > Sent from: http://apache-flink-user-mailing-list-archive.2336050. > n4.nabble.com/ >