java.lang.NumberFormatException: For input string: "93,917"


Solutions on the web688

Solution icon of github
via GitHub by turaluralu
, 9 months ago
For input string: "93,917"

Solution icon of github
via GitHub by turaluralu
, 1 year ago
For input string: "93,917"

Solution icon of github
via GitHub by i-make-robots
, 9 months ago
For input string: "93,917"

Solution icon of coderanch
via Coderanch by John Smith, 10 months ago
For input string: "<%numberOfRecords2;%>"

Solution icon of coderanch
via Coderanch by mike hew, 1 year ago
For input string: "Regular"

Solution icon of github
via GitHub by Noiknez
, 1 year ago
For input string: "5,00"

Solution icon of github
via GitHub by yiming-chen
, 1 month ago
For input string: "007safe.com"

Solution icon of github
via GitHub by pwalczysko
, 1 year ago
For input string: "0.0"

Solution icon of github
For input string: "0,260"

Solution icon of github
via GitHub by Polm90
, 1 year ago
For input string: "10,00"

Stack trace

java.lang.NumberFormatException: For input string: "93,917"
	at sun.misc.FloatingDecimal.readJavaFormatString(FloatingDecimal.java:2043)
	at sun.misc.FloatingDecimal.parseFloat(FloatingDecimal.java:122)
	at java.lang.Float.parseFloat(Float.java:451)
	at java.lang.Float.valueOf(Float.java:416)
	at com.marginallyclever.makelangelo.GCodeFile.estimateDrawTime(GCodeFile.java:136)
	at com.marginallyclever.makelangelo.GCodeFile.loadFromScanner(GCodeFile.java:252)
	at com.marginallyclever.makelangelo.GCodeFile.load(GCodeFile.java:209)
	at com.marginallyclever.makelangelo.GCodeFile.<init>(GCodeFile.java:68)
	at com.marginallyclever.loaders.LoadGCode.load(LoadGCode.java:35)
	at com.marginallyclever.loaders.LoadImage$1.done(LoadImage.java:213)
	at javax.swing.SwingWorker$5.run(SwingWorker.java:737)
	at javax.swing.SwingWorker$DoSubmitAccumulativeRunnable.run(SwingWorker.java:832)
	at sun.swing.AccumulativeRunnable.run(AccumulativeRunnable.java:112)
	at javax.swing.SwingWorker$DoSubmitAccumulativeRunnable.actionPerformed(SwingWorker.java:842)
	at javax.swing.Timer.fireActionPerformed(Timer.java:313)
	at javax.swing.Timer$DoPostEvent.run(Timer.java:245)
	at java.awt.event.InvocationEvent.dispatch(InvocationEvent.java:311)
	at java.awt.EventQueue.dispatchEventImpl(EventQueue.java:756)
	at java.awt.EventQueue.access$500(EventQueue.java:97)
	at java.awt.EventQueue$3.run(EventQueue.java:709)
	at java.awt.EventQueue$3.run(EventQueue.java:703)
	at java.security.AccessController.doPrivileged(Native Method)
	at java.security.ProtectionDomain$JavaSecurityAccessImpl.doIntersectionPrivilege(ProtectionDomain.java:76)
	at java.awt.EventQueue.dispatchEvent(EventQueue.java:726)
	at java.awt.EventDispatchThread.pumpOneEventForFilters(EventDispatchThread.java:201)
	at java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:116)
	at java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:105)
	at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:101)
	at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:93)
	at java.awt.EventDispatchThread.run(EventDispatchThread.java:82)

Write tip

You have a different solution? A short tip here would help you and many other users who saw this issue last week.

Users with the same issue

2 times, 1 month ago
4 times, 11 months ago
Samebug visitor profile picture
Unknown user
Once, 1 year ago
12 times, 1 year ago
Once, 3 months ago
27 more bugmates