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

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 openxava by mbenitezcol2007
, 1 year ago
For input string: "t"
via Coderanch by Francis Low, 1 year ago
via GitHub by AmazingTrans
, 1 year ago
For input string: "utf8"
via Oracle Community by LeylaDah, 1 year ago
java.lang.NumberFormatException: For input string: "t"
at java.lang.NumberFormatException.forInputString(
at java.lang.Integer.parseInt(
at java.lang.Integer.parseInt(
at org.openxava.web.dwr.Tab.setColumnWidth(
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(
at sun.reflect.DelegatingMethodAccessorImpl.invoke(
at java.lang.reflect.Method.invoke(
at org.directwebremoting.impl.ExecuteAjaxFilter.doFilter(
at org.directwebremoting.impl.DefaultRemoter$1.doFilter(
at org.directwebremoting.impl.DefaultRemoter.execute(
at org.directwebremoting.impl.DefaultRemoter.execute(
at org.directwebremoting.servlet.PlainCallHandler.handle(
at org.directwebremoting.servlet.UrlProcessor.handle(
at javax.servlet.http.HttpServlet.service(
at javax.servlet.http.HttpServlet.service(
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(
at org.apache.catalina.core.ApplicationFilterChain.doFilter(
at org.apache.catalina.core.StandardWrapperValve.invoke(
at org.apache.catalina.core.StandardContextValve.invoke(
at org.apache.catalina.core.StandardHostValve.invoke(
at org.apache.catalina.valves.ErrorReportValve.invoke(
at org.apache.catalina.core.StandardEngineValve.invoke(
at org.apache.coyote.http11.Http11AprProcessor.process(
at org.apache.coyote.http11.Http11AprProtocol$Http11ConnectionHandler.process(

Users with the same issue

104 times, 14 hours ago
Once, 15 hours ago
Once, 1 day ago
12 times, 4 days ago
Once, 4 days ago

Write tip

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