InventoryClickEvent Crash

Discussion in 'Plugin Development' started by Ross Gosling, Oct 25, 2013.

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

    Ross Gosling

    My server keeps crashing when players interact with the furnace inventory created by my plugin, I'm not sure the exact cause but it's definitely something to do with when you click within the inventory slots.

    Opening the Custom Furnace Inventory:

    Code:
    //OnPlayerInteractEvent
    //Click Furnace
    if(Block.getType().equals(Material.FURNACE)) {
             
        Event.setCancelled(true);
             
        Inventory FurnaceMenu = Bukkit.createInventory(Player, InventoryType.FURNACE);
             
        Player.openInventory(FurnaceMenu);
             
    }

    Event Code:

    Code:
        @EventHandler
        public void InventoryClick(InventoryClickEvent Event) {
     
            Player Player = (org.bukkit.entity.Player) Event.getWhoClicked();
     
            if(Event.getCurrentItem().equals(null)) {
             
                //Do Nothing
         
            }
     
            else if((Event.getCurrentItem().getType().equals(Material.SADDLE)) && (Event.getCurrentItem().getItemMeta().hasDisplayName() == false)) {
         
                if(Player.hasPermission("GroupNode.InBuildMode")) {
             
                    Event.setCancelled(false);
             
                }
         
                else {
                     
                    Player.sendMessage(ChatColor.RED + "You cannot remove horse's saddles");
             
                    Event.setCancelled(true);
         
                }
         
            }
     
            else {
         
                //Do Nothing
         
            }
             
        }

    Crash Report generated by my server:

    Code:
    ---- Minecraft Crash Report ----
     
    Description: Exception in server tick loop
     
    java.lang.StackOverflowError
        at net.minecraft.server.v1_6_R3.Container.clickItem(Container.java:114)
        at net.minecraft.server.v1_6_R3.Container.a(Container.java:418)
        at net.minecraft.server.v1_6_R3.Container.clickItem(Container.java:253)
        at net.minecraft.server.v1_6_R3.Container.a(Container.java:418)
        at net.minecraft.server.v1_6_R3.Container.clickItem(Container.java:253)
        at net.minecraft.server.v1_6_R3.Container.a(Container.java:418)
        at net.minecraft.server.v1_6_R3.Container.clickItem(Container.java:253)
        at net.minecraft.server.v1_6_R3.Container.a(Container.java:418)
        at net.minecraft.server.v1_6_R3.Container.clickItem(Container.java:253)
        at net.minecraft.server.v1_6_R3.Container.a(Container.java:418)
        at net.minecraft.server.v1_6_R3.Container.clickItem(Container.java:253)
        at net.minecraft.server.v1_6_R3.Container.a(Container.java:418)
        at net.minecraft.server.v1_6_R3.Container.clickItem(Container.java:253)
        at net.minecraft.server.v1_6_R3.Container.a(Container.java:418)
        at net.minecraft.server.v1_6_R3.Container.clickItem(Container.java:253)
        at net.minecraft.server.v1_6_R3.Container.a(Container.java:418)
        at net.minecraft.server.v1_6_R3.Container.clickItem(Container.java:253)
        at net.minecraft.server.v1_6_R3.Container.a(Container.java:418)
        at net.minecraft.server.v1_6_R3.Container.clickItem(Container.java:253)
        at net.minecraft.server.v1_6_R3.Container.a(Container.java:418)
        at net.minecraft.server.v1_6_R3.Container.clickItem(Container.java:253)
        at net.minecraft.server.v1_6_R3.Container.a(Container.java:418)
        at net.minecraft.server.v1_6_R3.Container.clickItem(Container.java:253)
        at net.minecraft.server.v1_6_R3.Container.a(Container.java:418)
        at net.minecraft.server.v1_6_R3.Container.clickItem(Container.java:253)
        at net.minecraft.server.v1_6_R3.Container.a(Container.java:418)
        at net.minecraft.server.v1_6_R3.Container.clickItem(Container.java:253)
        at net.minecraft.server.v1_6_R3.Container.a(Container.java:418)
        at net.minecraft.server.v1_6_R3.Container.clickItem(Container.java:253)
        at net.minecraft.server.v1_6_R3.Container.a(Container.java:418)
        at net.minecraft.server.v1_6_R3.Container.clickItem(Container.java:253)
        at net.minecraft.s... Countless more times
     
     
    A detailed walkthrough of the error, its code path and all known details is as follows:
    ---------------------------------------------------------------------------------------
     
    -- System Details --
    Details:
        Minecraft Version: 1.6.4
        Operating System: Linux (amd64) version 2.6.32-042stab065.3
        Java Version: 1.7.0, Oracle Corporation
        Java VM Version: Java HotSpot(TM) 64-Bit Server VM (mixed mode), Oracle Corporation
        Memory: 138647608 bytes (132 MB) / 520028160 bytes (495 MB) up to 520028160 bytes (495 MB)
        JVM Flags: 2 total; -Xmx512M -Xms512M
        AABB Pool Size: 3247 (181832 bytes; 0 MB) allocated, 2143 (120008 bytes; 0 MB) used
        Suspicious classes: $Proxy3, $Proxy4, $Proxy12[com.avaje.ebean.EbeanServer], [com.avaje.ebean.config.dbplatform.DatabasePlatform, SQLitePlatform], [net.minecraft.server.v1_6_R3.ICommandListener, IMojangStatistics, ICommandHandler, ...], [org.bukkit.BlockChangeDelegate, World, 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, Prompt, ...], [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, $Gson$Types, ...], [org.bukkit.craftbukkit.libs.com.google.gson.internal.bind.JsonTreeReader, JsonTreeWriter, TypeAdapters, ...], [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, Completer], [org.bukkit.craftbukkit.libs.jline.console.history.History, MemoryHistory], [org.bukkit.craftbukkit.libs.jline.internal.InputStreamReader, Configuration, Log], [org.bukkit.craftbukkit.v1_6_R3.LoggerOutputStream, CraftServer, CraftOfflinePlayer, ...], [org.bukkit.craftbukkit.v1_6_R3.block.CraftBlock, CraftBlockState, CraftChest], [org.bukkit.craftbukkit.v1_6_R3.chunkio.ChunkIOExecutor, ChunkIOProvider, QueuedChunk], [org.bukkit.craftbukkit.v1_6_R3.command.ServerCommandSender, CraftConsoleCommandSender, ColouredConsoleSender, ...], [org.bukkit.craftbukkit.v1_6_R3.conversations.ConversationTracker], [org.bukkit.craftbukkit.v1_6_R3.enchantments.CraftEnchantment], [org.bukkit.craftbukkit.v1_6_R3.entity.CraftEntity, CraftLivingEntity, CraftHumanEntity, ...], [org.bukkit.craftbukkit.v1_6_R3.event.CraftEventFactory], [org.bukkit.craftbukkit.v1_6_R3.generator.InternalChunkGenerator, CustomChunkGenerator, NormalChunkGenerator, ...], [org.bukkit.craftbukkit.v1_6_R3.help.SimpleHelpMap, CommandAliasHelpTopic, HelpYamlReader, ...], [org.bukkit.craftbukkit.v1_6_R3.inventory.CraftItemStack, CraftRecipe, CraftShapedRecipe, ...], [org.bukkit.craftbukkit.v1_6_R3.map.CraftMapView, CraftMapRenderer, RenderData, ...], [org.bukkit.craftbukkit.v1_6_R3.metadata.EntityMetadataStore, PlayerMetadataStore, WorldMetadataStore, ...], [org.bukkit.craftbukkit.v1_6_R3.potion.CraftPotionEffectType, CraftPotionBrewer], [org.bukkit.craftbukkit.v1_6_R3.scheduler.CraftScheduler, CraftTask, CraftAsyncTask, ...], [org.bukkit.craftbukkit.v1_6_R3.scoreboard.CraftScoreboardManager, CraftScoreboard, CraftScoreboardComponent, ...], [org.bukkit.craftbukkit.v1_6_R3.updater.AutoUpdater, BukkitDLUpdaterService, DateDeserializer, ...], [org.bukkit.craftbukkit.v1_6_R3.util.ServerShutdownThread, Waitable, TerminalConsoleHandler, ...], [org.bukkit.enchantments.Enchantment, EnchantmentWrapper], [org.bukkit.entity.Entity, Damageable, LivingEntity, ...], [org.bukkit.entity.minecart.PoweredMinecart, StorageMinecart, ExplosiveMinecart, ...], [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.InventoryMoveItemEvent, InventoryEvent, InventoryInteractEvent, ...], [org.bukkit.event.painting.PaintingEvent, PaintingPlaceEvent, PaintingBreakEvent, ...], [org.bukkit.event.player.PlayerEvent, PlayerFishEvent, PlayerJoinEvent, ...], [org.bukkit.event.server.ServerEvent, MapInitializeEvent, ServerCommandEvent, ...], [org.bukkit.event.vehicle.VehicleEvent, VehicleCollisionEvent, VehicleBlockCollisionEvent, ...], [org.bukkit.event.weather.WeatherEvent, ThunderChangeEvent, WeatherChangeEvent, ...], [org.bukkit.event.world.WorldEvent, WorldInitEvent, WorldSaveEvent, ...], [org.bukkit.generator.ChunkGenerator], [org.bukkit.help.HelpMap, HelpTopic, IndexHelpTopic, ...], [org.bukkit.inventory.ItemStack, Inventory, Recipe, ...], [org.bukkit.inventory.meta.ItemMeta, Repairable, BookMeta, ...], [org.bukkit.map.MapView, MapCanvas, MapRenderer, ...], [org.bukkit.material.MaterialData, Tree, Directional, ...], [org.bukkit.metadata.Metadatable, MetadataStore, MetadataStoreBase, ...], [org.bukkit.permissions.ServerOperator, Permissible, PermissionDefault, ...], [org.bukkit.plugin.ServicesManager, PluginManager, SimpleServicesManager, ...], [org.bukkit.plugin.java.JavaPluginLoader, PluginClassLoader, JavaPlugin], [org.bukkit.plugin.messaging.PluginMessageRecipient, Messenger, StandardMessenger, ...], [org.bukkit.potion.PotionEffectType, PotionEffectTypeWrapper, PotionBrewer, ...], [org.bukkit.scheduler.BukkitScheduler, BukkitTask, BukkitRunnable, ...], [org.bukkit.scoreboard.ScoreboardManager, DisplaySlot, Scoreboard, ...], [org.bukkit.util.Vector, BlockVector, Java15Compat, ...], [org.bukkit.util.permissions.DefaultPermissions, CommandPermissions, BroadcastPermissions], [org.fusesource.jansi.Ansi, NoAnsi, Attribute, ...], [org.json.simple.JSONValue, JSONAware, JSONStreamAware, ...], [org.json.simple.parser.JSONParser, ParseException, Yylex, ...], [org.yaml.snakeyaml.DumperOptions, ScalarStyle, FlowStyle, ...], [org.yaml.snakeyaml.composer.Composer, ComposerException], [org.yaml.snakeyaml.constructor.BaseConstructor, SafeConstructor, Constructor, ...], [org.yaml.snakeyaml.emitter.Emitable, Emitter, EmitterState, ...], [org.yaml.snakeyaml.error.YAMLException, MarkedYAMLException, Mark], [org.yaml.snakeyaml.events.Event, NodeEvent, ScalarEvent, ...], [org.yaml.snakeyaml.external.com.google.gdata.util.common.base.Escaper, UnicodeEscaper, PercentEscaper], [org.yaml.snakeyaml.introspector.PropertyUtils, BeanAccess], [org.yaml.snakeyaml.nodes.Node, CollectionNode, MappingNode, ...], [org.yaml.snakeyaml.parser.Parser, ParserImpl, Production, ...], [org.yaml.snakeyaml.reader.UnicodeReader, StreamReader, ReaderException], [org.yaml.snakeyaml.representer.BaseRepresenter, SafeRepresenter, Representer, ...], [org.yaml.snakeyaml.resolver.Resolver, ResolverTuple], [org.yaml.snakeyaml.scanner.Scanner, ScannerImpl, ScannerException, ...], [org.yaml.snakeyaml.serializer.Serializer, SerializerException], [org.yaml.snakeyaml.tokens.Token, AliasToken, ScalarToken, ...], [org.yaml.snakeyaml.util.UriEncoder, ArrayStack]
        IntCache: cache: 0, tcache: 0, allocated: 1, tallocated: 63
        CraftBukkit Information:
      Running: CraftBukkit version git-Bukkit-1.6.2-R1.0-3-g9532cb6-b2887jnks (MC: 1.6.4) (Implementing API version 1.6.4-R0.1-SNAPSHOT) true
      Plugins: { BetterAlias v1.4.2 com.ne0nx3r0.betteralias.BetterAlias [], WorldBorder v1.7.2 com.wimbli.WorldBorder.WorldBorder [Brettflan], bPermissions v2.10.7 de.bananaco.bpermissions.imp.Permissions [codename_B], WorldEdit v5.5.8 com.sk89q.worldedit.bukkit.WorldEditPlugin [], VoxelSniper v5.168.6-SNAPSHOT-jnks218 com.thevoxelbox.voxelsniper.VoxelSniper [przerwap, MikeMatrix, Gavjenks, giltwist, psanker, Deamon5550, DivineRage], Buycraft v6.4 net.buycraft.Plugin [Tebex Technologies Ltd], RegenBlock vBeta 5.7 net.dmg2.RegenBlock.RegenBlock [], Vault v1.2.27-b349 net.milkbowl.vault.Vault [cereal, Sleaker, mung3r], HealthBar v1.7 com.gmail.filoghost.healthbar.Main [filoghost], CustomGoslingPlugin v1.0 me.x3DGosling.CustomGoslingPlugin.Main [], CookieMonster v1.8 com.pi.coelho.CookieMonster.CookieMonster [jascotty2, Coelho], EnderChestPlus v6.2 com.RingOfStorms.ecp.main [], WorldGuard v5.8 with custom flags plugin. com.sk89q.worldguard.bukkit.WorldGuardPlugin [], DispenserRefill v1.1.0-A3 org.evilco.bukkit.DispenserRefill.DispenserRefillPlugin [], WGRegionEvents v1.2 com.mewin.WGRegionEvents.WGRegionEventsPlugin [], MChat v1.6.2-R0.14-b349jnks com.miraclem4n.mchat.MChat [MiracleM4n, MiracleM4n], Horses v1.1.6 com.forgenz.horses.Horses [ShadowDog007], FirstSpawn v1.6 (b105-git-afa6eaae) com.DutchMasterServer.firstspawn.FirstSpawn [DutchMasterServer], KillAllMobs v1.2 mollekake.project.KAM.KillAllMobs [mollekake], ProtocolLib v2.7.0 com.comphenix.protocol.ProtocolLibrary [Comphenix], PlayerHider v0.2 io.github.redinzane.playerhider.PlayerHider [], WGCustomFlags v1.6 com.mewin.WGCustomFlags.WGCustomFlagsPlugin [mewin], WGMobDamageFlags v1.2 com.mewin.WGMobDamageFlags.WGMobDamageFlagsPlugin [mewin], CommandSigns v1.9.1.1 org.zonedabone.commandsigns.CommandSigns [zonedabone, CJxD, HansAnderson], WGRegionCommands v0.1 com.mewin.wgrc.WGRegionCommandsPlugin [mewin],}
      Warnings: DEFAULT
      Threads: { WAITING Chunk I/O Executor Thread-1: [sun.misc.Unsafe.park(Native Method), java.util.concurrent.locks.LockSupport.park(LockSupport.java:186), java.util.concurrent.locks.AbstractQueuedSynchronizer$ConditionObject.await(AbstractQueuedSynchronizer.java:2043), java.util.concurrent.LinkedBlockingQueue.take(LinkedBlockingQueue.java:442), java.util.concurrent.ThreadPoolExecutor.getTask(ThreadPoolExecutor.java:1043), java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1103), java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:603), java.lang.Thread.run(Thread.java:722)], TIMED_WAITING File IO Thread: [java.lang.Thread.sleep(Native Method), net.minecraft.server.v1_6_R3.FileIOThread.b(SourceFile:44), net.minecraft.server.v1_6_R3.FileIOThread.run(SourceFile:23), java.lang.Thread.run(Thread.java:722)], RUNNABLE Server thread: [java.lang.Thread.dumpThreads(Native Method), java.lang.Thread.getAllStackTraces(Thread.java:1618), org.bukkit.craftbukkit.v1_6_R3.CraftCrashReport.call(CraftCrashReport.java:28), net.minecraft.server.v1_6_R3.CrashReportSystemDetails.a(SourceFile:74), net.minecraft.server.v1_6_R3.CrashReport.h(CrashReport.java:41), net.minecraft.server.v1_6_R3.CrashReport.<init>(CrashReport.java:28), net.minecraft.server.v1_6_R3.MinecraftServer.run(MinecraftServer.java:438), net.minecraft.server.v1_6_R3.ThreadServerApplication.run(SourceFile:583)], WAITING pool-4-thread-2: [sun.misc.Unsafe.park(Native Method), java.util.concurrent.locks.LockSupport.park(LockSupport.java:186), java.util.concurrent.locks.AbstractQueuedSynchronizer$ConditionObject.await(AbstractQueuedSynchronizer.java:2043), java.util.concurrent.LinkedBlockingQueue.take(LinkedBlockingQueue.java:442), java.util.concurrent.ThreadPoolExecutor.getTask(ThreadPoolExecutor.java:1043), java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1103), java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:603), java.lang.Thread.run(Thread.java:722)], TIMED_WAITING Connection #32 write thread: [java.lang.Thread.sleep(Native Method), net.minecraft.server.v1_6_R3.NetworkWriterThread.run(NetworkWriterThread.java:38)], RUNNABLE Thread-5: [java.io.FileInputStream.readBytes(Native Method), java.io.FileInputStream.read(FileInputStream.java:242), java.io.BufferedInputStream.fill(BufferedInputStream.java:235), java.io.BufferedInputStream.read(BufferedInputStream.java:254), java.io.FilterInputStream.read(FilterInputStream.java:83), org.bukkit.craftbukkit.libs.jline.console.ConsoleReader$1.read(ConsoleReader.java:167), org.bukkit.craftbukkit.libs.jline.internal.InputStreamReader.read(InputStreamReader.java:267), org.bukkit.craftbukkit.libs.jline.internal.InputStreamReader.read(InputStreamReader.java:204), org.bukkit.craftbukkit.libs.jline.console.ConsoleReader.readCharacter(ConsoleReader.java:995), org.bukkit.craftbukkit.libs.jline.console.ConsoleReader.readLineSimple(ConsoleReader.java:1506), org.bukkit.craftbukkit.libs.jline.console.ConsoleReader.readLine(ConsoleReader.java:1153), org.bukkit.craftbukkit.libs.jline.console.ConsoleReader.readLine(ConsoleReader.java:1117), org.bukkit.craftbukkit.libs.jline.console.ConsoleReader.readLine(ConsoleReader.java:1105), net.minecraft.server.v1_6_R3.ThreadCommandReader.run(ThreadCommandReader.java:33)], WAITING Keep-Alive-SocketCleaner: [java.lang.Object.wait(Native Method), sun.net.www.http.KeepAliveStreamCleaner.run(KeepAliveStreamCleaner.java:101), java.lang.Thread.run(Thread.java:722)], WAITING pool-4-thread-5: [sun.misc.Unsafe.park(Native Method), java.util.concurrent.locks.LockSupport.park(LockSupport.java:186), java.util.concurrent.locks.AbstractQueuedSynchronizer$ConditionObject.await(AbstractQueuedSynchronizer.java:2043), java.util.concurrent.LinkedBlockingQueue.take(LinkedBlockingQueue.java:442), java.util.concurrent.ThreadPoolExecutor.getTask(ThreadPoolExecutor.java:1043), java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1103), java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:603), java.lang.Thread.run(Thread.java:722)], TIMED_WAITING Thread-9: [java.lang.Thread.sleep(Native Method), net.dmg2.RegenBlock.RegenBlockQueue.run(RegenBlockQueue.java:35), java.lang.Thread.run(Thread.java:722)], WAITING Reference Handler: [java.lang.Object.wait(Native Method), java.lang.Object.wait(Object.java:503), java.lang.ref.Reference$ReferenceHandler.run(Reference.java:133)], WAITING Finalizer: [java.lang.Object.wait(Native Method), java.lang.ref.ReferenceQueue.remove(ReferenceQueue.java:135), java.lang.ref.ReferenceQueue.remove(ReferenceQueue.java:151), java.lang.ref.Finalizer$FinalizerThread.run(Finalizer.java:177)], RUNNABLE Connection #32 read thread: [java.net.SocketInputStream.socketRead0(Native Method), java.net.SocketInputStream.read(SocketInputStream.java:150), java.net.SocketInputStream.read(SocketInputStream.java:121), java.io.FilterInputStream.read(FilterInputStream.java:133), net.minecraft.v1_6_R3.org.bouncycastle.crypto.io.CipherInputStream.nextChunk(Unknown Source), net.minecraft.v1_6_R3.org.bouncycastle.crypto.io.CipherInputStream.read(Unknown Source), java.io.DataInputStream.readUnsignedByte(DataInputStream.java:288), net.minecraft.server.v1_6_R3.Packet.a(Packet.java:96), net.minecraft.server.v1_6_R3.NetworkManager.i(NetworkManager.java:195), net.minecraft.server.v1_6_R3.NetworkManager.c(NetworkManager.java:351), net.minecraft.server.v1_6_R3.NetworkReaderThread.run(SourceFile:94)], RUNNABLE Signal Dispatcher: [], RUNNABLE Connection #30 read thread: [java.net.SocketInputStream.socketRead0(Native Method), java.net.SocketInputStream.read(SocketInputStream.java:150), java.net.SocketInputStream.read(SocketInputStream.java:121), java.io.FilterInputStream.read(FilterInputStream.java:133), net.minecraft.v1_6_R3.org.bouncycastle.crypto.io.CipherInputStream.nextChunk(Unknown Source), net.minecraft.v1_6_R3.org.bouncycastle.crypto.io.CipherInputStream.read(Unknown Source), java.io.DataInputStream.readUnsignedByte(DataInputStream.java:288), net.minecraft.server.v1_6_R3.Packet.a(Packet.java:96), net.minecraft.server.v1_6_R3.NetworkManager.i(NetworkManager.java:195), net.minecraft.server.v1_6_R3.NetworkManager.c(NetworkManager.java:351), net.minecraft.server.v1_6_R3.NetworkReaderThread.run(SourceFile:94)], TIMED_WAITING Thread-7: [java.lang.Thread.sleep(Native Method), de.bananaco.bpermissions.imp.loadmanager.MainThread.check(MainThread.java:58), de.bananaco.bpermissions.imp.loadmanager.MainThread.run(MainThread.java:27)], RUNNABLE Listen thread: [java.net.PlainSocketImpl.socketAccept(Native Method), java.net.AbstractPlainSocketImpl.accept(AbstractPlainSocketImpl.java:396), java.net.ServerSocket.implAccept(ServerSocket.java:522), java.net.ServerSocket.accept(ServerSocket.java:490), net.minecraft.server.v1_6_R3.DedicatedServerConnectionThread.run(DedicatedServerConnectionThread.java:59)], TIMED_WAITING Connection #30 write thread: [java.lang.Thread.sleep(Native Method), net.minecraft.server.v1_6_R3.NetworkWriterThread.run(NetworkWriterThread.java:38)], TIMED_WAITING Thread-4: [java.lang.Thread.sleep(Native Method), net.minecraft.server.v1_6_R3.ThreadSleepForever.run(SourceFile:64)], WAITING pool-4-thread-4: [sun.misc.Unsafe.park(Native Method), java.util.concurrent.locks.LockSupport.park(LockSupport.java:186), java.util.concurrent.locks.AbstractQueuedSynchronizer$ConditionObject.await(AbstractQueuedSynchronizer.java:2043), java.util.concurrent.LinkedBlockingQueue.take(LinkedBlockingQueue.java:442), java.util.concurrent.ThreadPoolExecutor.getTask(ThreadPoolExecutor.java:1043), java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1103), java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:603), java.lang.Thread.run(Thread.java:722)], RUNNABLE Thread-11: [java.net.PlainDatagramSocketImpl.receive0(Native Method), java.net.AbstractPlainDatagramSocketImpl.receive(AbstractPlainDatagramSocketImpl.java:135), java.net.DatagramSocket.receive(DatagramSocket.java:775), net.minecraft.server.v1_6_R3.RemoteStatusListener.run(SourceFile:257), java.lang.Thread.run(Thread.java:722)], TIMED_WAITING Snooper Timer: [java.lang.Object.wait(Native Method), java.util.TimerThread.mainLoop(Timer.java:552), java.util.TimerThread.run(Timer.java:505)], TIMED_WAITING pool-1-thread-2069: [sun.misc.Unsafe.park(Native Method), java.util.concurrent.locks.LockSupport.parkNanos(LockSupport.java:226), java.util.concurrent.SynchronousQueue$TransferStack.awaitFulfill(SynchronousQueue.java:460), java.util.concurrent.SynchronousQueue$TransferStack.transfer(SynchronousQueue.java:359), java.util.concurrent.SynchronousQueue.poll(SynchronousQueue.java:942), java.util.concurrent.ThreadPoolExecutor.getTask(ThreadPoolExecutor.java:1043), java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1103), java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:603), java.lang.Thread.run(Thread.java:722)], WAITING pool-4-thread-1: [sun.misc.Unsafe.park(Native Method), java.util.concurrent.locks.LockSupport.park(LockSupport.java:186), java.util.concurrent.locks.AbstractQueuedSynchronizer$ConditionObject.await(AbstractQueuedSynchronizer.java:2043), java.util.concurrent.LinkedBlockingQueue.take(LinkedBlockingQueue.java:442), java.util.concurrent.ThreadPoolExecutor.getTask(ThreadPoolExecutor.java:1043), java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1103), java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:603), java.lang.Thread.run(Thread.java:722)], TIMED_WAITING pool-1-thread-2070: [sun.misc.Unsafe.park(Native Method), java.util.concurrent.locks.LockSupport.parkNanos(LockSupport.java:226), java.util.concurrent.SynchronousQueue$TransferStack.awaitFulfill(SynchronousQueue.java:460), java.util.concurrent.SynchronousQueue$TransferStack.transfer(SynchronousQueue.java:359), java.util.concurrent.SynchronousQueue.poll(SynchronousQueue.java:942), java.util.concurrent.ThreadPoolExecutor.getTask(ThreadPoolExecutor.java:1043), java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1103), java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:603), java.lang.Thread.run(Thread.java:722)], TIMED_WAITING pool-1-thread-2068: [sun.misc.Unsafe.park(Native Method), java.util.concurrent.locks.LockSupport.parkNanos(LockSupport.java:226), java.util.concurrent.SynchronousQueue$TransferStack.awaitFulfill(SynchronousQueue.java:460), java.util.concurrent.SynchronousQueue$TransferStack.transfer(SynchronousQueue.java:359), java.util.concurrent.SynchronousQueue.poll(SynchronousQueue.java:942), java.util.concurrent.ThreadPoolExecutor.getTask(ThreadPoolExecutor.java:1043), java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1103), java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:603), java.lang.Thread.run(Thread.java:722)], TIMED_WAITING pool-1-thread-2067: [sun.misc.Unsafe.park(Native Method), java.util.concurrent.locks.LockSupport.parkNanos(LockSupport.java:226), java.util.concurrent.SynchronousQueue$TransferStack.awaitFulfill(SynchronousQueue.java:460), java.util.concurrent.SynchronousQueue$TransferStack.transfer(SynchronousQueue.java:359), java.util.concurrent.SynchronousQueue.poll(SynchronousQueue.java:942), java.util.concurrent.ThreadPoolExecutor.getTask(ThreadPoolExecutor.java:1043), java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1103), java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:603), java.lang.Thread.run(Thread.java:722)], TIMED_WAITING pool-1-thread-2063: [sun.misc.Unsafe.park(Native Method), java.util.concurrent.locks.LockSupport.parkNanos(LockSupport.java:226), java.util.concurrent.SynchronousQueue$TransferStack.awaitFulfill(SynchronousQueue.java:460), java.util.concurrent.SynchronousQueue$TransferStack.transfer(SynchronousQueue.java:359), java.util.concurrent.SynchronousQueue.poll(SynchronousQueue.java:942), java.util.concurrent.ThreadPoolExecutor.getTask(ThreadPoolExecutor.java:1043), java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1103), java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:603), java.lang.Thread.run(Thread.java:722)], RUNNABLE DestroyJavaVM: [], WAITING pool-4-thread-3: [sun.misc.Unsafe.park(Native Method), java.util.concurrent.locks.LockSupport.park(LockSupport.java:186), java.util.concurrent.locks.AbstractQueuedSynchronizer$ConditionObject.await(AbstractQueuedSynchronizer.java:2043), java.util.concurrent.LinkedBlockingQueue.take(LinkedBlockingQueue.java:442), java.util.concurrent.ThreadPoolExecutor.getTask(ThreadPoolExecutor.java:1043), java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1103), java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:603), java.lang.Thread.run(Thread.java:722)],}
      Recent tasks from 4908640-4908670{WorldEdit:[email protected],}
        Profiler Position: N/A (disabled)
        Vec3 Pool Size: ~~ERROR~~ NullPointerException: null
        Player Count: 2 / 12; [EntityPlayer['A_Scase'/5729657, l='world', x=34.50, y=65.00, z=98.79](A_Scase at 34.50241147840012,65.0,98.79237001644697), EntityPlayer['x3DGosling'/6697100, l='world', x=31.30, y=65.00, z=99.50](x3DGosling at 31.30000001192093,65.0,99.4959055791612)]
        Is Modded: Definitely; Server brand changed to 'craftbukkit'
        Type: Dedicated Server (map_server.txt)
     
  2. Offline

    adam753

    Huh. The error is in the NMS file Container.java, which definitely makes it possible to cause a stack overflow- Lines 418 and 253 call each other recursively. I can't see why it's coded like this, but I'd suggest sending a bug report about it.
     
  3. Offline

    Garris0n

  4. Offline

    Ross Gosling

Thread Status:
Not open for further replies.

Share This Page