java.lang.NumberFormatException: For input string: "i"

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.

,

Java does not handle IPv6 nameservers before 1.8.0_60. Upgrade to the latest JVM.

Solutions on the web

via Google Groups by poweroftesting, 2 years ago
via YouTrack by Unknown author, 1 year ago
via ZK-Tracker by sbglobesy, 1 year ago
For input string: "myProperty"
via Oracle Community by 843810, 1 year ago
java.lang.NumberFormatException: For input string: "i"
at java.lang.NumberFormatException.forInputString(Unknown Source)
at java.lang.Integer.parseInt(Unknown Source)
at java.lang.Integer.parseInt(Unknown Source)
at net.sf.freecol.common.model.Unit.readChildren(Unit.java:3900)
at net.sf.freecol.common.model.FreeColObject.readFromXML(FreeColObject.java:521)
at net.sf.freecol.common.model.FreeColGameObject.readFromXML(FreeColGameObject.java:484)
at net.sf.freecol.common.model.FreeColGameObject.updateFreeColGameObject(FreeColGameObject.java:358)
at net.sf.freecol.common.model.UnitLocation.readChild(UnitLocation.java:442)
at net.sf.freecol.common.model.GoodsLocation.readChild(GoodsLocation.java:320)
at net.sf.freecol.common.model.Unit.readChildren(Unit.java:3913)
at net.sf.freecol.common.model.FreeColObject.readFromXML(FreeColObject.java:521)
at net.sf.freecol.common.model.FreeColGameObject.readFromXML(FreeColGameObject.java:484)
at net.sf.freecol.common.model.FreeColGameObject.updateFreeColGameObject(FreeColGameObject.java:358)
at net.sf.freecol.common.model.UnitLocation.readChild(UnitLocation.java:442)
at net.sf.freecol.common.model.Tile.readChild(Tile.java:2042)
at net.sf.freecol.common.model.UnitLocation.readChildren(UnitLocation.java:433)
at net.sf.freecol.common.model.Tile.readChildren(Tile.java:1977)
at net.sf.freecol.common.model.FreeColObject.readFromXML(FreeColObject.java:521)
at net.sf.freecol.common.model.FreeColGameObject.readFromXML(FreeColGameObject.java:484)
at net.sf.freecol.common.model.FreeColObject.readFromXMLElement(FreeColObject.java:468)
at net.sf.freecol.client.control.InGameInputHandler.updateGameObjects(InGameInputHandler.java:240)
at net.sf.freecol.client.control.InGameInputHandler.update(InGameInputHandler.java:221)
at net.sf.freecol.client.control.InGameInputHandler.handle(InGameInputHandler.java:114)
at net.sf.freecol.common.networking.Client.handleReply(Client.java:176)
at net.sf.freecol.common.networking.ServerAPI.askHandling(ServerAPI.java:1183)
at net.sf.freecol.common.networking.ServerAPI.embark(ServerAPI.java:464)
at net.sf.freecol.client.control.InGameController.boardShip(InGameController.java:1436)
at net.sf.freecol.client.gui.panel.CargoPanel.add(CargoPanel.java:211)
at net.sf.freecol.client.gui.panel.DefaultTransferHandler.importData(DefaultTransferHandler.java:220)
at javax.swing.TransferHandler.importData(Unknown Source)
at javax.swing.TransferHandler$DropHandler.drop(Unknown Source)
at java.awt.dnd.DropTarget.drop(Unknown Source)
at javax.swing.TransferHandler$SwingDropTarget.drop(Unknown Source)
at sun.awt.X11.XDropTargetContextPeer.processDropMessage(Unknown Source)
at sun.awt.dnd.SunDropTargetContextPeer$EventDispatcher.dispatchDropEvent(Unknown Source)
at sun.awt.dnd.SunDropTargetContextPeer$EventDispatcher.dispatchEvent(Unknown Source)
at sun.awt.dnd.SunDropTargetEvent.dispatch(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.processDropTargetEvent(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$200(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

Samebug visitor profile picture
Unknown user
Once, 5 months ago
Samebug visitor profile picture
Unknown user
Once, 1 year ago
Samebug visitor profile picture
Unknown user
Once, 1 year ago
Samebug visitor profile picture
Unknown user
Once, 1 year ago
Samebug visitor profile picture
Unknown user
Once, 1 year ago
264 more bugmates

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