[graalvm-users] XML parsing error with native-image
Shaun Smith
shaun.smith at oracle.com
Fri Apr 30 11:42:42 PDT 2021
Hi Ed,
We'll reach out directly to you to diagnose this.
Shaun
On 2021-04-30 2:00 p.m., Ed Peters wrote:
> Hi gang,
>
> I generated an executable by following the following process:
>
> * Creating an executable JAR
> * Running it with the tracing agent to generate my reflection configs
> * Generating a native image using those configs
>
> The build works fine, and the executable starts. One of the first
> things it does is to parse an XML file from the filesystem, and I'm
> getting an NPE from the XML parser inside the JVM. I've attached an
> exception stack trace, and the offending XML file, in case that helps.
> Also ...
>
> $ java -version
>
> openjdk version "11.0.10" 2021-01-19
>
> OpenJDK Runtime Environment GraalVM CE 21.0.0 (build
> 11.0.10+8-jvmci-21.0-b06)
>
> OpenJDK 64-Bit Server VM GraalVM CE 21.0.0 (build
> 11.0.10+8-jvmci-21.0-b06, mixed mode, sharing)
>
>
> This is exactly the same codepath I ran using the tracing agent, so I
> don't *think* the error should be reflection-related, but I'm open to
> suggestions. Also, are there any known bugs in XML parsing?
>
> Thanks,
> Ed
>
>
>
> --
> Capital One
> Senior Director, Architecture
> ------------------------------------------------------------------------
>
>
> The information contained in this e-mail is confidential and/or
> proprietary to Capital One and/or its affiliates and may only be used
> solely in performance of work or services for Capital One. The
> information transmitted herewith is intended only for use by the
> individual or entity to which it is addressed. If the reader of this
> message is not the intended recipient, you are hereby notified that
> any review, retransmission, dissemination, distribution, copying or
> other use of, or taking of any action in reliance upon this
> information is strictly prohibited. If you have received this
> communication in error, please contact the sender and delete the
> material from your computer.
>
>
>
> _______________________________________________
> GraalVM-Users mailing list
> GraalVM-Users at oss.oracle.com
> https://oss.oracle.com/mailman/listinfo/graalvm-users
--
Oracle <http://www.oracle.com>
Shaun Smith | Director of Product Management
Oracle Labs — GraalVM
Mobile: +1 416 558 6244 | Phone: +1 905 502 3094 | Twitter: @shaunMsmith
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://oss.oracle.com/pipermail/graalvm-users/attachments/20210430/81ffd5c3/attachment-0001.html
-------------- next part --------------
A non-text attachment was scrubbed...
Name: oracle-email-sig.jpg
Type: image/jpeg
Size: 5744 bytes
Desc: not available
Url : http://oss.oracle.com/pipermail/graalvm-users/attachments/20210430/81ffd5c3/attachment-0001.jpg
More information about the GraalVM-Users
mailing list