Initiate Mage
- Joined
- Jul 18, 2021
- Messages
- 1
- Reaction score
- 0
Hi everyone,
I’ve been having alot of trouble trying to solve this nullpointerexception error for the past 5 days and I have tried everything to debug it to figure out what’s actually causing it, I saw how the code was being handled step by step and haven’t figured out.
I would really like if someone could tell me how I could fix this, I’m wondering if it’s more of a packet issue and if it is where would be the best step to start to try to fix it.
The error:
I’ve been having alot of trouble trying to solve this nullpointerexception error for the past 5 days and I have tried everything to debug it to figure out what’s actually causing it, I saw how the code was being handled step by step and haven’t figured out.
I would really like if someone could tell me how I could fix this, I’m wondering if it’s more of a packet issue and if it is where would be the best step to start to try to fix it.
The error:
Code:
java.lang.NullPointerException
at tools.packet.PacketHelper.addSkillInfo(PacketHelper.java:142)
at tools.packet.PacketHelper.addCharacterInfo(PacketHelper.java:637)
at tools.packet.CField.getCharInfo(CField.java:1389)
at handling.channel.handler.InterServerHandler.Loggedin(InterServerHandler.java:178)
at handling.MapleServerHandler.handlePacket(MapleServerHandler.java:644)
at handling.MapleServerHandler.messageReceived(MapleServerHandler.java:490)
at
org.apache.mina.common.support.AbstractIoFilterChain$TailFilter.messageReceived(AbstractIoFilterChain.java:570)
at org.apache.mina.common.support.AbstractIoFilterChain.callNextMessageReceived(AbstractIoFilterChain.java:299)
at org.apache.mina.common.support.AbstractIoFilterChain.access$1100(AbstractIoFilterChain.java:53) at org.apache.mina.common.support.AbstractIoFilterChain$EntryImpl$1.messageReceived(AbstractIoFilterChain.java:648)
at org.apache.mina.filter.codec.support.SimpleProtocolDecoderOutput.flush(SimpleProtocolDecoderOutput.java:58)
at org.apache.mina.filter.codec.ProtocolCodecFilter.messageReceived(ProtocolCodecFilter.java:180)
at org.apache.mina.common.support.AbstractIoFilterChain.callNextMessageReceived(AbstractIoFilterChain.java:299)
at org.apache.mina.common.support.AbstractIoFilterChain.access$1100(AbstractIoFilterChain.java:53)
at org.apache.mina.common.support.AbstractIoFilterChain$EntryImpl$1.messageReceived(AbstractIoFilterChain.java:648)
at org.apache.mina.filter.executor.ExecutorFilter.processEvent(ExecutorFilter.java:220)
at org.apache.mina.filter.executor.ExecutorFilter$ProcessEventsRunnable.run(ExecutorFilter.java:264)
at java.util.concurrent.ThreadPoolExecutor.runWorker(Unknown Source)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source)
at org.apache.mina.util.NamePreservingRunnable.run(NamePreservingRunnable.java:51)
at java.lang.Thread.run(Unknown Source)