Hey everyone, when I log onto my rsps once it packs the item bonuses I get this error, but if I restart the server after it packs item bonuses, and then log on i'll get no error and the bonuses are packed... Just wondering how to fix this error, if any more information is needed I'll be glad to provide you with it thanks
Error:
Code:
Coming Soon is starting up, please be patient...
[Item bonuses] Started Packing...
[Item Bonuses] Done Packing
Guardian is now Online (Port: 43595, Launch Time: 22.607s)
[Player] Logan has logged in (IP: 192.168.1.1)
ERROR! THREAD NAME: New I/O worker #1
java.lang.NullPointerException
at com.rs.utils.ItemBonuses.getItemBonuses(ItemBonuses.java:31)
at com.rs.game.player.CombatDefinitions.refreshBonuses(CombatDefinitions
.java:513)
at com.rs.game.player.Equipment.refresh(Equipment.java:45)
at com.rs.game.player.Equipment.init(Equipment.java:37)
at com.rs.game.player.Player.run(Player.java:889)
at com.rs.game.player.Player.start(Player.java:604)
at com.rs.net.decoders.LoginPacketsDecoder.decodeWorldLogin(LoginPackets
Decoder.java:192)
at com.rs.net.decoders.LoginPacketsDecoder.decode(LoginPacketsDecoder.ja
va:49)
at com.rs.net.ServerChannelHandler.messageReceived(ServerChannelHandler.
java:100)
at org.jboss.netty.channel.SimpleChannelHandler.handleUpstream(SimpleCha
nnelHandler.java:95)
at org.jboss.netty.channel.DefaultChannelPipeline.sendUpstream(DefaultCh
annelPipeline.java:563)
at org.jboss.netty.channel.DefaultChannelPipeline.sendUpstream(DefaultCh
annelPipeline.java:558)
at org.jboss.netty.channel.Channels.fireMessageReceived(Channels.java:26
8)
at org.jboss.netty.channel.Channels.fireMessageReceived(Channels.java:25
5)
at org.jboss.netty.channel.socket.nio.NioWorker.read(NioWorker.java:91)
at org.jboss.netty.channel.socket.nio.AbstractNioWorker.processSelectedK
eys(AbstractNioWorker.java:373)
at org.jboss.netty.channel.socket.nio.AbstractNioWorker.run(AbstractNioW
orker.java:247)
at org.jboss.netty.channel.socket.nio.NioWorker.run(NioWorker.java:35)
at org.jboss.netty.util.ThreadRenamingRunnable.run(ThreadRenamingRunnabl
e.java:102)
at org.jboss.netty.util.internal.DeadLockProofWorker$1.run(DeadLockProof
Worker.java:42)
at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.
java:1142)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor
.java:617)
at java.lang.Thread.run(Thread.java:745)
Thanks Everyone!