Problem Server crashed, and refuses to restart

  • The FTB Forum is now read-only, and is here as an archive. To participate in our community discussions, please join our Discord! https://ftb.team/discord

Dubslow

New Member
Jul 29, 2019
5
0
0
Original crash that happened randomly as far as I can tell.
Crash report:
Code:
cat crash-2012-12-24_02.47.00-server.txt
---- Minecraft Crash Report ----
// I feel sad now :(
 
Time: 12/24/12 2:47 AM
Description: Exception in server tick loop
 
java.lang.NullPointerException
        at tv.a(SourceFile:177)
        at railcraft.common.blocks.machine.alpha.TileSteamTurbine.g(TileSteamTurbine.java:171)
        at xe.h(World.java:2020)
        at ie.h(WorldServer.java:463)
        at net.minecraft.server.MinecraftServer.r(MinecraftServer.java:649)
        at hg.r(DedicatedServer.java:241)
        at net.minecraft.server.MinecraftServer.q(MinecraftServer.java:585)
        at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:492)
        at fp.run(SourceFile:818)
 
Relevant Details:
- Minecraft Version: 1.4.2
- Operating System: Linux (amd64) version 3.2.0-35-generic
- Java Version: 1.7.0_09, Oracle Corporation
- Java VM Version: OpenJDK 64-Bit Server VM (mixed mode), Oracle Corporation
- Memory: 174403112 bytes (166 MB) / 679215104 bytes (647 MB) up to 1908932608 bytes (1820 MB)
- JVM Flags: 2 total; -Xms512M -Xmx2048M
- AABB Pool Size: 3515 (196840 bytes; 0 MB) allocated, 3302 (184912 bytes; 0 MB) used
- FML: ~ERROR~ NullPointerException: null
- Is Modded: Definitely; 'forge,fml'
- Profiler Position: N/A (disabled)
- Vec3 Pool Size: 796 (44576 bytes; 0 MB) allocated, 732 (40992 bytes; 0 MB) used
- Player Count: 1 / 25; [ih['Dubslow'/334487, l='FTB-Beta-A', x=-224.51, y=70.75, z=266.85]]
- World FTB-Beta-A Entities: 0 total; []
- World FTB-Beta-A Players: 0 total; []
- World FTB-Beta-A Chunk Stats: ServerChunkCache: 0 Drop: 0
- Type: Dedicated Server
So I typed "/stop". Normally after a crash it takes like two minutes to properly save, but after ten it didn't seem to be any closer to saved, so I Ctrl+C'd it.
Code:
2012-12-24 02:47:00 [SEVERE] [Minecraft] Encountered an unexpected exception NullPointerException
java.lang.NullPointerException
        at tv.a(SourceFile:177)
        at railcraft.common.blocks.machine.alpha.TileSteamTurbine.g(TileSteamTurbine.java:171)
        at xe.h(World.java:2020)
        at ie.h(WorldServer.java:463)
        at net.minecraft.server.MinecraftServer.r(MinecraftServer.java:649)
        at hg.r(DedicatedServer.java:241)
        at net.minecraft.server.MinecraftServer.q(MinecraftServer.java:585)
        at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:492)
        at fp.run(SourceFile:818)
2012-12-24 02:47:00 [SEVERE] [Minecraft] This crash report has been saved to: /home/bill/minecraft/mods/./crash-reports/crash-2012-12-24_02.47.00-server.txt
/stop
2012-12-24 02:48:15 [INFO] [Minecraft] Stopping the server
2012-12-24 02:48:15 [INFO] [Minecraft] Stopping server
2012-12-24 02:48:15 [INFO] [Minecraft] Saving players
2012-12-24 02:48:15 [INFO] [STDERR] java.net.SocketException: Socket closed
2012-12-24 02:48:15 [INFO] [STDERR]    at java.net.PlainSocketImpl.socketAccept(Native Method)
2012-12-24 02:48:15 [INFO] [STDERR]    at java.net.AbstractPlainSocketImpl.accept(AbstractPlainSocketImpl.java:398)
2012-12-24 02:48:15 [INFO] [STDERR]    at java.net.ServerSocket.implAccept(ServerSocket.java:522)
2012-12-24 02:48:15 [INFO] [STDERR]    at java.net.ServerSocket.accept(ServerSocket.java:490)
2012-12-24 02:48:15 [INFO] [STDERR]    at hl.run(ServerListenThread.java:75)
2012-12-24 02:48:15 [INFO] [STDOUT] Closing listening thread
2012-12-24 02:48:15 [INFO] [STDOUT] Unloading Player: Dubslow
2012-12-24 02:48:16 [INFO] [Minecraft] Saving worlds
2012-12-24 02:48:16 [INFO] [Minecraft] Saving chunks for level 'FTB-Beta-A'/Overworld
2012-12-24 02:48:16 [INFO] [Minecraft] Saving chunks for level 'FTB-Beta-A'/Nether
2012-12-24 02:48:16 [INFO] [Minecraft] Saving chunks for level 'FTB-Beta-A'/The End
2012-12-24 02:48:16 [INFO] [Minecraft] Saving chunks for level 'FTB-Beta-A'/Twilight Forest
2012-12-24 02:48:16 [INFO] [ForgeModLoader] Unloading dimension 0
/stop
^C
That seems to have been a bad idea. Reproducible crash on attempted restart:
Code:
2012-12-24 03:06:09 [INFO] [ForgeModLoader] Forge Mod Loader has successfully loaded 34 mods
2012-12-24 03:06:09 [INFO] [Minecraft] Preparing level "FTB-Beta-A"
2012-12-24 03:06:09 [INFO] [ForgeModLoader] Loading dimension 0 (FTB-Beta-A) (hg@45a0ca8e)
2012-12-24 03:06:09 [INFO] [ForgeModLoader] Loading dimension 7 (FTB-Beta-A) (hg@45a0ca8e)
2012-12-24 03:06:09 [INFO] [STDOUT] Cache loaded.  Size = 143
2012-12-24 03:06:09 [INFO] [STDOUT] Readded hashes, hash size = 143
2012-12-24 03:06:09 [INFO] [STDOUT] [Portal Gun 1.4.2v0.3] Portal data does not exist for dimension 7!
2012-12-24 03:06:09 [INFO] [ForgeModLoader] Loading dimension 1 (FTB-Beta-A) (hg@45a0ca8e)
2012-12-24 03:06:09 [INFO] [STDOUT] [Portal Gun 1.4.2v0.3] Loaded 0 portals from portalgun.dat for dimension 1.
2012-12-24 03:06:09 [INFO] [ForgeModLoader] Loading dimension -1 (FTB-Beta-A) (hg@45a0ca8e)
2012-12-24 03:06:09 [INFO] [STDERR] l: loading nbt data
2012-12-24 03:06:09 [INFO] [STDERR]    at bu.b(SourceFile:100)
2012-12-24 03:06:09 [INFO] [STDERR]    at br.a(CompressedStreamTools.java:126)
2012-12-24 03:06:09 [INFO] [STDERR]    at br.a(CompressedStreamTools.java:33)
2012-12-24 03:06:09 [INFO] [STDERR]    at portalgun.common.PortalGun.loadList(PortalGun.java:637)
2012-12-24 03:06:09 [INFO] [STDERR]    at portalgun.common.core.EventHandler.onWorldLoad(EventHandler.java:90)
2012-12-24 03:06:09 [INFO] [STDERR]    at net.minecraftforge.event.ASMEventHandler_98_EventHandler_onWorldLoad_Load.invoke(.dynamic)
2012-12-24 03:06:09 [INFO] [STDERR]    at net.minecraftforge.event.ASMEventHandler.invoke(ASMEventHandler.java:35)
2012-12-24 03:06:09 [INFO] [STDERR]    at net.minecraftforge.event.EventBus.post(EventBus.java:103)
2012-12-24 03:06:09 [INFO] [STDERR]    at net.minecraft.server.MinecraftServer.a(MinecraftServer.java:278)
2012-12-24 03:06:09 [INFO] [STDERR]    at hg.c(DedicatedServer.java:153)
2012-12-24 03:06:09 [INFO] [STDERR]    at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:454)
2012-12-24 03:06:09 [INFO] [STDERR]    at fp.run(SourceFile:818)
2012-12-24 03:06:09 [INFO] [STDERR] Caused by: java.io.EOFException: Unexpected end of ZLIB input stream
2012-12-24 03:06:09 [INFO] [STDERR]    at java.util.zip.InflaterInputStream.fill(InflaterInputStream.java:240)
2012-12-24 03:06:09 [INFO] [STDERR]    at java.util.zip.InflaterInputStream.read(InflaterInputStream.java:158)
2012-12-24 03:06:09 [INFO] [STDERR]    at java.util.zip.GZIPInputStream.read(GZIPInputStream.java:116)
2012-12-24 03:06:09 [INFO] [STDERR]    at java.io.BufferedInputStream.fill(BufferedInputStream.java:235)
2012-12-24 03:06:09 [INFO] [STDERR]    at java.io.BufferedInputStream.read1(BufferedInputStream.java:275)
2012-12-24 03:06:09 [INFO] [STDERR]    at java.io.BufferedInputStream.read(BufferedInputStream.java:334)
2012-12-24 03:06:09 [INFO] [STDERR]    at java.io.DataInputStream.readFully(DataInputStream.java:195)
2012-12-24 03:06:09 [INFO] [STDERR]    at java.io.DataInputStream.readUTF(DataInputStream.java:609)
2012-12-24 03:06:09 [INFO] [STDERR]    at java.io.DataInputStream.readUTF(DataInputStream.java:564)
2012-12-24 03:06:09 [INFO] [STDERR]    at bu.b(SourceFile:90)
2012-12-24 03:06:09 [INFO] [STDERR]    at bh.a(SourceFile:33)
2012-12-24 03:06:09 [INFO] [STDERR]    at bu.b(SourceFile:95)
2012-12-24 03:06:09 [INFO] [STDERR]    ... 11 more
2012-12-24 03:06:09 [SEVERE] [Minecraft] Encountered an unexpected exception l
l: loading nbt data
[--duplicate stack trace--]
2012-12-24 03:06:09 [SEVERE] [Minecraft] This crash report has been saved to: /home/bill/minecraft/mods/./crash-reports/crash-2012-12-24_03.06.09-server.txt
^C2012-12-24 03:06:14 [INFO] [Minecraft] Stopping server
2012-12-24 03:06:14 [INFO] [Minecraft] Saving players
2012-12-24 03:06:14 [INFO] [Minecraft] Saving worlds
2012-12-24 03:06:14 [INFO] [Minecraft] Saving chunks for level 'FTB-Beta-A'/Overworld
2012-12-24 03:06:14 [INFO] [STDERR] java.net.SocketException: Socket closed
2012-12-24 03:06:14 [INFO] [STDERR]    at java.net.PlainSocketImpl.socketAccept(Native Method)
2012-12-24 03:06:14 [INFO] [STDERR]    at java.net.AbstractPlainSocketImpl.accept(AbstractPlainSocketImpl.java:398)
2012-12-24 03:06:14 [INFO] [STDERR]    at java.net.ServerSocket.implAccept(ServerSocket.java:522)
2012-12-24 03:06:14 [INFO] [STDERR]    at java.net.ServerSocket.accept(ServerSocket.java:490)
2012-12-24 03:06:14 [INFO] [STDERR]    at hl.run(ServerListenThread.java:75)
2012-12-24 03:06:14 [INFO] [STDOUT] Closing listening thread

It looks like a zip file got corrupted when I botched the recovery from the previous crash. Any idea which one? Where I could get a replacement should I need to delete it?

Edit: Candidates:
Code:
ls -R | grep zip
FTBBetaA_Server.zip
AdvancedSolarPanels_3_2_0.zip
ComputerCraft1.46.zip
ForgeIRC-v1.0.11.zip
GraviSuite_1_4.zip
GregTechmod.zip
IC2NuclearControl-1.4.1.zip
Ironchest-4.2.1.120.zip
ModularForceFieldSystemV2.2.8.0.5.zip
Mystcraft-1.4.1-0.9.3.02.zip
Obsidiplates-1.0.0.1.zip
portalgun1.4.2v0.3_universal.zip
Railcraft_6.7.0.0.zip
StevesCarts2.0.0.a20.zip
ThermalExpansion-2.0.5.zip
TwilightForest-1.12.2.zip
 

b0bst3r

New Member
Jul 29, 2019
2,195
0
1
Change machine.alpha.turbine=False in railcraft.cfg on the server, start it, stop it, then change it back and start the server again.
 

Dubslow

New Member
Jul 29, 2019
5
0
0
Change machine.alpha.turbine=False in railcraft.cfg on the server, start it, stop it, then change it back and start the server again.
Thanks, that sounds like it'll fix the original crash, but when I tried to start it again I got the same zlib error as before.

Edit: Unfortunately, it seems my guess was wrong. I just downloaded a fresh server zip and copied all its zip files into my server, and still got the same crash. (My files were the exact same size as the fresh zips, so I guess they're not corrupted.) But then I have no clue what's causing the error.
 

b0bst3r

New Member
Jul 29, 2019
2,195
0
1
Need a complete log pasted in pastebin.com not sections from it so we can see what's what.
 

Dubslow

New Member
Jul 29, 2019
5
0
0
Edit2: Looking at closer at the stack trace, I deleted portalgun.dat in FTFTB-Beta-A/DIM-1.
Code:
cd DIM-1/
FTB-Beta-A/DIM-1$ ls
data  forcedchunks.dat  portalgun.dat  region
FTB-Beta-A/DIM-1$ rm portalgun.dat
That seems to have worked, my server now starts.

Edit: I was running for a few minutes before I got the original crash again (but this time the /stop only took a few seconds).
Code:
cat crash-reports/crash-2012-12-24_04.12.15-server.txt
---- Minecraft Crash Report ----
// Oops.
 
Time: 12/24/12 4:12 AM
Description: Exception in server tick loop
 
java.lang.NullPointerException
        at tv.a(SourceFile:177)
        at railcraft.common.blocks.machine.alpha.TileSteamTurbine.g(TileSteamTurbine.java:171)
        at xe.h(World.java:2020)
        at ie.h(WorldServer.java:463)
        at net.minecraft.server.MinecraftServer.r(MinecraftServer.java:649)
        at hg.r(DedicatedServer.java:241)
        at net.minecraft.server.MinecraftServer.q(MinecraftServer.java:585)
        at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:492)
        at fp.run(SourceFile:818)
 
Relevant Details:
- Minecraft Version: 1.4.2
- Operating System: Linux (amd64) version 3.2.0-35-generic
- Java Version: 1.7.0_09, Oracle Corporation
- Java VM Version: OpenJDK 64-Bit Server VM (mixed mode), Oracle Corporation
- Memory: 245798256 bytes (234 MB) / 585170944 bytes (558 MB) up to 1908932608 bytes (1820 MB)
- JVM Flags: 2 total; -Xms512M -Xmx2048M
- AABB Pool Size: 3460 (193760 bytes; 0 MB) allocated, 3218 (180208 bytes; 0 MB) used
- FML: ~ERROR~ NullPointerException: null
- Is Modded: Definitely; 'forge,fml'
- Profiler Position: N/A (disabled)
- Vec3 Pool Size: 663 (37128 bytes; 0 MB) allocated, 576 (32256 bytes; 0 MB) used
- Player Count: 1 / 25; [ih['Dubslow'/645, l='FTB-Beta-A', x=-223.65, y=67.00, z=256.32]]
- World FTB-Beta-A Entities: 0 total; []
- World FTB-Beta-A Players: 0 total; []
- World FTB-Beta-A Chunk Stats: ServerChunkCache: 0 Drop: 0
- Type: Dedicated Server
I'll leave that config variable false for now.
 

b0bst3r

New Member
Jul 29, 2019
2,195
0
1
Yeah it's a broken rotor that's causing it, when it breaks it crashes the server, did you do what I said in an earlier post?
 

Dubslow

New Member
Jul 29, 2019
5
0
0
Yeah it's a broken rotor that's causing it, when it breaks it crashes the server, did you do what I said in an earlier post?
I did, and that didn't fix it. So I turned the conf var off and instead of turning it on just left it off. Maybe I should try again though. At this point it's kind of low on my list, since the server at least operates now.
 

b0bst3r

New Member
Jul 29, 2019
2,195
0
1
hmmm if you're server starts then it's unlikely the rotor problem as it crashes the server and keeps it offline, must be something else.
 

Greedseed

New Member
Jul 29, 2019
1,107
0
0
it is a known bug in railcraft i think. Its with the steam thingys. Only option is removing Railcraft, starting the server, loading the chunk with the corrupt item.

This will remove all railcraft stuff, including the corrupt item
 

MadDavo

New Member
Jul 29, 2019
6
0
0
I have EXACTLY the same problem. I have just started using Steam Boilers and Steam Turbines a few days ago to generate EU. The rotors have started to wear out. I think the server crashes with a nullpointerexception when the rotors wear out in the steam turbines. I restarted the server a few times and it crashed after a minute or so of running.

I managed to make the server not crash by starting the server, logging in quickly and removing the rotors from the steam turbines.

Stupidly, I have now let my turbines run with new rotors and they are worn down again and I am crashing again. I hope the same technique I used will work again.

Surely this must be a known issue. Has anyone got their steam turbines working OK so they don't crash when rotors wear out in FTB?
 

MadDavo

New Member
Jul 29, 2019
6
0
0
What does setting machines.alpha.turbines=false actually do?

I was having trouble trying to remove the rotors from all my turbines before the server crashed so I got into the railcraft.cfg and set it to false. The server restarted OK with no crash. The steam turbines are all empty (no rotors). I crafted one rotor and inserted it into a steam turbine and it ran up as usual and is generating EU. So it all seems to be working again. As it appears to be working, I have just left the config setting as false and not restarted.

However, there are quite a few entries in the ftb.log now that say:

2013-02-04 22:35:32 [SEVERE] [ForgeModLoader] A TileEntity type railcraft.common.blocks.machine.alpha.TileSteamTurbine has throw an exception trying to write state. It will not persist. Report this to the mod author
java.lang.RuntimeException: class railcraft.common.blocks.machine.alpha.TileSteamTurbine is missing a mapping! This is a bug!
at amm.b(TileEntity.java:97)
at railcraft.common.core.RailcraftTileEntity.b(RailcraftTileEntity.java:97)
at railcraft.common.blocks.machine.TileMultiBlock.b(TileMultiBlock.java:351)
at railcraft.common.blocks.machine.alpha.TileSteamTurbine.b(TileSteamTurbine.java:370)
at zn.a(AnvilChunkLoader.java:290)
at zn.a(AnvilChunkLoader.java:117)
at id.b(ChunkProviderServer.java:204)
at id.a(ChunkProviderServer.java:257)
at ie.a(WorldServer.java:768)
at net.minecraft.server.MinecraftServer.a(MinecraftServer.java:372)
at net.minecraft.server.MinecraftServer.q(MinecraftServer.java:591)
at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:492)
at fp.run(SourceFile:818)

This does not appear to affect server function (yet). Is this a problem I should be worried about?
 

b0bst3r

New Member
Jul 29, 2019
2,195
0
1
Then no, it's a problem with that version of Railcraft, beta pack will never be updated as it is due sometime in 2013 to be replaced by the ultimate pack. If you're the server owner then you could replace the Railcraft mod with the version after the Beta one which fixes the problem and force all your players to also update the mod.
 

MadDavo

New Member
Jul 29, 2019
6
0
0
Aha. Thanks for that advice.

Unfortunately I have a problem with this. I have just tried updating the client. I downloaded the latest Railcraft (1.4.7-6.15.2.0) and copied to the FTB mods folder. I opened the FTB launcher and checked the mods list for the FTB Beta A modpack. The two Railcraft versions were there OK. I disabled the old Railcraft. I launched the client. The client wouldn't load - it said it had a problem that the required version of Forge was not loaded. Then of course it hit me that the latest version of Railcraft requires a later version of Forge and also it requires Minecraft 1.4.7. But the FTB Beta A modpack is only Minecraft 1.4.2 . Looking through the Railcraft version history it looks like the latest version for MC1.4.2 is RC6.7.0.0 - this is the one that comes with FTB Beta A.

Looking at the RC version history, the minimum version of RC that fixes the Turbine rotor problem is RC6.8.0.0. It requires MC1.4.6.

I guess I could try updating various bits of the modpack, but I'm concerned that too much frigging with the modpack could break it or at least cause multiple unforeseen problems - or worse - intermittant problems which are always the hardest to solve.
 

ExEvolution

New Member
Jul 29, 2019
38
0
0
You could try switching to a newer modpack and transfering your current world over, of course be warned could cause issues or corrupt the world so if you're going to attempt it, always make a backup.

As a bonus you'll also have tons of new stuff to play with if you get it working.
 

b0bst3r

New Member
Jul 29, 2019
2,195
0
1
No you see, I said get the Railcraft version after the one you have not the latest one. The latest one will not work in the slightest as the MineCraft version is way wrong.

The beta A version of Railcraft is 6.7.0.0 looking at the Railcraft website 6.8.0.0 is the only available after 6.7.0.0 so try 6.8.0.0.