java.lang.NumberFormatException: For input string: "45÷10"

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 JFrog JIRA by Frederic Simon, 1 year ago
For input string: "45÷10"
via JFrog JIRA by Frederic Simon, 1 year ago
For input string: "45??10"
via Stack Overflow by user2252834
, 2 years ago
via javatutorialhq.com by Unknown author, 1 year ago
For input string: "-2147483649"
via GitHub by fbarrios
, 4 months ago
via Coderanch by naved momin, 1 year ago
For input string: "thee"
java.lang.NumberFormatException: For input string: "45÷10"
at java.lang.NumberFormatException.forInputString(Unknown Source)
at java.lang.Integer.parseInt(Unknown Source)
at java.lang.Integer.parseInt(Unknown Source)
at org.stellarium.StelUtility.getDecAngle(Unknown Source)
at org.stellarium.ui.dialog.ConfigDialog.loadCities(Unknown Source)
at org.stellarium.ui.dialog.ConfigDialog.createLocationConfigTab(Unknown Source)
at org.stellarium.ui.dialog.ConfigDialog.(Unknown Source)
at org.stellarium.ui.StelUIConf.createConfigWindow(Unknown Source)
at org.stellarium.ui.StelUI.initAsDisplayable(Unknown Source)
at org.stellarium.ui.StelSdl.display(Unknown Source)
at com.sun.opengl.impl.GLDrawableHelper.display(GLDrawableHelper.java:78)
at com.sun.opengl.impl.GLDrawableHelper.invokeGL(GLDrawableHelper.java:194)
at javax.media.opengl.GLCanvas.maybeDoSingleThreadedWorkaround(GLCanvas.java:265)
at javax.media.opengl.GLCanvas.display(GLCanvas.java:130)
at javax.media.opengl.GLCanvas.paint(GLCanvas.java:142)
at javax.media.opengl.GLCanvas.update(GLCanvas.java:213)
at sun.awt.RepaintArea.updateComponent(Unknown Source)
at sun.awt.RepaintArea.paint(Unknown Source)
at sun.awt.windows.WComponentPeer.handleEvent(Unknown Source)
at java.awt.Component.dispatchEventImpl(Unknown Source)
at java.awt.Component.dispatchEvent(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, 5 days ago
16 times, 6 days ago
6 times, 1 week ago
30 times, 1 week ago
2 times, 2 weeks ago

Write tip

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