java.lang.NumberFormatException

For input string: "0x4"

Samebug tips0

We couldn't find tips for this exception.

Don't give up yet. Paste your full stack trace to get a solution.

Solutions on the web520

  • via Unknown by Chris Cannam,
  • via Unknown by MaxentNoob,
  • via Stack Overflow by Amal Targhi
    ,
  • Stack trace

    • java.lang.NumberFormatException: For input string: "0x4" at sun.misc.FloatingDecimal.parseHexString(FloatingDecimal.java:1888) at sun.misc.FloatingDecimal.readJavaFormatString(FloatingDecimal.java:1064) at java.lang.Double.parseDouble(Double.java:527) at yeti.lang.Core.parseNum(Core.java:91) at yeti.lang.std$number.apply(std.yeti:1245) at code.apply(<>:1) at yeti.lang.compiler.eval._1(eval.yeti:98) at yeti.lang.compiler.eval.execClass(eval.yeti:76) at yeti.lang.compiler.eval$evaluateYetiCode$._0(eval.yeti:479) at yeti.lang.compiler.eval$evaluateYetiCode$.apply(eval.yeti:455) at yeti.lang.Fun2_.apply(Unknown Source) at yeti.lang.compiler.yeti.repl(yeti.yeti:58) at yeti.lang.compiler.yeti.main(yeti.yeti:207)

    Write tip

    You have a different solution? A short tip here would help you and many other users who saw this issue last week.

    Users with the same issue

    Hiren AmaliyarHiren Amaliyar
    114 times, last one
    PierrePierre
    2 times, last one
    oddodd
    Once,
    eti22eti22
    Once,
    andreeaa marinandreeaa marin
    Once,
    18 more bugmates