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

  1. ,

    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.

  2. ,

    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 freecol by alancio
, 1 year ago
via Google Groups by poweroftesting, 2 years ago
via YouTrack by Unknown author, 2 years ago
via GitHub by ItsShadow13
, 1 year ago
For input string: "R"
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.dnd.SunDropTargetContextPeer.processDropMessage(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)	at java.awt.EventDispatchThread.run(Unknown Source)