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

Unescaped newlines prevent running forge.sh #6744

Open
Henelik opened this issue Jan 4, 2025 · 3 comments
Open

Unescaped newlines prevent running forge.sh #6744

Henelik opened this issue Jan 4, 2025 · 3 comments

Comments

@Henelik
Copy link

Henelik commented Jan 4, 2025

Describe the bug
forge.sh is missing escape characters for the newlines in the java call. This causes the shell script to fail without starting Forge.

To Reproduce
Steps to reproduce the behavior:

  1. Run forge.sh on Linux or Mac

Expected behavior
Forge starts

Desktop (please complete the following information):

  • OS: Linux Mint 21.3 Cinnamon
  • Version: 2.0.0, 2.0.02 (nightly)
@Hanmac
Copy link
Contributor

Hanmac commented Jan 4, 2025

Already fixed today, try snapshot

@Henelik
Copy link
Author

Henelik commented Jan 5, 2025

Already fixed today, try snapshot

The install for snapshot 1.04 doesn't run:

java -jar forge-installer-2.0.02-SNAPSHOT-01.04.jar 
SEVERE: java.lang.ArrayIndexOutOfBoundsException: Index 70131 out of bounds for length 22674

The newline problem still exists on snapshot 1.03.

@Hanmac
Copy link
Contributor

Hanmac commented Jan 7, 2025

The install for snapshot 1.04 doesn't run:

The newline problem was fixed with 1.04, so of course it does still exist on snapshot 1.03

for the ArrayIndexOutOfBoundsException, do we need a longer backtrace if able

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants