java.lang.NumberFormatException: For input string: ""

GitHub | jamesmulcahy | 7 months ago
tip
Your exception is missing from the Samebug knowledge base.
Here are the best solutions we found on the Internet.
Click on the to mark the helpful solution and get rewards for you help.
  1. Speed up your debug routine!

    Automated exception search integrated into your IDE

  2. 0

    CommandButton don't work with Ajax and Param - JSF 2.0

    Stack Overflow | 3 years ago | Fernando Paladini
    javax.el.ELException: /edit.xhtml @31,72 listener="#{disciplinaMBean.deletar}": java.lang.NumberFormatException: For input string: ""
  3. 0

    Exception in thread "AWT-EventQueue-0" java.lang.NumberFormatException: For input string ""

    Stack Overflow | 3 years ago | Amjad
    java.lang.NumberFormatException: For input string: ""
Not finding the right solution?
Take a tour to get the most out of Samebug.

Tired of useless tips?

Automated exception search integrated into your IDE

Root Cause Analysis

  1. java.lang.NumberFormatException

    For input string: ""

    at java.lang.NumberFormatException.forInputString()
  2. Java RT
    Integer.parseInt
    1. java.lang.NumberFormatException.forInputString(NumberFormatException.java:65)
    2. java.lang.Integer.parseInt(Integer.java:592)
    3. java.lang.Integer.parseInt(Integer.java:615)
    3 frames
  3. akka.http.impl
    UriParser$$anonfun$7.apply
    1. akka.http.impl.model.parser.IpAddressParsing$class.ip$minusnumber(IpAddressParsing.scala:21)
    2. akka.http.impl.model.parser.UriParser.ip$minusnumber(UriParser.scala:21)
    3. akka.http.impl.model.parser.IpAddressParsing$class.ip$minusv4$minusaddress(IpAddressParsing.scala:13)
    4. akka.http.impl.model.parser.UriParser.ip$minusv4$minusaddress(UriParser.scala:21)
    5. akka.http.impl.model.parser.UriParser.ipv4Host(UriParser.scala:150)
    6. akka.http.impl.model.parser.UriParser.host(UriParser.scala:135)
    7. akka.http.impl.model.parser.UriParser.hostAndPort(UriParser.scala:131)
    8. akka.http.impl.model.parser.UriParser.authority(UriParser.scala:125)
    9. akka.http.impl.model.parser.UriParser.hier$minuspart(UriParser.scala:102)
    10. akka.http.impl.model.parser.UriParser.absolute$minusURI(UriParser.scala:111)
    11. akka.http.impl.model.parser.UriParser.request$minustarget(UriParser.scala:233)
    12. akka.http.impl.model.parser.UriParser$$anonfun$7.apply(UriParser.scala:237)
    13. akka.http.impl.model.parser.UriParser$$anonfun$7.apply(UriParser.scala:237)
    13 frames
  4. akka.parboiled2
    Parser.__run
    1. akka.parboiled2.Parser.runRule$1(Parser.scala:143)
    2. akka.parboiled2.Parser.phase0_initialRun$1(Parser.scala:151)
    3. akka.parboiled2.Parser.__run(Parser.scala:204)
    3 frames
  5. akka.http.impl
    UriParser.parseHttpRequestTarget
    1. akka.http.impl.model.parser.UriParser.parseHttpRequestTarget(UriParser.scala:237)
    1 frame
  6. akka.http.scaladsl
    Uri$.parseHttpRequestTarget
    1. akka.http.scaladsl.model.Uri$.parseHttpRequestTarget(Uri.scala:266)
    1 frame
  7. akka.http.impl
    HttpRequestParser$$anon$1.onPush
    1. akka.http.impl.engine.parsing.HttpRequest$anon$1.parseRequestTarget(HttpRequestParser.scala:139)
    2. akka.http.impl.engine.parsing.HttpRequestParser$$anon$1.parseMessage(HttpRequestParser.scala:72)
    3. akka.http.impl.engine.parsing.HttpMessageParser$class.startNewMessage(HttpMessageParser.scala:100)
    4. akka.http.impl.engine.parsing.HttpRequestParser$$anon$1.startNewMessage(HttpRequestParser.scala:42)
    5. akka.http.impl.engine.parsing.HttpMessageParser$$anonfun$3.apply(HttpMessageParser.scala:34)
    6. akka.http.impl.engine.parsing.HttpMessageParser$$anonfun$3.apply(HttpMessageParser.scala:34)
    7. akka.http.impl.engine.parsing.HttpMessageParser$class.run$1(HttpMessageParser.scala:64)
    8. akka.http.impl.engine.parsing.HttpMessageParser$class.parseBytes(HttpMessageParser.scala:78)
    9. akka.http.impl.engine.parsing.HttpRequestParser$$anon$1.parseBytes(HttpRequestParser.scala:42)
    10. akka.http.impl.engine.parsing.HttpMessageParser$class.parseSessionBytes(HttpMessageParser.scala:60)
    11. akka.http.impl.engine.parsing.HttpRequestParser$$anon$1.parseSessionBytes(HttpRequestParser.scala:42)
    12. akka.http.impl.engine.parsing.HttpRequestParser$$anon$1.onPush(HttpRequestParser.scala:53)
    12 frames
  8. akka.stream.impl
    ActorGraphInterpreter$$anonfun$receive$1.applyOrElse
    1. akka.stream.impl.fusing.GraphInterpreter.processPush(GraphInterpreter.scala:755)
    2. akka.stream.impl.fusing.GraphInterpreter.execute(GraphInterpreter.scala:657)
    3. akka.stream.impl.fusing.GraphInterpreterShell.runBatch(ActorGraphInterpreter.scala:470)
    4. akka.stream.impl.fusing.GraphInterpreterShell.receive(ActorGraphInterpreter.scala:422)
    5. akka.stream.impl.fusing.ActorGraphInterpreter.akka$stream$impl$fusing$ActorGraphInterpreter$$processEvent(ActorGraphInterpreter.scala:602)
    6. akka.stream.impl.fusing.ActorGraphInterpreter$$anonfun$receive$1.applyOrElse(ActorGraphInterpreter.scala:617)
    6 frames
  9. Akka Actor
    Actor$class.aroundReceive
    1. akka.actor.Actor$class.aroundReceive(Actor.scala:484)
    1 frame
  10. akka.stream.impl
    ActorGraphInterpreter.aroundReceive
    1. akka.stream.impl.fusing.ActorGraphInterpreter.aroundReceive(ActorGraphInterpreter.scala:528)
    1 frame
  11. Akka Actor
    Mailbox.exec
    1. akka.actor.ActorCell.receiveMessage(ActorCell.scala:526)
    2. akka.actor.ActorCell.invoke(ActorCell.scala:495)
    3. akka.dispatbox.processMailbox(Mailbox.scala:257)
    4. akka.dispatch.Mailbox.run(Mailbox.scala:224)
    5. akka.dispatch.Mailbox.exec(Mailbox.scala:234)
    5 frames
  12. Scala
    ForkJoinWorkerThread.run
    1. scala.concurrent.forkjoin.ForkJoinTask.doExec(ForkJoinTask.java:260)
    2. scala.concurrent.forkjoin.ForkJoinPool$WorkQueue.runTask(ForkJoinPool.java:1339)
    3. scala.concurrent.forkjoin.ForkJoinPool.runWorker(ForkJoinPool.java:1979)
    4. scala.concurrent.forkjoin.ForkJoinWorkerThread.run(ForkJoinWorkerThread.java:107)
    4 frames