Fluidlogged API

Fluidlogged API

356k Downloads

Unterminated string at line 60 column 22 path $.erebus

Closed this issue · 6 comments

commented

Every time I load the save, it crashes, but sometimes after starting a few times, it won’t crash again, which is very strange.Here's the crash log.

Time: 4/8/25 9:18 AM
Description: Exception in server tick loop

net.minecraftforge.fml.common.LoaderExceptionModCrash: Caught exception from Fluidlogged API (fluidlogged_api)
Caused by: com.google.gson.JsonSyntaxException: com.google.gson.stream.MalformedJsonException: Unterminated string at line 60 column 22 path $.erebus
at com.google.gson.internal.Streams.parse(Streams.java:60)
at com.google.gson.JsonParser.parse(JsonParser.java:84)
at com.google.gson.JsonParser.parse(JsonParser.java:59)
at git.jbredwards.fluidlogged_api.mod.common.config.handler.OnlineConfigHandler.downloadModConfigs(OnlineConfigHandler.java:52)
at git.jbredwards.fluidlogged_api.mod.common.config.FluidloggedAPIConfigs.initConfigs(FluidloggedAPIConfigs.java:44)
at git.jbredwards.fluidlogged_api.mod.FluidloggedAPI.aboutToStart(FluidloggedAPI.java:159)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:498)
at net.minecraftforge.fml.common.FMLModContainer.handleModStateEvent(FMLModContainer.java:637)
at sun.reflect.GeneratedMethodAccessor4.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:498)
at com.google.common.eventbus.Subscriber.invokeSubscriberMethod(Subscriber.java:91)
at com.google.common.eventbus.Subscriber$SynchronizedSubscriber.invokeSubscriberMethod(Subscriber.java:150)
at com.google.common.eventbus.Subscriber$1.run(Subscriber.java:76)
at com.google.common.util.concurrent.MoreExecutors$DirectExecutor.execute(MoreExecutors.java:399)
at com.google.common.eventbus.Subscriber.dispatchEvent(Subscriber.java:71)
at com.google.common.eventbus.Dispatcher$PerThreadQueuedDispatcher.dispatch(Dispatcher.java:116)
at com.google.common.eventbus.EventBus.post(EventBus.java:217)
at net.minecraftforge.fml.common.LoadController.sendEventToModContainer(LoadController.java:219)
at net.minecraftforge.fml.common.LoadController.propogateStateMessage(LoadController.java:197)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:498)
at com.google.common.eventbus.Subscriber.invokeSubscriberMethod(Subscriber.java:91)
at com.google.common.eventbus.Subscriber$SynchronizedSubscriber.invokeSubscriberMethod(Subscriber.java:150)
at com.google.common.eventbus.Subscriber$1.run(Subscriber.java:76)
at com.google.common.util.concurrent.MoreExecutors$DirectExecutor.execute(MoreExecutors.java:399)
at com.google.common.eventbus.Subscriber.dispatchEvent(Subscriber.java:71)
at com.google.common.eventbus.Dispatcher$PerThreadQueuedDispatcher.dispatch(Dispatcher.java:116)
at com.google.common.eventbus.EventBus.post(EventBus.java:217)
at net.minecraftforge.fml.common.LoadController.distributeStateMessage(LoadController.java:136)
at net.minecraftforge.fml.common.Loader.serverAboutToStart(Loader.java:859)
at net.minecraftforge.fml.common.FMLCommonHandler.handleServerAboutToStart(FMLCommonHandler.java:292)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:498)
at net.optifine.reflect.Reflector.callBoolean(Reflector.java:857)
at net.minecraft.server.integrated.IntegratedServer.func_71197_b(IntegratedServer.java:230)
at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:486)
at java.lang.Thread.run(Thread.java:750)
Caused by: com.google.gson.stream.MalformedJsonException: Unterminated string at line 60 column 22 path $.erebus
at com.google.gson.stream.JsonReader.syntaxError(JsonReader.java:1559)
at com.google.gson.stream.JsonReader.nextQuotedValue(JsonReader.java:1017)
at com.google.gson.stream.JsonReader.nextName(JsonReader.java:787)
at com.google.gson.internal.bind.TypeAdapters$29.read(TypeAdapters.java:739)
at com.google.gson.internal.bind.TypeAdapters$29.read(TypeAdapters.java:714)
at com.google.gson.internal.Streams.parse(Streams.java:48)
... 44 more

No Mixin Metadata is found in the Stacktrace.

commented

Can you send the full log? (not the crash log)

commented

Can you send the full log? (not the crash log)

OK, here's it.

2025-04-08-3.log.gz

commented

Perhaps it's a corrupted .minecraft\config\fluidlogged_api\internal\versions.jsonc file? Try deleting it and let me know if that fixes anything.

commented

Perhaps it's a corrupted .minecraft\config\fluidlogged_api\internal\versions.jsonc file? Try deleting it and let me know if that fixes anything.

Now it's working. I'll test it for sevral days.

But some blocks in saves and new generated are not waterlogged such as kelp in Oceanic Expense. I had to create a flow of water around these blocks to make them waterlogged.

commented

some blocks in saves and new generated are not waterlogged such as kelp in Oceanic Expense. I had to create a flow of water around these blocks to make them waterlogged.

Does this only occur with Oceanic Expanse blocks? If so, make sure you've updated to Oceanic Expanse v1.2.0 (as it's been fixed from their end). If not, can you tell me the other mods, so I can try to reproduce this issue?

commented

Does this only occur with Oceanic Expanse blocks? If so, make sure you've updated to Oceanic Expanse v1.2.0 (as it's been fixed from their end). If not, can you tell me the other mods, so I can try to reproduce this issue?

I've updated it now, and I create a new test save. Everything is working well. Thanks for your kind responses!