Skip to content

[Bug] skin unable to load #416

Description

@hef-sus

✔️ Pre-check

  • [✔️ ] Tested with the latest snapshot of BetterModel from Modrinth
  • [✔️ ] Confirmed the issue occurs without other optional/experimental plugins or clients (see Disclaimer below)

The player skin unable to load

[03:18:17 WARN]: [BetterModel] Unable to get hef_sus's skin data.
[03:18:17 WARN]: [BetterModel] Reason: com.google.gson.JsonSyntaxException: com.google.gson.stream.MalformedJsonException: Use JsonReader.setStrictness(Strictness.LENIENT) to accept malformed JSON at line 1 column 12 path $
See https://github.com/google/gson/blob/main/Troubleshooting.md#malformed-json
[03:18:17 WARN]: [BetterModel] Stack trace:
[03:18:17 WARN]: [BetterModel] java.util.concurrent.CompletionException: com.google.gson.JsonSyntaxException: com.google.gson.stream.MalformedJsonException: Use JsonReader.setStrictness(Strictness.LENIENT) to accept malformed JSON at line 1 column 12 path $
See https://github.com/google/gson/blob/main/Troubleshooting.md#malformed-json
at java.base/java.util.concurrent.CompletableFuture.wrapInCompletionException(CompletableFuture.java:323)
at java.base/java.util.concurrent.CompletableFuture.encodeThrowable(CompletableFuture.java:359)
at java.base/java.util.concurrent.CompletableFuture.completeThrowable(CompletableFuture.java:364)
at java.base/java.util.concurrent.CompletableFuture$UniApply.tryFire(CompletableFuture.java:670)
at java.base/java.util.concurrent.CompletableFuture.postComplete(CompletableFuture.java:531)
at java.base/java.util.concurrent.CompletableFuture.postFire(CompletableFuture.java:635)
at java.base/java.util.concurrent.CompletableFuture$UniWhenComplete.tryFire(CompletableFuture.java:865)
at java.base/java.util.concurrent.CompletableFuture$Completion.exec(CompletableFuture.java:504)
at java.base/java.util.concurrent.ForkJoinTask.doExec(ForkJoinTask.java:511)


🌍 Environment

  • OS: (Windows, Linux, etc.)
  • Server software & version: (Paper 26.2, etc.)

Disclaimer

The following environments are not supported, and issues occurring under these conditions will not be handled:

- Informal / modified launchers (e.g., Feather client)
- Closed-source mods/plugins (Optifine, ItemsAdder, Nexo, etc.)
- Hybrid server platforms (e.g., Arclight)

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

bugSomething isn't working

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions