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

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

via Stack Overflow by erbdex
, 2 years ago
via Stack Overflow by Hooman
, 2 years ago
For input string: "userName"
via by Unknown author, 2 years ago
For input string: "bco"
via GitHub by mkj28
, 8 months ago
For input string: "10,997"
via by Unknown author, 1 year ago
java.lang.NumberFormatException: For input string: "abc"
at java.lang.NumberFormatException.forInputString(
at java.lang.Long.parseLong(
at java.lang.Long.parseLong(
at org.elasticsearch.index.mapper.core.LongFieldMapper.innerParseCreateField(
at org.elasticsearch.index.mapper.core.NumberFieldMapper.parseCreateField(

Users with the same issue

104 times, 8 hours ago
Once, 10 hours ago
Once, 19 hours ago
12 times, 3 days ago
Once, 4 days ago

Write tip

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