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


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.


1 month ago

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


6 months ago

Solutions on the web

Solution icon of stackoverflow
via Stack Overflow by Shantanu
, 1 year ago
For input string: "string"

Solution icon of web
For input string: ""java.lang.NumberFormatException: For input string: ""

Solution icon of coderanch
via Coderanch by sarah wilson, 1 year ago
For input string: ""

Solution icon of coderanch
via Coderanch by Mark Hughes, 1 year ago
For input string: "3 "

Solution icon of coderanch
via Coderanch by David Brossard, 1 year ago
For input string: "bla"

Solution icon of coderanch
via Coderanch by James Brooks, 1 year ago
For input string: "9044150091"

Solution icon of coderanch
via Coderanch by Henry Wong, 1 year ago
For input string: ""

Solution icon of coderanch
via Coderanch by Michael van Adrichem, 10 months ago
For input string: "personeelsplaatje"

Solution icon of coderanch
via Coderanch by Farakh khan, 1 year ago
For input string: "null"

Stack trace

java.lang.NumberFormatException: For input string: "Editing"
	at java.lang.NumberFormatException.forInputString(NumberFormatException.java:65)
	at java.lang.Integer.parseInt(Integer.java:492)
	at java.lang.Integer.parseInt(Integer.java:527)
	at com.xpn.xwiki.web.SaveAction.save(SaveAction.java:66)
	at com.xpn.xwiki.web.SaveAndContinueAction.doWrappedAction(SaveAndContinueAction.java:103)
	at com.xpn.xwiki.web.SaveAndContinueAction.action(SaveAndContinueAction.java:203)
	at com.xpn.xwiki.web.XWikiAction.execute(XWikiAction.java:230)
	at com.xpn.xwiki.web.XWikiAction.execute(XWikiAction.java:116)
	at org.apache.struts.action.RequestProcessor.processActionPerform(RequestProcessor.java:431)
	at org.apache.struts.action.RequestProcessor.process(RequestProcessor.java:236)
	at org.apache.struts.action.ActionServlet.process(ActionServlet.java:1196)
	at org.apache.struts.action.ActionServlet.doPost(ActionServlet.java:432)
	at javax.servlet.http.HttpServlet.service(HttpServlet.java:755)
	at javax.servlet.http.HttpServlet.service(HttpServlet.java:848)

Write tip

You have a different solution? A short tip here would help you and many other users who saw this issue last week.

Users with the same issue

2 times, 2 months ago
Once, 8 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
255 more bugmates