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

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

Samebug tips

,

Java does not handle IPv6 nameservers before 1.8.0_60. Upgrade to the latest JVM.

,
Expert tip

This is a bug in Wise, updating to v4.10 seems to solve the problem.

Solutions on the web

java.lang.NumberFormatException: For input string: "M"
at java.lang.NumberFormatException.forInputString(NumberFormatException.java:48)
at java.lang.Long.parseLong(Long.java:410)
at java.lang.Long.parseLong(Long.java:468)
at com.company.lrs.common.ValidateUtils.convertToLong(ValidateUtils.java:224)
at Arif.StringTokenizerDemo.main(StringTokenizerDemo.java:60)

Users with the same issue

Once, 1 day ago
3 times, 1 week ago
504 times, 1 week ago
Once, 2 months ago
Once, 2 months ago
232 more bugmates

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