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 roller-user by mstralka (sent by Nabble.com), 1 year ago
via roller-user by Flora Liu (sent by Nabble.com), 1 year ago
via roller-user by Flora Liu (sent by Nabble.com), 1 year ago
via roller-user by Ben Avery, 1 year ago
via roller-user by Ben Avery, 1 year ago
java.lang.NumberFormatException: null	at java.lang.Integer.parseInt(Integer.java:394)	at java.lang.Integer.parseInt(Integer.java:476)	at org.roller.business.utils.UpgradeDatabase.upgradeDatabase(UpgradeDatabase.java:68)	at org.roller.presentation.RollerContext.upgradeDatabaseIfNeeded(RollerContext.java:304)	at org.roller.presentation.RollerContext.contextInitialized(RollerContext.java:177)	at org.apache.catalina.core.StandardContext.listenerStart(StandardContext.java:3827)	at org.apache.catalina.core.StandardContext.start(StandardContext.java:4343)	at org.apache.catalina.core.ContainerBase.addChildInternal(ContainerBase.java:823)	at org.apache.catalina.core.ContainerBase.addChild(ContainerBase.java:807)	at org.apache.catalina.core.StandardHost.addChild(StandardHost.java:595)	at org.apache.catalina.core.StandardHostDeployer.addChild(StandardHostDeployer.java:903)	at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)	at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)	at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)	at java.lang.reflect.Method.invoke(Method.java:324)	at org.apache.commons.beanutils.MethodUtils.invokeMethod(MethodUtils.java:216)	at org.apache.commons.digester.SetNextRule.end(SetNextRule.java:256)	at org.apache.commons.digester.Rule.end(Rule.java:276)	at org.apache.commons.digester.Digester.endElement(Digester.java:1058)	at org.apache.catalina.util.CatalinaDigester.endElement(CatalinaDigester.java:76)	at org.apache.xerces.parsers.AbstractSAXParser.endElement(Unknown Source)	at org.apache.xerces.impl.XMLDocumentFragmentScannerImpl.scanEndElement(Unknown Source)	at org.apache.xerces.impl.XMLDocumentFragmentScannerImpl$FragmentContentDispatcher.dispatch(Unknown Source)	at org.apache.xerces.impl.XMLDocumentFragmentScannerImpl.scanDocument(Unknown Source)	at org.apache.xerces.parsers.XML11Configuration.parse(Unknown Source)	at org.apache.xerces.parsers.XML11Configuration.parse(Unknown Source)	at org.apache.xerces.parsers.XMLParser.parse(Unknown Source)	at org.apache.xerces.parsers.AbstractSAXParser.parse(Unknown Source)	at org.apache.commons.digester.Digester.parse(Digester.java:1567)	at org.apache.catalina.core.StandardHostDeployer.install(StandardHostDeployer.java:488)	at org.apache.catalina.core.StandardHost.install(StandardHost.java:863)	at org.apache.catalina.startup.HostConfig.deployDescriptors(HostConfig.java:483)	at org.apache.catalina.startup.HostConfig.deployApps(HostConfig.java:427)	at org.apache.catalina.startup.HostConfig.start(HostConfig.java:983)	at org.apache.catalina.startup.HostConfig.lifecycleEvent(HostConfig.java:349)	at org.apache.catalina.util.LifecycleSupport.fireLifecycleEvent(LifecycleSupport.java:119)	at org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1091)	at org.apache.catalina.core.StandardHost.start(StandardHost.java:789)	at org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1083)	at org.apache.catalina.core.StandardEngine.start(StandardEngine.java:478)	at org.apache.catalina.core.StandardService.start(StandardService.java:480)	at org.apache.catalina.core.StandardServer.start(StandardServer.java:2313)	at org.apache.catalina.startup.Catalina.start(Catalina.java:556)	at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)	at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)	at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)	at java.lang.reflect.Method.invoke(Method.java:324)	at org.apache.catalina.startup.Bootstrap.start(Bootstrap.java:287)	at org.apache.catalina.startup.Bootstrap.main(Bootstrap.java:425)