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

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

,

You try to parse a String that contains non-numeric characters to an int. The string must contain decimal characters only, optionally beginning with a + or - sign.

,

Can occur when you try to convert a String to a numeric value but the String is not well formatted for the conversion.

Solutions on the web

via GitHub by micheljung
, 1 year ago
For input string: "14000000000000000"
via GitHub by GoogleCodeExporter
, 1 year ago
For input string: "--help"
via GitHub by GoogleCodeExporter
, 1 year ago
For input string: "--help"
via GitHub by tkral
, 1 year ago
For input string: ""
via GitHub by Watchful1
, 1 year ago
For input string: "ftb"
java.lang.NumberFormatException: For input string: "14000000000000000"
at java.lang.NumberFormatException.forInputString(NumberFormatException.java:65)
at java.lang.Integer.parseInt(Integer.java:583)
at java.lang.Integer.parseInt(Integer.java:615)
at com.faforever.client.game.GameInfoBean.parseRating(GameInfoBean.java:149)
at com.faforever.client.game.GameInfoBean.updateFromGameInfo(GameInfoBean.java:126)
at com.faforever.client.game.GameInfoBean.(GameInfoBean.java:58)
at com.faforever.client.game.GameServiceImpl.onGameInfo(GameServiceImpl.java:491)
at java.util.ArrayList.forEach(ArrayList.java:1249)
at com.faforever.client.game.GameServiceImpl.onGameInfo(GameServiceImpl.java:480)
at com.faforever.client.remote.FafServerAccessorImpl.lambda$parseServerObject$0(FafServerAccessorImpl.java:372)
at java.lang.Iterable.forEach(Iterable.java:75)
at com.faforever.client.remote.FafServerAccessorImpl.parseServerObject(FafServerAccessorImpl.java:372)
at com.faforever.client.remote.FafServerAccessorImpl.onServerMessage(FafServerAccessorImpl.java:349)
at com.faforever.client.remote.AbstractServerAccessor.blockingReadServer(AbstractServerAccessor.java:44)
at com.faforever.client.remote.FafServerAccessorImpl$1.call(FafServerAccessorImpl.java:201)
at com.faforever.client.remote.FafServerAccessorImpl$1.call(FafServerAccessorImpl.java:177)
at javafx.concurrent.Task$TaskCallable.call(Task.java:1423)
at java.util.concurrent.FutureTask.run(FutureTask.java:266)
at javafx.concurrent.Service.lambda$null$492(Service.java:725)
at javafx.concurrent.Service.lambda$executeTask$493(Service.java:724)
at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617)
at java.lang.Thread.run(Thread.java:745)

Users with the same issue

Once, 8 hours ago
4 times, 6 days ago
16 times, 1 week ago
6 times, 1 week ago
30 times, 1 week ago

Write tip

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