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

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

,

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

,
Expert tip

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

Solutions on the web

via Atlassian JIRA by Ajay Sridhar [Atlassian], 1 year ago
For input string: ""
via GitHub by mkj28
, 7 months ago
For input string: "10,997"
via Google Groups by DammeBuddies, 2 years ago
For input string: "9213501144129031184""
via Oracle Community by 861395, 1 year ago
For input string: ""
via Stack Overflow by Keval Shah
, 2 years ago
java.lang.NumberFormatException: For input string: ""
at java.lang.NumberFormatException.forInputString(NumberFormatException.java:48)
at java.lang.Long.parseLong(Long.java:424)
at java.lang.Long.parseLong(Long.java:461)
at com.atlassian.bamboo.migration.ProjectMapper.importBuildResultCommits(ProjectMapper.java:683)
at com.atlassian.bamboo.migration.ProjectMapper.importBuildResultSummaries(ProjectMapper.java:630)
at com.atlassian.bamboo.migration.ProjectMapper.importBuilds(ProjectMapper.java:552)
at com.atlassian.bamboo.migration.ProjectMapper.importXml(ProjectMapper.java:498)
at com.atlassian.bamboo.migration.XmlMigrator.importXml(XmlMigrator.java:169)
at com.atlassian.bamboo.migration.XmlMigrator$$FastClassByCGLIB$$b6578fc7.invoke()
at net.sf.cglib.proxy.MethodProxy.invoke(MethodProxy.java:149)
at org.springframework.aop.framework.Cglib2AopProxy$CglibMethodInvocation.invokeJoinpoint(Cglib2AopProxy.java:694)
at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:171)
at com.atlassian.bamboo.migration.XmlMigrator$$EnhancerByCGLIB$$7730bcae.importXml()
at com.atlassian.bamboo.migration.ImportExportManagerImpl$2.call(ImportExportManagerImpl.java:97)
at com.atlassian.bamboo.migration.ImportExportManagerImpl$2.call(ImportExportManagerImpl.java:86)
at com.atlassian.bamboo.buildqueue.manager.LocalAgentManagerImpl.executeIfIdle(LocalAgentManagerImpl.java:342)

Users with the same issue

3 times, 1 week ago
Once, 6 months ago
5 times, 1 year ago
2 times, 1 year ago
6 times, 1 year ago

Write tip

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