-
Notifications
You must be signed in to change notification settings - Fork 2.7k
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
Quarkus Tika Native Image Build Error #26853
Comments
/cc @Karm, @galderz, @sberyozkin, @zakkak |
Hello @mustafacalik I tried reproducing this with no success, can you please provide more details on how to reproduce? What I tried:
The |
When I tried it with "https://code.quarkus.io/d?e=awt&e=io.quarkiverse.tika%3Aquarkus-tika&cn=code.quarkus.io", i didn't get any error building as native image. To reproduce it add the folowing dependency and code block.
|
@mustafacalik Thanks, let me move this issue to the quarkus-tika project |
@gsmet, I can not select/choose https://github.com/quarkiverse/quarkus-tika in |
I have the same issue ;-) See: #25526 it comes only for quarkus version > 2.7 and --link-at-build-time Probably this oracle/graal#4661 will help. |
@sberyozkin you can only transfer issues inside the same organization. Given |
I have tried with quarkus 2.7.5.Final and GraalVM 22.1.0 but no change. The problem continues to exist. |
Are you sure, that you are using GraalVM 22.1.0? Could you pls try it again with |
@sberyozkin I've assigned the issue to you for now so that it's clear who's on it. Ping me if need a hand (@zakkak is away next few weeks). |
@galderz I think this issue could be closed because @mustafacalik opened a new issue here quarkiverse/quarkus-tika#51 This issue could be also related: quarkiverse/quarkus-tika#36 |
Ok @knuspertante, thanks |
Thanks @galderz - I'm finding it hard right now to find the time for dealing with Tika issues, but we are quite close on the Tika 2 update, will try Guillaume's suggestion once I'm back from PTO |
Describe the bug
I use quarkus-tika and quarkus-awt dependecies. While i don't define parser parameter in application.properties, it gives the folowing error.
Fatal error: org.graalvm.compiler.debug.GraalError: com.oracle.graal.pointsto.constraints.UnsupportedFeatureException: Detected a started Thread in the image heap. Threads running in the image generator are no longer running at image runtime. To see how this object got instantiated use --trace-object-instantiation=org.apache.sis.internal.system.DelayedExecutor.
As a solution, i gave the package as initilize-at-run-time parameter but after that it continues to give error
Expected behavior
No response
Actual behavior
No response
How to Reproduce?
remove quarkus.tika.parsers and mvn clean install -Dnative
Output of
uname -a
orver
No response
Output of
java -version
openjdk 11.0.13 2021-10-19
GraalVM version (if different from Java)
graalvm-ce-java11-22.1.0
Quarkus version or git rev
2.10.1.Final
Build tool (ie. output of
mvnw --version
orgradlew --version
)Apache Maven 3.6.3
Additional information
No response
The text was updated successfully, but these errors were encountered: