java.lang.NumberFormatException: For input string: "Port(4001)"

GitHub | OleksandrBerezianskyi | 5 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. 0

    Namerd with etcd storage on non-default port fails

    GitHub | 5 months ago | OleksandrBerezianskyi
    java.lang.NumberFormatException: For input string: "Port(4001)"
  2. 0

    GitHub comment 98#248926427

    GitHub | 5 months ago | barrybecker4
    java.lang.NumberFormatException: For input string: \"1.9\"
  3. 0

    error in HapCutToVcf

    GitHub | 5 months ago | jaredo
    java.lang.NumberFormatException: For input string: "1|0"
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

  5. 0

    Kafka Timeline

    rssing.com | 1 year ago
    java.lang.NumberFormatException: For input string: "wr"
  6. 0

    command exec sbt error

    GitHub | 2 years ago | liuzhaoxi
    java.lang.NumberFormatException: For input string: "android-4"

  1. rp 4 times, last 2 weeks ago
  2. Nikolay Rybak 1 times, last 1 month ago
  3. harshg 1 times, last 1 month ago
  4. Mark 6 times, last 6 months ago
  5. kid 1 times, last 6 months ago
33 more registered users
62 unregistered visitors
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: "Port(4001)"

    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:580)
    3. java.lang.Integer.parseInt(Integer.java:615)
    3 frames
  3. Scala
    StringOps.toInt
    1. scala.collection.immutable.StringLike$class.toInt(StringLike.scala:272)
    2. scala.collection.immutable.StringOps.toInt(StringOps.scala:30)
    2 frames
  4. finagle-core
    InetSocketAddressUtil$$anonfun$parseHostPorts$3.apply
    1. com.twitter.finagle.util.InetSocketAddressUtil$$anonfun$parseHostPorts$3.apply(InetSocketAddressUtil.scala:39)
    2. com.twitter.finagle.util.InetSocketAddressUtil$$anonfun$parseHostPorts$3.apply(InetSocketAddressUtil.scala:35)
    2 frames
  5. Scala
    ArrayOps$ofRef.map
    1. scala.collection.TraversableLike$$anonfun$map$1.apply(TraversableLike.scala:245)
    2. scala.collection.TraversableLike$$anonfun$map$1.apply(TraversableLike.scala:245)
    3. scala.collection.IndexedSeqOptimized$class.foreach(IndexedSeqOptimized.scala:33)
    4. scala.collection.mutable.ArrayOps$ofRef.foreach(ArrayOps.scala:186)
    5. scala.collection.TraversableLike$class.map(TraversableLike.scala:245)
    6. scala.collection.mutable.ArrayOps$ofRef.map(ArrayOps.scala:186)
    6 frames
  6. finagle-core
    InetResolver$$anonfun$8.apply
    1. com.twitter.finagle.util.InetSocketAddressUtil$.parseHostPorts(InetSocketAddressUtil.scala:35)
    2. com.twitter.finagle.InetResolver$$anonfun$8.apply(Resolver.scala:219)
    3. com.twitter.finagle.InetResolver$$anonfun$8.apply(Resolver.scala:219)
    3 frames
  7. util-core
    Try$.apply
    1. com.twitter.util.Try$.apply(Try.scala:13)
    1 frame
  8. finagle-core
    Http$.newService
    1. com.twitter.finagle.InetResolver.bind(Resolver.scala:219)
    2. com.twitter.finagle.BaseResolver.eval(Resolver.scala:419)
    3. com.twitter.finagle.BaseResolver.evalLabeled(Resolver.scala:435)
    4. com.twitter.finagle.Client$class.newService(Client.scala:48)
    5. com.twitter.finagle.Http$.newService(Http.scala:49)
    5 frames
  9. io.buoyant.namerd
    Main$.main
    1. io.buoyant.namerd.storage.etcd.EtcdConfig.mkDtabStore(EtcdDtabStoreInitializer.scala:23)
    2. io.buoyant.namerd.NamerdConfig.mk(NamerdConfig.scala:35)
    3. io.buoyant.namerd.Main$.main(Main.scala:17)
    3 frames
  10. Java RT
    Method.invoke
    1. sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
    2. sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
    3. sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
    4. java.lang.reflect.Method.invoke(Method.java:498)
    4 frames
  11. util-app
    App$$anonfun$nonExitingMain$3.apply
    1. com.twitter.app.App$$anonfun$nonExitingMain$3.apply(App.scala:176)
    2. com.twitter.app.App$$anonfun$nonExitingMain$3.apply(App.scala:175)
    2 frames
  12. Scala
    Option.foreach
    1. scala.Option.foreach(Option.scala:257)
    1 frame
  13. util-app
    App$class.nonExitingMain
    1. com.twitter.app.App$class.nonExitingMain(App.scala:175)
    1 frame
  14. io.buoyant.namerd
    Main$.nonExitingMain
    1. io.buoyant.namerd.Main$.nonExitingMain(Main.scala:9)
    1 frame
  15. util-app
    App$class.main
    1. com.twitter.app.App$class.main(App.scala:141)
    1 frame
  16. io.buoyant.namerd
    Main.main
    1. io.buoyant.namerd.Main$.main(Main.scala:9)
    2. io.buoyant.namerd.Main.main(Main.scala)
    2 frames