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

Invalid update JSON url (404) #60

Closed
ChiefArug opened this issue Jan 5, 2023 · 1 comment
Closed

Invalid update JSON url (404) #60

ChiefArug opened this issue Jan 5, 2023 · 1 comment
Assignees
Labels
1.19.X Related to Minecraft 1.19

Comments

@ChiefArug
Copy link

[Forge Version Check/INFO] [net.minecraftforge.fml.VersionChecker/]: [majruszsenchantments] Starting version check at https://raw.githubusercontent.com/Majrusz/MajruszsEnchantmentsMod/1.19.X/update.json
Forge Version Check/DEBUG] [net.minecraftforge.fml.VersionChecker/]: [majruszsenchantments] Received version check data:
404: Not Found
[Forge Version Check/WARN] [net.minecraftforge.fml.VersionChecker/]: Failed to process update information
com.google.gson.JsonSyntaxException: java.lang.IllegalStateException: Expected BEGIN_OBJECT but was NUMBER at line 1 column 4 path $
	at com.google.gson.Gson.fromJson(Gson.java:975) ~[gson-2.8.9.jar%23121!/:?]
	at com.google.gson.Gson.fromJson(Gson.java:928) ~[gson-2.8.9.jar%23121!/:?]
	at com.google.gson.Gson.fromJson(Gson.java:877) ~[gson-2.8.9.jar%23121!/:?]
	at com.google.gson.Gson.fromJson(Gson.java:848) ~[gson-2.8.9.jar%23121!/:?]
	at net.minecraftforge.fml.VersionChecker$1.process(VersionChecker.java:183) ~[fmlcore-1.19.2-43.2.1.jar%23818!/:?]
	at java.lang.Iterable.forEach(Iterable.java:75) [?:?]
	at net.minecraftforge.fml.VersionChecker$1.run(VersionChecker.java:114) [fmlcore-1.19.2-43.2.1.jar%23818!/:?]
Caused by: java.lang.IllegalStateException: Expected BEGIN_OBJECT but was NUMBER at line 1 column 4 path $
	at com.google.gson.stream.JsonReader.beginObject(JsonReader.java:384) ~[gson-2.8.9.jar%23121!/:?]
	at com.google.gson.internal.bind.MapTypeAdapterFactory$Adapter.read(MapTypeAdapterFactory.java:183) ~[gson-2.8.9.jar%23121!/:?]
	at com.google.gson.internal.bind.MapTypeAdapterFactory$Adapter.read(MapTypeAdapterFactory.java:145) ~[gson-2.8.9.jar%23121!/:?]
	at com.google.gson.Gson.fromJson(Gson.java:963) ~[gson-2.8.9.jar%23121!/:?]
	... 6 more

Nothing crash worthy, just an unneeded stack trace in the logs.

@Majrusz Majrusz self-assigned this Jan 8, 2023
@Majrusz Majrusz added the 1.19.X Related to Minecraft 1.19 label Jan 8, 2023
@Majrusz
Copy link
Owner

Majrusz commented Jan 8, 2023

Hi, my bad, I forgot to keep backward compatibility. Update the mod to the latest version and it should not log such warnings. Anyway, thanks for the report!

@Majrusz Majrusz closed this as completed Jan 8, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
1.19.X Related to Minecraft 1.19
Projects
None yet
Development

No branches or pull requests

2 participants