1
Can't convert a world to Anvil! Keeps crashing..
My minecraft keeps crashing once I convert a world to the format Anvil. Everything other works, exept converting a world (only that world). I am running vanilla 1.6.2. Here is the crash report I get:
---- Minecraft Crash Report ----
// Surprise! Haha. Well, this is awkward.
Time: 07.09.13 15:46
Description: Reading NBT data
java.lang.ClassCastException: ce cannot be cast to cg
at bx.f(SourceFile:138)
at ady.a(SourceFile:30)
at alk.a(SourceFile:215)
at alk.a(SourceFile:186)
at alk.a(SourceFile:145)
at net.minecraft.server.MinecraftServer.a(SourceFile:113)
at bkw.a(SourceFile:61)
at bkw.d(SourceFile:106)
at net.minecraft.server.MinecraftServer.run(SourceFile:314)
at hh.run(SourceFile:582)
A detailed walkthrough of the error, its code path and all known details is as follows:
---------------------------------------------------------------------------------------
-- Corrupt NBT tag --
Details:
Tag type found: INT
Tag type expected: LONG
Tag name: LastUpdate
Tag parent: Level
Stacktrace:
at bx.f(SourceFile:138)
at ady.a(SourceFile:30)
at alk.a(SourceFile:215)
at alk.a(SourceFile:186)
at alk.a(SourceFile:145)
at net.minecraft.server.MinecraftServer.a(SourceFile:113)
at bkw.a(SourceFile:61)
at bkw.d(SourceFile:106)
at net.minecraft.server.MinecraftServer.run(SourceFile:314)
at hh.run(SourceFile:582)
-- System Details --
Details:
Minecraft Version: 1.6.2
Operating System: Windows 8 (x86) version 6.2
Java Version: 1.7.0_25, Oracle Corporation
Java VM Version: Java HotSpot™ Client VM (mixed mode, sharing), Oracle Corporation
Memory: 29275024 bytes (27 MB) / 79024128 bytes (75 MB) up to 518979584 bytes (494 MB)
JVM Flags: 2 total; -XX:HeapDumpPath=MojangTricksIntelDriversForPerformance_javaw.exe_minecraft.exe.heapdump -Xmx512M
AABB Pool Size: 0 (0 bytes; 0 MB) allocated, 0 (0 bytes; 0 MB) used
Suspicious classes: No suspicious classes found.
IntCache: cache: 0, tcache: 0, allocated: 0, tallocated: 0
Profiler Position: N/A (disabled)
Player Count: 0 / 8; []
Type: Integrated Server (map_client.txt)
Is Modded: Probably not. Jar signature remains and both client + server brands are untouched.
I have newest version of Java and everything, please help? I am running Windows 8, with 8GB ram.
If anyone know how to fix, can you help?
---- Minecraft Crash Report ----
// Surprise! Haha. Well, this is awkward.
Time: 07.09.13 15:46
Description: Reading NBT data
java.lang.ClassCastException: ce cannot be cast to cg
at bx.f(SourceFile:138)
at ady.a(SourceFile:30)
at alk.a(SourceFile:215)
at alk.a(SourceFile:186)
at alk.a(SourceFile:145)
at net.minecraft.server.MinecraftServer.a(SourceFile:113)
at bkw.a(SourceFile:61)
at bkw.d(SourceFile:106)
at net.minecraft.server.MinecraftServer.run(SourceFile:314)
at hh.run(SourceFile:582)
A detailed walkthrough of the error, its code path and all known details is as follows:
---------------------------------------------------------------------------------------
-- Corrupt NBT tag --
Details:
Tag type found: INT
Tag type expected: LONG
Tag name: LastUpdate
Tag parent: Level
Stacktrace:
at bx.f(SourceFile:138)
at ady.a(SourceFile:30)
at alk.a(SourceFile:215)
at alk.a(SourceFile:186)
at alk.a(SourceFile:145)
at net.minecraft.server.MinecraftServer.a(SourceFile:113)
at bkw.a(SourceFile:61)
at bkw.d(SourceFile:106)
at net.minecraft.server.MinecraftServer.run(SourceFile:314)
at hh.run(SourceFile:582)
-- System Details --
Details:
Minecraft Version: 1.6.2
Operating System: Windows 8 (x86) version 6.2
Java Version: 1.7.0_25, Oracle Corporation
Java VM Version: Java HotSpot™ Client VM (mixed mode, sharing), Oracle Corporation
Memory: 29275024 bytes (27 MB) / 79024128 bytes (75 MB) up to 518979584 bytes (494 MB)
JVM Flags: 2 total; -XX:HeapDumpPath=MojangTricksIntelDriversForPerformance_javaw.exe_minecraft.exe.heapdump -Xmx512M
AABB Pool Size: 0 (0 bytes; 0 MB) allocated, 0 (0 bytes; 0 MB) used
Suspicious classes: No suspicious classes found.
IntCache: cache: 0, tcache: 0, allocated: 0, tallocated: 0
Profiler Position: N/A (disabled)
Player Count: 0 / 8; []
Type: Integrated Server (map_client.txt)
Is Modded: Probably not. Jar signature remains and both client + server brands are untouched.
I have newest version of Java and everything, please help? I am running Windows 8, with 8GB ram.
If anyone know how to fix, can you help?
Create an account or sign in to comment.
39
1
Check your Minecraft.Jar for any files that shouldn't be there
1
I have tried everything, and I give up. Lock this topic.
1
Well, the NBT tag that was used to identify the last update of the level was corrupt. It was expecting a number of the primitive data type "long" (an integer stored using 64 bits of data), but what it found was a number stored using the primitive data type "int" (an integer stored using 32 bits of data).
I'm not sure how to fix this other than modifying that NBT tag, but at least we know the problem.
I'm not sure how to fix this other than modifying that NBT tag, but at least we know the problem.
1
bump
1
No, the map is nearly finished. Just when 1.6 turned up I got this error...
Or when I think about it... my job was not to make it useable with 1.6, but with 1.4
Or when I think about it... my job was not to make it useable with 1.6, but with 1.4
1
So 7 months ago, someone gave you a map to convert to 1.6+, and he hasn't been seen since?
Now THAT is dedication.
I think he might have abandoned that idea (unless he communicates in another way).
Now THAT is dedication.
I think he might have abandoned that idea (unless he communicates in another way).
1
Have you discussed this with the map creator?
They might know what's wrong, or maybe how to fix it.
They might know what's wrong, or maybe how to fix it.
1
He has not been online since I got the job.
7 Months ago.
7 Months ago.
1
bump
1
I have removed the LastUpdate 100%, and it still does not work. The world is not mine, so I don't know much about it. My job is just to make it usable with 1.6+
1
Try making a new world and then afterwards compare both of the world files to see if anything is missing .
1
Toastybread_05 (no I don't call it 'vanilla' because it drives me mad )
Chocolate Minecraft :3
1
bump
1
Thanks! I'll try to remove the corrupt NBT tag, but how to find it?
1
You should be able to figure it out.
Open the file (.mcr?) and look on the list for what it said. If you can't find it, make sure you look through every category. It has been a while since I messed with NBT tags, but it shouldn't be that hard.
Open the file (.mcr?) and look on the list for what it said. If you can't find it, make sure you look through every category. It has been a while since I messed with NBT tags, but it shouldn't be that hard.
1
Yeah, I found out what tag was corrupted and everything.. It was one called LastUpdate.... But a single problem: When I search LastUpdate I get over 100k different files, the world is really big..
1
Make a copy of the world (and/or .mcr file) for experimenting. Try removing the LastUpdate tag entirely, then try removing everything under it if it still doesn't work. You can also try messing with it in your own way.
If you backup the world, experimenting like this should be harmless.
If you backup the world, experimenting like this should be harmless.
1
Get a NBT editor, find Level > LastUpdate, and give us the value.
According to the error, it is probably a number (integer).
You can also try editing or removing the value to see if there are any differences.
This NBT editor should work, otherwise you can just find one yourself.
According to the error, it is probably a number (integer).
You can also try editing or removing the value to see if there are any differences.
This NBT editor should work, otherwise you can just find one yourself.
1
Seems like a NBT tag is corrupted unless you use a NBT editor to remove it there is nothing you can do.
1
bump (I hope it is 24 hours since last time..)
1
Tag type found: INT
Tag type expected: LONG
Tag name: LastUpdate
Tag parent: Level
This means it tried to retrieve the "LastUpdate" tag which is a subtag of "Level" which it expected to be a "Long" variable from the NBTTagCompound but it found and "Integer" that is super weird because integers can be converted to longs with no problem tho the opposite cant happen.
You said that you are trying to convert the map to anvil do you know what is the current format of the map?
1
MCregion is the current format.
1
I have Windows 8. It runs best with Java x64
Try that, if not, I'm guessing its a problem with an NBT Tag.
Try that, if not, I'm guessing its a problem with an NBT Tag.
1
bump
1
I have never had mods since 1.5, and I now deleted whole .minecraft and saved my resource packs and saves. (And server list and options)
Still crashing.
Still crashing.
1
If you have mods, texture packs, and skins, put them on your desk top, then go to the start menu and type %appdata% and then press enter, delete .minecraft after taking out skins, worlds, mods, texturepacks, ect, and putting them somewhere on the desktop, open minecraft, and the updating minecraft screen will pop-up, wait for it to load and you will have a fresh minecraft, (no I don't call it 'vanilla' because it drives me mad ) then go to you're %appdata% and open the .minecraft file from there, then place you're saves back in, and skins and other bits if you have them, and if you have mods, put the mods in one by one, one may be affecting the crash to make it work, and hopefully this will work .
1
If I could open it in MCedit, I would not make this post. The problem with MCEdit is that the chunks is not present...
1
if the chunks not present when u try to open it in mcedit then ur map is corrupted, meaning its as good as deleted
1
Unlikely, as it works on older versions of MC.
He probably isn't using MCEdit correctly, or it is something else.
He probably isn't using MCEdit correctly, or it is something else.
1
?!!?!??!?!?!?
WHAT!? Is it NO WAY to fix it!? It works when I degrade my MC version, before it needed to be converted...
WHAT!? Is it NO WAY to fix it!? It works when I degrade my MC version, before it needed to be converted...
1
I think I found the issue:
-- Corrupt NBT tag --
Details:
Tag type found: INT
Tag type expected: LONG
Tag name: LastUpdate
Tag parent: Level
It means there's a problem with the old version of the map you have.
Minecraft wasn't able to recognize the last update of the level (the map).
Try to open it with MCEdit and save what you did on with an export, then take the seed (converted) and reload the map in 1.6.
-- Corrupt NBT tag --
Details:
Tag type found: INT
Tag type expected: LONG
Tag name: LastUpdate
Tag parent: Level
It means there's a problem with the old version of the map you have.
Minecraft wasn't able to recognize the last update of the level (the map).
Try to open it with MCEdit and save what you did on with an export, then take the seed (converted) and reload the map in 1.6.
1
Recreate that world and copy/paste your builds.
1
Only that world. What now?
1
I have never modded minecraft or anything, and my computer has 8GB ram, so it should be able to handle minecraft. Can someone look at the crash report and see if you understand something or if it is a way to fix it? Or is the world 100% broken?
1
Retry a new world if the same thing happens something is wrong.....
1
Dude if you quit denying everything nothing is going to fix your issue actually TRY what there saying not just assuming there wrong and your right.
1
I can convert worlds fine, if something has gone wrong it is an internal error with your .minecraft folder or your computer itself.
1
I did put it on the issue tracker, a month ago, before 1.6, not fixed.
1
Personaly, I'd put this on the issue tracker.