Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Throw required value not set exception when rawString is set to true #764

Closed
qian0817 opened this issue Apr 10, 2022 · 0 comments · Fixed by #765
Closed

Throw required value not set exception when rawString is set to true #764

qian0817 opened this issue Apr 10, 2022 · 0 comments · Fixed by #765

Comments

@qian0817
Copy link
Contributor

Please check the User Guide before submitting "how do I do 'x'?" questions!

Shadow Version

7.1.2

Gradle Version

7.4.2

Expected Behavior

work well when rawString is true.

Actual Behavior

Throw required value not set exception when rawString is set to true.

Gradle Build Script(s)

tasks.withType<ShadowJar> {
    val prefix = "shaded"
    listOf(
        "io.netty",
    ).forEach { relocate(it, "$prefix.$it") }
    relocate(
        SimpleRelocator(
            "META-INF/native/libnetty_transport_native_epoll_x86_64.so",
            "META-INF/native/lib${prefix.replace(".", "_")}_netty_transport_native_epoll_x86_64.so",
            emptyList(),
            emptyList(),
            true
        )
    )
}

Content of Shadow JAR (jar tf <jar file> - post link to GIST if too long)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant