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

validate version 3.5.0-snapshot not working on Windows server #868

Closed
edguinness opened this issue Apr 11, 2024 · 3 comments
Closed

validate version 3.5.0-snapshot not working on Windows server #868

edguinness opened this issue Apr 11, 2024 · 3 comments
Assignees
Labels
bug Something isn't working invalid This doesn't seem right needs:triage

Comments

@edguinness
Copy link

Checked for duplicates

No - I haven't checked

🐛 Describe the bug

Tried to validate a bundle using version 3.5.0-snapshot with Java 15.0.2 on a Windows server. The following message was displayed on the command window:
Q:\stage\VikingLander\validation>validate -D -v2 -C catalog_v02.xml -R pds4.bundle -r rocks_noc.txt -t Q:\stage\VikingLa
nder\PDS4\urn-nasa-pds-vl_rocks
Exception in thread "main" java.lang.NoSuchMethodError: java.lang.String.repeat(I)Ljava/lang/String;
at gov.nasa.pds.validate.report.FullReport.end(FullReport.java:172)
at gov.nasa.pds.validate.report.Report.printHeader(Report.java:145)
at gov.nasa.pds.validate.ValidateLauncher.setupReport(ValidateLauncher.java:1322)
at gov.nasa.pds.validate.ValidateLauncher.processMain(ValidateLauncher.java:1683)
at gov.nasa.pds.validate.ValidateLauncher.main(ValidateLauncher.java:1764)
Q:\stage\VikingLander\validation>validate -V

gov.nasa.pds:validate
Version 3.5.0-SNAPSHOT
Release Date: 2024-02-09 18:40:35

The resulting report file was empty.

🕵️ Expected behavior

I expected [...]

📜 To Reproduce

...

🖥 Environment Info

version 3.5.0-snapshot; Java 15.0.2

  • Windows server
    ...

📚 Version of Software Used

No response

🩺 Test Data / Additional context

No response

🦄 Related requirements

🦄 #xyz

⚙️ Engineering Details

No response

@edguinness
Copy link
Author

Note that when running 3.5.0 on my Windows 10 laptop with Java 11, I get the issue that is documented in issue #854.

@jordanpadams
Copy link
Member

@edguinness can you send over the values for your JAVA_HOME and PATH? This is most likely a Java version issue.

@jordanpadams jordanpadams added the invalid This doesn't seem right label Apr 13, 2024
@jordanpadams
Copy link
Member

Per offline discussion, closing as invalid since this was an issue with a JAVA_HOME system configuration.

@github-project-automation github-project-automation bot moved this from Backlog to 🏁 Done in EN Portfolio Backlog Apr 13, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working invalid This doesn't seem right needs:triage
Projects
Status: 🏁 Done
Development

No branches or pull requests

2 participants