-
Notifications
You must be signed in to change notification settings - Fork 51
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
NullPointerException
when using 0.9.12 and later to run tests with native image compilation
#270
Comments
Can you run the Maven command with "-X" (debug) and copy-paste it in https://gist.github.com ? |
Yes, I've edited the issue description above to include a snippet of the stacktrace determine from |
Nice. It shows the exact line number that hit NullPointerException. Let's wait for the maintainers.
|
NullPointerException fix graalvm#270
Allow running native:build from the command-line graalvm#273 NullPointerException fix graalvm#270
Allow running native:build from the command-line graalvm#273 (TODO: fix samples) NullPointerException fix graalvm#270 Signed-off-by: Lazar Mitrović <lazar.mitrovic@oracle.com>
Allow running native:build from the command-line graalvm#273 (TODO: fix samples) NullPointerException fix graalvm#270 Rename Mojos (use native:compile from the command line) Signed-off-by: Lazar Mitrović <lazar.mitrovic@oracle.com>
Allow running native:build from the command-line graalvm#273 (TODO: fix samples) NullPointerException fix graalvm#270 Rename Mojos (use native:compile from the command line) Signed-off-by: Lazar Mitrović <lazar.mitrovic@oracle.com>
Also come across this case. And I found that when adding |
Allow running native:build from the command-line graalvm#273 NullPointerException fix graalvm#270 Rename Mojos (use native:compile from the command line) Signed-off-by: Lazar Mitrović <lazar.mitrovic@oracle.com>
Describe the bug
Running a simple test with
native-maven-plugin
0.9.12 and later is resulting aNullPointerException
at build time.To Reproduce
Reproduce: https://github.com/mpeddada1/junit-testrule
Expected behavior
The tests run successfully with the versions in question.
Logs
Following the steps in the README of the reproducer is resulting in this stacktrace:
Snippet of stacktrace with -X flag
However, note that this test runs successfully with
0.9.11
System Info (please complete the following information):
Linux
I'm wondering if anyone has run into this problem? Thank you!
cc @suztomo @meltsufin
The text was updated successfully, but these errors were encountered: