SpongeForge not starting on linux

Hi,

I’m testing spongeForge with latest builds availlable.
spongeforge-1.8-1577-2.1-DEV-949.jar
forge-1.8-11.14.4.1577-universal.jar

On Windows it work without any issue, but on my linux box it doesn’t start.
Do you have an idea ?
I also have latest java jdk installed 1.8.0u65.

It seems to be related to a JSON error, but why on linux and not windows ?

I also tested with prior version of spongeforge but with same result.

Regards,
Fabrice

---- Minecraft Crash Report ----

WARNING: coremods are present:
SpongeCoremod (spongeforge-1.8-1577-2.1-DEV-949.jar)
Contact their authors BEFORE contacting forge

// You should try our sister game, Minceraft!

Time: 12/20/15 11:41 AM
Description: Exception in server tick loop

net.minecraftforge.fml.common.LoaderException: java.lang.ExceptionInInitializerError
at net.minecraftforge.fml.common.LoadController.transition(LoadController.java:163)
at net.minecraftforge.fml.common.Loader.preinitializeMods(Loader.java:553)
at net.minecraftforge.fml.server.FMLServerHandler.beginServerLoading(FMLServerHandler.java:88)
at net.minecraftforge.fml.common.FMLCommonHandler.onServerStart(FMLCommonHandler.java:355)
at net.minecraft.server.dedicated.DedicatedServer.func_71197_b(DedicatedServer.java:117)
at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:438)
at java.lang.Thread.run(Thread.java:745)
Caused by: java.lang.ExceptionInInitializerError
at org.spongepowered.common.service.pagination.PlayerPaginationCalculator.(PlayerPaginationCalculator.java:75)
at org.spongepowered.common.service.pagination.SpongePaginationService.registerDefaultPaginationCalculators(SpongePaginationService.java:95)
at org.spongepowered.common.service.pagination.SpongePaginationService.(SpongePaginationService.java:90)
at org.spongepowered.common.SpongeBootstrap.initializeServices(SpongeBootstrap.java:70)
at org.spongepowered.mod.SpongeMod.onPreInit(SpongeMod.java:179)
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:497)
at com.google.common.eventbus.EventSubscriber.handleEvent(EventSubscriber.java:74)
at com.google.common.eventbus.SynchronizedEventSubscriber.handleEvent(SynchronizedEventSubscriber.java:47)
at com.google.common.eventbus.EventBus.dispatch(EventBus.java:322)
at com.google.common.eventbus.EventBus.dispatchQueuedEvents(EventBus.java:304)
at com.google.common.eventbus.EventBus.post(EventBus.java:275)
at net.minecraftforge.fml.common.LoadController.sendEventToModContainer(LoadController.java:212)
at net.minecraftforge.fml.common.LoadController.propogateStateMessage(LoadController.java:190)
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:497)
at com.google.common.eventbus.EventSubscriber.handleEvent(EventSubscriber.java:74)
at com.google.common.eventbus.SynchronizedEventSubscriber.handleEvent(SynchronizedEventSubscriber.java:47)
at com.google.common.eventbus.EventBus.dispatch(EventBus.java:322)
at com.google.common.eventbus.EventBus.dispatchQueuedEvents(EventBus.java:304)
at com.google.common.eventbus.EventBus.post(EventBus.java:275)
at net.minecraftforge.fml.common.LoadController.onPost(LoadController.java:54)
at net.minecraftforge.fml.common.LoadController.distributeStateMessage(LoadController.java:119)
at net.minecraftforge.fml.common.Loader.preinitializeMods(Loader.java:550)
… 5 more
Caused by: java.io.IOException: configurate.typesafe.config.ConfigException$Parse: Reader: 50: Expecting a value but got wrong token: ‘control character 0x80’ (JSON does not allow unescaped control character 0x80 in quoted strings, use a backslash escape) (if you intended ‘control character 0x80’ (JSON does not allow unescaped control character 0x80 in quoted strings, use a backslash escape) to be part of a key or string value, try enclosing the key or value in double quotes)
at ninja.leaping.configurate.loader.AbstractConfigurationLoader.load(AbstractConfigurationLoader.java:157)
at ninja.leaping.configurate.loader.ConfigurationLoader.load(ConfigurationLoader.java:42)
at org.spongepowered.common.service.pagination.PlayerPaginationCalculator.(PlayerPaginationCalculator.java:58)
… 32 more
Caused by: configurate.typesafe.config.ConfigException$Parse: Reader: 50: Expecting a value but got wrong token: ‘control character 0x80’ (JSON does not allow unescaped control character 0x80 in quoted strings, use a backslash escape) (if you intended ‘control character 0x80’ (JSON does not allow unescaped control character 0x80 in quoted strings, use a backslash escape) to be part of a key or string value, try enclosing the key or value in double quotes)
at configurate.typesafe.config.impl.ConfigDocumentParser$ParseContext.parseError(ConfigDocumentParser.java:201)
at configurate.typesafe.config.impl.ConfigDocumentParser$ParseContext.parseError(ConfigDocumentParser.java:197)
at configurate.typesafe.config.impl.ConfigDocumentParser$ParseContext.parseValue(ConfigDocumentParser.java:251)
at configurate.typesafe.config.impl.ConfigDocumentParser$ParseContext.parseObject(ConfigDocumentParser.java:422)
at configurate.typesafe.config.impl.ConfigDocumentParser$ParseContext.parseValue(ConfigDocumentParser.java:247)
at configurate.typesafe.config.impl.ConfigDocumentParser$ParseContext.parse(ConfigDocumentParser.java:580)
at configurate.typesafe.config.impl.ConfigDocumentParser.parse(ConfigDocumentParser.java:14)
at configurate.typesafe.config.impl.Parseable.rawParseValue(Parseable.java:260)
at configurate.typesafe.config.impl.Parseable.rawParseValue(Parseable.java:248)
at configurate.typesafe.config.impl.Parseable.parseValue(Parseable.java:180)
at configurate.typesafe.config.impl.Parseable.parseValue(Parseable.java:174)
at configurate.typesafe.config.impl.Parseable.parse(Parseable.java:299)
at configurate.typesafe.config.ConfigFactory.parseReader(ConfigFactory.java:668)
at ninja.leaping.configurate.hocon.HoconConfigurationLoader.loadInternal(HoconConfigurationLoader.java:104)
at ninja.leaping.configurate.hocon.HoconConfigurationLoader.loadInternal(HoconConfigurationLoader.java:54)
at ninja.leaping.configurate.loader.AbstractConfigurationLoader.load(AbstractConfigurationLoader.java:149)
… 34 more

A detailed walkthrough of the error, its code path and all known details is as follows:

– System Details –
Details:
Minecraft Version: 1.8
Operating System: Linux (amd64) version 4.2.6-201.fc22.x86_64
Java Version: 1.8.0_66, Oracle Corporation
Java VM Version: Java HotSpot™ 64-Bit Server VM (mixed mode), Oracle Corporation
Memory: 141360432 bytes (134 MB) / 444596224 bytes (424 MB) up to 893386752 bytes (852 MB)
JVM Flags: 0 total;
IntCache: cache: 0, tcache: 0, allocated: 0, tallocated: 0
FML: MCP v9.10 FML v8.0.99.99 Minecraft Forge 11.14.4.1577 4 mods loaded, 4 mods active
States: ‘U’ = Unloaded ‘L’ = Loaded ‘C’ = Constructed ‘H’ = Pre-initialized ‘I’ = Initialized ‘J’ = Post-initialized ‘A’ = Available ‘D’ = Disabled ‘E’ = Errored
UCH mcp{9.05} [Minecraft Coder Pack] (minecraft.jar)
UCH FML{8.0.99.99} [Forge Mod Loader] (forge-1.8-11.14.4.1577-universal.jar)
UCH Forge{11.14.4.1577} [Minecraft Forge] (forge-1.8-11.14.4.1577-universal.jar)
UCE sponge{1.8-1577-2.1-DEV-949} [SpongeForge] (spongeforge-1.8-1577-2.1-DEV-949.jar)
Loaded coremods (and transformers):
SpongeCoremod (spongeforge-1.8-1577-2.1-DEV-949.jar)
org.spongepowered.mod.asm.transformer.WorldGeneratorTransformer
org.spongepowered.common.launch.transformer.SpongeSuperclassTransformer
Profiler Position: N/A (disabled)
Is Modded: Definitely; Server brand changed to ‘fml,forge,SpongeForge’
Type: Dedicated Server (map_server.txt)

Mind pasting that to either gist.github.com or paste in pls

My wrong. Its another problem.
Nevermind this text
You can look my topic. I have same problem I think. No one can find a solution. But you can look solutions in my topic.

Based on the log, it looks like one of your config file has an invalid character. Try deleting (or renaming) or config directory, and try starting your server again.

It’s an invalid character in Sponge’s font-sizes.json

Thanks, that was the issue. I just put the row in comment and now server is started properly.
I suppose it will be fixed in a next build ?

For those who are interested :
The solution is too replace last line of the file font-sizes.json and replace it by the following content :

Regards,
Fabrice.

is this likely to be fixed within sponge itself at all? i’ve been chasing this same fault under linux - i can’t get any build for some time to run. originally I thought this might be a forge problem, but I’ve gone back to forge (and matching sponge builds) for 1577, 1568 and 1565 all which give the same fault.

if I go back to significantly earlier sponge builds it appears to be ok, but perhaps that’s before this specific config file even existed.

i’m just trying to get a handle on this - running under 64 bit linux, is this fundamentally a forge, a sponge or an environmental issue?

with new builds of sponge coming out regularly, it’s going to be frustrating to constantly modify/replace a file manually each time especially if there is an effective/efficient fix from the sponge side, especially if it still runs multiplatform with no problems.

i’m super excited by the new sponge builds, but can’t run any of these :frowning:

i’m happy to continue chasing this as an environmental or forge issue, but I need to know whether I’m wasting my time.

i’m also curious why more people haven’t reported this. surely @Fabrice_Poulet and myself can’t be the only two firing up sponge under linux?

cheers, wizdude.

Maybe your locale is not UTF-8 compatible? See if you can get it to be in UTF-8 mode.

1 Like

BINGO! Give the man a cigar.

That was it!

I use Slackware Linux, which by default does not run with UTF-8 support enabled. I enabled UTF-8 in the kernel and changed the default language settings to match and sponge fired up perfectly!

Thank you so much for that suggestion. Cheers!

@Fabrice_Poulet i don’t know if that might assist you as well.

Yes certainly.
I have no time to check at the moment. but it will probably fix the issue for me too.
Thanks.

I don’t know if it is documented somewhere but if it is not the case, it will be usefull for every one.

Regards,

You aren’t the only folks with the issue.

I have a ticket created here, awaiting a fix.
https://github.com/SpongePowered/SpongeCommon/issues/390