1

Can't convert a world to Anvil! Keeps crashing..

Jacob Rigoberto 9/8/13 8:50 am
1.6k
9/28/2013 2:11 pm
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?
Posted by
Jacob Rigoberto
Level 43 : Master Pokémon
42

  Have something to say?

JoinSign in

39

rattleoid
09/28/2013 2:11 pm
Level 1 : New Miner
Check your Minecraft.Jar for any files that shouldn't be there
1
Jacob Rigoberto
09/27/2013 10:14 am
Level 43 : Master Pokémon
I have tried everything, and I give up. Lock this topic.
1
Leeberator
09/26/2013 2:52 pm
Level 47 : Master Button Pusher
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.
1
Jacob Rigoberto
09/26/2013 2:45 pm
Level 43 : Master Pokémon
bump
1
Jacob Rigoberto
09/15/2013 8:51 am
Level 43 : Master Pokémon
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
1
meymazda
09/13/2013 12:09 pm
Level 17 : Journeyman Network
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).
1
meymazda
09/12/2013 9:09 am
Level 17 : Journeyman Network
Have you discussed this with the map creator?
They might know what's wrong, or maybe how to fix it.
1
Jacob Rigoberto
09/13/2013 11:20 am
Level 43 : Master Pokémon
He has not been online since I got the job.

7 Months ago.
1
Jacob Rigoberto
09/12/2013 8:31 am
Level 43 : Master Pokémon
bump
1
Jacob Rigoberto
09/11/2013 11:30 am
Level 43 : Master Pokémon
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
Ultra Ginga
09/11/2013 11:27 am
Level 1 : New Miner
Try making a new world and then afterwards compare both of the world files to see if anything is missing .
1
Ping0pong
09/11/2013 10:25 am
Level 40 : Master Geek
Toastybread_05 (no I don't call it 'vanilla' because it drives me mad )

Chocolate Minecraft :3
1
Jacob Rigoberto
09/11/2013 10:09 am
Level 43 : Master Pokémon
bump
1
Jacob Rigoberto
09/10/2013 8:25 am
Level 43 : Master Pokémon
Thanks! I'll try to remove the corrupt NBT tag, but how to find it?
1
meymazda
09/10/2013 9:08 am
Level 17 : Journeyman Network
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.
1
Jacob Rigoberto
09/10/2013 10:24 am
Level 43 : Master Pokémon
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
meymazda
09/11/2013 11:18 am
Level 17 : Journeyman Network
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.
1
meymazda
09/10/2013 8:13 am
Level 17 : Journeyman Network
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.
1
nickfromgreece
09/10/2013 8:04 am
Level 54 : Grandmaster Programmer
Seems like a NBT tag is corrupted unless you use a NBT editor to remove it there is nothing you can do.
1
Jacob Rigoberto
09/10/2013 7:51 am
Level 43 : Master Pokémon
bump (I hope it is 24 hours since last time..)
1
nickfromgreece
09/09/2013 8:37 am
Level 54 : Grandmaster Programmer
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
Jacob Rigoberto
09/09/2013 1:54 pm
Level 43 : Master Pokémon
MCregion is the current format.
1
Pease_Xpress
09/09/2013 8:27 am
Level 24 : Expert Taco
I have Windows 8. It runs best with Java x64
Try that, if not, I'm guessing its a problem with an NBT Tag.
1
Jacob Rigoberto
09/09/2013 8:24 am
Level 43 : Master Pokémon
bump
1
Jacob Rigoberto
09/08/2013 12:05 pm
Level 43 : Master Pokémon
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.
1
Toastybread_05
09/08/2013 11:06 am
Level 1 : New Explorer
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
Jacob Rigoberto
09/08/2013 10:48 am
Level 43 : Master Pokémon
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
star_weaver
09/15/2013 9:06 am
She/Her • Level 27 : Expert Princess Button Pusher
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
meymazda
09/15/2013 10:28 am
Level 17 : Journeyman Network
Unlikely, as it works on older versions of MC.
He probably isn't using MCEdit correctly, or it is something else.
1
Jacob Rigoberto
09/15/2013 9:10 am
Level 43 : Master Pokémon
?!!?!??!?!?!?
WHAT!? Is it NO WAY to fix it!? It works when I degrade my MC version, before it needed to be converted...
1
Thrashkal
09/08/2013 10:37 am
Level 40 : Master Soldier
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.
1
DemunCorp
09/08/2013 10:30 am
Level 33 : Artisan Toast
Recreate that world and copy/paste your builds.
1
Jacob Rigoberto
09/08/2013 10:21 am
Level 43 : Master Pokémon
Only that world. What now?
1
Jacob Rigoberto
09/08/2013 9:44 am
Level 43 : Master Pokémon
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
conour1992
09/08/2013 10:04 am
Level 21 : Expert Narwhal
Retry a new world if the same thing happens something is wrong.....
1
SkinSkyrim
09/08/2013 9:54 am
Level 9 : Apprentice Network
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
Noobington9001
09/08/2013 9:41 am
Level 1 : New Crafter
I can convert worlds fine, if something has gone wrong it is an internal error with your .minecraft folder or your computer itself.
1
Jacob Rigoberto
09/08/2013 9:20 am
Level 43 : Master Pokémon
I did put it on the issue tracker, a month ago, before 1.6, not fixed.
1
anonpmc1310131
09/08/2013 8:52 am
Level 2 : Apprentice Miner
[deleted]
1

Welcome