Содержание
- Error solution: “Internal Exception: io.netty.handler.codec.DecoderException:java.”
- Internal exception io netty handler codec decoderexception index 25 size 5 что делать
- Minecraft Forums
- HELP! I can’t connect to ANY servers! :((
- Io netty handler, Java IO IOException или внутреннее исключение в Minecraft: что делать
- что делать, когда в Minecraft отваливается подключение с ошибкой io netty handler или Java IO IOException
- перенастраиваем DNS
Error solution: “Internal Exception: io.netty.handler.codec.DecoderException:java.”

In this article we will give you the solution to the following Minecraft bug: Internal Exception: io.netty.handler.DecoderException: java.lang.IndexOutOfBoundsException: Index: 25, Size: 5
This error usually occurs when playing in multiplayer servers and the steps to solve it are the following:
1- The first thing to do is to go to your web browser, either Google Chrome, Mozilla or whatever you prefer and there we go to the “TLauncher” page. For your convenience here is the link to the official site.
2- Once here in the official site of “TLauncher” we must create a new account, because the error “Internal Exception: io.netty.handler.DecoderException: java.lang.IndexOutOfBoundsException: Index: 25, Size: 5” is an error in the account and has nothing to do with your computer or the installation of the game or its configuration. To create a new account you must look for the “Sign Up” button. You must enter a new email and a new password for this second account.You should choose a name that is not too long, as many users also have this problem when the username is too long.

3- Once the new account is created, you only have to open again the “TLauncher” to add the new account, just created. To add a new account you must go to the section that says accounts as shown in the following image.

Add the newly created account and the corresponding password. Save the username and start playing with the new account as the internal exception error will be fixed and you will be able to play in multiplayer mode.
Some users in addition to this step must enter the Aternos page and in “Whitelist” add you to the list of players, for this add the user name of the new account created.
Источник
Internal exception io netty handler codec decoderexception index 25 size 5 что делать
#A fatal error has been detected by the Java Runtime Environment:
#
# EXCEPTION_ACCESS_VIOLATION (0xc0000005) at pc=0x46bce470, pid=7616, tid=2432
#
# JRE version: Java(TM) SE Runtime Environment (8.0_65-b17) (build 1.8.0_65-b17)
# Java VM: Java HotSpot(TM) Client VM (25.65-b01 mixed mode windows-x86 )
# Problematic frame:
# C [awt.dll+0x1e470]
#
# Failed to write core dump. Minidumps are not enabled by default on client versions of Windows
#
# If you would like to submit a bug report, please visit:
# http://bugreport.java.com/bugreport/crash.jsp
# The crash happened outside the Java Virtual Machine in native code.
# See problematic frame for where to report the bug.
#
Current thread (0x45c63400): JavaThread «AWT-Windows» daemon [_thread_in_native, stack(0x46e60000,0x46eb0000)]
siginfo: ExceptionCode=0xc0000005, reading address 0x00000000
Registers:
EAX=0x46eaf4f4, EBX=0x000000c0, ECX=0x0000007e, EDX=0x000000c0
ESP=0x46eaf4dc, EBP=0x00000000, ESI=0x45cedc90, EDI=0x00000000
EIP=0x46bce470, EFLAGS=0x00010216
Top of Stack: (sp=0x46eaf4dc)
0x46eaf4dc: 46eaf4f4 00001000 00000000 00000001
0x46eaf4ec: 45c63df0 0010000f 46c968ca 46bc558b
0x46eaf4fc: 00000000 00000000 45c63df0 46bc566a
0x46eaf50c: 00000000 45c63df0 00000001 46bc576e
0x46eaf51c: 45c63df0 46bc1d90 45c1e288 00000000
0x46eaf52c: 46bc83fa 00000001 46ca6104 00000000
0x46eaf53c: 45c1e288 46bc98f2 46ca60fc 46bc9aeb
0x46eaf54c: 46ca60fc 46c55e99 00000000 c69d455a
Instructions: (pc=0x46bce470)
0x46bce450: d8 53 1b c0 57 8b be 10 a0 00 00 25 00 f0 ff ff
0x46bce460: 05 00 20 00 00 50 c1 e2 05 8d 44 24 14 50 8b da
0x46bce470: 8b 17 53 c1 e1 05 51 8b 4a 2c 57 ff d1 33 ff 3b
0x46bce480: c7 0f 8c 8f 00 00 00 8b 56 04 8b 4c 24 10 c1 e2
Register to memory mapping:
EAX=0x46eaf4f4 is pointing into the stack for thread: 0x45c63400
EBX=0x000000c0 is an unknown value
ECX=0x0000007e is an unknown value
EDX=0x000000c0 is an unknown value
ESP=0x46eaf4dc is pointing into the stack for thread: 0x45c63400
EBP=0x00000000 is an unknown value
ESI=0x45cedc90 is an unknown value
EDI=0x00000000 is an unknown value
Источник
Minecraft Forums
HELP! I can’t connect to ANY servers! :((
![]()
![]()
![]()
I’m using minecraft 1.7.4. So far the only versions I can play is 1.7.4 and 1.7.9.
Btw, is there any good virus scanners that you can introduce?
![]()
- Newly Spawned
- Join Date: 4/19/2014
- Posts: 1
- Member Details
![]()
- Out of the Water
- Join Date: 4/7/2014
- Posts: 7
- Member Details
![]()
- Out of the Water
- Join Date: 4/7/2014
- Posts: 7
- Member Details
![]()
- Out of the Water
- Join Date: 4/18/2014
- Posts: 3
- Member Details
![]()
- Coal Miner
- Join Date: 10/18/2013
- Posts: 109
- Minecraft: zeldalover52
- Xbox: NOPE
- PSN: NOPE
- Member Details
Notch just said creepers are ready to be able to live with humans!
WE’RE ALL GONNA DIE.
I told you you would be scared.
![]()
- Out of the Water
- Join Date: 6/10/2014
- Posts: 2
- Member Details
![]()
- Tree Puncher
- Join Date: 12/11/2011
- Posts: 38
- Minecraft: DragonZlayerX
- Member Details
![]()
- Out of the Water
- Join Date: 6/10/2014
- Posts: 2
- Member Details
![]()
- Out of the Water
- Join Date: 12/15/2014
- Posts: 8
- Member Details
![]()
- The Meaning of Life, the Universe, and Everything.
- Join Date: 1/25/2014
- Posts: 42
- Member Details
So I was playing minecraft earlier today but when I tried to connect to multiplayer servers, it keep saying the following:
Internal Exception: io.netty.handler.codec.DecoderException: java.util.zip.ZipException: invalid bit length repeat
Internal Exception: io.netty.handler.codec.DecoderException: java.util.zip.ZipException: Bad packet id **********
Internal Exception: io.netty.handler.codec.DecoderException: java.io.IOException: Bad compressed data format
Failed to login: Invalid session (Try restarting your game)
Источник
Io netty handler, Java IO IOException или внутреннее исключение в Minecraft: что делать
Ошибка «внутреннее исключение» или Internal Exception с io netty handler либо Java IO IOException в Minecraft случаются по причине того, что игра теряет подключение к серверу.
А вот сбоить подключение, как известно, может по самым разным причинам. Следовательно, в каждом отдельном случае устраняется проблема тоже разными способами, притом вполне себе стандартными.
О них и расскажем. Итак.
что делать, когда в Minecraft отваливается подключение с ошибкой io netty handler или Java IO IOException
Значит, первым делом просто проверяем подключение (перезагружаем роутер, переподключаем комп к Wi-Fi заново, переподключаем его напрямую через кабель, перезагружаем, запускаем Minecraft от имени администратора, проверяем и отключаем родительский контроль и т.д.) далее действуем следующим порядком:
#1 — проверяем состояние сервера
… для того, чтобы определить где именно случился сбой подключения — на стороне сервера, или локально. А для того, чтобы оперативно проверить и текущее состояние сервера игры, и текущее состояние подключения со своей стороны, просто подключаемся к тестовому серверу с IP: test.prisonfun.com.
Если подключится получается без проблем, то с клиентом игры и с настройками компа все в порядке. Данный сервер поддерживает все версии Minecraft и обновляется регулярно, потому оптимально подходит для оперативного выявления любых потенциально возможных проблем с подключением.
В противном же случае, то есть, когда подключиться именно к этому серверу не получилось, то, вероятнее всего, сбой подключения случился на стороне пользователя. И надо его устранять. Потому идем дальше.
#2 — отключаем брандмауэр, антивирус и VPN
Мера это временная, но крайне необходимая в случае, когда нужно быстро определить и устранить причину ошибок io netty handler или Java IO IOException в Minecraft. Поэтому:
- отключаем брандмауэр Windows:
- жмем Win+R с клавиатуры, в строке «Выполнить» пишем control и жмем Enter;
- в окне Панели управления кликаем «Система и безопасность» и далее — «Брандмауэр Windows«;
- в следующем окне слева жмем «Включение и отключение брандмауэра Windows«;
- отключаем брандмауэр для обоих типов сети — для домашней и рабочей и для общественной;
- кликаем ОК.
После этого снова пробуем подключиться к IP: test.prisonfun.com. Если снова не получилось то:
- отключаем антивирус — через панель управления программы;
- отключаем VPN
И снова подключаемся тестовому IP: test.prisonfun.com.
Опять безрезультатно? Тогда..
#3 — обновляем Java
Minecraft без Java не работает (и не должен). Более того, во избежание проблем с игрой Java на компе желательно иметь в самой последней версии. Обновляется эта самая версия стандартно:
- идем на официальную страницу загрузки Java — [ССЫЛКА];
- качаем и устанавливаем самую свежую версию Java.
Попутно в случае с проблемкой «внутреннего исключения» (ошибка io.netty.handler и Java.IO.IOException) не лишним также будет включить функцию Java Native Sandbox, а для этого:
- жмем «Пуск«, в строке поиска системы пишем java и в результатах выше кликаем «Configure Java«;
- в открывшемся окне переходим во вкладку «Advanced«;
- список параметров прокручиваем до раздела «Advanced security settings» и активируем опцию «Enable the operating system’s restricted environment (native sandbox)«;
- жмем «Применить» и «ОК«.
После перерезагружаем комп (это важно!), запускаем Minecraft и подключаемся к IP: test.prisonfun.com. Снова никак?
перенастраиваем DNS
Процедура тоже стандартная:
- жмем Win+R с клавиатуры, в строке «Выполнить» пишем control и жмем Enter;
- в окне Панели управления кликаем «Сеть и Интернет» и далее — «Центр управления сетями и общим доступом«;
- находим с списке сетей свое текущее подключение («Ethernet» или «WiFi») и кликаем ссылку «сетевое соединение«;
- в следующем окне жмем кнопку «Свойства» и далее в окне свойств подключения:
-
- двойным кликом кликаем по строке «Протокол интернета версии 4 (IPv4)» в компонентах;
- в открывшемся окошке активируем опцию «Использовать следующие адреса DNS-серверов» и ниже
- для «Предпочитаемый DNS-сервер» прописываем 8.8.8.8
- для «Альтернативный DNS-сервер» прописываем 8.8.4.4
- и жмем ОК.
Перезагружаем комп, запускаем Minecraft и пробуем подключиться к IP: test.prisonfun.com.
Если после перенастройки DNS (и всех предыдущих мер) устранить проблему не удалось, то, очень вероятно, что причина сбоя — в самой игре, а точнее в имеющейся сборке и/или в установленных модах. Поэтому
#4 — выполняем чистую переустановку Minecraft
То есть, качаем последнюю версию Minecraft с официального сайта и устанавливаем её безо всяких модов. Сделать нужно следующее:
- открываем официальный лаунчер Minecraft (либо сначала качаем его и устанавливаем — [ССЫЛКА] — и затем открываем);
- в главном меню открываем вкладку «Установки» (вверху) и жмем «Новая установка«;
- выбираем версию Minecraft (разработчик рекомендует ставить самую последнюю) и жмем «Загрузить«;
- далее проверяем, чтобы в меню лаунчера выбрана была именно нужная версия и жмем «Играть«;
- после запуска Minecraft проверяем подключение через IP: test.prisonfun.com.
Ну а если игра снова выдает «внутреннее исключение» с io netty handler либо Java IO IOException (а такое тоже может быть), значит придется переустановить её в другое место. Для этого:
- открываем официальный лаунчер Minecraft (ссылку см. выше);
- в главном меню открываем вкладку «Установки» (вверху) и жмем «Новая установка«;
- выбираем самую новую (рекомендуется);
- жмем кнопку «Обзор» и указываем другое место установки игры (либо просто кликаем «Рабочий стол«) и жмем ОК;
- теперь кликаем «Загрузить«;
- далее проверяем, чтобы в меню лаунчера выбрана была именно нужная версия и жмем «Играть«.
Источник
В общем разобрался с этой я проблемой, был конфликтный мод и криво установленный форж. Как только я все наладил появилась необходимость все снести нафиг и поставить ядро caildron так как нужны и плагины и моды.
Сервер без модов запускается на раз и два а вот как только втюхаешь моды то выдает ошибку в конце,
pw.mods.fml.common.launcher.FMLServerTweaker
[00:03:12] [main/INFO]: Using primary tweak class name cpw.mods.fml.common.launcher.FMLServerTweaker
[00:03:12] [main/INFO]: Calling tweak class cpw.mods.fml.common.launcher.FMLServerTweaker
[00:03:12] [main/INFO]: Forge Mod Loader version 7.10.114.1388 for Minecraft 1.7.10 loading
[00:03:13] [main/INFO]: Java is Java HotSpot 64-Bit Server VM, version 1.8.0_121, running on Windows 10:amd64:10.0, installed at C:Program FilesJavajre1.8.0_121
[00:03:13] [main/INFO]: [HOOKLIB] Obfuscated: true
[00:03:13] [main/WARN]: The following coremods do not have a @MCVersion annotation. They may cause problems if this is not the correct version of Minecraft for them.
[00:03:13] [main/WARN]: Missing @MCVersion: mods.battlegear2.coremod.BattlegearLoadingPlugin mixac1.dangerrpg.hook.RPGHookLoader
[00:03:13] [main/INFO]: Loading tweak class name cpw.mods.fml.common.launcher.FMLInjectionAndSortingTweaker
[00:03:13] [main/INFO]: Loading tweak class name cpw.mods.fml.common.launcher.FMLDeobfTweaker
[00:03:13] [main/INFO]: Calling tweak class cpw.mods.fml.common.launcher.FMLInjectionAndSortingTweaker
[00:03:13] [main/INFO]: Calling tweak class cpw.mods.fml.common.launcher.FMLInjectionAndSortingTweaker
[00:03:13] [main/INFO]: Calling tweak class cpw.mods.fml.relauncher.CoreModManager$FMLPluginWrapper
[00:03:15] [main/INFO]: Calling tweak class cpw.mods.fml.relauncher.CoreModManager$FMLPluginWrapper
[00:03:15] [main/INFO]: Calling tweak class cpw.mods.fml.relauncher.CoreModManager$FMLPluginWrapper
[00:03:15] [main/INFO]: [gloomyfolken.hooklib.asm.HookLogger$SystemOutLogger:debug:17]: [DEBUG] Parsing hooks contatiner gloomyfolken.hooklib.minecraft.SecondaryTransformerHook
[00:03:15] [main/INFO]: Calling tweak class cpw.mods.fml.common.launcher.FMLDeobfTweaker
[00:03:16] [main/INFO]: [gloomyfolken.hooklib.asm.HookLogger$SystemOutLogger:debug:17]: [DEBUG] Injecting hooks into class cpw.mods.fml.common.Loader
[00:03:16] [main/INFO]: [gloomyfolken.hooklib.asm.HookLogger$SystemOutLogger:debug:17]: [DEBUG] Successfully injected 1 hook to cpw.mods.fml.common.Loader
[00:03:16] [main/INFO]: [gloomyfolken.hooklib.asm.HookLogger$SystemOutLogger:debug:17]: [DEBUG] Methods dictionary loaded in 4 ms
[00:03:16] [main/INFO]: Calling tweak class cpw.mods.fml.relauncher.CoreModManager$FMLPluginWrapper
[00:03:20] [main/INFO]: Loading tweak class name cpw.mods.fml.common.launcher.TerminalTweaker
[00:03:20] [main/INFO]: Calling tweak class cpw.mods.fml.common.launcher.TerminalTweaker
[00:03:21] [main/INFO]: [gloomyfolken.hooklib.asm.HookLogger$SystemOutLogger:debug:17]: [DEBUG] Injecting hooks into class net.minecraft.entity.player.EntityPlayer
[00:03:21] [main/INFO]: [gloomyfolken.hooklib.asm.HookLogger$SystemOutLogger:debug:17]: [DEBUG] Successfully injected 3 hooks to net.minecraft.entity.player.EntityPlayer
[00:03:21] [main/INFO]: [gloomyfolken.hooklib.asm.HookLogger$SystemOutLogger:warning:22]: [WARNING] Can not found target method of hook AsmHook: net.minecraft.entity.player.EntityPlayer#getItemIcon(Lnet/minecraft/item/ItemStack;I)Lnet/minecraft/util/IIcon; -> mixac1.dangerrpg.hook.HookItemBow#getItemIcon(Lnet/minecraft/entity/player/EntityPlayer;Lnet/minecraft/item/ItemStack;ILnet/minecraft/util/IIcon;)Lnet/minecraft/util/IIcon;, ReturnCondition=ALWAYS, ReturnValue=HOOK_RETURN_VALUE, InjectorFactory: gloomyfolken.hooklib.asm.HookInjectorFactory$MethodExit
[00:03:21] [main/INFO]: M&B — Patching Class EntityPlayer (yz)
[00:03:21] [main/INFO]: Adding new fields to EntityPlayer
[00:03:21] [main/INFO]: Patching constructor in EntityPlayer
[00:03:21] [main/INFO]: Patching method onUpdate in EntityPlayer
[00:03:21] [main/INFO]: Patching method onItemUseFinish in EntityPlayer
[00:03:21] [main/INFO]: Patching method interactWith in EntityPlayer
[00:03:21] [main/INFO]: Patching method setCurrentItemOrArmor in EntityPlayer
[00:03:21] [main/INFO]: Creating new methods in EntityPlayer
[00:03:21] [main/INFO]: M&B — Patching Class EntityPlayer done
[00:03:21] [main/INFO]: [gloomyfolken.hooklib.asm.HookLogger$SystemOutLogger:debug:17]: [DEBUG] Injecting hooks into class net.minecraft.entity.EntityLivingBase
[00:03:21] [main/INFO]: [gloomyfolken.hooklib.asm.HookLogger$SystemOutLogger:debug:17]: [DEBUG] Successfully injected 1 hook to net.minecraft.entity.EntityLivingBase
[00:03:21] [main/INFO]: [gloomyfolken.hooklib.asm.HookLogger$SystemOutLogger:debug:17]: [DEBUG] Injecting hooks into class net.minecraft.entity.Entity
[00:03:21] [main/INFO]: [gloomyfolken.hooklib.asm.HookLogger$SystemOutLogger:debug:17]: [DEBUG] Successfully injected 1 hook to net.minecraft.entity.Entity
[00:03:21] [main/INFO]: Launching wrapped minecraft {net.minecraft.server.MinecraftServer}
[00:03:21] [main/INFO]: [gloomyfolken.hooklib.asm.HookLogger$SystemOutLogger:debug:17]: [DEBUG] Injecting hooks into class net.minecraft.item.Item
[00:03:21] [main/INFO]: [gloomyfolken.hooklib.asm.HookLogger$SystemOutLogger:debug:17]: [DEBUG] Successfully injected 4 hooks to net.minecraft.item.Item
[00:03:22] [main/INFO]: [gloomyfolken.hooklib.asm.HookLogger$SystemOutLogger:debug:17]: [DEBUG] Injecting hooks into class net.minecraft.entity.monster.EntityIronGolem
[00:03:22] [main/INFO]: [gloomyfolken.hooklib.asm.HookLogger$SystemOutLogger:debug:17]: [DEBUG] Successfully injected 1 hook to net.minecraft.entity.monster.EntityIronGolem
[00:03:22] [main/INFO]: [gloomyfolken.hooklib.asm.HookLogger$SystemOutLogger:debug:17]: [DEBUG] Injecting hooks into class net.minecraft.item.ItemBow
[00:03:22] [main/INFO]: [gloomyfolken.hooklib.asm.HookLogger$SystemOutLogger:debug:17]: [DEBUG] Successfully injected 1 hook to net.minecraft.item.ItemBow
[00:03:22] [main/INFO]: [gloomyfolken.hooklib.asm.HookLogger$SystemOutLogger:debug:17]: [DEBUG] Injecting hooks into class net.minecraft.entity.SharedMonsterAttributes
[00:03:22] [main/INFO]: [gloomyfolken.hooklib.asm.HookLogger$SystemOutLogger:debug:17]: [DEBUG] Successfully injected 1 hook to net.minecraft.entity.SharedMonsterAttributes
[00:03:22] [main/INFO]: [gloomyfolken.hooklib.asm.HookLogger$SystemOutLogger:debug:17]: [DEBUG] Injecting hooks into class net.minecraft.item.ItemStack
[00:03:22] [main/INFO]: [gloomyfolken.hooklib.asm.HookLogger$SystemOutLogger:debug:17]: [DEBUG] Successfully injected 2 hooks to net.minecraft.item.ItemStack
[00:03:22] [main/INFO]: M&B — Patching Class ItemStack (add)
[00:03:22] [main/INFO]: M&B — Patching Class ItemStack done
[00:03:23] [main/INFO]: [gloomyfolken.hooklib.asm.HookLogger$SystemOutLogger:debug:17]: [DEBUG] Injecting hooks into class net.minecraft.entity.projectile.EntityLargeFireball
[00:03:23] [main/INFO]: [gloomyfolken.hooklib.asm.HookLogger$SystemOutLogger:debug:17]: [DEBUG] Successfully injected 1 hook to net.minecraft.entity.projectile.EntityLargeFireball
[00:03:23] [main/INFO]: [gloomyfolken.hooklib.asm.HookLogger$SystemOutLogger:debug:17]: [DEBUG] Injecting hooks into class net.minecraft.entity.projectile.EntitySmallFireball
[00:03:23] [main/INFO]: [gloomyfolken.hooklib.asm.HookLogger$SystemOutLogger:debug:17]: [DEBUG] Successfully injected 1 hook to net.minecraft.entity.projectile.EntitySmallFireball
[00:03:23] [main/INFO]: [gloomyfolken.hooklib.asm.HookLogger$SystemOutLogger:debug:17]: [DEBUG] Injecting hooks into class net.minecraft.entity.projectile.EntityWitherSkull
[00:03:23] [main/INFO]: [gloomyfolken.hooklib.asm.HookLogger$SystemOutLogger:debug:17]: [DEBUG] Successfully injected 1 hook to net.minecraft.entity.projectile.EntityWitherSkull
[00:03:23] [main/INFO]: [gloomyfolken.hooklib.asm.HookLogger$SystemOutLogger:debug:17]: [DEBUG] Injecting hooks into class net.minecraft.entity.monster.EntitySkeleton
[00:03:23] [main/INFO]: [gloomyfolken.hooklib.asm.HookLogger$SystemOutLogger:debug:17]: [DEBUG] Successfully injected 1 hook to net.minecraft.entity.monster.EntitySkeleton
[00:03:23] [main/INFO]: [gloomyfolken.hooklib.asm.HookLogger$SystemOutLogger:debug:17]: [DEBUG] Injecting hooks into class net.minecraft.entity.monster.EntitySlime
[00:03:23] [main/INFO]: [gloomyfolken.hooklib.asm.HookLogger$SystemOutLogger:debug:17]: [DEBUG] Successfully injected 1 hook to net.minecraft.entity.monster.EntitySlime
[00:03:23] [main/INFO]: [gloomyfolken.hooklib.asm.HookLogger$SystemOutLogger:debug:17]: [DEBUG] Injecting hooks into class net.minecraft.entity.boss.EntityDragon
[00:03:23] [main/INFO]: [gloomyfolken.hooklib.asm.HookLogger$SystemOutLogger:debug:17]: [DEBUG] Successfully injected 1 hook to net.minecraft.entity.boss.EntityDragon
[00:03:23] [main/INFO]: [gloomyfolken.hooklib.asm.HookLogger$SystemOutLogger:debug:17]: [DEBUG] Injecting hooks into class net.minecraft.entity.passive.EntityWolf
[00:03:23] [main/INFO]: [gloomyfolken.hooklib.asm.HookLogger$SystemOutLogger:debug:17]: [DEBUG] Successfully injected 1 hook to net.minecraft.entity.passive.EntityWolf
[00:03:25] [server thread/INFO]: Starting minecraft server version 1.7.10
[00:03:25] [server thread/INFO]: Attempting early MinecraftForge initialization
[00:03:25] [server thread/INFO]: MinecraftForge v10.13.3.1388 Initialized
[00:03:25] [server thread/INFO]: Replaced 183 ore recipies
[00:03:25] [server thread/INFO]: Preloading CrashReport classes
[00:03:25] [server thread/INFO]: net.minecraft.world.World$1
[00:03:25] [server thread/INFO]: net.minecraft.world.World$2
[00:03:25] [server thread/INFO]: net.minecraft.world.World$3
[00:03:25] [server thread/INFO]: net.minecraft.world.World$4
[00:03:25] [server thread/INFO]: net.minecraft.world.chunk.Chunk$1
[00:03:25] [server thread/INFO]: net.minecraft.crash.CrashReportCategory$1
[00:03:25] [server thread/INFO]: net.minecraft.crash.CrashReportCategory$2
[00:03:25] [server thread/INFO]: net.minecraft.crash.CrashReportCategory$3
[00:03:25] [server thread/INFO]: net.minecraft.entity.Entity$1
[00:03:25] [server thread/INFO]: net.minecraft.entity.Entity$2
[00:03:25] [server thread/INFO]: net.minecraft.entity.EntityTracker$1
[00:03:25] [server thread/INFO]: net.minecraft.world.gen.layer.GenLayer$1
[00:03:25] [server thread/INFO]: net.minecraft.world.gen.layer.GenLayer$2
[00:03:25] [server thread/INFO]: net.minecraft.entity.player.InventoryPlayer$1
[00:03:25] [server thread/INFO]: net.minecraft.world.gen.structure.MapGenStructure$1
[00:03:25] [server thread/INFO]: net.minecraft.world.gen.structure.MapGenStructure$2
[00:03:25] [server thread/INFO]: net.minecraft.world.gen.structure.MapGenStructure$3
[00:03:25] [server thread/INFO]: net.minecraft.server.MinecraftServer$3
[00:03:25] [server thread/INFO]: net.minecraft.server.MinecraftServer$4
[00:03:25] [server thread/INFO]: net.minecraft.server.MinecraftServer$5
[00:03:25] [server thread/INFO]: net.minecraft.nbt.NBTTagCompound$1
[00:03:25] [server thread/INFO]: net.minecraft.nbt.NBTTagCompound$2
[00:03:25] [server thread/INFO]: net.minecraft.network.NetHandlerPlayServer$2
[00:03:25] [server thread/INFO]: net.minecraft.network.NetworkSystem$3
[00:03:25] [server thread/INFO]: net.minecraft.tileentity.TileEntity$1
[00:03:25] [server thread/INFO]: net.minecraft.tileentity.TileEntity$2
[00:03:25] [server thread/INFO]: net.minecraft.tileentity.TileEntity$3
[00:03:25] [server thread/INFO]: net.minecraft.world.storage.WorldInfo$1
[00:03:25] [server thread/INFO]: net.minecraft.world.storage.WorldInfo$2
[00:03:25] [server thread/INFO]: net.minecraft.world.storage.WorldInfo$3
[00:03:25] [server thread/INFO]: net.minecraft.world.storage.WorldInfo$4
[00:03:25] [server thread/INFO]: net.minecraft.world.storage.WorldInfo$5
[00:03:25] [server thread/INFO]: net.minecraft.world.storage.WorldInfo$6
[00:03:25] [server thread/INFO]: net.minecraft.world.storage.WorldInfo$7
[00:03:25] [server thread/INFO]: net.minecraft.world.storage.WorldInfo$8
[00:03:25] [server thread/INFO]: net.minecraft.world.storage.WorldInfo$9
[00:03:25] [server thread/INFO]: net.minecraft.server.dedicated.DedicatedServer$3
[00:03:25] [server thread/INFO]: net.minecraft.server.dedicated.DedicatedServer$4
[00:03:25] [server thread/INFO]: Completed early MinecraftForge initialization
[00:03:26] [server thread/INFO]: Searching C:UsersднсDesktopНовая папка (3)mods for mods
[00:03:27] [server thread/INFO]: Forge Mod Loader has identified 7 mods to load
[00:03:27] [server thread/ERROR]: The mod BiomesOPlenty (Biomes O’ Plenty) requires mod versions [Forge@[10.13.4.1566,)] to be available
[00:03:27] [server thread/ERROR]: Encountered an unexpected exception
cpw.mods.fml.common.MissingModsException:
Missing Mods:
Forge : [10.13.4.1566,)
at cpw.mods.fml.common.Loader.sortModList(Loader.java:244) ~[Loader.class:git-Cauldron-Reloaded-1.7.10-1.1388.1.0]
at cpw.mods.fml.common.Loader.loadMods(Loader.java:472) ~[Loader.class:git-Cauldron-Reloaded-1.7.10-1.1388.1.0]
at cpw.mods.fml.server.FMLServerHandler.beginServerLoading(FMLServerHandler.java:87) ~[FMLServerHandler.class:git-Cauldron-Reloaded-1.7.10-1.1388.1.0]
at cpw.mods.fml.common.FMLCommonHandler.onServerStart(FMLCommonHandler.java:318) ~[FMLCommonHandler.class:git-Cauldron-Reloaded-1.7.10-1.1388.1.0]
at net.minecraft.server.dedicated.DedicatedServer.func_71197_b(DedicatedServer.java:176) ~[lt.class:?]
at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:620) [MinecraftServer.class:?]
at java.lang.Thread.run(Unknown Source) [?:1.8.0_121]
[00:03:27] [server thread/ERROR]: This crash report has been saved to: C:UsersднсDesktopНовая папка (3).crash-reportscrash-2017-03-09_00.03.27-server.txt
[00:03:27] [server thread/WARN]: Can’t revert to frozen GameData state without freezing first.
[00:03:27] [server thread/INFO]: Applying holder lookups
[00:03:27] [server thread/INFO]: Holder lookups applied
[00:03:27] [server thread/INFO]: The state engine was in incorrect state CONSTRUCTING and forced into state SERVER_STOPPED. Errors may have been discarded.
Нигде не могу найти однозначный ответ. В общем ошибка где то в ядре, как только я поставил сервер на форжу, моды работали и с ними можно было играть нормально. Провожу те же манипуляции уже на cauldrone и начинает материть.
-
16.03.2020, 10:03
#1
Уже более полу часа не заходит на сервер Classic
Перестало заходить на сервер Classic, при попытке залогиниться на сервере выдаёт следующуюю ошибку:
Internal Exception: io.netty.handler.codec.DecoderException: java.lang.IndexOutOfBoundsException: readerIndex(30) + length(1) exceeds writerIndex(30): PooledUsafeDirectByteBuf(ridx:30, widx:30, cap:30)
Помогите пожалуйста
-
16.03.2020, 10:05
#2
-
16.03.2020, 10:09
#3
Наверное тогда это у всех, просто ждать остаётся пока починят
-
16.03.2020, 10:11
#4
так кто то же играет все равно, как то не повлияло на них
-
16.03.2020, 10:29
#5
Давай джаву попробуем обновить или переустановить
-
16.03.2020, 10:39
#6
Вы пробовали полностью перезаходить в игру? Там обновление вышло, должно скачаться и тогда пустит на сервер.
-
16.03.2020, 10:41
#7
принудительно обновлял. не катит
-
16.03.2020, 10:42
#8
Сообщение от Marzia
Вы пробовали полностью перезаходить в игру? Там обновление вышло, должно скачаться и тогда пустит на сервер.
Да, перезаход не помогает.
-
16.03.2020, 10:43
#9
Напиши мне в дс — Marzia#4780 и скачай TeamViewer
-
16.03.2020, 10:50
#10
киньте полный лог ошибки, а не тот огрызок из первого поста)
-
16.03.2020, 10:54
#11
Сообщение от Goodie
киньте полный лог ошибки, а не тот огрызок из первого поста)
[10:39:20] [Netty Client IO #6/ERROR] [FML]: NetworkDispatcher exception
io.netty.handler.codec.DecoderException: java.lang.IndexOutOfBoundsException: readerIndex(30) + length(1) exceeds writerIndex(30): PooledUnsafeDirectByteBuf(ridx: 30, widx: 30, cap: 30)
at io.netty.handler.codec.ByteToMessageDecoder.callDe code(ByteToMessageDecoder.java:442) ~[ByteToMessageDecoder.class:2.8.1]
at io.netty.handler.codec.ByteToMessageDecoder.channe lRead(ByteToMessageDecoder.java:248) ~[ByteToMessageDecoder.class:2.8.1]
at io.netty.channel.AbstractChannelHandlerContext.inv okeChannelRead(AbstractChannelHandlerContext.java: 362) [AbstractChannelHandlerContext.class:2.8.1]
at io.netty.channel.AbstractChannelHandlerContext.inv okeChannelRead(AbstractChannelHandlerContext.java: 348) [AbstractChannelHandlerContext.class:2.8.1]
at io.netty.channel.AbstractChannelHandlerContext.fir eChannelRead(AbstractChannelHandlerContext.java:34 0) [AbstractChannelHandlerContext.class:2.8.1]
at io.netty.handler.codec.ByteToMessageDecoder.fireCh annelRead(ByteToMessageDecoder.java:293) [ByteToMessageDecoder.class:2.8.1]
at io.netty.handler.codec.ByteToMessageDecoder.channe lRead(ByteToMessageDecoder.java:267) [ByteToMessageDecoder.class:2.8.1]
at io.netty.channel.AbstractChannelHandlerContext.inv okeChannelRead(AbstractChannelHandlerContext.java: 362) [AbstractChannelHandlerContext.class:2.8.1]
at io.netty.channel.AbstractChannelHandlerContext.inv okeChannelRead(AbstractChannelHandlerContext.java: 348) [AbstractChannelHandlerContext.class:2.8.1]
at io.netty.channel.AbstractChannelHandlerContext.fir eChannelRead(AbstractChannelHandlerContext.java:34 0) [AbstractChannelHandlerContext.class:2.8.1]
at io.netty.handler.codec.ByteToMessageDecoder.fireCh annelRead(ByteToMessageDecoder.java:293) [ByteToMessageDecoder.class:2.8.1]
at io.netty.handler.codec.ByteToMessageDecoder.fireCh annelRead(ByteToMessageDecoder.java:280) [ByteToMessageDecoder.class:2.8.1]
at io.netty.handler.codec.ByteToMessageDecoder.callDe code(ByteToMessageDecoder.java:396) [ByteToMessageDecoder.class:2.8.1]
at io.netty.handler.codec.ByteToMessageDecoder.channe lRead(ByteToMessageDecoder.java:248) [ByteToMessageDecoder.class:2.8.1]
at io.netty.channel.AbstractChannelHandlerContext.inv okeChannelRead(AbstractChannelHandlerContext.java: 362) [AbstractChannelHandlerContext.class:2.8.1]
at io.netty.channel.AbstractChannelHandlerContext.inv okeChannelRead(AbstractChannelHandlerContext.java: 348) [AbstractChannelHandlerContext.class:2.8.1]
at io.netty.channel.AbstractChannelHandlerContext.fir eChannelRead(AbstractChannelHandlerContext.java:34 0) [AbstractChannelHandlerContext.class:2.8.1]
at io.netty.handler.codec.MessageToMessageDecoder.cha nnelRead(MessageToMessageDecoder.java:102) [MessageToMessageDecoder.class:2.8.1]
at io.netty.channel.AbstractChannelHandlerContext.inv okeChannelRead(AbstractChannelHandlerContext.java: 362) [AbstractChannelHandlerContext.class:2.8.1]
at io.netty.channel.AbstractChannelHandlerContext.inv okeChannelRead(AbstractChannelHandlerContext.java: 348) [AbstractChannelHandlerContext.class:2.8.1]
at io.netty.channel.AbstractChannelHandlerContext.fir eChannelRead(AbstractChannelHandlerContext.java:34 0) [AbstractChannelHandlerContext.class:2.8.1]
at io.netty.handler.timeout.IdleStateHandler.channelR ead(IdleStateHandler.java:287) [IdleStateHandler.class:2.8.1]
at io.netty.channel.AbstractChannelHandlerContext.inv okeChannelRead(AbstractChannelHandlerContext.java: 362) [AbstractChannelHandlerContext.class:2.8.1]
at io.netty.channel.AbstractChannelHandlerContext.inv okeChannelRead(AbstractChannelHandlerContext.java: 348) [AbstractChannelHandlerContext.class:2.8.1]
at io.netty.channel.AbstractChannelHandlerContext.fir eChannelRead(AbstractChannelHandlerContext.java:34 0) [AbstractChannelHandlerContext.class:2.8.1]
at io.netty.channel.DefaultChannelPipeline$HeadContex t.channelRead(DefaultChannelPipeline.java:1334) [DefaultChannelPipeline$HeadContext.class:2.8.1]
at io.netty.channel.AbstractChannelHandlerContext.inv okeChannelRead(AbstractChannelHandlerContext.java: 362) [AbstractChannelHandlerContext.class:2.8.1]
at io.netty.channel.AbstractChannelHandlerContext.inv okeChannelRead(AbstractChannelHandlerContext.java: 348) [AbstractChannelHandlerContext.class:2.8.1]
at io.netty.channel.DefaultChannelPipeline.fireChanne lRead(DefaultChannelPipeline.java:926) [DefaultChannelPipeline.class:2.8.1]
at io.netty.channel.nio.AbstractNioByteChannel$NioByt eUnsafe.read(AbstractNioByteChannel.java:134) [AbstractNioByteChannel$NioByteUnsafe.class:2.8.1]
at io.netty.channel.nio.NioEventLoop.processSelectedK ey(NioEventLoop.java:624) [NioEventLoop.class:2.8.1]
at io.netty.channel.nio.NioEventLoop.processSelectedK eysOptimized(NioEventLoop.java:559) [NioEventLoop.class:2.8.1]
at io.netty.channel.nio.NioEventLoop.processSelectedK eys(NioEventLoop.java:476) [NioEventLoop.class:2.8.1]
at io.netty.channel.nio.NioEventLoop.run(NioEventLoop .java:438) [NioEventLoop.class:2.8.1]
at io.netty.util.concurrent.SingleThreadEventExecutor $5.run(SingleThreadEventExecutor.java:858) [SingleThreadEventExecutor$5.class:2.8.1]
at java.lang.Thread.run(Thread.java:745) [?:1.8.0_25]
Caused by: java.lang.IndexOutOfBoundsException: readerIndex(30) + length(1) exceeds writerIndex(30): PooledUnsafeDirectByteBuf(ridx: 30, widx: 30, cap: 30)
at io.netty.buffer.AbstractByteBuf.checkReadableBytes 0(AbstractByteBuf.java:1396) ~[AbstractByteBuf.class:2.8.1]
at io.netty.buffer.AbstractByteBuf.readByte(AbstractB yteBuf.java:687) ~[AbstractByteBuf.class:2.8.1]
at net.minecraft.network.PacketBuffer.readByte(Packet Buffer.java:864) ~[gy.class:?]
at net.minecraft.network.PacketBuffer.func_150793_b(P acketBuffer.java:303) ~[gy.class:?]
at net.minecraft.network.PacketBuffer.func_150791_c(P acketBuffer.java:361) ~[gy.class:?]
at net.minecraft.network.datasync.DataSerializers$6.f unc_187159_a(DataSerializers.java:124) ~[na$11.class:?]
at net.minecraft.network.datasync.DataSerializers$6.f unc_187159_a(DataSerializers.java:117) ~[na$11.class:?]
at net.minecraft.network.datasync.EntityDataManager.f unc_187215_b(EntityDataManager.java:302) ~[nb.class:?]
at net.minecraft.network.play.server.SPacketEntityMet adata.func_148837_a(SourceFile:31) ~[kd.class:?]
at net.minecraft.network.NettyPacketDecoder.decode(So urceFile:40) ~[gz.class:?]
at io.netty.handler.codec.ByteToMessageDecoder.callDe code(ByteToMessageDecoder.java:411) ~[ByteToMessageDecoder.class:2.8.1]
… 35 moreКогда первый раз заходил игра ещё давала 1-2 минуты побегать. На второй уже не пускала)
Последний раз редактировалось youngjh999; 16.03.2020 в 11:43.
-
16.03.2020, 11:06
#12
алко не получается никак пока что заходить?
-
16.03.2020, 11:26
#13
фиксед, перезайдите в клиент.
-
2 пользователей сказали cпасибо Goodie за это полезное сообщение:
Alcorage (16.03.2020),SenatorPL (16.03.2020)
Информация о теме
Пользователи, просматривающие эту тему
Эту тему просматривают: 1 (пользователей: 0 , гостей: 1)

Ваши права
- Вы не можете создавать новые темы
- Вы не можете отвечать в темах
- Вы не можете прикреплять вложения
- Вы не можете редактировать свои сообщения
- BB коды Вкл.
- Смайлы Вкл.
- [IMG] код Вкл.
- HTML код Выкл.
Правила форума
stackoverthrowers. I’m currently writing some network stuff using netty, which has this schema:
- cluster
- client 1
- client 2
- client 3
When I start client, it connects to a cluster and cluster sends my object, called ServerDataPacket to all connected clients. All the clients receives ServerDataPacket object successfully.
However, the problem starts when I do some action in one of clients. For example I do something in client 1, it sends another object to a cluster, cluster receives and sends object ServerDataPacket again to all clients. All clients receives this object, but not client 1, which instead of full information throws this error:
io.netty.handler.codec.DecoderException: java.lang.IndexOutOfBoundsException: index: 501, length: 15 (expected: range(0, 512))
at io.netty.handler.codec.ByteToMessageDecoder.callDecode(ByteToMessageDecoder.java:442)
at io.netty.handler.codec.ByteToMessageDecoder.channelRead(ByteToMessageDecoder.java:248)
at io.netty.channel.AbstractChannelHandlerContext.invokeChannelRead(AbstractChannelHandlerContext.java:373)
at io.netty.channel.AbstractChannelHandlerContext.invokeChannelRead(AbstractChannelHandlerContext.java:359)
at io.netty.channel.AbstractChannelHandlerContext.fireChannelRead(AbstractChannelHandlerContext.java:351)
at io.netty.channel.DefaultChannelPipeline$HeadContext.channelRead(DefaultChannelPipeline.java:1334)
at io.netty.channel.AbstractChannelHandlerContext.invokeChannelRead(AbstractChannelHandlerContext.java:373)
at io.netty.channel.AbstractChannelHandlerContext.invokeChannelRead(AbstractChannelHandlerContext.java:359)
at io.netty.channel.DefaultChannelPipeline.fireChannelRead(DefaultChannelPipeline.java:926)
at io.netty.channel.nio.AbstractNioByteChannel$NioByteUnsafe.read(AbstractNioByteChannel.java:129)
at io.netty.channel.nio.NioEventLoop.processSelectedKey(NioEventLoop.java:651)
at io.netty.channel.nio.NioEventLoop.processSelectedKeysOptimized(NioEventLoop.java:574)
at io.netty.channel.nio.NioEventLoop.processSelectedKeys(NioEventLoop.java:488)
at io.netty.channel.nio.NioEventLoop.run(NioEventLoop.java:450)
at io.netty.util.concurrent.SingleThreadEventExecutor$5.run(SingleThreadEventExecutor.java:873)
at io.netty.util.concurrent.DefaultThreadFactory$DefaultRunnableDecorator.run(DefaultThreadFactory.java:144)
at java.lang.Thread.run(Thread.java:748)
Caused by: java.lang.IndexOutOfBoundsException: index: 501, length: 15 (expected: range(0, 512))
at io.netty.buffer.AbstractByteBuf.checkIndex0(AbstractByteBuf.java:1359)
at io.netty.buffer.AbstractByteBuf.checkIndex(AbstractByteBuf.java:1354)
at io.netty.buffer.PooledUnsafeDirectByteBuf.internalNioBuffer(PooledUnsafeDirectByteBuf.java:331)
at io.netty.buffer.ByteBufUtil.decodeString(ByteBufUtil.java:614)
at io.netty.buffer.AbstractByteBuf.toString(AbstractByteBuf.java:1213)
at io.netty.buffer.AbstractByteBuf.getCharSequence(AbstractByteBuf.java:492)
at io.netty.buffer.AbstractByteBuf.readCharSequence(AbstractByteBuf.java:497)
at net.novaplay.common.network.bungee.ServerDataPacket.read(ServerDataPacket.java:45)
at net.novaplay.common.netty.packet.PacketDecoder.decode(PacketDecoder.java:29)
at io.netty.handler.codec.ByteToMessageDecoder.callDecode(ByteToMessageDecoder.java:411)
... 16 more
An error is caused by decoding string in bytebuffer
@Override
public void read(ByteBuf buf){
int length = buf.readInt();
String id = (String)buf.readCharSequence(length, Charsets.UTF_8); //here i got an error
}
My netty decoder:
public class PacketDecoder extends ByteToMessageDecoder {
@Override
protected void decode(ChannelHandlerContext ctx, ByteBuf byteBuf, List<Object> output) throws Exception {
while(byteBuf.readableBytes() > 0) {
int id = byteBuf.readInt();
if(NettyHandler.DEBUG) {
System.out.println("Packet ID: " + id);
}
Class<? extends Packet> packetClass = PacketHandler.PACKETS.get(id);
if(packetClass == null) {
throw new NullPointerException("Couldn't find packet by id " + id);
}
Packet packet = packetClass.newInstance();
int length = byteBuf.readInt();
packet.uniqueId = UUID.fromString( (String) byteBuf.readCharSequence(length, Charsets.UTF_8)); //memory leak here, view UPD.2
packet.read(byteBuf); //memory leak here, view UPD.2
output.add(packet);
if(NettyHandler.DEBUG) {
System.out.println("Packet successfully has been decoded");
}
}
}
}
and encoder:
public class PacketEncoder extends MessageToByteEncoder<Packet> {
@Override
protected void encode(ChannelHandlerContext ctx, Packet packet, ByteBuf byteBuf) throws Exception {
int id = PacketHandler.PACKETS.indexOf(packet.getClass());
if(NettyHandler.DEBUG) {
System.out.println("Packet ID: " + id);
}
if(id == -1) {
throw new NullPointerException("Couldn't find id of packet " + packet.getClass().getSimpleName());
}
UUID uuid = packet.getUniqueId();
byteBuf.writeInt(id);
byteBuf.writeInt(uuid.toString().length());
byteBuf.writeCharSequence(uuid.toString(), Charsets.UTF_8);
packet.write(byteBuf);
if(NettyHandler.DEBUG) {
System.out.println("Packet successfully has been encoded");
}
}
}
After client 1 receives this error, then when I send something from cluster, it receives all clients except client 1.
Is there any idea why client can behave so strange?
UPD.: I forgot to mention, that my objects are identified by numeric ID, which is same in decoding and encoding. But when this error appears, this packet gets some weird ID like 1113941079
UPD.2.: Now I enabled deeper debugger and sent this object to 2 clients. Second client receives it normal, but first client gots memory leak:
io.netty.handler.codec.DecoderException: java.lang.IndexOutOfBoundsException: readerIndex(512) + length(4) exceeds writerIndex(512): PooledUnsafeDirectByteBuf(ridx: 512, widx: 512, cap: 512)
at io.netty.handler.codec.ByteToMessageDecoder.callDecode(ByteToMessageDecoder.java:442)
at io.netty.handler.codec.ByteToMessageDecoder.channelRead(ByteToMessageDecoder.java:248)
at io.netty.channel.AbstractChannelHandlerContext.invokeChannelRead(AbstractChannelHandlerContext.java:373)
at io.netty.channel.AbstractChannelHandlerContext.invokeChannelRead(AbstractChannelHandlerContext.java:359)
at io.netty.channel.AbstractChannelHandlerContext.fireChannelRead(AbstractChannelHandlerContext.java:351)
at io.netty.channel.DefaultChannelPipeline$HeadContext.channelRead(DefaultChannelPipeline.java:1334)
at io.netty.channel.AbstractChannelHandlerContext.invokeChannelRead(AbstractChannelHandlerContext.java:373)
at io.netty.channel.AbstractChannelHandlerContext.invokeChannelRead(AbstractChannelHandlerContext.java:359)
at io.netty.channel.DefaultChannelPipeline.fireChannelRead(DefaultChannelPipeline.java:926)
at io.netty.channel.nio.AbstractNioByteChannel$NioByteUnsafe.read(AbstractNioByteChannel.java:129)
at io.netty.channel.nio.NioEventLoop.processSelectedKey(NioEventLoop.java:651)
at io.netty.channel.nio.NioEventLoop.processSelectedKeysOptimized(NioEventLoop.java:574)
at io.netty.channel.nio.NioEventLoop.processSelectedKeys(NioEventLoop.java:488)
at io.netty.channel.nio.NioEventLoop.run(NioEventLoop.java:450)
at io.netty.util.concurrent.SingleThreadEventExecutor$5.run(SingleThreadEventExecutor.java:873)
at io.netty.util.concurrent.DefaultThreadFactory$DefaultRunnableDecorator.run(DefaultThreadFactory.java:144)
at java.lang.Thread.run(Thread.java:748)
Caused by: java.lang.IndexOutOfBoundsException: readerIndex(512) + length(4) exceeds writerIndex(512): PooledUnsafeDirectByteBuf(ridx: 512, widx: 512, cap: 512)
at io.netty.buffer.AbstractByteBuf.checkReadableBytes0(AbstractByteBuf.java:1395)
at io.netty.buffer.AbstractByteBuf.readInt(AbstractByteBuf.java:766)
at net.novaplay.common.network.bungee.ServerDataPacket.read(ServerDataPacket.java:45)
at net.novaplay.common.netty.packet.PacketDecoder.decode(PacketDecoder.java:29)
at io.netty.handler.codec.ByteToMessageDecoder.callDecode(ByteToMessageDecoder.java:411)
... 16 more
Packet ID: 9
Got io.netty.handler.codec.DecoderException: java.lang.OutOfMemoryError: Java heap space at
io.netty.handler.codec.DecoderException: java.lang.OutOfMemoryError: Java heap space
at io.netty.handler.codec.ByteToMessageDecoder.callDecode(ByteToMessageDecoder.java:442)
at io.netty.handler.codec.ByteToMessageDecoder.channelRead(ByteToMessageDecoder.java:248)
at io.netty.channel.AbstractChannelHandlerContext.invokeChannelRead(AbstractChannelHandlerContext.java:373)
at io.netty.channel.AbstractChannelHandlerContext.invokeChannelRead(AbstractChannelHandlerContext.java:359)
at io.netty.channel.AbstractChannelHandlerContext.fireChannelRead(AbstractChannelHandlerContext.java:351)
at io.netty.channel.DefaultChannelPipeline$HeadContext.channelRead(DefaultChannelPipeline.java:1334)
at io.netty.channel.AbstractChannelHandlerContext.invokeChannelRead(AbstractChannelHandlerContext.java:373)
at io.netty.channel.AbstractChannelHandlerContext.invokeChannelRead(AbstractChannelHandlerContext.java:359)
at io.netty.channel.DefaultChannelPipeline.fireChannelRead(DefaultChannelPipeline.java:926)
at io.netty.channel.nio.AbstractNioByteChannel$NioByteUnsafe.read(AbstractNioByteChannel.java:129)
at io.netty.channel.nio.NioEventLoop.processSelectedKey(NioEventLoop.java:651)
at io.netty.channel.nio.NioEventLoop.processSelectedKeysOptimized(NioEventLoop.java:574)
at io.netty.channel.nio.NioEventLoop.processSelectedKeys(NioEventLoop.java:488)
at io.netty.channel.nio.NioEventLoop.run(NioEventLoop.java:450)
at io.netty.util.concurrent.SingleThreadEventExecutor$5.run(SingleThreadEventExecutor.java:873)
at io.netty.util.concurrent.DefaultThreadFactory$DefaultRunnableDecorator.run(DefaultThreadFactory.java:144)
at java.lang.Thread.run(Thread.java:748)
Caused by: java.lang.OutOfMemoryError: Java heap space
at java.nio.HeapCharBuffer.<init>(HeapCharBuffer.java:57)
at java.nio.CharBuffer.allocate(CharBuffer.java:335)
at io.netty.buffer.ByteBufUtil.decodeString(ByteBufUtil.java:605)
at io.netty.buffer.AbstractByteBuf.toString(AbstractByteBuf.java:1213)
at io.netty.buffer.AbstractByteBuf.getCharSequence(AbstractByteBuf.java:492)
at io.netty.buffer.AbstractByteBuf.readCharSequence(AbstractByteBuf.java:497)
at net.novaplay.common.netty.packet.PacketDecoder.decode(PacketDecoder.java:28)
at io.netty.handler.codec.ByteToMessageDecoder.callDecode(ByteToMessageDecoder.java:411)
... 16 more