java.lang.NumberFormatException: For input string: "abort: There is no Mercurial repository here (.hg not found)! "

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 ChippSim
, 1 year ago
For input string: "abort: There is no Mercurial repository here (.hg not found)! "
via Stack Overflow by Unknown author, 2 years ago
via Stack Overflow by Unknown author, 2 years ago
via Stack Overflow by lyborko
, 2 years ago
For input string: ""
via Eclipse Bugzilla by sbalusani, 1 year ago
java.lang.NumberFormatException: For input string: "abort: There is no Mercurial repository here (.hg not found)! "
at java.lang.NumberFormatException.forInputString(NumberFormatException.java:65)
at java.lang.Integer.parseInt(Integer.java:492)
at java.lang.Integer.parseInt(Integer.java:527)
at field.core.plugins.history.HGVersioningSystem.getLastVersion(HGVersioningSystem.java:55)
at field.core.StandardFluidSheet.saveNowPart2(StandardFluidSheet.java:1688)
at field.core.StandardFluidSheet$19.update(StandardFluidSheet.java:1552)
at field.launch.Launcher$4.run(Launcher.java:323)
at org.eclipse.swt.widgets.Display.timerProc(Unknown Source)
at org.eclipse.swt.internal.cocoa.OS.objc_msgSendSuper(Native Method)
at org.eclipse.swt.widgets.Display.applicationNextEventMatchingMask(Unknown Source)
at org.eclipse.swt.internal.cocoa.OS.objc_msgSend(Native Method)
at org.eclipse.swt.internal.cocoa.NSApplication.nextEventMatchingMask(Unknown Source)
at field.launch.Launcher.main(Launcher.java:92)

Users with the same issue

4 times, 3 days ago
Once, 4 days ago
4 times, 1 week ago
16 times, 1 week ago
6 times, 1 week ago

Write tip

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