Skip to content

[Native Image] Fatal error: java.lang.ArrayIndexOutOfBoundsException: Index -1 out of bounds for length 1 #11278

Closed
@Bpby222

Description

@Bpby222

Describe the Issue

Image

Using the latest version of GraalVM can resolve many issues.

GraalVM Version

java version "21.0.4" 2024-07-16 LTS
Java(TM) SE Runtime Environment Oracle GraalyM 21.0.4+8.1 (build 21.0.4+8-LTS-jvmci-23.1-b41)
Java Hotspot(TM) 64-Bit server VM oracle GraalVM 21.0.4+8,1 (build 21.0.4+8-LTS-jvmci-23.1-b41, mixed mode, sharing)

Operating System and Version

UTC 2021 x86 64 x86 64 x86 64 GNU/Linux

Build Command

Image

Expected Behavior

build success

Actual Behavior

Fatal error: java.lang.ArrayIndexOutOfBoundsException: Index -1 out of bounds for length 1

Steps to Reproduce

mvn -X-pl start native:compile -Ptest-DskipTests=true --settings ./settings.xml

Additional Context

No response

Build Log Output and Error Messages

No response

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions