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

Searched on Google with the first line of a JAVA stack trace?

We can recommend more relevant solutions and speed up debugging when you paste your entire stack trace with the exception message. Try a sample exception.

Recommended solutions based on your search

Solutions on the web

via Google Groups by Chris Cannam, 1 year ago
For input string: "0x4"
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 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)

Users with the same issue

You are the first who have seen this exception.

Write tip

Know the solutions? Share your knowledge to help other developers to debug faster.