[GH-ISSUE #639] Dueling NPE #10133

Open
opened 2026-06-03 12:21:04 +00:00 by Dark98 · 0 comments
Owner

Originally created by @ipkpjersi on GitHub (Dec 19, 2023).
Original GitHub issue: https://github.com/2006-Scape/2006Scape/issues/639

Not sure if this one is valid, maybe I was doing something wrong, I might take a look at this more some time but just making this issue in case it is a valid issue:

java.lang.NullPointerException: Cannot invoke "com.rs2.net.Packet.getOpcode()" because "packet" is null
	at com.rs2.net.packets.impl.ChallengePlayer.processPacket(ChallengePlayer.java:15)
	at com.rs2.net.packets.impl.AttackPlayer.processPacket(AttackPlayer.java:35)
	at com.rs2.net.packets.PacketHandler.processPacket(PacketHandler.java:169)
	at com.rs2.game.players.Player.processQueuedPackets(Player.java:1080)
	at com.rs2.game.players.PlayerHandler.process(PlayerHandler.java:185)
	at com.rs2.GameEngine$1.run(GameEngine.java:250)
	at java.base/java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:539)
	at java.base/java.util.concurrent.FutureTask.runAndReset(FutureTask.java:305)
	at java.base/java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.run(ScheduledThreadPoolExecutor.java:305)
	at java.base/java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1136)
	at java.base/java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:635)
	at java.base/java.lang.Thread.run(Thread.java:833)
Saved game for test2.
Saved game for test.

Dueling seems to work but it was weird that it had an NPE.

As you can see I logged out, though we don't have dates in our printlns so I suspect that was much later.

Originally created by @ipkpjersi on GitHub (Dec 19, 2023). Original GitHub issue: https://github.com/2006-Scape/2006Scape/issues/639 Not sure if this one is valid, maybe I was doing something wrong, I might take a look at this more some time but just making this issue in case it is a valid issue: ``` java.lang.NullPointerException: Cannot invoke "com.rs2.net.Packet.getOpcode()" because "packet" is null at com.rs2.net.packets.impl.ChallengePlayer.processPacket(ChallengePlayer.java:15) at com.rs2.net.packets.impl.AttackPlayer.processPacket(AttackPlayer.java:35) at com.rs2.net.packets.PacketHandler.processPacket(PacketHandler.java:169) at com.rs2.game.players.Player.processQueuedPackets(Player.java:1080) at com.rs2.game.players.PlayerHandler.process(PlayerHandler.java:185) at com.rs2.GameEngine$1.run(GameEngine.java:250) at java.base/java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:539) at java.base/java.util.concurrent.FutureTask.runAndReset(FutureTask.java:305) at java.base/java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.run(ScheduledThreadPoolExecutor.java:305) at java.base/java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1136) at java.base/java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:635) at java.base/java.lang.Thread.run(Thread.java:833) Saved game for test2. Saved game for test. ``` Dueling seems to work but it was weird that it had an NPE. As you can see I logged out, though we don't have dates in our printlns so I suspect that was much later.
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: 2006-Scape/2006Scape#10133