Recently, a problem with "corrupted chunks" has caused my server to constantly crash whenever a player reaches the chunk. This is a serious problem, which I have never really had before.
Is there a way to fix this besides deleting the chunks? If you plan to answer, please provide a decent amount of information as I have never been through this before.
PS -
I use the multicraft control panel through my server host. I do not run the server off my computer.
I run a few plugins (Essentials, Factions, CombatTag, TopPvP, NoCheatPlus, WorldEdit, WorldGuard, EnjinMinecraftPlugin, and a few others)
---- Minecraft Crash Report ----
// My bad.
Time: 1/14/13 8:44 PM
Description: Exception in server tick loop
java.lang.ArrayIndexOutOfBoundsException: -7
at net.minecraft.server.v1_4_6.ChunkSection.a(ChunkSection.java:41)
at net.minecraft.server.v1_4_6.Chunk.getTypeId(Chunk.java:350)
at net.minecraft.server.v1_4_6.Chunk.a(Chunk.java:640)
at net.minecraft.server.v1_4_6.Chunk.a(Chunk.java:627)
at net.minecraft.server.v1_4_6.ChunkRegionLoader.loadEntities(ChunkRegionLoader.java:350)
at org.bukkit.craftbukkit.v1_4_6.chunkio.ChunkIOProvider.callStage2(ChunkIOProvider.java:47)
at org.bukkit.craftbukkit.v1_4_6.chunkio.ChunkIOProvider.callStage2(ChunkIOProvider.java:13)
at org.bukkit.craftbukkit.v1_4_6.util.AsynchronousExecutor$Task.finish(AsynchronousExecutor.java:179)
at org.bukkit.craftbukkit.v1_4_6.util.AsynchronousExecutor.finishActive(AsynchronousExecutor.java:287)
at org.bukkit.craftbukkit.v1_4_6.chunkio.ChunkIOExecutor.tick(ChunkIOExecutor.java:30)
at net.minecraft.server.v1_4_6.MinecraftServer.r(MinecraftServer.java:537)
at net.minecraft.server.v1_4_6.DedicatedServer.r(DedicatedServer.java:224)
at net.minecraft.server.v1_4_6.MinecraftServer.q(MinecraftServer.java:494)
at net.minecraft.server.v1_4_6.MinecraftServer.run(MinecraftServer.java:427)
at net.minecraft.server.v1_4_6.ThreadServerApplication.run(SourceFile:849)
A detailed walkthrough of the error, its code path and all known details is as follows:
---------------------------------------------------------------------------------------
-- System Details --
Details:
Minecraft Version: 1.4.6
Operating System: Linux (amd64) version 2.6.18-308.13.1.el5
Java Version: 1.7.0_03, Oracle Corporation
Java VM Version: Java HotSpot(TM) 64-Bit Server VM (mixed mode), Oracle Corporation
Memory: 301220464 bytes (287 MB) / 509476864 bytes (485 MB) up to 4225236992 bytes (4029 MB)
JVM Flags: 9 total; -Xincgc -Xmx4096M -XX:+UseConcMarkSweepGC -XX:+UseParNewGC -XX:+UseAdaptiveGCBoundary -XX:-UseGCOverheadLimit -XX:+DisableExplicitGC -XX:ErrorFile=/dev/null -XX:UseSSE=3
AABB Pool Size: 7668 (429408 bytes; 0 MB) allocated, 0 (0 bytes; 0 MB) used
Suspicious classes: $Proxy3, $Proxy4[com.avaje.ebean.EbeanServer], [com.avaje.ebean.config.dbplatform.DatabasePlatform, SQLitePlatform], [com.google.common.base.Predicate, Function, Joiner, ...], [com.google.common.cache.CacheLoader, SupplierToCacheLoader, FunctionToCacheLoader, ...], [com.google.common.collect.ImmutableCollection, ImmutableList, Maps, ...], [com.google.common.io.Files, InputSupplier, OutputSupplier, ...], [com.google.common.util.concurrent.UncheckedExecutionException], [net.minecraft.server.v1_4_6.ICommandListener, IMojangStatistics, IDataManager, ...], [org.apache.commons.lang.Validate, UnhandledException, StringUtils, ...], [org.apache.commons.lang.exception.Nestable, NestableRuntimeException], [org.bukkit.World, BlockChangeDelegate, Server, ...], [org.bukkit.block.BlockState, BlockFace, Block, ...], [org.bukkit.command.CommandSender, RemoteConsoleCommandSender, CommandException, ...], [org.bukkit.command.defaults.VanillaCommand, SaveCommand, SaveOnCommand, ...], [org.bukkit.configuration.ConfigurationSection, Configuration, MemorySection, ...], [org.bukkit.configuration.file.FileConfiguration, YamlConfiguration, FileConfigurationOptions, ...], [org.bukkit.configuration.serialization.ConfigurationSerializable, ConfigurationSerialization, DelegateDeserialization, ...], [org.bukkit.conversations.Conversable, ConversationCanceller], [org.bukkit.craftbukkit.Main], [org.bukkit.craftbukkit.libs.com.google.gson.JsonDeserializer, JsonParseException, GsonBuilder, ...], [org.bukkit.craftbukkit.libs.com.google.gson.annotations.SerializedName], [org.bukkit.craftbukkit.libs.com.google.gson.internal.Excluder, $Gson$Preconditions, Primitives, ...], [org.bukkit.craftbukkit.libs.com.google.gson.internal.bind.JsonTreeReader, JsonTreeWriter, BigDecimalTypeAdapter, ...], [org.bukkit.craftbukkit.libs.com.google.gson.reflect.TypeToken], [org.bukkit.craftbukkit.libs.com.google.gson.stream.JsonReader, JsonWriter, MalformedJsonException, ...], [org.bukkit.craftbukkit.libs.jline.Terminal, TerminalSupport, UnsupportedTerminal, ...], [org.bukkit.craftbukkit.libs.jline.console.ConsoleReader, CursorBuffer, ConsoleKeys, ...], [org.bukkit.craftbukkit.libs.jline.console.completer.CompletionHandler, CandidateListCompletionHandler], [org.bukkit.craftbukkit.libs.jline.console.history.History, MemoryHistory], [org.bukkit.craftbukkit.libs.jline.internal.InputStreamReader, Configuration, Log], [org.bukkit.craftbukkit.libs.joptsimple.OptionException, OptionParser, OptionSpec, ...], [org.bukkit.craftbukkit.libs.joptsimple.internal.AbbreviationMap, ReflectionException, Reflection, ...], [org.bukkit.craftbukkit.libs.joptsimple.util.KeyValuePair], [org.bukkit.craftbukkit.v1_4_6.LoggerOutputStream, CraftServer, CraftOfflinePlayer, ...], [org.bukkit.craftbukkit.v1_4_6.block.CraftBlock, CraftBlockState], [org.bukkit.craftbukkit.v1_4_6.chunkio.ChunkIOExecutor, ChunkIOProvider, QueuedChunk], [org.bukkit.craftbukkit.v1_4_6.command.ServerCommandSender, CraftConsoleCommandSender, ColouredConsoleSender], [org.bukkit.craftbukkit.v1_4_6.conversations.ConversationTracker], [org.bukkit.craftbukkit.v1_4_6.enchantments.CraftEnchantment], [org.bukkit.craftbukkit.v1_4_6.entity.CraftEntity, CraftLivingEntity, CraftHumanEntity, ...], [org.bukkit.craftbukkit.v1_4_6.event.CraftEventFactory], [org.bukkit.craftbukkit.v1_4_6.generator.InternalChunkGenerator, CustomChunkGenerator, NormalChunkGenerator, ...], [org.bukkit.craftbukkit.v1_4_6.help.SimpleHelpMap, CommandAliasHelpTopic, HelpYamlReader, ...], [org.bukkit.craftbukkit.v1_4_6.inventory.CraftItemStack, CraftRecipe, CraftShapedRecipe, ...], [org.bukkit.craftbukkit.v1_4_6.metadata.EntityMetadataStore, PlayerMetadataStore, WorldMetadataStore, ...], [org.bukkit.craftbukkit.v1_4_6.potion.CraftPotionEffectType, CraftPotionBrewer], [org.bukkit.craftbukkit.v1_4_6.scheduler.CraftScheduler, CraftTask, CraftAsyncTask, ...], [org.bukkit.craftbukkit.v1_4_6.updater.AutoUpdater, BukkitDLUpdaterService, DateDeserializer, ...], [org.bukkit.craftbukkit.v1_4_6.util.Waitable, ServerShutdownThread, TerminalConsoleHandler, ...], [org.bukkit.enchantments.Enchantment, EnchantmentWrapper], [org.bukkit.entity.Entity, LivingEntity, AnimalTamer, ...], [org.bukkit.event.Event, Cancellable, Listener, ...], [org.bukkit.event.block.BlockEvent, BlockFadeEvent, BlockGrowEvent, ...], [org.bukkit.event.entity.EntityEvent, EntityInteractEvent, EntityDamageEvent, ...], [org.bukkit.event.hanging.HangingEvent, HangingPlaceEvent, HangingBreakEvent, ...], [org.bukkit.event.inventory.BrewEvent, FurnaceSmeltEvent, FurnaceBurnEvent, ...], [org.bukkit.event.painting.PaintingEvent, PaintingPlaceEvent, PaintingBreakEvent, ...], [org.bukkit.event.player.PlayerEvent, PlayerInteractEvent, PlayerFishEvent, ...], [org.bukkit.event.server.ServerEvent, MapInitializeEvent, ServerCommandEvent, ...], [org.bukkit.event.vehicle.VehicleEvent, VehicleExitEvent, VehicleEnterEvent, ...], )
I am suffering from a similar problem with my server world. It contains (at least) one bad chunk which unfortunately is also in all my back-ups. Chunkster has no effect on the world file (from what I read, it doesn't work on newer versions of MC). I've also used MCedit to try and manually delete the chunk, however this too has failed. I'll go into more detail:
When I load the world in MCedit (v 0.1.6), one chunk is flooded with entities. When I highlight the entire block and try to delete the entities, nothing happens. I've seen people talking about a repair function in the program, but this does not seem to exist in the latest version.
Any advice on the subject would be greatly appreciated.
I had a similar problem with my single play world, MC version 1.5.2.
First I identified the chunk causing problems.
Then I opened the region in the chunk editor NBTExplorer. It shows me several thousand items in the chunk ("ghost chickens"). I deleted all items.
Then I loaded the world into MCEdit 0.1.7, Ctrl-I, "region repair", save.
Now everything seems to be ok again.
How did you find the chunk in NBTExplorer?
Rollback Post to RevisionRollBack
Please actually read posts before responding, so you don't end up looking stewped.
I just found this thread when looking for help; i'm going to try it cos my backups are not old enough to bypass the corruptions either. Try this if you can, this was on Planetminecraft:
So recently on my server (Creation Bay) we had an issue regarding what appeared to be a corrupted chunk, every 6-10 hours it would regenerate itself completely and as though this wasn't annoying enough it was right in the centre of quite a large build site.
A few of my players banded together and spent some time working out how to go about fixing this issue permanently, and I am happy to say that through their efforts a solution was found! As it turns out fixing corrupted world chunks is quite easy, you just need the right tools to do it.
In order to fix a corrupted chunk you need 2 things:
1) MCEdit (A free world editor for Minecraft, just type it into your preferred search engine and you will find it no worries, there are also tonnes of tutorials and "how-to" videos as well should you need a hand working out how to use it.)
2) The world file that contains the corrupted chunk.
Once you have these 2 things the next part is a piece of cake, simply open the world file that has the chunk issue with MCEdit. Press these keys- "Ctrl+I" and then select the option of "region repair" (Or something along those lines, I cannot remember exactly what the option is called, but it is only 1 of 2 options that are available.) and then let it work its magic!
Re upload the file to your server or open it in Single player (depending on how you play I suppose lol) and it should never bother you again. I have personally tried this method and it is safe to say it has been a success for me and my server!
I have written this article as this issue caused me and a number of my fellow Creation Bay users quite a headache and stress, and I hope that if you are suffering this issue you stumble across this article and find it helpful
The problem for me is that there are apparently over 200 chunks like this, and every time a player joins the server in one of those chunks the server just crashes. So I'm not sure where all these chunks are located.
Is there a way to do a global chunk fix?
shufflesninja
Level 3
Apprentice Engineer
6 months ago
Thanks for helping! I was able to save a world that was hard-worked on with this tutorial.
Anthony10
Level 17
Journeyman Narwhal
6 months ago
UPDATED 1.7.1!!! Go to: McEdit Tab --> World Info --> Repair Regions
Recently, a problem with "corrupted chunks" has caused my server to constantly crash whenever a player reaches the chunk. This is a serious problem, which I have never really had before.
Is there a way to fix this besides deleting the chunks? If you plan to answer, please provide a decent amount of information as I have never been through this before.
PS -
I use the multicraft control panel through my server host. I do not run the server off my computer.
I run a few plugins (Essentials, Factions, CombatTag, TopPvP, NoCheatPlus, WorldEdit, WorldGuard, EnjinMinecraftPlugin, and a few others)
It was called Chunkster, however if I remember correctly, the project was discontinued.
When I load the world in MCedit (v 0.1.6), one chunk is flooded with entities. When I highlight the entire block and try to delete the entities, nothing happens. I've seen people talking about a repair function in the program, but this does not seem to exist in the latest version.
Any advice on the subject would be greatly appreciated.
How did you find the chunk in NBTExplorer?
http://www.minecraftforum.net/forums/mapping-and-modding/minecraft-tools/1261480-minecraft-region-fixer
Edit: I just noticed this thread is from 2013.
So recently on my server (Creation Bay) we had an issue regarding what appeared to be a corrupted chunk, every 6-10 hours it would regenerate itself completely and as though this wasn't annoying enough it was right in the centre of quite a large build site.
A few of my players banded together and spent some time working out how to go about fixing this issue permanently, and I am happy to say that through their efforts a solution was found! As it turns out fixing corrupted world chunks is quite easy, you just need the right tools to do it.
In order to fix a corrupted chunk you need 2 things:
1) MCEdit (A free world editor for Minecraft, just type it into your preferred search engine and you will find it no worries, there are also tonnes of tutorials and "how-to" videos as well should you need a hand working out how to use it.)
2) The world file that contains the corrupted chunk.
Once you have these 2 things the next part is a piece of cake, simply open the world file that has the chunk issue with MCEdit. Press these keys- "Ctrl+I" and then select the option of "region repair" (Or something along those lines, I cannot remember exactly what the option is called, but it is only 1 of 2 options that are available.) and then let it work its magic!
Re upload the file to your server or open it in Single player (depending on how you play I suppose lol) and it should never bother you again. I have personally tried this method and it is safe to say it has been a success for me and my server!
I have written this article as this issue caused me and a number of my fellow Creation Bay users quite a headache and stress, and I hope that if you are suffering this issue you stumble across this article and find it helpful
Thanks everyone, take care and happy crafting!
-PBW.
Tags:
Tutorial
Credit:
r3v3r53d Airman506 JumboJames SydShawFo BeatlesGirl
More Blogs by Creation BayView All
734 views
21 comments
4 favorited
Last updated 06/02/12
Posted
Opinions Verse Sheer Arrogance.
Last updated Creation Bay
Comments :
Join us to post comments.
1 - 15 of 15
Tobstah
Level 14
Journeyman Engineer
5 months ago
The problem for me is that there are apparently over 200 chunks like this, and every time a player joins the server in one of those chunks the server just crashes. So I'm not sure where all these chunks are located.
Is there a way to do a global chunk fix?
shufflesninja
Level 3
Apprentice Engineer
6 months ago
Thanks for helping! I was able to save a world that was hard-worked on with this tutorial.
Anthony10
Level 17
Journeyman Narwhal
6 months ago
UPDATED 1.7.1!!! Go to: McEdit Tab --> World Info --> Repair Regions