java.lang.NumberFormatException: For input 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

Samebug tips

,

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

,

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.

Solutions on the web

via YouTrack by Unknown author, 2 years ago
via Oracle Community by Arunava Datta, 1 year ago
via GitHub by jsql-robot
, 1 year ago
For input string: "!"
java.lang.NumberFormatException: For input string: ""
at java.lang.NumberFormatException.forInputString(Unknown Source)
at java.lang.Integer.parseInt(Unknown Source)
at java.lang.Integer.parseInt(Unknown Source)
at oracle.xdo.template.rtf.shape.RTFShape.insertNewShape(RTFShape.java:298)
at oracle.xdo.template.rtf.shape.RTFShape.getTransformedFO(RTFShape.java:654)
at oracle.xdo.template.rtf.RTFParagraph.getTransformedFO(RTFParagraph.java:1939)
at oracle.xdo.template.rtf.RTF2XSLParser.publishText(RTF2XSLParser.java:687)
at oracle.xdo.template.rtf.RTF2XSLParser.endgroup(RTF2XSLParser.java:1175)
at oracle.xdo.template.rtf.io.RTFFilter.write(RTFFilter.java:213)
at oracle.xdo.template.rtf.io.Filter.write(Filter.java:124)
at oracle.xdo.template.rtf.RTF2XSLParser.write(RTF2XSLParser.java:199)
at oracle.xdo.template.rtf.io.Filter.readFromStream(Filter.java:64)
at oracle.xdo.template.rtf.RTFParser.generate(RTFParser.java:143)
at oracle.xdo.template.rtf.RTF2XSLParser.generateXSL(RTF2XSLParser.java:342)
at oracle.xdo.template.RTFProcessor.process(RTFProcessor.java:347)
at oracle.xdo.runner.MainWindow.generateNormalXSL_actionPerformed(MainWindow.java:2110)
at oracle.xdo.runner.MainWindow.access$900(MainWindow.java:75)
at oracle.xdo.runner.MainWindow$12.actionPerformed(MainWindow.java:499)
at javax.swing.AbstractButton.fireActionPerformed(Unknown Source)
at javax.swing.AbstractButton$Handler.actionPerformed(Unknown Source)
at javax.swing.DefaultButtonModel.fireActionPerformed(Unknown Source)
at javax.swing.DefaultButtonModel.setPressed(Unknown Source)
at javax.swing.AbstractButton.doClick(Unknown Source)
at javax.swing.plaf.basic.BasicMenuItemUI.doClick(Unknown Source)
at javax.swing.plaf.basic.BasicMenuItemUI$Handler.mouseReleased(Unknown Source)
at java.awt.Component.processMouseEvent(Unknown Source)
at javax.swing.JComponent.processMouseEvent(Unknown Source)
at java.awt.Component.processEvent(Unknown Source)
at java.awt.Container.processEvent(Unknown Source)
at java.awt.Component.dispatchEventImpl(Unknown Source)
at java.awt.Container.dispatchEventImpl(Unknown Source)
at java.awt.Component.dispatchEvent(Unknown Source)
at java.awt.LightweightDispatcher.retargetMouseEvent(Unknown Source)
at java.awt.LightweightDispatcher.processMouseEvent(Unknown Source)
at java.awt.LightweightDispatcher.dispatchEvent(Unknown Source)
at java.awt.Container.dispatchEventImpl(Unknown Source)
at java.awt.Window.dispatchEventImpl(Unknown Source)
at java.awt.Component.dispatchEvent(Unknown Source)
at java.awt.EventQueue.dispatchEventImpl(Unknown Source)
at java.awt.EventQueue.access$400(Unknown Source)
at java.awt.EventQueue$3.run(Unknown Source)
at java.awt.EventQueue$3.run(Unknown Source)
at java.security.AccessController.doPrivileged(Native Method)
at java.security.ProtectionDomain$1.doIntersectionPrivilege(Unknown Source)
at java.security.ProtectionDomain$1.doIntersectionPrivilege(Unknown Source)
at java.awt.EventQueue$4.run(Unknown Source)
at java.awt.EventQueue$4.run(Unknown Source)
at java.security.AccessController.doPrivileged(Native Method)
at java.security.ProtectionDomain$1.doIntersectionPrivilege(Unknown Source)
at java.awt.EventQueue.dispatchEvent(Unknown Source)
at java.awt.EventDispatchThread.pumpOneEventForFilters(Unknown Source)
at java.awt.EventDispatchThread.pumpEventsForFilter(Unknown Source)
at java.awt.EventDispatchThread.pumpEventsForHierarchy(Unknown Source)
at java.awt.EventDispatchThread.pumpEvents(Unknown Source)
at java.awt.EventDispatchThread.pumpEvents(Unknown Source)

Users with the same issue

4 times, 2 days ago
Once, 3 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.