Gary Yao created FLINK-11156:
--------------------------------
Summary: ZooKeeperCompletedCheckpointStoreMockitoTest fails with IncompatibleClassChangeError
Key: FLINK-11156
URL:
https://issues.apache.org/jira/browse/FLINK-11156 Project: Flink
Issue Type: Sub-task
Components: Tests
Affects Versions: 1.8.0
Reporter: Gary Yao
Fix For: 1.8.0
{noformat}
java.lang.IncompatibleClassChangeError: Method java.util.Comparator.comparing(Ljava/util/function/Function;)Ljava/util/Comparator; must be InterfaceMethodref constant
at org.apache.flink.runtime.checkpoint.ZooKeeperCompletedCheckpointStore.<clinit>(ZooKeeperCompletedCheckpointStore.java:74)
at java.base/java.lang.Class.forName0(Native Method)
at java.base/java.lang.Class.forName(Class.java:292)
at javassist.runtime.Desc.getClassObject(Desc.java:43)
at javassist.runtime.Desc.getClassType(Desc.java:152)
at javassist.runtime.Desc.getType(Desc.java:122)
at javassist.runtime.Desc.getType(Desc.java:78)
at org.apache.flink.runtime.checkpoint.ZooKeeperCompletedCheckpointStoreMockitoTest.testCheckpointRecovery(ZooKeeperCompletedCheckpointStoreMockitoTest.java:175)
at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.base/java.lang.reflect.Method.invoke(Method.java:564)
at org.junit.internal.runners.TestMethod.invoke(TestMethod.java:68)
at org.powermock.modules.junit4.internal.impl.PowerMockJUnit44RunnerDelegateImpl$PowerMockJUnit44MethodRunner.runTestMethod(PowerMockJUnit44RunnerDelegateImpl.java:326)
at org.junit.internal.runners.MethodRoadie$1$1.call(MethodRoadie.java:64)
at java.base/java.util.concurrent.FutureTask.run(FutureTask.java:264)
at java.base/java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1167)
at java.base/java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:641)
at java.base/java.lang.Thread.run(Thread.java:844)
{noformat}
--
This message was sent by Atlassian JIRA
(v7.6.3#76005)