Convert Error

Discussion in 'Bukkit Help' started by 68x, Mar 4, 2012.

Thread Status:
Not open for further replies.
  1. Offline

    68x

    Well I am trying to bring my server to 1.2.3, but this is the error when Bukkit tries to convert the map:

    Code:
    2012-03-04 19:55:27 [INFO] Converting... 93%
    2012-03-04 19:55:29 [INFO] Failed to fetch input stream
    2012-03-04 19:55:29 [INFO] Converting... 93%
    2012-03-04 19:55:31 [INFO] Converting... 93%
    2012-03-04 19:55:31 [INFO] Failed to fetch input stream
    2012-03-04 19:55:31 [SEVERE] java.lang.IndexOutOfBoundsException: Index: 1, Size: 1
    2012-03-04 19:55:31 [SEVERE]    at java.util.ArrayList.RangeCheck(Unknown Source)
    2012-03-04 19:55:31 [SEVERE]    at java.util.ArrayList.set(Unknown Source)
    2012-03-04 19:55:31 [SEVERE]    at net.minecraft.server.RegionFile.<init>(SourceFile:129)
    2012-03-04 19:55:31 [SEVERE]    at net.minecraft.server.WorldLoaderServer.a(SourceFile:183)
    2012-03-04 19:55:31 [SEVERE]    at net.minecraft.server.WorldLoaderServer.a(SourceFile:169)
    2012-03-04 19:55:31 [SEVERE]    at net.minecraft.server.WorldLoaderServer.convert(SourceFile:128)
    2012-03-04 19:55:31 [SEVERE]    at net.minecraft.server.MinecraftServer.a(MinecraftServer.java:223)
    2012-03-04 19:55:31 [SEVERE]    at net.minecraft.server.MinecraftServer.init(MinecraftServer.java:187)
    2012-03-04 19:55:31 [SEVERE]    at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:425)
    2012-03-04 19:55:31 [SEVERE]    at net.minecraft.server.ThreadServerApplication.run(SourceFile:490)
    2012-03-04 19:55:31 [SEVERE] Unexpected exception
    java.lang.IndexOutOfBoundsException: Index: 1, Size: 1
        at java.util.ArrayList.RangeCheck(Unknown Source)
        at java.util.ArrayList.set(Unknown Source)
        at net.minecraft.server.RegionFile.<init>(SourceFile:129)
        at net.minecraft.server.WorldLoaderServer.a(SourceFile:183)
        at net.minecraft.server.WorldLoaderServer.a(SourceFile:169)
        at net.minecraft.server.WorldLoaderServer.convert(SourceFile:128)
        at net.minecraft.server.MinecraftServer.a(MinecraftServer.java:223)
        at net.minecraft.server.MinecraftServer.init(MinecraftServer.java:187)
        at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:425)
        at net.minecraft.server.ThreadServerApplication.run(SourceFile:490)
     
  2. Offline

    68x

    I seem to fix the error by first downloading the whole map off my server.

    I then ran Chunkster to find which region files is causing the error, then I deleted it (be VERY VERY CAUTIOUS when you delete region files).

    Then I ran a test server on my local machine to convert the map, then I uploaded the converted map.
     
  3. FIXED!

    You need to find out which is your LAST .mca file in line from your region folder. then find the corresponding MCR file, remove just the 1 mcr file and re convert.

    \You will loose a 512x512 part of your map tho. but shud be better than nothing!
     
  4. Offline

    FunCraft

    When you say that,how is the ordering of the files in the folder?By name or by what?I have the same problem here and I want to fix it right away!
     
  5. ok do this....
    TUTORIAL FOR ANYONE WHO CANNOT CONVERT MAP WITHOUT ERROR!

    BACKUP YOUR MAP FIRST - Please!

    1. open command prompt (start>run>cmd)

    2. locate your server map file where the region files are saved in your cmd promt for example..
    cd\
    cd server
    cd mapname
    cd regions

    3. now type

    dir /s /p *.mc* | sort | more

    now press any key and carefully look for the last file to be converted from mcr to mca and look for where the MCA files stop showing up. Make a mental note of the filename AFTER the last mca file showing up and rename it or delete it

    for example you will see something like this:-

    r.245.444.mcr
    r.245.444.mca
    r245.448.mcr
    r245.448.mca
    r246-449.mcr <-------- this is the culprit of your problem, an example file you should RENAME or DELETE
    r247-442.mcr
    r247.449.mcr

    Please understand that deleting the culprit file WILL fix your map convertion but it will be re-generated therefore you could possibly lose a few chunks.

    If the first convertion does not work, follow the step again until fully converted. then go access the damage.

    Let me know how you get on folks!
     
Thread Status:
Not open for further replies.

Share This Page