Uploaded image for project: 'Flink'
  1. Flink
  2. FLINK-35860

S5CmdOnMinioITCase failed due to IllegalAccessError in JDK17/21

    XMLWordPrintableJSON

Details

    Description

      Jul 16 01:31:05 Caused by: java.lang.IllegalAccessError: failed to access class org.apache.flink.fs.s3.common.S5CmdOnMinioITCase$Record from class org.apache.flink.fs.s3.common.S5CmdOnMinioITCase$RecordConstructorAccess (org.apache.flink.fs.s3.common.S5CmdOnMinioITCase$Record is in unnamed module of loader 'app'; org.apache.flink.fs.s3.common.S5CmdOnMinioITCase$RecordConstructorAccess is in unnamed module of loader com.esotericsoftware.reflectasm.AccessClassLoader @76f35a1b)
      Jul 16 01:31:05 	at org.apache.flink.fs.s3.common.S5CmdOnMinioITCase$RecordConstructorAccess.newInstance(Unknown Source)
      Jul 16 01:31:05 	at com.esotericsoftware.kryo.Kryo$DefaultInstantiatorStrategy$1.newInstance(Kryo.java:1193)
      Jul 16 01:31:05 	at com.esotericsoftware.kryo.Kryo.newInstance(Kryo.java:1061)
      Jul 16 01:31:05 	at com.esotericsoftware.kryo.serializers.FieldSerializer.create(FieldSerializer.java:547)
      Jul 16 01:31:05 	at com.esotericsoftware.kryo.serializers.FieldSerializer.read(FieldSerializer.java:523)
      Jul 16 01:31:05 	at com.esotericsoftware.kryo.Kryo.readClassAndObject(Kryo.java:761)
      Jul 16 01:31:05 	at org.apache.flink.api.java.typeutils.runtime.kryo.KryoSerializer.deserialize(KryoSerializer.java:394)
      Jul 16 01:31:05 	at org.apache.flink.streaming.runtime.streamrecord.StreamElementSerializer.deserialize(StreamElementSerializer.java:206)
      Jul 16 01:31:05 	at org.apache.flink.streaming.runtime.streamrecord.StreamElementSerializer.deserialize(StreamElementSerializer.java:44)
      Jul 16 01:31:05 	at org.apache.flink.runtime.plugable.NonReusingDeserializationDelegate.read(NonReusingDeserializationDelegate.java:53)
      Jul 16 01:31:05 	at org.apache.flink.runtime.io.network.api.serialization.NonSpanningWrapper.readInto(NonSpanningWrapper.java:337)
      Jul 16 01:31:05 	at org.apache.flink.runtime.io.network.api.serialization.SpillingAdaptiveSpanningRecordDeserializer.readNonSpanningRecord(SpillingAdaptiveSpanningRecordDeserializer.java:128)
      Jul 16 01:31:05 	at org.apache.flink.runtime.io.network.api.serialization.SpillingAdaptiveSpanningRecordDeserializer.readNextRecord(SpillingAdaptiveSpanningRecordDeserializer.java:103)
      Jul 16 01:31:05 	at org.apache.flink.runtime.io.network.api.serialization.SpillingAdaptiveSpanningRecordDeserializer.getNextRecord(SpillingAdaptiveSpanningRecordDeserializer.java:93)
      Jul 16 01:31:05 	at org.apache.flink.streaming.runtime.io.AbstractStreamTaskNetworkInput.emitNext(AbstractStreamTaskNetworkInput.java:103)
      Jul 16 01:31:05 	at org.apache.flink.streaming.runtime.io.StreamOneInputProcessor.processInput(StreamOneInputProcessor.java:65)
      Jul 16 01:31:05 	at org.apache.flink.streaming.runtime.tasks.StreamTask.processInput(StreamTask.java:638)
      Jul 16 01:31:05 	at org.apache.flink.streaming.runtime.tasks.mailbox.MailboxProcessor.runMailboxLoop(MailboxProcessor.java:231)
      Jul 16 01:31:05 	at org.apache.flink.streaming.runtime.tasks.StreamTask.runMailboxLoop(StreamTask.java:973)
      Jul 16 01:31:05 	at org.apache.flink.streaming.runtime.tasks.StreamTask.invoke(StreamTask.java:917)
      Jul 16 01:31:05 	at org.apache.flink.runtime.taskmanager.Task.runWithSystemExitMonitoring(Task.java:970)
      Jul 16 01:31:05 	at org.apache.flink.runtime.taskmanager.Task.restoreAndInvoke(Task.java:949)
      Jul 16 01:31:05 	at org.apache.flink.runtime.taskmanager.Task.doRun(Task.java:763)
      Jul 16 01:31:05 	at org.apache.flink.runtime.taskmanager.Task.run(Task.java:575)
      Jul 16 01:31:05 	at java.base/java.lang.Thread.run(Thread.java:833)
      

      https://dev.azure.com/apache-flink/apache-flink/_build/results?buildId=60941&view=logs&j=54dde87f-1e30-5a5e-7727-3286687a13f7&t=4653b7d3-60bf-5409-5154-679ed6d8688e&l=13718

      Attachments

        Issue Links

          Activity

            People

              pnowojski Piotr Nowojski
              Weijie Guo Weijie Guo
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: