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

Plugin packs are incorrectly loaded #4064

Closed
pandier opened this issue Jun 27, 2024 · 0 comments · Fixed by #4069
Closed

Plugin packs are incorrectly loaded #4064

pandier opened this issue Jun 27, 2024 · 0 comments · Fixed by #4069
Labels
status: needs triage This label is automatically applied to new issues and pull requests to indicate they require triage type: bug Something isn't working

Comments

@pandier
Copy link
Contributor

pandier commented Jun 27, 2024

Affected Product(s)

SpongeVanilla

Version

1.20.6-11.0.1-RC1707

Operating System

Linux (Fedora 40)

Java Version

openjdk 21.0.3

Plugins/Mods

- Custom plugin (see bug details)

Describe the bug

When a plugin contains any data/assets resources (data/minecraft/dimension/overworld.json in my case) the server fails to load with a StringIndexOutOfBoundsException: Range [x, y) out of bounds for length n (x, y, n depending on the path of the resource). The resource can be located at any path as long as it's inside a valid namespace (data/minecraft/doesnotmatter/atall.json also fails to load)

Reproducing

  1. Create a new sponge plugin
  2. Add data/minecraft/dimension/overworld.json with any data (doesn't matter) to plugin resources
  3. Run SpongeVanilla with the plugin

Link to logs

https://paste.gg/p/anonymous/017c5a63cfee4ee190a8900761d7d065

@pandier pandier added status: needs triage This label is automatically applied to new issues and pull requests to indicate they require triage type: bug Something isn't working labels Jun 27, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
status: needs triage This label is automatically applied to new issues and pull requests to indicate they require triage type: bug Something isn't working
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant