java.lang.NumberFormatException: empty String

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

Solutions on the web

via Oracle Community by 807595, 1 year ago
via GitHub by barbeau
, 1 year ago
For input string: "99.0*2B"
java.lang.NumberFormatException: empty String
at java.lang.FloatingDecimal.readJavaFormatString(FloatingDecimal.89)
at java.lang.Double.parseDouble(Double.java:184)
at javax.swing.AbstractButton.fireActionPerformed(AbstractButton.j50)
at javax.swing.AbstractButton$ForwardActionEvents.actionPerformed(ctButton.java:1504)
at javax.swing.DefaultButtonModel.fireActionPerformed(DefaultButto.java:378)
at javax.swing.DefaultButtonModel.setPressed(DefaultButtonModel.ja)
at javax.swing.plaf.basic.BasicButtonListener.mouseReleased(BasicBistener.java:216)
at java.awt.Component.processMouseEvent(Component.java:3715)
at java.awt.Component.processEvent(Component.java:3544)
at java.awt.Container.processEvent(Container.java:1164)
at java.awt.Component.dispatchEventImpl(Component.java:2593)
at java.awt.Container.dispatchEventImpl(Container.java:1213)
at java.awt.Component.dispatchEvent(Component.java:2497)

Users with the same issue

Once, 4 months ago
179 times, 5 months ago
Samebug visitor profile picture
Unknown user
Once, 1 year ago

Write tip

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