Thread: Error

Results 1 to 6 of 6
  1. #1 Error 
    Registered Member
    OblivionRSPS's Avatar
    Join Date
    Feb 2015
    Posts
    831
    Thanks given
    231
    Thanks received
    98
    Rep Power
    87
    Hello there,
    Oblivion here.

    I am not sure what this error means:

    Code:
    ERROR! THREAD NAME: New I/O  worker #1
    java.lang.NullPointerException
    	at com.rs.game.player.Player.run(Player.java:3525)
    	at com.rs.game.player.Player.start(Player.java:2771)
    	at com.rs.net.decoders.LoginPacketsDecoder.decodeWorldLogin(LoginPacketsDecoder.java:325)
    	at com.rs.net.decoders.LoginPacketsDecoder.decode(LoginPacketsDecoder.java:50)
    	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)
    I get it whenever I login.

    So I'm not sure where to look or what to do.
    Any help is welcome.

    Thanks anyways.
    Reply With Quote  
     

  2. #2  
    Respected Member


    Kris's Avatar
    Join Date
    Jun 2016
    Age
    26
    Posts
    3,638
    Thanks given
    820
    Thanks received
    2,642
    Rep Power
    5000
    java.lang.NullPointerException
    at com.rs.game.player.Player.run(Player.java:3525)
    ??? that's what it means. and that's where it's stemming from
    how's it so hard to grasp the concept of errors lol
    Attached image
    Reply With Quote  
     

  3. Thankful user:


  4. #3  
    Registered Member
    OblivionRSPS's Avatar
    Join Date
    Feb 2015
    Posts
    831
    Thanks given
    231
    Thanks received
    98
    Rep Power
    87
    Quote Originally Posted by Kris View Post
    java.lang.NullPointerException
    at com.rs.game.player.Player.run(Player.java:3525)
    ??? that's what it means. and that's where it's stemming from
    how's it so hard to grasp the concept of errors lol
    I'm not that great in errors, I am sorry. :-P
    Anyways, not sure why this gives me an error:

    This is the line:

    if (starter == 1) {
    applyHit(new Hit(Player, Player.getMaxHitpoints(),HitLook.HEALED_DAMAGE));
    getPackets().sendGameMessage("You have been healed by the gods for logging in.");
    refreshHitPoints();
    }
    Full line:
    if(isIronMan) {
    getAppearence().setTitle(133337);
    }
    refreshAllowChatEffects();
    refreshMouseButtons();
    //ControlPanel.LIST_MODEL.addElement(username);
    refreshPrivateChatSetup();
    refreshOtherChatsSetup();
    sendRunButtonConfig();
    geManager.init();
    getFarmings().updateAllPatches(this);
    donatorTill = 0;
    extremeDonatorTill = 0;
    EliteDonatorTill = 0;
    supremeDonatorTill = 0;
    divineDonatorTill = 0;
    angelicDonatorTill = 0;
    if (ecoReset1 != 1) {
    ecoReset1 = 1;
    inventory.reset();
    moneyPouch = new MoneyPouch();
    moneyPouch.setPlayer(this);
    equipment.reset();
    toolbelt = new Toolbelt();
    toolbelt.setPlayer(this);
    familiar = null;
    bank = new Bank();
    bank.setPlayer(this);
    controlerManager.removeControlerWithoutCheck();
    choseGameMode = true;
    Starter.appendStarter(this);
    setNextWorldTile(Settings.START_PLAYER_LOCATION);
    setPestPoints(0);
    setDungTokens(0);
    getPlayerData().setInvasionPoints(0);
    hasHouse = false;
    getSquealOfFortune().resetSpins();
    customisedShop = new CustomisedShop(this);
    geManager = new GrandExchangeManager();
    setTriviaPoints(0);
    penguinpoints = 0;
    DwarfCannon = new DwarfCannon(this);
    applyHit(new Hit(Player, Player.getMaxHitpoints(),HitLook.HEALED_DAMAGE));
    //getPackets().sendGameMessage("You have been healed by the gods for logging in.");
    refreshHitPoints();
    }
    getDwarfCannon().lostCannon();
    getDwarfCannon().lostGoldCannon();
    getDwarfCannon().lostRoyalCannon();
    sendDefaultPlayersOptions();
    checkMultiArea();
    checkSmokeyArea();
    checkDesertArea();
    checkMorytaniaArea();
    checkSinkArea();
    inventory.init();
    equipment.init();
    skills.init();
    combatDefinitions.init();
    prayer.init();
    friendsIgnores.init();
    refreshHitPoints();
    prayer.refreshPrayerPoints();
    getPoison().refresh();
    getPackets().sendConfig(281, 1000);
    getPackets().sendConfig(1160, -1);
    getPackets().sendConfig(1159, 1);
    getPackets().sendGameBarStages();
    musicsManager.init();
    emotesManager.refreshListConfigs();
    questManager.init();
    sendUnlockedObjectConfigs();
    if (familiar != null) {
    familiar.respawnFamiliar(this);
    } else {
    petManager.init();
    }
    running = true;
    updateMovementType = true;
    appearence.generateAppearenceData();
    teleports = 1;
    controlerManager.login();
    handleLoginTime();
    getLodeStones().checkActivation();
    getLoyaltyManager().startTimer();
    OwnedObjectManager.linkKeys(this);
    house.init();
    treeDamage = 0;
    isLighting = false;
    isChopping = false;
    isRooting = false;
    used1 = false;
    finalblow = false;
    used2 = false;
    swiftness = false;
    used3 = false;
    stealth = false;
    used4 = false;
    startpin = false;
    openPin = false;
    squealOfFortune.giveDailySpins();
    World.addTime(this);
    toolbelt.init();
    getDailyChallenge();
    warriorCheck();
    moneyPouch.init();
    hasStaffPin = false;
    if (starter == 0) {
    // sendMessage("<col=ffffff>Hello player, if you are experiencing a black screen, have no fear!</col>");
    // sendMessage("<col=ffffff>This is because the cache has not finished loading, so the models aren't showing up yet.</col>");
    // sendMessage("<col=ffffff>Please be patient and wait a few minutes for everything to load before you play</col>");
    // sendMessage("<col=ffffff>To check your progress, simply press the '`/~' key on your keyboard and type 'displayfps'.</col>");
    // sendMessage("<col=ffffff>Some yellow text should show up on the screen, and when the Cache reaches 100%, reload your client.</col>");
    // sendMessage("<col=ffffff>Your screen should no longer be black after the restart and you can now enjoy AsgardRS!</col>");
    PlayerLook.openCharacterCustomizing(this);
    Starter.appendStarter(this);
    starter = 1;

    getReferral();
    }

    if (isDead()) {
    controlerManager.startControler("DeathEvent");
    }

    if (starter == 1) {
    applyHit(new Hit(Player, Player.getMaxHitpoints(),HitLook.HEALED_DAMAGE));
    getPackets().sendGameMessage("You have been healed by the gods for logging in.");
    refreshHitPoints();
    }
    Thank you for the help anyways!
    Reply With Quote  
     

  5. #4  
    Respected Member


    Kris's Avatar
    Join Date
    Jun 2016
    Age
    26
    Posts
    3,638
    Thanks given
    820
    Thanks received
    2,642
    Rep Power
    5000
    Quote Originally Posted by OblivionRSPS View Post
    I'm not that great in errors, I am sorry. :-P
    Anyways, not sure why this gives me an error:

    This is the line:



    Full line:


    Thank you for the help anyways!
    Sir. That is not one line.
    Code:
    applyHit(new Hit(Player, Player.getMaxHitpoints(),HitLook.HEALED_DAMAGE));
    Edit: Nvm. Why is 'player' capitalized? Looks like a static access.
    Show just the line that the error is stemming from, I can't tell right now.
    Attached image
    Reply With Quote  
     

  6. Thankful user:


  7. #5  
    Registered Member
    OblivionRSPS's Avatar
    Join Date
    Feb 2015
    Posts
    831
    Thanks given
    231
    Thanks received
    98
    Rep Power
    87
    Quote Originally Posted by Kris View Post
    Sir. That is not one line.
    Code:
    applyHit(new Hit(Player, Player.getMaxHitpoints(),HitLook.HEALED_DAMAGE));
    Edit: Nvm. Why is 'player' capitalized? Looks like a static access.
    Show just the line that the error is stemming from, I can't tell right now.
    I don't know about that, I am sorry.
    Do you mind adding me on Discord?
    Reply With Quote  
     

  8. #6  
    Respected Member


    Kris's Avatar
    Join Date
    Jun 2016
    Age
    26
    Posts
    3,638
    Thanks given
    820
    Thanks received
    2,642
    Rep Power
    5000
    Quote Originally Posted by OblivionRSPS View Post
    I don't know about that, I am sorry.
    Do you mind adding me on Discord?
    Signature.
    Attached image
    Reply With Quote  
     

  9. Thankful user:



Thread Information
Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)


User Tag List

Similar Threads

  1. Same error over and over?!!
    By phantomphreak in forum Tutorials
    Replies: 4
    Last Post: 09-28-2007, 01:20 AM
  2. Basic Compile Errors
    By Daniel in forum Tutorials
    Replies: 4
    Last Post: 09-17-2007, 12:54 PM
  3. [HELP]Render Error
    By Big J in forum General
    Replies: 3
    Last Post: 07-30-2007, 01:01 AM
  4. Error. Please reboot me :)
    By Inside Sin in forum Showcase
    Replies: 4
    Last Post: 05-13-2007, 03:39 AM
Posting Permissions
  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •