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.

Solutions on the web

via Coderanch by sowjan kumar, 1 year ago
via Coderanch by sowjan kumar, 1 year ago
via Oracle Community by 807555, 1 year ago
via apache.org by Unknown author, 2 years ago
For input string: "8119844 1 4472499 > 2013-01-29 00:00:00.0 1 4 1 \N \N \N \N \N \N \N \N \N \N 8 \N \N \N \N \N > 1 \N \N 3 2 \N 1" at > java.lang.NumberFormatException.forInputString(NumberFormatException.java:65)
java.lang.NumberFormatException: n at java.lang.Integer.parseInt(Integer.java:423) at java.lang.Integer.parseInt(Integer.java:472) at org.apache.log4j.helpers.PatternParser.extractPrecisionOption(PatternParser.java:109) at org.apache.log4j.helpers.PatternParser.finalizeConverter(PatternParser.java:234) at org.apache.log4j.helpers.PatternParser.parse(PatternParser.java:179) at org.apache.log4j.PatternLayout.setConversionPattern(PatternLayout.java:439) at java.lang.reflect.Method.invoke(Native Method) at org.apache.log4j.config.PropertySetter.setProperty(PropertySetter.java:196) at org.apache.log4j.config.PropertySetter.setProperty(PropertySetter.java:155) at org.apache.log4j.config.PropertySetter.setProperties(PropertySetter.java:120) at org.apache.log4j.config.PropertySetter.setProperties(PropertySetter.java:87) at org.apache.log4j.PropertyConfigurator.parseAppender(PropertyConfigurator.java:640) at org.apache.log4j.PropertyConfigurator.parseCategory(PropertyConfigurator.java:603) at org.apache.log4j.PropertyConfigurator.configureRootCategory(PropertyConfigurator.java:500) at org.apache.log4j.PropertyConfigurator.doConfigure(PropertyConfigurator.java:406) at org.apache.log4j.PropertyConfigurator.configure(PropertyConfigurator.java:340) at com.server.utils.ControllerServlet.init(ControllerServlet.java:56) at com.ibm.servlet.engine.webapp.StrictServletInstance.doInit(ServletManager.java:802) at com.ibm.servlet.engine.webapp.StrictLifecycleServlet._init(StrictLifecycleServlet.java:141) at com.ibm.servlet.engine.webapp.PreInitializedServletState.init(StrictLifecycleServlet.java:254) at com.ibm.servlet.engine.webapp.StrictLifecycleServlet.init(StrictLifecycleServlet.java:107) at com.ibm.servlet.engine.webapp.ServletInstance.init(ServletManager.java:388) at javax.servlet.GenericServlet.init(GenericServlet.java:258) at com.ibm.servlet.engine.webapp.ServletManager.addServlet(ServletManager.java:84) at com.ibm.servlet.engine.webapp.WebAppServletManager.loadServlet(WebAppServletManager.java:193) at com.ibm.servlet.engine.webapp.WebAppServletManager.loadAutoLoadServlets(WebAppServletManager.java:325) at com.ibm.servlet.engine.webapp.WebApp.loadServletManager(WebApp.java:1218) at com.ibm.servlet.engine.webapp.WebApp.init(WebApp.java:145) at com.ibm.servlet.engine.srt.WebGroup.loadWebApp(WebGroup.java:259) at com.ibm.servlet.engine.srt.WebGroup.reload(WebGroup.java:1091) at com.ibm.servlet.engine.srt.ClassChangeWatcher.classChanged(ClassChangeWatcher.java:55) at com.ibm.ws.classloader.ClassLoaderManager.checkAndNotify(ClassLoaderManager.java:360) at com.ibm.ws.classloader.ClassLoaderManager.access$100(ClassLoaderManager.java:34) at com.ibm.ws.classloader.ClassLoaderManager$ReloadTimerTask.run(ClassLoaderManager.java:412) at java.util.TimerThread.mainLoop(Timer.java:445) at java.util.TimerThread.run(Timer.java:395)