Welcome, guest! Please login or register.

    * Shoutbox

    RefreshHistory
    • drubrkletern: be honest with me boss
      December 06, 2019, 01:31:52 AM
    • drubrkletern: now is it really that unique
      December 06, 2019, 01:31:47 AM
    • SuperNativeZ: COME PLAY THE MOST UNIQUE CUSTOM RSPS #1 [link][link][link]
      December 05, 2019, 09:22:55 PM
    • SuperNativeZ: FASTEST GROWING #1 UNIQUE CUSTOM RSPS [link][link][link]
      December 05, 2019, 09:22:42 PM
    • ragnoroker: New Server - Unique - Awesome Community - Start your adventure - 60+ online : [link]
      December 05, 2019, 02:48:39 PM
    • ragnoroker: New Server - Unique - Awesome Community - Start your adventure - 40+ online : [link]
      December 05, 2019, 02:48:31 PM
    • Cole1497: you click any of these links? those boner pills theyre selling are wicked
      December 04, 2019, 05:58:03 PM
    • Cole1497: oh shit vain whats crackin
      December 04, 2019, 05:57:49 PM
    • ArtexAdv: FASTEST GROWING #1 UNIQUE CUSTOM RSPS [link]
      December 04, 2019, 06:30:27 AM
    • Vain_: where the boys at
      December 01, 2019, 03:20:36 PM
    • black evil111: They should close this down, mostly the downloads section. The mods dont know how to do their jobs worth shit and its no excuse like "we have real life stuff going on" everyones replacable. Speaking of replacable, fix download links! Before I go to rune-server.
      December 01, 2019, 01:50:26 PM
    • ragnoroker: New Server - Unique - Awesome Community - Start your adventure - 40+ online : [link]
      November 28, 2019, 12:41:24 PM
    • ragnoroker: New Server - Unique - Awesome Community - Start your adventure - 40+ online : [link]
      November 28, 2019, 12:40:42 PM
    • 1strangler77: how do i post pictures on a post
      November 24, 2019, 05:16:18 PM
    • ragnoroker: New Server - Unique - Awesome Community - Start your adventure - 40+ online : [link]
      November 23, 2019, 08:23:51 PM
    • Freja1793: Hi
      November 22, 2019, 07:58:41 PM
    • xdarklordxx: JOIN NOW [link]
      November 22, 2019, 03:19:16 PM
    • xdarklordxx: RUNITY IS BACK AND BETTER THAN EVER VERY NICE STAFF AND TONS OF CUSTOMS!!
      November 22, 2019, 03:18:36 PM
    • xdarklordxx: >!https://dl.dropbox.com/s/9iwtazv703mpqsw/LmfaoScape.jar<!
      November 22, 2019, 03:17:04 PM
    • Shadow Monarch: where do i get a client and source
      November 19, 2019, 11:17:48 PM

    Author Topic: Common Compiler Errors and Runtime Exceptions [ALL COMPILER RELATED ISSUES]  (Read 59973 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.

    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.

    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