Skip to content
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

pitest-survival-check-xml.groovy: ArrayIndexOutOfBoundsException #12132

Closed
rnveach opened this issue Aug 28, 2022 · 1 comment · Fixed by #12217
Closed

pitest-survival-check-xml.groovy: ArrayIndexOutOfBoundsException #12132

rnveach opened this issue Aug 28, 2022 · 1 comment · Fixed by #12217
Assignees
Milestone

Comments

@rnveach
Copy link
Member

rnveach commented Aug 28, 2022

PS M:\checkstyleWorkspaceEclipse\checkstyle\.ci> groovy .\pitest-survival-check-xml.groovy

WARNING: An illegal reflective access operation has occurred
WARNING: Illegal reflective access by org.codehaus.groovy.reflection.CachedClass (file:/C:/RickysPrograms/groovy-2.5.18/lib/groovy-2.5.18.jar) to method java.lang.Object.finalize()
WARNING: Please consider reporting this to the maintainers of org.codehaus.groovy.reflection.CachedClass
WARNING: Use --illegal-access=warn to enable warnings of further illegal reflective access operations
WARNING: All illegal access operations will be denied in a future release

Caught: java.lang.ArrayIndexOutOfBoundsException: Index 0 out of bounds for length 0
java.lang.ArrayIndexOutOfBoundsException: Index 0 out of bounds for length 0
        at pitest-survival-check-xml.run(pitest-survival-check-xml.groovy:16)
        at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
        at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
        at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)

I would like to learn more about the script and how to execute it locally. I am having some issues with one my PRs and pitests, where each CI run says something different than the last run.

I think we should display a short usage statement on the expected/optional parameters.

@rnveach
Copy link
Member Author

rnveach commented Sep 20, 2022

Fix was merged

rnveach pushed a commit that referenced this issue Sep 20, 2022
@rnveach rnveach added this to the 10.3.4 milestone Sep 20, 2022
rnveach pushed a commit to rnveach/checkstyle that referenced this issue Sep 20, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
No open projects
Status: Done
2 participants