Carpenter's Blocks

Carpenter's Blocks

24M Downloads

Server crash on startup (string index out of range: -1)

LaGranse opened this issue ยท 5 comments

commented

Hello,

I run a server with quite a few mods. We have had no problems with carpenter's blocks until 6 days ago when a map reset (new world folder) was performed. Since then the server would crash on startup whenever carpenter's blocks were enabled.

At the reset I made the config change of allowing freestanding ladders. This was however reverted after the first crash however with no change. To be safe I replaced the mods .jar-file, thinking maybe the config change messed something up. This was not the case.

Crash report:

http://pastebin.com/bv0ThMx6

Other info:

Mod version is CARPENTER'S BLOCKS V3.3.8 - MC 1.7.10

Carpenter's blocks worked fine for over 1 year, even through previous map resets, with no issues.

commented

This might be due to bad settings in the configuration file. Please check and report back on the part in config file labeled S:"Overlay Definitions"

commented

Here are the asked for lines:

# This maps items to overlays.

# Items are prefixed with display names (en_US only).

# Overlay suffixes are :grass, :snow, :web, :vine, :hay, :mycelium

S:"Overlay Definitions" <

    Seeds:grass

    Snowball:snow

    String:web

    Vines:vine

    Wheat:hay

    Mushroom:mycelium

 >
commented

bump.

I assume this was not the cause? Any other ideas?

commented

It is having an issue reading the overlays from the configuration file. I have not seen this happen before. It could be due to the way it's reading the file in Linux environment, or potentially from core mods. Best thing you can try is see if it works with Forge + Carpenter's Blocks. That will rule out incompatibilities with other mods.

commented

I deleted the config file and enabled the mod. The new config generated worked even though when I compare the two all lines are identical (apart from spacing).

If you want I can send you both files or we can close it here as a one time occurrence since it's now working.