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. ,

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

  2. ,

    Is thrown when you try to convert a String to a numeric value, like an int, float, double, long, etc.

Solutions on the web

via Oracle Community by 843789, 2 years ago
via GitHub by ac2cz
, 1 year ago
For input string: ""
via GitHub by rhuss
, 1 year ago
java.lang.NumberFormatException: For input string: ""	at java.lang.NumberFormatException.forInputString(NumberFormatException.java:48)	at java.lang.Long.parseLong(Long.java:431)	at java.lang.Long.parseLong(Long.java:468)	at java.text.DigitList.getLong(DigitList.java:177)	at java.text.DecimalFormat.parse(DecimalFormat.java:1298)	at java.text.SimpleDateFormat.subParse(SimpleDateFormat.java:1936)	at java.text.SimpleDateFormat.parse(SimpleDateFormat.java:1312)	at java.text.DateFormat.parse(DateFormat.java:335)	at com.icesoft.faces.webapp.CompatResourceServlet.service(CompatResourceServlet.java:61)	at javax.servlet.http.HttpServlet.service(HttpServlet.java:847)	at org.apache.catalina.core.StandardWrapper.service(StandardWrapper.java:1523)	at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:279)	at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:188)	at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:641)	at com.sun.enterprise.web.WebPipeline.invoke(WebPipeline.java:97)	at com.sun.enterprise.web.PESessionLockingStandardPipeline.invoke(PESessionLockingStandardPipeline.java:85)	at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:185)	at org.apache.catalina.connector.CoyoteAdapter.doService(CoyoteAdapter.java:325)	at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:226)	at com.sun.enterprise.v3.services.impl.ContainerMapper.service(ContainerMapper.java:165)	at com.sun.grizzly.http.ProcessorTask.invokeAdapter(ProcessorTask.java:791)	at com.sun.grizzly.http.ProcessorTask.doProcess(ProcessorTask.java:693)	at com.sun.grizzly.http.ProcessorTask.process(ProcessorTask.java:954)	at com.sun.grizzly.http.DefaultProtocolFilter.execute(DefaultProtocolFilter.java:170)	at com.sun.grizzly.DefaultProtocolChain.executeProtocolFilter(DefaultProtocolChain.java:135)	at com.sun.grizzly.DefaultProtocolChain.execute(DefaultProtocolChain.java:102)	at com.sun.grizzly.DefaultProtocolChain.execute(DefaultProtocolChain.java:88)	at com.sun.grizzly.http.HttpProtocolChain.execute(HttpProtocolChain.java:76)	at com.sun.grizzly.ProtocolChainContextTask.doCall(ProtocolChainContextTask.java:53)	at com.sun.grizzly.SelectionKeyContextTask.call(SelectionKeyContextTask.java:57)	at com.sun.grizzly.ContextTask.run(ContextTask.java:69)	at com.sun.grizzly.util.AbstractThreadPool$Worker.doWork(AbstractThreadPool.java:330)	at com.sun.grizzly.util.AbstractThreadPool$Worker.run(AbstractThreadPool.java:309)	at java.lang.Thread.run(Thread.java:662)