java.lang.NumberFormatException

For input string: " "


Samebug tips2

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

This is a bug in Wise, updating to v4.10 seems to solve the problem.

Don't give up yet. Our experts can help. Paste your full stack trace to get a solution.


Solutions on the web5446

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 sandy wandy, 7 months ago
For input string: "CONDS"

Solution icon of coderanch
via Coderanch by Elinor Chang, 8 months ago
For input string: "0.0000000000null"

Solution icon of coderanch
via Coderanch by Tauqueer Ali, 8 months ago
For input string: ""

Solution icon of coderanch
via Coderanch by mike hew, 1 year ago
For input string: "Regular"

Solution icon of coderanch
via Coderanch by Jherald Lacambra, 10 months ago
For input string: " "

Solution icon of coderanch
via Coderanch by Sarah Rainier, 10 months ago
For input string: "jjss"

Solution icon of coderanch
via Coderanch by Bill Stanard, 10 months ago
For input string: ""

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

Stack trace

  • java.lang.NumberFormatException: For input string: " " at java.lang.NumberFormatException.forInputString(NumberFormatException.java:48) at java.lang.Integer.parseInt(Integer.java:447) at java.lang.Integer.parseInt(Integer.java:497) at com.xpn.xwiki.doc.rcs.XWikiPatchUtils.patch(XWikiPatchUtils.java:89) at com.xpn.xwiki.doc.rcs.XWikiPatch.patch(XWikiPatch.java:144) at com.xpn.xwiki.doc.XWikiDocumentArchive.loadDocument(XWikiDocumentArchive.java:305) at com.xpn.xwiki.store.XWikiHibernateVersioningStore.loadXWikiDoc(XWikiHibernateVersioningStore.java:162) at com.xpn.xwiki.XWiki.getDocument(XWiki.java:1003) at com.xpn.xwiki.web.XWikiAction.handleRevision(XWikiAction.java:257) at com.xpn.xwiki.web.ExportAction.exportPDFOrRTF(ExportAction.java:69) at com.xpn.xwiki.web.ExportAction.render(ExportAction.java:50) at com.xpn.xwiki.web.XWikiAction.execute(XWikiAction.java:148) 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.doGet(ActionServlet.java:414) at javax.servlet.http.HttpServlet.service(HttpServlet.java:690) at javax.servlet.http.HttpServlet.service(HttpServlet.java:803) at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:290) at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206) at com.xpn.xwiki.web.SetCharacterEncodingFilter.doFilter(SetCharacterEncodingFilter.java:117) at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235) at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206) at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:233) at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:175) at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:128) at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:102) at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:109) at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:263) at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:844) at org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.process(Http11Protocol.java:584) at org.apache.tomcat.util.net.JIoEndpoint$Worker.run(JIoEndpoint.java:447) at java.lang.Thread.run(Thread.java:619)

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

4 times, 3 months ago
Once, 3 weeks ago
7 times, 3 weeks ago
2 times, 4 weeks ago
Samebug visitor profile picture
Unknown user
Once, 4 weeks ago
240 more bugmates