Welcome, guest! Please login or register.

    * Shoutbox

    RefreshHistory
    • hodford: yo autoscape has keylogger in cache, ive been member in this community since 2011
      August 20, 2019, 08:57:42 PM
    • E S C O B A R: Anyone able to help me, i'm trying to find a decent source/client to start from , I haven't been near a laptop in over two years . Does much people still play RSPS's also?
      August 19, 2019, 04:52:38 PM
    • dan v jad: Great osrsps experience - check us out - join on discord! dxp, dpoints [link]
      August 19, 2019, 09:50:00 AM
    • ragnoroker: Brand new server! Double EXP is enabled right now aswell as other events! - [link]
      August 18, 2019, 07:14:43 AM
    • ragnoroker: Brand new server! Double EXP is enabled right now aswell as other events! - [link]
      August 18, 2019, 07:14:35 AM
    • puppajohn: Come and join us today for amazing content !
      August 16, 2019, 10:26:16 PM
    • puppajohn:[link] come and join us now! you have donator on your server? no problem we restore your donator credits and symbol ! free M box on loggins
      August 16, 2019, 10:26:02 PM
    • PavSwag: autoscape,0rg kill REVS for chance of TWISTED BOW || EP GETS YOU OSRS GP TOKENS
      August 15, 2019, 05:13:07 PM
    • hodford: autoscape,0rg is actually fudgein lit as come check it out
      August 13, 2019, 02:59:58 AM
    • ragnoroker: Brand new server! Hosting Raids Event all day + More! - 20+ online, Join today [link]
      August 11, 2019, 07:45:49 AM
    • ragnoroker: Brand new server! Hosting Raids Event all day + More! - 20+ online, Join today [link]
      August 11, 2019, 07:45:46 AM
    • PavSwag: autoscape,0rg kill REVS for chance of TWISTED BOW
      August 08, 2019, 07:29:43 PM
    • ragnoroker:Brand new server! Endless Content - Mature Players/Staff - 20+ online, Join today [link]
      August 08, 2019, 11:05:53 AM
    • ragnoroker:Brand new server! Endless Content - Mature Players/Staff - 20+ online, Join today [link]
      August 08, 2019, 11:05:46 AM
    • asshole_rule: bernie sanders
      August 06, 2019, 07:54:02 PM
    • PavSwag: #AS 100M OSRS GP GIVEAWAY!! [link] 317 Oldschool RuneScape Private Server emulating core factors of the game with a strong economy and balance of experience to bossing and prestiging -Receive DONATOR Perks by maxing to 99s- Lumbridge remade - Login with a starter set of armour and items - PK District - Preloading sets - Activity points for training - All Skills Working, Skilling Island, Skilling Pets, Skilling Rewards - All Working Max Capes - 25+ Bosses with Pets - Superior Slayer Encounters - Player Owned Shops - Minigames, Construction, Sawmill, Warriors Guild, Pest Control, Barrows (with pets), Fight Caves, Inferno Caves, Chambers of Xeric, Custom Raids - NPC Drop Table, Kills Tracker, Points Tracker, Extra settings. - Doubled Xp & Points Weekends - Vote System - Vote4Donor - Competitive Highscores - Tons of Content - Join us today for bonus giveaways and free ultra mystery box upon login!   Official YouTube Media: [youtube]P5D0eXEmjA4[/youtube] Join NOW Ill personally give you Ultra Mystery Boxes (Twisted Bow??) Im the Developer :smiley: Heres the Discord:  [link] BTW 100m OSRS GP Giveaways WEEKLY!
      August 05, 2019, 01:05:53 PM
    • ragnoroker: Brand new server! Endless Content - Mature Players/Staff - 20+ online, Join today :) - [link]
      August 05, 2019, 12:48:52 PM
    • ragnoroker: Brand new server! Endless Content - Mature Players/Staff - 20+ online, Join today :) - [link]
      August 05, 2019, 12:48:47 PM
    • suelo: does the search not work on here?
      August 05, 2019, 02:12:08 AM
    • PavSwag: #AS 100M OSRS GP GIVEAWAY!! [link] 317 Oldschool RuneScape Private Server emulating core factors of the game with a strong economy and balance of experience to bossing and prestiging -Receive DONATOR Perks by maxing to 99s- Lumbridge remade - Login with a starter set of armour and items - PK District - Preloading sets - Activity points for training - All Skills Working, Skilling Island, Skilling Pets, Skilling Rewards - All Working Max Capes - 25+ Bosses with Pets - Superior Slayer Encounters - Player Owned Shops - Minigames, Construction, Sawmill, Warriors Guild, Pest Control, Barrows (with pets), Fight Caves, Inferno Caves, Chambers of Xeric, Custom Raids - NPC Drop Table, Kills Tracker, Points Tracker, Extra settings. - Doubled Xp & Points Weekends - Vote System - Vote4Donor - Competitive Highscores - Tons of Content - Join us today for bonus giveaways and free ultra mystery box upon login!   Official YouTube Media: [youtube]P5D0eXEmjA4[/youtube] Join NOW Ill personally give you Ultra Mystery Boxes (Twisted Bow??) Im the Developer :smiley: Heres the Discord:  [link] BTW 100m OSRS GP Giveaways WEEKLY!
      August 04, 2019, 11:48:39 PM

    Author Topic: Common Compiler Errors and Runtime Exceptions [ALL COMPILER RELATED ISSUES]  (Read 59294 times)

    0 Members and 1 Guest are viewing this topic.

    OfflineLonelySouls

    • Member
    • **
    • Posts: 61
    • Thanks: +0/-0
      • View Profile
    I have this error, is anyone able to give me any suggestions to help? Thanks

    ERROR! THREAD NAME: mainjava.lang.NumberFormatException: For input string: ""

       at java.lang.NumberFormatException.forInputString(Unknown Source)
       at java.lang.Integer.parseInt(Unknown Source)
       at java.lang.Integer.parseInt(Unknown Source)
       at com.rs.utils.NPCSpawns.loadSpawns(NPCSpawns.java:40)
       at com.rs.Launcher.main(Launcher.java:90)
    Renown Programmer  ||Respected Member||Web Developer
    Runescape Gambling

    OfflineDeathsChaos9

    • Skype: deathschaos9
    • Global Moderator
    • *****
    • *
    • Posts: 7,442
    • Thanks: +0/-0
      • View Profile
    *JESUS*, the NumberFormatException is a runtime error and is thrown when attempting to convert a string into a number when the string is not numeric. In this case, you are trying to turn an empty string into a number which of course is impossible. I can't tell you exactly what the problem is but I can tell you that there appears to be missing data in the file that loads NPCs. If you've recently edited that file go back and make sure that the new line(s) you added contain the correct amount of data.

     
    Peace isn't merely the absence of conflict, but the presence of justice.
    Runescape Gambling

    OfflineJustin Bieber

    • Member
    • ****
    • Posts: 2,941
    • Thanks: +0/-0
      • View Profile
    *JESUS*, the NumberFormatException is a runtime error and is thrown when attempting to convert a string into a number when the string is not numeric. In this case, you are trying to turn an empty string into a number which of course is impossible. I can't tell you exactly what the problem is but I can tell you that there appears to be missing data in the file that loads NPCs. If you've recently edited that file go back and make sure that the new line(s) you added contain the correct amount of data.

     
    It's a runtime exception, not error. Error is generally used only internally by the JVM, to signal situations (e.g. out of memory) from which you can not recover.
    Runescape Gambling

    OfflineDeathsChaos9

    • Skype: deathschaos9
    • Global Moderator
    • *****
    • *
    • Posts: 7,442
    • Thanks: +0/-0
      • View Profile
    I know, the threads title reinforces that. No idea why I put error.
    Peace isn't merely the absence of conflict, but the presence of justice.

    OfflineZen-Birth

    • First Time Poster
    • *
    • Posts: 4
    • Thanks: +0/-0
      • View Profile
    Can anyone help me with a "java.net.UnknownHostException:" error?

    Offlinedoom_j

    • i like the company of men
    • Member
    • ****
    • *
    • Posts: 7,202
    • Thanks: +0/-0
      • View Profile
    Can anyone help me with a "java.net.UnknownHostException:" error?

    What is the ip you used.
    [12:18:14 21:04:45]<<Tom>>i dont care about your rights
    [12:18:14 21:04:49] <<Tom>> you have NO RIGHTS

     

    Copyright © 2017 MoparScape. All rights reserved.
    Powered by SMFPacks SEO Pro Mod |
    SimplePortal 2.3.5 © 2008-2012, SimplePortal