Skip to content

Flink types serialization codegen error: no such constructor: org.apache.flink.table.data.binary.BinaryStringDataFuryCodec_0.<init>(Fury,Class)void/invokeSpecial #1947

Closed
@chaokunyang

Description

Search before asking

  • I had searched in the issues and found no similar issues.

Version

main

Component(s)

Java

Minimal reproduce step

None

What did you expect to see?

java.lang.Error: java.lang.IllegalAccessException: no such constructor: org.apache.flink.table.data.binary.BinaryStringDataFuryCodec_0.(Fury,Class)void/invokeSpecial

What did you see instead?

java.lang.Error: java.lang.IllegalAccessException: no such constructor: org.apache.flink.table.data.binary.BinaryStringDataFuryCodec_0.<init>(Fury,Class)void/invokeSpecial
at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1155) ~[?:1.8.0_372]
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624) ~[?:1.8.0_372]
at java.lang.Thread.run(Thread.java:879) [?:1.8.0_372]
Caused by: java.lang.IllegalAccessException: no such constructor: org.apache.flink.table.data.binary.BinaryStringDataFuryCodec_0.<init>(Fury,Class)void/invokeSpecial
at java.lang.invoke.MemberName.makeAccessException(MemberName.java:867) ~[?:1.8.0_372]
at java.lang.invoke.MemberName$Factory.resolveOrFail(MemberName.java:1003) ~[?:1.8.0_372]
at java.lang.invoke.MethodHandles$Lookup.resolveOrFail(MethodHandles.java:1386) ~[?:1.8.0_372]
at java.lang.invoke.MethodHandles$Lookup.findConstructor(MethodHandles.java:924) ~[?:1.8.0_372]
at org.apache.fury.serializer.Serializers.createSerializer(Serializers.java:127) ~[flash-serializer-v1.jar:?]
at org.apache.fury.serializer.Serializers.newSerializer(Serializers.java:104) ~[flash-serializer-v1.jar:?]
at org.apache.fury.resolver.ClassResolver$1.onSuccess(ClassResolver.java:941) ~[flash-serializer-v1.jar:?]
at org.apache.fury.resolver.ClassResolver$1.onSuccess(ClassResolver.java:938) ~[flash-serializer-v1.jar:?]
at org.apache.fury.builder.JITContext.lambda$registerSerializerJITCallback$0(JITContext.java:94) ~[flash-serializer-v1.jar:?]
at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1149) ~[?:1.8.0_372]
... 2 more
Caused by: java.lang.LinkageError: bad method type alias: (Fury,Class)void not visible from class org.apache.flink.table.data.binary.BinaryStringDataFuryCodec_0
at java.lang.invoke.MemberName.checkForTypeAlias(MemberName.java:793) ~[?:1.8.0_372]
at java.lang.invoke.MemberName$Factory.resolve(MemberName.java:976) ~[?:1.8.0_372]
at java.lang.invoke.MemberName$Factory.resolveOrFail(MemberName.java:1000) ~[?:1.8.0_372]
at java.lang.invoke.MethodHandles$Lookup.resolveOrFail(MethodHandles.java:1386) ~[?:1.8.0_372]
at java.lang.invoke.MethodHandles$Lookup.findConstructor(MethodHandles.java:924) ~[?:1.8.0_372]
at org.apache.fury.serializer.Serializers.createSerializer(Serializers.java:127) ~[flash-serializer-v1.jar:?]
at org.apache.fury.serializer.Serializers.newSerializer(Serializers.java:104) ~[flash-serializer-v1.jar:?]
at org.apache.fury.resolver.ClassResolver$1.onSuccess(ClassResolver.java:941) ~[flash-serializer-v1.jar:?]
at org.apache.fury.resolver.ClassResolver$1.onSuccess(ClassResolver.java:938) ~[flash-se rializer-v1.jar:?]
at org.apache.fury.builder.JITContext.lambda$registerSerializerJITCallback$0(JITContext.java:94) ~[flash-serializer-v1.jar:?]
at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1149) ~[?:1.8.0_372]
... 2 more

Anything Else?

No response

Are you willing to submit a PR?

  • I'm willing to submit a PR!

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions