Resolved NumberFormatException: For input string: ""

Discussion in 'Client & Site Support' started by Ozzy, Aug 6, 2015.

  1. Ozzy

    Joined:
    Nov 5, 2014
    Messages:
    504
    Likes Received:
    159
    @Cloud

    Code (Text):
    1. java.lang.NumberFormatException: For input string: ""
    2.  at java.lang.NumberFormatException.forInputString(Unknown Source)
    3.  at java.lang.Integer.parseInt(Unknown Source)
    4.  at java.lang.Integer.valueOf(Unknown Source)
    5.  at rm.cOm1.for(w:148)
    6.  at rm.cOm1.false(w:116)
    7.  at rm.nul.validate(o:157)
    8.  at com.runemate.game.api.script.framework.task.TaskScript.onLoop(vrb:99)
    9.  at com.runemate.game.api.script.framework.LoopingScript.run(mwb:85)
    10.  at com.runemate.game.api.script.framework.AbstractScript.start(sqb:171)
    11.  at app.Pn.run(drb:268)
    12. 1.1.7 - OSRS


     
  2. Best Answer:
    Post #4 by Cloud, Aug 6, 2015
  3. oxyonknight

    Joined:
    Apr 19, 2015
    Messages:
    1
    Likes Received:
    0
    what is this for massfighter?
    just wondering
     
  4. Ozzy

    Joined:
    Nov 5, 2014
    Messages:
    504
    Likes Received:
    159
    Yeah I woke up to over 140 of these exceptions despite making no changes to the code for the past few days.
     
  5. Cloud

    Cloud The Developer

    Joined:
    Jul 28, 2013
    Messages:
    2,323
    Likes Received:
    754
    It's coming from your code.
    the
    Code (Text):
    1. rm
    base package implies an obfuscated bot where as a
    Code (Text):
    1. app
    implies an obfuscated section of the client.
     
  6. Ozzy

    Joined:
    Nov 5, 2014
    Messages:
    504
    Likes Received:
    159
    I haven't had a push approved in days though and this exception only started coming through this morning, do you know of any changes which may have caused this?
     
  7. Cloud

    Cloud The Developer

    Joined:
    Jul 28, 2013
    Messages:
    2,323
    Likes Received:
    754
    I would start by looking at any usages of java.lang.Integer.valueOf(Unknown Source) and seeing if the potential inputs changed.
     
  8. Ozzy

    Joined:
    Nov 5, 2014
    Messages:
    504
    Likes Received:
    159
    Okay will do. Also, could you push my latest changes please? I had a push notification a few days ago but my approved version didn't change, that may have something to do with this if there's a version conflict somewhere.

    edit: Found the problem, pushed a fix
     
    #7 Ozzy, Aug 6, 2015
    Last edited: Aug 6, 2015

Share This Page

Loading...