Jump to content
  • 0

java.util.zip.ZipException: Not in GZIP format


Question

Posted

Title: java.util.zip.ZipException: Not in GZIP format

Version: 3.1.2

OS: Windows 7 Home Premium

Java Version: 7

Description of Problem:

My computer crashed and I was forced to kill the machine without being able to shut off the server correctly. When I turned my machine back on the Tekkit server loaded all the mods as normal, but then proceeded to give me a long string of sever errors. I thought that they server may have been corrupted so I reinstalled it, loaded up my map and server.properties file and got the same error log. Fearing that my maps may have been corrupted I installed a completely new version of tekkit without importing anything to see if it would work, still no luck. In order to see if perhaps java was corrupted in some way I ran a couple of other Java programs, and everything seems to be working well, so I'm guessing that that there isn't anything wrong with my Java Virtual Machine. At this point I'm rather stuck. I can't seem to identify the root of the problem through my traditional methods. Any help would be very welcome. I hope that I'm not posting something that's already been fixed, I'm not entirely sure how to tag this issue since I have no clue whats causing it. So if this is a duplicate, then I apologize.

Error Messages:

21:25:46 [sEVERE] java.util.zip.ZipException: Not in GZIP format

21:25:46 [sEVERE] at java.util.zip.GZIPInputStream.readHeader(Unknown Sour

ce)

21:25:46 [sEVERE] at java.util.zip.GZIPInputStream.<init>(Unknown Source)

21:25:46 [sEVERE] at java.util.zip.GZIPInputStream.<init>(Unknown Source)

21:25:46 [sEVERE] at net.minecraft.server.NBTCompressedStreamTools.a(Sourc

eFile:9)

21:25:46 [sEVERE] at net.minecraft.server.WorldLoader.b(SourceFile:52)

21:25:46 [sEVERE] at net.minecraft.server.WorldLoaderServer.isConvertable(

SourceFile:82)

21:25:46 [sEVERE] at net.minecraft.server.MinecraftServer.a(MinecraftServe

r.java:239)

21:25:46 [sEVERE] at net.minecraft.server.MinecraftServer.init(MinecraftSe

rver.java:208)

21:25:46 [sEVERE] at net.minecraft.server.MinecraftServer.run(MinecraftSer

ver.java:438)

21:25:46 [sEVERE] at net.minecraft.server.ThreadServerApplication.run(Sour

ceFile:492)

21:25:46 [sEVERE] java.util.zip.ZipException: Not in GZIP format

21:25:46 [sEVERE] at java.util.zip.GZIPInputStream.readHeader(Unknown Sour

ce)

21:25:46 [sEVERE] at java.util.zip.GZIPInputStream.<init>(Unknown Source)

21:25:46 [sEVERE] at java.util.zip.GZIPInputStream.<init>(Unknown Source)

21:25:46 [sEVERE] at net.minecraft.server.NBTCompressedStreamTools.a(Sourc

eFile:9)

21:25:46 [sEVERE] at net.minecraft.server.WorldLoader.b(SourceFile:63)

21:25:46 [sEVERE] at net.minecraft.server.WorldLoaderServer.isConvertable(

SourceFile:82)

21:25:46 [sEVERE] at net.minecraft.server.MinecraftServer.a(MinecraftServe

r.java:239)

21:25:46 [sEVERE] at net.minecraft.server.MinecraftServer.init(MinecraftSe

rver.java:208)

21:25:46 [sEVERE] at net.minecraft.server.MinecraftServer.run(MinecraftSer

ver.java:438)

21:25:46 [sEVERE] at net.minecraft.server.ThreadServerApplication.run(Sour

ceFile:492)

21:25:46 [iNFO] Default game type: 0

21:25:46 [sEVERE] java.util.zip.ZipException: Not in GZIP format

21:25:46 [sEVERE] at java.util.zip.GZIPInputStream.readHeader(Unknown Sour

ce)

21:25:46 [sEVERE] at java.util.zip.GZIPInputStream.<init>(Unknown Source)

21:25:46 [sEVERE] at java.util.zip.GZIPInputStream.<init>(Unknown Source)

21:25:46 [sEVERE] at net.minecraft.server.NBTCompressedStreamTools.a(Sourc

eFile:9)

21:25:46 [sEVERE] at net.minecraft.server.WorldNBTStorage.getWorldData(Wor

ldNBTStorage.java:89)

21:25:46 [sEVERE] at net.minecraft.server.World.<init>(World.java:148)

21:25:46 [sEVERE] at net.minecraft.server.WorldServer.<init>(WorldServer.j

ava:30)

21:25:46 [sEVERE] at net.minecraft.server.MinecraftServer.a(MinecraftServe

r.java:276)

21:25:46 [sEVERE] at net.minecraft.server.MinecraftServer.init(MinecraftSe

rver.java:208)

21:25:46 [sEVERE] at net.minecraft.server.MinecraftServer.run(MinecraftSer

ver.java:438)

21:25:46 [sEVERE] at net.minecraft.server.ThreadServerApplication.run(Sour

ceFile:492)

21:25:46 [sEVERE] java.util.zip.ZipException: Not in GZIP format

21:25:46 [sEVERE] at java.util.zip.GZIPInputStream.readHeader(Unknown Sour

ce)

21:25:46 [sEVERE] at java.util.zip.GZIPInputStream.<init>(Unknown Source)

21:25:46 [sEVERE] at java.util.zip.GZIPInputStream.<init>(Unknown Source)

21:25:46 [sEVERE] at net.minecraft.server.NBTCompressedStreamTools.a(Sourc

eFile:9)

21:25:46 [sEVERE] at net.minecraft.server.WorldNBTStorage.getWorldData(Wor

ldNBTStorage.java:100)

21:25:46 [sEVERE] at net.minecraft.server.World.<init>(World.java:148)

21:25:46 [sEVERE] at net.minecraft.server.WorldServer.<init>(WorldServer.j

ava:30)

21:25:46 [sEVERE] at net.minecraft.server.MinecraftServer.a(MinecraftServe

r.java:276)

21:25:46 [sEVERE] at net.minecraft.server.MinecraftServer.init(MinecraftSe

rver.java:208)

21:25:46 [sEVERE] at net.minecraft.server.MinecraftServer.run(MinecraftSer

ver.java:438)

21:25:46 [sEVERE] at net.minecraft.server.ThreadServerApplication.run(Sour

ceFile:492)

21:25:46 [sEVERE] java.lang.NullPointerException

21:25:46 [sEVERE] at codechicken.wirelessredstone.core.RedstoneEther.setDi

mensionTransmitterCount(RedstoneEther.java:1484)

21:25:46 [sEVERE] at codechicken.wirelessredstone.core.SaveManager.loadDim

ensionHash(SaveManager.java:656)

21:25:46 [sEVERE] at codechicken.wirelessredstone.core.RedstoneEther.reloa

d(RedstoneEther.java:105)

21:25:46 [sEVERE] at codechicken.wirelessredstone.core.RedstoneEtherSaveHa

ndler.onWorldLoad(RedstoneEtherSaveHandler.java:12)

21:25:46 [sEVERE] at forge.ForgeHooks.onWorldLoad(ForgeHooks.java:292)

21:25:46 [sEVERE] at net.minecraft.server.WorldServer.<init>(WorldServer.j

ava:37)

21:25:46 [sEVERE] at net.minecraft.server.MinecraftServer.a(MinecraftServe

r.java:276)

21:25:46 [sEVERE] at net.minecraft.server.MinecraftServer.init(MinecraftSe

rver.java:208)

21:25:46 [sEVERE] at net.minecraft.server.MinecraftServer.run(MinecraftSer

ver.java:438)

21:25:46 [sEVERE] at net.minecraft.server.ThreadServerApplication.run(Sour

ceFile:492)

21:25:46 [sEVERE] Unexpected exception

java.lang.NullPointerException

at codechicken.wirelessredstone.core.RedstoneEther.setDimensionTransmitt

erCount(RedstoneEther.java:1484)

at codechicken.wirelessredstone.core.SaveManager.loadDimensionHash(SaveM

anager.java:656)

at codechicken.wirelessredstone.core.RedstoneEther.reload(RedstoneEther.

java:105)

at codechicken.wirelessredstone.core.RedstoneEtherSaveHandler.onWorldLoa

d(RedstoneEtherSaveHandler.java:12)

at forge.ForgeHooks.onWorldLoad(ForgeHooks.java:292)

at net.minecraft.server.WorldServer.<init>(WorldServer.java:37)

at net.minecraft.server.MinecraftServer.a(MinecraftServer.java:276)

at net.minecraft.server.MinecraftServer.init(MinecraftServer.java:208)

at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:438)

at net.minecraft.server.ThreadServerApplication.run(SourceFile:492)

21:25:47 [WARNING] Could not get information about this CraftBukkit version; per

haps you are running a custom one?: FileNotFoundException

21:33:29 [iNFO] Connection reset

>

Error Log:




8 answers to this question

Recommended Posts

  • 0
Posted

I'm aware of the RailCraft gzip error, I've been getting that for a very long time, and hadn't bothered to fix it (probably a bad idea, I know). It looks like it might be a problem with Java itself, but I can't tell for sure.

  • 0
Posted

Having same issue. I think my machine crashed, but I could not get server back up. So, I backed up the server dir, and unzipped the Tekkit back over it, and came to this same exact spot. All my java is good etc.. Sigh, my son is bummed..

  • 0
Posted

Hay everyone.

I too had this happen to me, but i sort of found a loophole on saving your game data.

Open your "server" properties file and change Level-name= to a different world name, than save and run. Once all the files are created, open the main files for both worlds. I replace the new: Data, Players, Region, and Level .dat file with the old ones. Make sure not to copy the old Railcraft.dat and the RedstoneEther files, because I found these to be the corrupted ones.

once its all copied over run the server and try to log in. If your able to load the server, destroy all anchors.

If you weren't able to load it try temporarily removing the Railcraft.dat, log and destroy anchors than reinsert .dat

I cant promise it will work or fix it for long but as far as i'm able to tell my level is back to normal.

Hope this helps :)

  • 0
Posted

Your world is corrupt. Making a new world will fix it, but it's a bit extreme.

Load up the world in MCEdit and let it fix any errors it finds, then start your server

  • 0
Posted

to fix this simply just delete the tekkit folder in appdata and then log in and let it reinstall. just add the server again and u keep everything :D (works cause i did it)

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...