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

Atlassian JIRA | Ajay Sridhar [Atlassian] | 9 years ago
  1. 0

    While upgrading the Bamboo instance in BDAC I encountered the following error due to empty authors for commits - {code} 2008-03-31 14:57:15,701 ERROR [btpool0-1] [ImportExportManagerImpl] Exception occurred during import 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(<generated>) 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:149) at org.springframework.transaction.interceptor.TransactionInterceptor.invoke(TransactionInterceptor.java:106) at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:171) at org.springframework.aop.framework.Cglib2AopProxy$DynamicAdvisedInterceptor.intercept(Cglib2AopProxy.java:629) at com.atlassian.bamboo.migration.XmlMigrator$$EnhancerByCGLIB$$7730bcae.importXml(<generated>) 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) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) {code}

    Atlassian JIRA | 9 years ago | Ajay Sridhar [Atlassian]
    java.lang.NumberFormatException: For input string: ""
  2. 0

    While upgrading the Bamboo instance in BDAC I encountered the following error due to empty authors for commits - {code} 2008-03-31 14:57:15,701 ERROR [btpool0-1] [ImportExportManagerImpl] Exception occurred during import 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(<generated>) 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:149) at org.springframework.transaction.interceptor.TransactionInterceptor.invoke(TransactionInterceptor.java:106) at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:171) at org.springframework.aop.framework.Cglib2AopProxy$DynamicAdvisedInterceptor.intercept(Cglib2AopProxy.java:629) at com.atlassian.bamboo.migration.XmlMigrator$$EnhancerByCGLIB$$7730bcae.importXml(<generated>) 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) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) {code}

    Atlassian JIRA | 9 years ago | Ajay Sridhar [Atlassian]
    java.lang.NumberFormatException: For input string: ""
  3. 0

    Sieve of Eratosthenes problem: handling really big numbers

    Stack Overflow | 7 years ago | andandandand
    java.lang.NumberFormatException: For input string: ""
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

  5. 0

    Genesys Info Mart 7.6.x Release Note

    genesys.com | 1 year ago
    java.lang.NumberFormatException: For input string: ""

  1. treefolk 1 times, last 2 weeks ago
  2. MoYapro 5 times, last 3 weeks ago
  3. Handemelindo 2 times, last 4 weeks ago
  4. marcbouvierdav 1 times, last 2 months ago
  5. tyson925 4 times, last 2 months ago
13 more registered users
17 unregistered visitors
Not finding the right solution?
Take a tour to get the most out of Samebug.

Tired of useless tips?

Automated exception search integrated into your IDE

Root Cause Analysis

  1. java.lang.NumberFormatException

    For input string: ""

    at java.lang.NumberFormatException.forInputString()
  2. Java RT
    Long.parseLong
    1. java.lang.NumberFormatException.forInputString(NumberFormatException.java:48)
    2. java.lang.Long.parseLong(Long.java:424)
    3. java.lang.Long.parseLong(Long.java:461)
    3 frames
  3. com.atlassian.bamboo
    XmlMigrator$$FastClassByCGLIB$$b6578fc7.invoke
    1. com.atlassian.bamboo.migration.ProjectMapper.importBuildResultCommits(ProjectMapper.java:683)
    2. com.atlassian.bamboo.migration.ProjectMapper.importBuildResultSummaries(ProjectMapper.java:630)
    3. com.atlassian.bamboo.migration.ProjectMapper.importBuilds(ProjectMapper.java:552)
    4. com.atlassian.bamboo.migration.ProjectMapper.importXml(ProjectMapper.java:498)
    5. com.atlassian.bamboo.migration.XmlMigrator.importXml(XmlMigrator.java:169)
    6. com.atlassian.bamboo.migration.XmlMigrator$$FastClassByCGLIB$$b6578fc7.invoke(<generated>)
    6 frames
  4. IDEA
    MethodProxy.invoke
    1. net.sf.cglib.proxy.MethodProxy.invoke(MethodProxy.java:149)
    1 frame
  5. Spring AOP
    ReflectiveMethodInvocation.proceed
    1. org.springframework.aop.framework.Cglib2AopProxy$CglibMethodInvocation.invokeJoinpoint(Cglib2AopProxy.java:694)
    2. org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:149)
    2 frames
  6. Spring Tx
    TransactionInterceptor.invoke
    1. org.springframework.transaction.interceptor.TransactionInterceptor.invoke(TransactionInterceptor.java:106)
    1 frame
  7. Spring AOP
    Cglib2AopProxy$DynamicAdvisedInterceptor.intercept
    1. org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:171)
    2. org.springframework.aop.framework.Cglib2AopProxy$DynamicAdvisedInterceptor.intercept(Cglib2AopProxy.java:629)
    2 frames
  8. com.atlassian.bamboo
    LocalAgentManagerImpl.executeIfIdle
    1. com.atlassian.bamboo.migration.XmlMigrator$$EnhancerByCGLIB$$7730bcae.importXml(<generated>)
    2. com.atlassian.bamboo.migration.ImportExportManagerImpl$2.call(ImportExportManagerImpl.java:97)
    3. com.atlassian.bamboo.migration.ImportExportManagerImpl$2.call(ImportExportManagerImpl.java:86)
    4. com.atlassian.bamboo.buildqueue.manager.LocalAgentManagerImpl.executeIfIdle(LocalAgentManagerImpl.java:342)
    4 frames
  9. Java RT
    NativeMethodAccessorImpl.invoke0
    1. sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
    1 frame