Jump to content

Issues with Resource Packs


SlaveToHeaven

Recommended Posts

Recently Ive been facing an issue where my console outputs a "Failed to parse resource pack prompt" error then says something about use Jsonreadon.setLenient(true) to read malformed json ;-;

I cant find any fix on the internet for it and unfortunately it is not minehuts expertise to know what any of that means so they cant help... if there is already a fix for it and im just missing something important please link it but if there is nothing can someone please help me?

Link to comment
Share on other sites

1 minute ago, SlaveToHeaven said:

Recently Ive been facing an issue where my console outputs a "Failed to parse resource pack prompt" error then says something about use Jsonreadon.setLenient(true) to read malformed json ;-;

I cant find any fix on the internet for it and unfortunately it is not minehuts expertise to know what any of that means so they cant help... if there is already a fix for it and im just missing something important please link it but if there is nothing can someone please help me?

Code Snippet in spoiler for anyone involved enough in coding to read and see possible errors.

Spoiler
[17:04:03 WARN]: Failed to parse resource pack prompt 'https://www.dropbox.com/s/xyhu28ab1xq4e6g/TrialOfNirTextures.zip?dl=1'
com.google.gson.JsonSyntaxException: com.google.gson.stream.MalformedJsonException: Use JsonReader.setLenient(true) to accept malformed JSON at line 1 column 1 path $
	at com.google.gson.internal.Streams.parse(Streams.java:60) ~[patched_1.17.1.jar:git-Paper-411]
	at com.google.gson.internal.bind.TreeTypeAdapter.read(TreeTypeAdapter.java:65) ~[patched_1.17.1.jar:git-Paper-411]
	at net.minecraft.util.GsonHelper.fromJson(GsonHelper.java:493) ~[app:?]
	at net.minecraft.util.GsonHelper.fromJson(GsonHelper.java:517) ~[app:?]
	at net.minecraft.network.chat.Component$Serializer.fromJson(Component.java:432) ~[app:?]
	at net.minecraft.server.dedicated.DedicatedServer.parseResourcePackPrompt(DedicatedServer.java:863) ~[patched_1.17.1.jar:git-Paper-411]
	at net.minecraft.server.dedicated.DedicatedServer.<init>(DedicatedServer.java:101) ~[patched_1.17.1.jar:git-Paper-411]
	at net.minecraft.server.Main.lambda$main$0(Main.java:233) ~[patched_1.17.1.jar:git-Paper-411]
	at net.minecraft.server.MinecraftServer.spin(MinecraftServer.java:325) ~[patched_1.17.1.jar:git-Paper-411]
	at net.minecraft.server.Main.main(Main.java:232) ~[patched_1.17.1.jar:git-Paper-411]
	at org.bukkit.craftbukkit.Main.main(Main.java:293) ~[patched_1.17.1.jar:git-Paper-411]
	at jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method) ~[?:?]
	at jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:77) ~[?:?]
	at jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) ~[?:?]
	at java.lang.reflect.Method.invoke(Method.java:568) ~[?:?]
	at io.papermc.paperclip.Paperclip.main(Paperclip.java:49) ~[server.jar:?]
Caused by: com.google.gson.stream.MalformedJsonException: Use JsonReader.setLenient(true) to accept malformed JSON at line 1 column 1 path $
	at com.google.gson.stream.JsonReader.syntaxError(JsonReader.java:1562) ~[patched_1.17.1.jar:git-Paper-411]
	at com.google.gson.stream.JsonReader.checkLenient(JsonReader.java:1403) ~[patched_1.17.1.jar:git-Paper-411]
	at com.google.gson.stream.JsonReader.doPeek(JsonReader.java:592) ~[patched_1.17.1.jar:git-Paper-411]
	at com.google.gson.stream.JsonReader.peek(JsonReader.java:424) ~[patched_1.17.1.jar:git-Paper-411]
	at com.google.gson.internal.Streams.parse(Streams.java:46) ~[patched_1.17.1.jar:git-Paper-411]
	... 15 more

 

 

Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...