-
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-native failure: Can't load standard profile: GRAY.pf #12972
Comments
@JiriOndrusek Are you aware of any fix to this issue yet? We are running into same issue when trying to process a DICOM image in native mode. Thanks. |
@jeesmon I'm not aware of any fix to that issue. But there are some issues linked to awt, which are probably being solved right now (e.g. graalvm/mandrel#180, oracle/graal#1163, #12393) and there is a change, that it will have positive impact to this issue. |
I would try with either GraalVM 20.3.1 or GraalVM 21. |
@gsmet No luck :(
quarkus: 1.11.0.Final |
@jeesmon could you please share a reproducer? |
@zakkak I will share a reproducer very soon. Thanks. |
So it's indeed a bit better because the exception you have here comes from Quarkus, namely @zakkak I wonder if we could remove all these substitutions and see how it goes now that they did some work in this area. |
BTW, a bit unrelated but we might also want to revisit |
@zakkak @gsmet Reproducer is available here: https://github.com/jeesmon/issue-12972 |
@jeesmon sorry for not posting any updates. Removing the LCMS substitutions (
Running:
I was able to get the application to start but it crashes (segmentation fault), so more work is needed to support this. Furthermore to make the above procedure user friendly we need to implement #13567. |
Thanks for the quick update @zakkak |
Hello @JiriOndrusek, @jeesmon I tested your reproducer with more or less (today's) quarkus main as is (rearranged pom), using early access mandrel-java11-linux-amd64-21.3.0.0-Final.tar.gz (JDK 11.0.13+7 ea): It fails as expected:
When I add the new AWT extension, it is all peachy: + <dependency>
+ <groupId>io.quarkus</groupId>
+ <artifactId>quarkus-awt</artifactId>
+ </dependency>
|
Describe the bug
During implementation of camel-quarkus extension of camel-barcode, I've faced an issue linked to awt profile:
Can't load standard profile: GRAY.pf
Expected behavior
No error is happening and profile is loaded.
Actual behavior
See reproducer. Stacktrace of the exception is:
To Reproduce
Here is a simple roproducer: https://github.com/JiriOndrusek/cannot-find-gray-pf-reproducer
Dev mode works correctly, but native mode fails with above exception.
Additional context
I was looking into some graalvm jdks for java 8 and there was a file
/jre/lib/cmm/GRAY.pf
which is not present in graalvm jdk for java 11. But the same problem is happening if graalvm-ce-java8-20.2.0 is used, so there is probably no influence.But just the fact that file existin graalvm-ce-java8-20.2.0, shows that it should work.
The text was updated successfully, but these errors were encountered: