Closed ENTNEAZ closed 2 years ago
bot version is 2.9.2
Can you send the full log (maybe activate "log packets (debug only)" as well), the exception you've sent is not the root cause of this issue. Is there any special setting related to your Microsoft account? Set age below Minecraft age restriction or Minecraft purchased through XBox Game Pass or sth. like this?
[2022-08-31 21:12:58] [INFO ] Configuration was loaded: C:\Users\Name\Desktop\af\config.json
[2022-08-31 21:12:59] [INFO ] Trying to authenticate using access token...
[2022-08-31 21:13:00] [WARN ] The access token is irrecoverably. Using password authentication.
[2022-08-31 21:13:00] [INFO ] Trying to authenticate with ************@outlook.com:************ (MICROSOFT)...
[2022-08-31 21:13:08] [INFO ] Authentication successful!
[2022-08-31 21:13:08] [INFO ] Username: MyName
[2022-08-31 21:13:08] [INFO ] Pinging 127.0.0.1:25565 with protocol of MC-AUTOMATIC
[2022-08-31 21:13:09] [INFO ] Received pong: A Minecraft Server, version: 1.19.1 / 1.19.2 (760), players online: 0
[2022-08-31 21:13:10] [INFO ] Obtained the required keys for chat signing!
[2022-08-31 21:13:10] [INFO ] [HANDSHAKE] C >>> |S|: PacketOutHandshake
[2022-08-31 21:13:10] [INFO ] Module "HandshakeModule" enabled!
[2022-08-31 21:13:10] [INFO ] [LOGIN] C >>> |S|: PacketOutLoginStart
[2022-08-31 21:13:10] [INFO ] Module "LoginModule" enabled!
[2022-08-31 21:13:10] [INFO ] Module "ClientDefaultsModule" enabled!
[2022-08-31 21:13:10] [INFO ] Module "FishingModule" enabled!
[2022-08-31 21:13:10] [INFO ] Module "ChatProxyModule" enabled!
[2022-08-31 21:13:10] [INFO ] Module "ChatCommandModule" enabled!
[2022-08-31 21:13:10] [INFO ] [LOGIN] |C| <<< S : PacketInEncryptionRequest
[2022-08-31 21:13:11] [INFO ] [LOGIN] C >>> |S|: PacketOutEncryptionResponse
[2022-08-31 21:13:13] [INFO ] [LOGIN] |C| <<< S : PacketInSetCompression
[2022-08-31 21:13:13] [INFO ] [LOGIN] |C| <<< S : PacketInLoginSuccess
[2022-08-31 21:13:13] [INFO ] Login successful!
[2022-08-31 21:13:13] [INFO ] Name: MyName
[2022-08-31 21:13:13] [INFO ] UUID: MyUUID
[2022-08-31 21:13:13] [INFO ] [PLAY] |C| <<< S : PacketInJoinGame
[2022-08-31 21:13:13] [INFO ] [PLAY] C >>> |S|: PacketOutClientSettings
[2022-08-31 21:13:13] [INFO ] [PLAY] C >>> |S|: PacketOutClientStatus
[2022-08-31 21:13:13] [INFO ] [PLAY] |C| <<< S : PacketInDifficultySet
[2022-08-31 21:13:13] [INFO ] [PLAY] |C| <<< S : PacketInHeldItemChange
[2022-08-31 21:13:13] [INFO ] [PLAY] |C| <<< S : PacketInPlayerPosLook
[2022-08-31 21:13:13] [INFO ] [PLAY] C >>> |S|: PacketOutTeleportConfirm
[2022-08-31 21:13:13] [INFO ] [PLAY] |C| <<< S : PacketInChatSystem
[2022-08-31 21:13:13] [INFO ] [CHAT] MyName joined the game
[2022-08-31 21:13:13] [INFO ] [PLAY] |C| <<< S : PacketInPlayerListItem
[2022-08-31 21:13:13] [INFO ] [PLAY] |C| <<< S : PacketInPlayerListItem
[2022-08-31 21:13:13] [INFO ] [PLAY] |C| <<< S : PacketInSpawnEntity
[2022-08-31 21:13:13] [INFO ] [PLAY] |C| <<< S : PacketInEntityMetadata
[2022-08-31 21:13:13] [INFO ] [PLAY] |C| <<< S : PacketInSpawnEntity
[2022-08-31 21:13:13] [INFO ] [PLAY] |C| <<< S : PacketInEntityMetadata
[2022-08-31 21:13:13] [INFO ] [PLAY] |C| <<< S : PacketInSpawnEntity
[2022-08-31 21:13:13] [INFO ] [PLAY] |C| <<< S : PacketInEntityMetadata
[2022-08-31 21:13:13] [INFO ] [PLAY] |C| <<< S : PacketInSpawnEntity
[2022-08-31 21:13:13] [INFO ] [PLAY] |C| <<< S : PacketInEntityMetadata
[2022-08-31 21:13:13] [INFO ] [PLAY] |C| <<< S : PacketInSpawnEntity
[2022-08-31 21:13:13] [INFO ] [PLAY] |C| <<< S : PacketInEntityMetadata
[2022-08-31 21:13:13] [INFO ] [PLAY] |C| <<< S : PacketInSpawnEntity
[2022-08-31 21:13:13] [INFO ] [PLAY] |C| <<< S : PacketInEntityMetadata
[2022-08-31 21:13:14] [INFO ] [PLAY] |C| <<< S : PacketInSpawnEntity
[2022-08-31 21:13:14] [INFO ] [PLAY] |C| <<< S : PacketInEntityMetadata
[2022-08-31 21:13:14] [INFO ] [PLAY] |C| <<< S : PacketInSpawnEntity
[2022-08-31 21:13:14] [INFO ] [PLAY] |C| <<< S : PacketInEntityMetadata
[2022-08-31 21:13:14] [INFO ] [PLAY] |C| <<< S : PacketInSpawnEntity
[2022-08-31 21:13:14] [INFO ] [PLAY] |C| <<< S : PacketInEntityMetadata
[2022-08-31 21:13:14] [INFO ] [PLAY] |C| <<< S : PacketInSpawnEntity
[2022-08-31 21:13:14] [INFO ] [PLAY] |C| <<< S : PacketInEntityMetadata
[2022-08-31 21:13:14] [INFO ] [PLAY] |C| <<< S : PacketInEntityVelocity
[2022-08-31 21:13:14] [INFO ] [PLAY] |C| <<< S : PacketInSpawnEntity
[2022-08-31 21:13:14] [INFO ] [PLAY] |C| <<< S : PacketInEntityMetadata
[2022-08-31 21:13:14] [INFO ] [PLAY] |C| <<< S : PacketInSpawnEntity
[2022-08-31 21:13:14] [INFO ] [PLAY] |C| <<< S : PacketInEntityMetadata
[2022-08-31 21:13:14] [INFO ] [PLAY] |C| <<< S : PacketInSpawnEntity
[2022-08-31 21:13:14] [INFO ] [PLAY] |C| <<< S : PacketInEntityMetadata
[2022-08-31 21:13:14] [INFO ] [PLAY] |C| <<< S : PacketInSpawnEntity
[2022-08-31 21:13:14] [INFO ] [PLAY] |C| <<< S : PacketInEntityMetadata
[2022-08-31 21:13:14] [INFO ] [PLAY] |C| <<< S : PacketInSpawnEntity
[2022-08-31 21:13:14] [INFO ] [PLAY] |C| <<< S : PacketInEntityMetadata
[2022-08-31 21:13:14] [INFO ] [PLAY] C >>> |S|: PacketOutEntityAction
[2022-08-31 21:13:14] [INFO ] [PLAY] |C| <<< S : PacketInSpawnEntity
[2022-08-31 21:13:14] [INFO ] [PLAY] |C| <<< S : PacketInEntityMetadata
[2022-08-31 21:13:14] [INFO ] [PLAY] |C| <<< S : PacketInSpawnEntity
[2022-08-31 21:13:14] [INFO ] [PLAY] |C| <<< S : PacketInEntityMetadata
[2022-08-31 21:13:14] [INFO ] [PLAY] |C| <<< S : PacketInSpawnEntity
[2022-08-31 21:13:14] [INFO ] [PLAY] |C| <<< S : PacketInEntityMetadata
[2022-08-31 21:13:14] [INFO ] [PLAY] |C| <<< S : PacketInSpawnEntity
[2022-08-31 21:13:14] [INFO ] [PLAY] |C| <<< S : PacketInEntityMetadata
[2022-08-31 21:13:14] [INFO ] [PLAY] |C| <<< S : PacketInSpawnEntity
[2022-08-31 21:13:14] [INFO ] [PLAY] |C| <<< S : PacketInEntityMetadata
[2022-08-31 21:13:14] [INFO ] [PLAY] |C| <<< S : PacketInSpawnEntity
[2022-08-31 21:13:14] [INFO ] [PLAY] |C| <<< S : PacketInEntityMetadata
[2022-08-31 21:13:14] [INFO ] [PLAY] |C| <<< S : PacketInSpawnEntity
[2022-08-31 21:13:14] [INFO ] [PLAY] |C| <<< S : PacketInEntityMetadata
[2022-08-31 21:13:14] [INFO ] [PLAY] |C| <<< S : PacketInSpawnEntity
[2022-08-31 21:13:14] [INFO ] [PLAY] |C| <<< S : PacketInEntityMetadata
[2022-08-31 21:13:14] [INFO ] [PLAY] |C| <<< S : PacketInSpawnEntity
[2022-08-31 21:13:14] [INFO ] [PLAY] |C| <<< S : PacketInEntityMetadata
[2022-08-31 21:13:14] [INFO ] [PLAY] |C| <<< S : PacketInSpawnEntity
[2022-08-31 21:13:14] [INFO ] [PLAY] |C| <<< S : PacketInEntityMetadata
[2022-08-31 21:13:14] [INFO ] [PLAY] |C| <<< S : PacketInSpawnEntity
[2022-08-31 21:13:14] [INFO ] [PLAY] |C| <<< S : PacketInEntityMetadata
[2022-08-31 21:13:14] [INFO ] [PLAY] |C| <<< S : PacketInSpawnEntity
[2022-08-31 21:13:14] [INFO ] [PLAY] |C| <<< S : PacketInEntityMetadata
[2022-08-31 21:13:14] [INFO ] [PLAY] |C| <<< S : PacketInSpawnEntity
[2022-08-31 21:13:14] [INFO ] [PLAY] |C| <<< S : PacketInEntityMetadata
[2022-08-31 21:13:14] [INFO ] [PLAY] |C| <<< S : PacketInSpawnEntity
[2022-08-31 21:13:14] [INFO ] [PLAY] |C| <<< S : PacketInEntityMetadata
[2022-08-31 21:13:14] [INFO ] [PLAY] |C| <<< S : PacketInSpawnEntity
[2022-08-31 21:13:14] [INFO ] [PLAY] |C| <<< S : PacketInEntityMetadata
[2022-08-31 21:13:14] [INFO ] [PLAY] |C| <<< S : PacketInSpawnEntity
[2022-08-31 21:13:14] [INFO ] [PLAY] |C| <<< S : PacketInEntityMetadata
[2022-08-31 21:13:14] [INFO ] [PLAY] |C| <<< S : PacketInEntityVelocity
[2022-08-31 21:13:14] [INFO ] [PLAY] |C| <<< S : PacketInSpawnEntity
[2022-08-31 21:13:14] [INFO ] [PLAY] |C| <<< S : PacketInEntityMetadata
[2022-08-31 21:13:14] [INFO ] [PLAY] |C| <<< S : PacketInSpawnEntity
[2022-08-31 21:13:14] [INFO ] [PLAY] |C| <<< S : PacketInEntityMetadata
[2022-08-31 21:13:14] [INFO ] [PLAY] |C| <<< S : PacketInSpawnEntity
[2022-08-31 21:13:14] [INFO ] [PLAY] |C| <<< S : PacketInEntityMetadata
[2022-08-31 21:13:14] [INFO ] [PLAY] |C| <<< S : PacketInSpawnEntity
[2022-08-31 21:13:14] [INFO ] [PLAY] |C| <<< S : PacketInEntityMetadata
[2022-08-31 21:13:14] [INFO ] [PLAY] |C| <<< S : PacketInSpawnEntity
[2022-08-31 21:13:14] [INFO ] [PLAY] |C| <<< S : PacketInEntityMetadata
[2022-08-31 21:13:14] [INFO ] [PLAY] |C| <<< S : PacketInSpawnEntity
[2022-08-31 21:13:14] [INFO ] [PLAY] |C| <<< S : PacketInEntityMetadata
[2022-08-31 21:13:14] [INFO ] [PLAY] |C| <<< S : PacketInSpawnEntity
[2022-08-31 21:13:14] [INFO ] [PLAY] |C| <<< S : PacketInEntityMetadata
[2022-08-31 21:13:14] [INFO ] [PLAY] |C| <<< S : PacketInEntityMetadata
[2022-08-31 21:13:14] [INFO ] [PLAY] |C| <<< S : PacketInWindowItems
[2022-08-31 21:13:14] [INFO ] [PLAY] |C| <<< S : PacketInUpdateHealth
[2022-08-31 21:13:14] [INFO ] [PLAY] |C| <<< S : PacketInSetExperience
[2022-08-31 21:13:14] [INFO ] [PLAY] |C| <<< S : PacketInEntityMetadata
[2022-08-31 21:13:14] [INFO ] [PLAY] |C| <<< S : PacketInDisconnect
[2022-08-31 21:13:14] [INFO ] Disconnected: {"translate":"disconnect.genericReason","with":["Internal Exception: io.netty.handler.codec.DecoderException: java.lang.ArrayIndexOutOfBoundsException: Index 228 out of bounds for length 7"]}
[2022-08-31 21:13:14] [INFO ] Module "LoginModule" disabled!
[2022-08-31 21:13:14] [INFO ] Module "ClientDefaultsModule" disabled!
[2022-08-31 21:13:14] [INFO ] Module "FishingModule" disabled!
[2022-08-31 21:13:14] [INFO ] Module "ChatProxyModule" disabled!
[2022-08-31 21:13:14] [INFO ] Module "ChatCommandModule" disabled!
[2022-08-31 21:13:14] [INFO ] FishingBot will reconnect in 5 seconds...
Exception in thread "Thread-9" Exception in thread "Thread-10" [2022-08-31 21:13:15] [INFO ] java.lang.NullPointerException: Cannot invoke "systems.kinau.fishingbot.bot.Player.getHeldItem()" because the return value of "systems.kinau.fishingbot.Bot.getPlayer()" is null
[2022-08-31 21:13:15] [INFO ] at systems.kinau.fishingbot.modules.fishing.FishingModule.lambda$onSetDifficulty$7(FishingModule.java:293)
[2022-08-31 21:13:15] [INFO ] at java.base/java.lang.Thread.run(Thread.java:833)
[2022-08-31 21:13:15] [INFO ] java.util.concurrent.RejectedExecutionException: Task systems.kinau.fishingbot.Bot$$Lambda$1166/0x0000000801109b68@3cfd88a6 rejected from java.util.concurrent.ThreadPoolExecutor@742696be[Terminated, pool size = 0, active threads = 0, queued tasks = 0, completed tasks = 0]
[2022-08-31 21:13:15] [INFO ] at java.base/java.util.concurrent.ThreadPoolExecutor$AbortPolicy.rejectedExecution(ThreadPoolExecutor.java:2065)
[2022-08-31 21:13:15] [INFO ] at java.base/java.util.concurrent.ThreadPoolExecutor.reject(ThreadPoolExecutor.java:833)
[2022-08-31 21:13:15] [INFO ] at java.base/java.util.concurrent.ThreadPoolExecutor.execute(ThreadPoolExecutor.java:1365)
[2022-08-31 21:13:15] [INFO ] at java.base/java.util.concurrent.Executors$DelegatedExecutorService.execute(Executors.java:721)
[2022-08-31 21:13:15] [INFO ] at systems.kinau.fishingbot.Bot.runCommand(Bot.java:290)
[2022-08-31 21:13:15] [INFO ] at systems.kinau.fishingbot.modules.ClientDefaultsModule.lambda$null$0(ClientDefaultsModule.java:50)
[2022-08-31 21:13:15] [INFO ] at java.base/java.util.ArrayList.forEach(ArrayList.java:1511)
[2022-08-31 21:13:15] [INFO ] at systems.kinau.fishingbot.modules.ClientDefaultsModule.lambda$onSetDifficulty$1(ClientDefaultsModule.java:49)
[2022-08-31 21:13:15] [INFO ] at java.base/java.lang.Thread.run(Thread.java:833)
[2022-08-31 21:13:19] [INFO ] [HANDSHAKE] C >>> |S|: PacketOutHandshake
[2022-08-31 21:13:19] [INFO ] Module "HandshakeModule" enabled!
[2022-08-31 21:13:19] [INFO ] [LOGIN] C >>> |S|: PacketOutLoginStart
[2022-08-31 21:13:19] [INFO ] Module "LoginModule" enabled!
[2022-08-31 21:13:19] [INFO ] Module "ClientDefaultsModule" enabled!
[2022-08-31 21:13:19] [INFO ] Module "FishingModule" enabled!
[2022-08-31 21:13:19] [INFO ] Module "ChatProxyModule" enabled!
[2022-08-31 21:13:19] [INFO ] Module "ChatCommandModule" enabled!
[2022-08-31 21:13:19] [INFO ] [LOGIN] |C| <<< S : PacketInEncryptionRequest
[2022-08-31 21:13:20] [INFO ] [LOGIN] C >>> |S|: PacketOutEncryptionResponse
[2022-08-31 21:13:21] [INFO ] [LOGIN] |C| <<< S : PacketInSetCompression
[2022-08-31 21:13:21] [INFO ] [LOGIN] |C| <<< S : PacketInLoginSuccess
[2022-08-31 21:13:21] [INFO ] Login successful!
[2022-08-31 21:13:21] [INFO ] Name: MyName
[2022-08-31 21:13:21] [INFO ] UUID: MyUUID
[2022-08-31 21:13:21] [INFO ] [PLAY] |C| <<< S : PacketInJoinGame
[2022-08-31 21:13:21] [INFO ] [PLAY] C >>> |S|: PacketOutClientSettings
[2022-08-31 21:13:21] [INFO ] [PLAY] C >>> |S|: PacketOutClientStatus
[2022-08-31 21:13:21] [INFO ] [PLAY] |C| <<< S : PacketInDifficultySet
[2022-08-31 21:13:21] [INFO ] [PLAY] |C| <<< S : PacketInHeldItemChange
[2022-08-31 21:13:21] [INFO ] [PLAY] |C| <<< S : PacketInPlayerPosLook
[2022-08-31 21:13:21] [INFO ] [PLAY] C >>> |S|: PacketOutTeleportConfirm
[2022-08-31 21:13:21] [INFO ] [PLAY] |C| <<< S : PacketInChatSystem
[2022-08-31 21:13:21] [INFO ] [CHAT] MyName joined the game
[2022-08-31 21:13:21] [INFO ] [PLAY] C >>> |S|: PacketOutEntityAction
[2022-08-31 21:13:21] [INFO ] [PLAY] |C| <<< S : PacketInPlayerListItem
[2022-08-31 21:13:21] [INFO ] [PLAY] |C| <<< S : PacketInPlayerListItem
[2022-08-31 21:13:21] [INFO ] [PLAY] |C| <<< S : PacketInSpawnEntity
[2022-08-31 21:13:21] [INFO ] [PLAY] |C| <<< S : PacketInEntityMetadata
[2022-08-31 21:13:21] [INFO ] [PLAY] |C| <<< S : PacketInSpawnEntity
[2022-08-31 21:13:21] [INFO ] [PLAY] |C| <<< S : PacketInEntityMetadata
[2022-08-31 21:13:21] [INFO ] [PLAY] |C| <<< S : PacketInSpawnEntity
[2022-08-31 21:13:21] [INFO ] [PLAY] |C| <<< S : PacketInEntityMetadata
[2022-08-31 21:13:21] [INFO ] [PLAY] |C| <<< S : PacketInSpawnEntity
[2022-08-31 21:13:21] [INFO ] [PLAY] |C| <<< S : PacketInEntityMetadata
[2022-08-31 21:13:21] [INFO ] [PLAY] |C| <<< S : PacketInSpawnEntity
[2022-08-31 21:13:21] [INFO ] [PLAY] |C| <<< S : PacketInEntityMetadata
[2022-08-31 21:13:21] [INFO ] [PLAY] |C| <<< S : PacketInSpawnEntity
[2022-08-31 21:13:21] [INFO ] [PLAY] |C| <<< S : PacketInEntityMetadata
[2022-08-31 21:13:21] [INFO ] [PLAY] |C| <<< S : PacketInSpawnEntity
[2022-08-31 21:13:21] [INFO ] [PLAY] |C| <<< S : PacketInEntityMetadata
[2022-08-31 21:13:21] [INFO ] [PLAY] |C| <<< S : PacketInSpawnEntity
[2022-08-31 21:13:21] [INFO ] [PLAY] |C| <<< S : PacketInEntityMetadata
[2022-08-31 21:13:21] [INFO ] [PLAY] |C| <<< S : PacketInSpawnEntity
[2022-08-31 21:13:21] [INFO ] [PLAY] |C| <<< S : PacketInEntityMetadata
[2022-08-31 21:13:21] [INFO ] [PLAY] |C| <<< S : PacketInSpawnEntity
[2022-08-31 21:13:21] [INFO ] [PLAY] |C| <<< S : PacketInEntityMetadata
[2022-08-31 21:13:21] [INFO ] [PLAY] |C| <<< S : PacketInEntityVelocity
[2022-08-31 21:13:21] [INFO ] [PLAY] |C| <<< S : PacketInSpawnEntity
[2022-08-31 21:13:21] [INFO ] [PLAY] |C| <<< S : PacketInEntityMetadata
[2022-08-31 21:13:21] [INFO ] [PLAY] |C| <<< S : PacketInSpawnEntity
[2022-08-31 21:13:21] [INFO ] [PLAY] |C| <<< S : PacketInEntityMetadata
[2022-08-31 21:13:21] [INFO ] [PLAY] |C| <<< S : PacketInSpawnEntity
[2022-08-31 21:13:21] [INFO ] [PLAY] |C| <<< S : PacketInEntityMetadata
[2022-08-31 21:13:21] [INFO ] [PLAY] |C| <<< S : PacketInSpawnEntity
[2022-08-31 21:13:21] [INFO ] [PLAY] |C| <<< S : PacketInEntityMetadata
[2022-08-31 21:13:21] [INFO ] [PLAY] |C| <<< S : PacketInSpawnEntity
[2022-08-31 21:13:21] [INFO ] [PLAY] |C| <<< S : PacketInEntityMetadata
[2022-08-31 21:13:21] [INFO ] [PLAY] |C| <<< S : PacketInSpawnEntity
[2022-08-31 21:13:21] [INFO ] [PLAY] |C| <<< S : PacketInEntityMetadata
[2022-08-31 21:13:21] [INFO ] [PLAY] |C| <<< S : PacketInSpawnEntity
[2022-08-31 21:13:21] [INFO ] [PLAY] |C| <<< S : PacketInEntityMetadata
[2022-08-31 21:13:21] [INFO ] [PLAY] |C| <<< S : PacketInSpawnEntity
[2022-08-31 21:13:21] [INFO ] [PLAY] |C| <<< S : PacketInEntityMetadata
[2022-08-31 21:13:21] [INFO ] [PLAY] |C| <<< S : PacketInSpawnEntity
[2022-08-31 21:13:21] [INFO ] [PLAY] |C| <<< S : PacketInEntityMetadata
[2022-08-31 21:13:21] [INFO ] [PLAY] |C| <<< S : PacketInSpawnEntity
[2022-08-31 21:13:21] [INFO ] [PLAY] |C| <<< S : PacketInEntityMetadata
[2022-08-31 21:13:21] [INFO ] [PLAY] |C| <<< S : PacketInSpawnEntity
[2022-08-31 21:13:21] [INFO ] [PLAY] |C| <<< S : PacketInEntityMetadata
[2022-08-31 21:13:21] [INFO ] [PLAY] |C| <<< S : PacketInSpawnEntity
[2022-08-31 21:13:21] [INFO ] [PLAY] |C| <<< S : PacketInEntityMetadata
[2022-08-31 21:13:21] [INFO ] [PLAY] |C| <<< S : PacketInSpawnEntity
[2022-08-31 21:13:21] [INFO ] [PLAY] |C| <<< S : PacketInEntityMetadata
[2022-08-31 21:13:21] [INFO ] [PLAY] |C| <<< S : PacketInSpawnEntity
[2022-08-31 21:13:21] [INFO ] [PLAY] |C| <<< S : PacketInEntityMetadata
[2022-08-31 21:13:21] [INFO ] [PLAY] |C| <<< S : PacketInSpawnEntity
[2022-08-31 21:13:21] [INFO ] [PLAY] |C| <<< S : PacketInEntityMetadata
[2022-08-31 21:13:21] [INFO ] [PLAY] |C| <<< S : PacketInSpawnEntity
[2022-08-31 21:13:21] [INFO ] [PLAY] |C| <<< S : PacketInEntityMetadata
[2022-08-31 21:13:21] [INFO ] [PLAY] |C| <<< S : PacketInSpawnEntity
[2022-08-31 21:13:21] [INFO ] [PLAY] |C| <<< S : PacketInEntityMetadata
[2022-08-31 21:13:21] [INFO ] [PLAY] |C| <<< S : PacketInSpawnEntity
[2022-08-31 21:13:21] [INFO ] [PLAY] |C| <<< S : PacketInEntityMetadata
[2022-08-31 21:13:21] [INFO ] [PLAY] |C| <<< S : PacketInSpawnEntity
[2022-08-31 21:13:21] [INFO ] [PLAY] |C| <<< S : PacketInEntityMetadata
[2022-08-31 21:13:21] [INFO ] [PLAY] |C| <<< S : PacketInSpawnEntity
[2022-08-31 21:13:21] [INFO ] [PLAY] |C| <<< S : PacketInEntityMetadata
[2022-08-31 21:13:21] [INFO ] [PLAY] |C| <<< S : PacketInEntityVelocity
[2022-08-31 21:13:21] [INFO ] [PLAY] |C| <<< S : PacketInSpawnEntity
[2022-08-31 21:13:21] [INFO ] [PLAY] |C| <<< S : PacketInEntityMetadata
[2022-08-31 21:13:21] [INFO ] [PLAY] |C| <<< S : PacketInSpawnEntity
[2022-08-31 21:13:21] [INFO ] [PLAY] |C| <<< S : PacketInEntityMetadata
[2022-08-31 21:13:21] [INFO ] [PLAY] |C| <<< S : PacketInSpawnEntity
[2022-08-31 21:13:21] [INFO ] [PLAY] |C| <<< S : PacketInEntityMetadata
[2022-08-31 21:13:21] [INFO ] [PLAY] |C| <<< S : PacketInSpawnEntity
[2022-08-31 21:13:21] [INFO ] [PLAY] |C| <<< S : PacketInEntityMetadata
[2022-08-31 21:13:21] [INFO ] [PLAY] |C| <<< S : PacketInSpawnEntity
[2022-08-31 21:13:21] [INFO ] [PLAY] |C| <<< S : PacketInEntityMetadata
[2022-08-31 21:13:21] [INFO ] [PLAY] |C| <<< S : PacketInSpawnEntity
[2022-08-31 21:13:21] [INFO ] [PLAY] |C| <<< S : PacketInEntityMetadata
[2022-08-31 21:13:21] [INFO ] [PLAY] |C| <<< S : PacketInSpawnEntity
[2022-08-31 21:13:21] [INFO ] [PLAY] |C| <<< S : PacketInEntityMetadata
[2022-08-31 21:13:21] [INFO ] [PLAY] |C| <<< S : PacketInEntityMetadata
[2022-08-31 21:13:21] [INFO ] [PLAY] |C| <<< S : PacketInWindowItems
[2022-08-31 21:13:21] [INFO ] [PLAY] |C| <<< S : PacketInUpdateHealth
[2022-08-31 21:13:21] [INFO ] [PLAY] |C| <<< S : PacketInSetExperience
[2022-08-31 21:13:21] [INFO ] [PLAY] |C| <<< S : PacketInEntityMetadata
[2022-08-31 21:13:21] [INFO ] [PLAY] |C| <<< S : PacketInDisconnect
[2022-08-31 21:13:21] [INFO ] Disconnected: {"translate":"disconnect.genericReason","with":["Internal Exception: io.netty.handler.codec.DecoderException: java.lang.ArrayIndexOutOfBoundsException: Index 232 out of bounds for length 7"]}
[2022-08-31 21:13:21] [INFO ] Module "LoginModule" disabled!
[2022-08-31 21:13:21] [INFO ] Module "ClientDefaultsModule" disabled!
[2022-08-31 21:13:21] [INFO ] Module "FishingModule" disabled!
[2022-08-31 21:13:21] [INFO ] Module "ChatProxyModule" disabled!
[2022-08-31 21:13:21] [INFO ] Module "ChatCommandModule" disabled!
[2022-08-31 21:13:21] [INFO ] FishingBot will reconnect in 5 seconds...
Exception in thread "Thread-14" Exception in thread "Thread-15" [2022-08-31 21:13:23] [INFO ] java.util.concurrent.RejectedExecutionException: Task systems.kinau.fishingbot.Bot$$Lambda$1166/0x0000000801109b68@27141cb7 rejected from java.util.concurrent.ThreadPoolExecutor@29d3f625[Terminated, pool size = 0, active threads = 0, queued tasks = 0, completed tasks = 0]
[2022-08-31 21:13:23] [INFO ] at java.base/java.util.concurrent.ThreadPoolExecutor$AbortPolicy.rejectedExecution(ThreadPoolExecutor.java:2065)
[2022-08-31 21:13:23] [INFO ] at java.base/java.util.concurrent.ThreadPoolExecutor.reject(ThreadPoolExecutor.java:833)
[2022-08-31 21:13:23] [INFO ] at java.base/java.util.concurrent.ThreadPoolExecutor.execute(ThreadPoolExecutor.java:1365)
[2022-08-31 21:13:23] [INFO ] at java.base/java.util.concurrent.Executors$DelegatedExecutorService.execute(Executors.java:721)
[2022-08-31 21:13:23] [INFO ] at systems.kinau.fishingbot.Bot.runCommand(Bot.java:290)
[2022-08-31 21:13:23] [INFO ] at systems.kinau.fishingbot.modules.ClientDefaultsModule.lambda$null$0(ClientDefaultsModule.java:50)
[2022-08-31 21:13:23] [INFO ] at java.base/java.util.ArrayList.forEach(ArrayList.java:1511)
[2022-08-31 21:13:23] [INFO ] at systems.kinau.fishingbot.modules.ClientDefaultsModule.lambda$onSetDifficulty$1(ClientDefaultsModule.java:49)
[2022-08-31 21:13:23] [INFO ] at java.base/java.lang.Thread.run(Thread.java:833)
[2022-08-31 21:13:23] [INFO ] java.lang.NullPointerException: Cannot invoke "systems.kinau.fishingbot.bot.Player.getHeldItem()" because the return value of "systems.kinau.fishingbot.Bot.getPlayer()" is null
[2022-08-31 21:13:23] [INFO ] at systems.kinau.fishingbot.modules.fishing.FishingModule.lambda$onSetDifficulty$7(FishingModule.java:293)
[2022-08-31 21:13:23] [INFO ] at java.base/java.lang.Thread.run(Thread.java:833)
(name and UUID was manually modified by me)
And I don't think there are special settings that don't allow me to access the game, because I can access the server through the vanilla client
I've published a new release with a bugfix, the packet that handles the auto sneak had the wrong packet id and that's why the server kicked the bot. It whould work now, if you experience any further issue feel free to create a new issue :)
Fixed in: https://github.com/MrKinau/FishingBot/releases/tag/2.9.3
ok thank you
I'm trying to connect a 1.19.2 server and the bot goes online and immediately goes offline
and the console appear this
(server version: paper 1.19.2 #135) (and I also tried to connect to a 1.19.2 vanilla server, but the result is same)
this is the server log: