Jump to content
  • 0
Sign in to follow this  
some nooby

Grand Exchange Problem

Question

Having a problem when trying to open the grand exchange. I have tried adding it many times, but always end up with the same error when trying to open it.

Error:
Code:
[code]ERROR! THREAD NAME: New I/O worker #1
java.lang.NullPointerException
at com.rs.game.player.GrandExchangeManager.openGrandExchange(GrandExchangeManager.java:70)
at com.rs.game.player.content.Commands.processAdminCommand(Commands.java:142)
at com.rs.game.player.content.Commands.processCommand(Commands.java:76)
at com.rs.net.decoders.WorldPacketsDecoder.processPackets(WorldPacketsDecoder.java:1505)
at com.rs.net.decoders.WorldPacketsDecoder.decode(WorldPacketsDecoder.java:268)
at com.rs.net.ServerChannelHandler.messageReceived(ServerChannelHandler.java:98)
at org.jboss.netty.channel.SimpleChannelHandler.handleUpstream(SimpleChannelHandler.java:95)
at org.jboss.netty.channel.DefaultChannelPipeline.sendUpstream(DefaultChannelPipeline.java:563)
at org.jboss.netty.channel.DefaultChannelPipeline.sendUpstream(DefaultChannelPipeline.java:558)
at org.jboss.netty.channel.Channels.fireMessageReceived(Channels.java:268)
at org.jboss.netty.channel.Channels.fireMessageReceived(Channels.java:255)
at org.jboss.netty.channel.socket.nio.NioWorker.read(NioWorker.java:91)
at org.jboss.netty.channel.socket.nio.AbstractNioWorker.processSelectedKeys(AbstractNioWorker.java:373)
at org.jboss.netty.channel.socket.nio.AbstractNioWorker.run(AbstractNioWorker.java:247)
at org.jboss.netty.channel.socket.nio.NioWorker.run(NioWorker.java:35)
at org.jboss.netty.util.ThreadRenamingRunnable.run(ThreadRenamingRunnable.java:102)
at org.jboss.netty.util.internal.DeadLockProofWorker$1.run(DeadLockProofWorker.java:42)
at java.util.concurrent.ThreadPoolExecutor.runWorker(Unknown Source)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source)
at java.lang.Thread.run(Unknown Source)[/code]
The opening method:
Code:
[code]
public void openGrandExchange() {
player.getInterfaceManager().sendInterface(105);
player.getPackets().sendUnlockIComponentOptionSlots(105, 206, -1, 0, 0, 1);
player.getPackets().sendUnlockIComponentOptionSlots(105, 208, -1, 0, 0, 1);
cancelOffer();
player.setCloseInterfacesEvent(new Runnable() {
@Override
public void run() {
if (getType() == 0)
player.getPackets().sendRunScript(571);
player.getInterfaceManager().removeInterface(752, 7);
}
});
}[/code]
Need help asap.

Share this post


Link to post
Share on other sites

3 answers to this question

Recommended Posts

  • 0
Need help with this too..

Share this post


Link to post
Share on other sites
  • 0
add me on skype
i have full GE
Skype:
Bacreator

Share this post


Link to post
Share on other sites
Sign in to follow this  

×