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

Sonatype JIRA | Rich Seddon | 6 months ago
  1. 0

    Push of a very large NuGet package fails. This one is about 2.5Gb: {quote} $ ls -l total 5734448 -rw-r--r-- 1 rseddon staff 2935807073 May 26 14:13 NUnit.2.6.3.nupkg {quote} This fails due to a number format error trying to convert the string to an integer: {code} 2016-05-26 14:19:08,814-0500 DEBUG [qtp1378640751-359] admin com.sonatype.nexus.repository.nuget.internal.NugetGalleryFacetImpl - Creating NuGet component NUnit v. 2.6.3 2016-05-26 14:19:08,815-0500 DEBUG [qtp1378640751-359] admin com.orientechnologies.orient.core.storage.impl.local.paginated.OLocalPaginatedStorage - {db=component} Read record #9:0 v.1 size=33 bytes 2016-05-26 14:19:08,985-0500 DEBUG [qtp1378640751-359] admin com.sonatype.nexus.repository.nuget.internal.NugetPushHandler - Bad argument java.lang.NumberFormatException: For input string: "2935807073" at java.lang.NumberFormatException.forInputString(NumberFormatException.java:65) [na:1.8.0_60] at java.lang.Integer.parseInt(Integer.java:583) [na:1.8.0_60] at java.lang.Integer.parseInt(Integer.java:615) [na:1.8.0_60] at com.sonatype.nexus.repository.nuget.internal.NugetGalleryFacetImpl.updateAssetMetadata(NugetGalleryFacetImpl.java:460) [na:na] at com.sonatype.nexus.repository.nuget.internal.NugetGalleryFacetImpl.createOrUpdateAssetAndContents(NugetGalleryFacetImpl.java:589) [na:na] at com.sonatype.nexus.repository.nuget.internal.NugetGalleryFacetImpl.createOrUpdatePackageAndContents(NugetGalleryFacetImpl.java:435) [na:na] at org.sonatype.nexus.transaction.TransactionalWrapper.proceedWithTransaction(TransactionalWrapper.java:54) [org.sonatype.nexus.transaction:3.0.0.03] at org.sonatype.nexus.transaction.TransactionInterceptor.invoke(TransactionInterceptor.java:53) [org.sonatype.nexus.transaction:3.0.0.03] at com.sonatype.nexus.repository.nuget.internal.NugetGalleryFacetImpl.put(NugetGalleryFacetImpl.java:350) [na:na] at org.sonatype.nexus.common.stateguard.MethodInvocationAction.run(MethodInvocationAction.java:39) [org.sonatype.nexus.common:3.0.0.03] at org.sonatype.nexus.common.stateguard.StateGuard$GuardImpl.run(StateGuard.java:270) [org.sonatype.nexus.common:3.0.0.03] at org.sonatype.nexus.common.stateguard.GuardedInterceptor.invoke(GuardedInterceptor.java:53) [org.sonatype.nexus.common:3.0.0.03] at com.sonatype.nexus.repository.nuget.internal.NugetPushHandler.storePayload(NugetPushHandler.java:79) [na:na] at com.sonatype.nexus.repository.nuget.internal.NugetPushHandler.push(NugetPushHandler.java:66) [na:na] at com.sonatype.nexus.repository.nuget.internal.NugetPushHandler.handle(NugetPushHandler.java:48) [na:na] at org.sonatype.nexus.repository.view.Context.proceed(Context.java:79) [org.sonatype.nexus.repository:3.0.0.03] at org.sonatype.nexus.repository.storage.UnitOfWorkHandler.handle(UnitOfWorkHandler.java:39) [org.sonatype.nexus.repository:3.0.0.03] at org.sonatype.nexus.repository.view.Context.proceed(Context.java:79) [org.sonatype.nexus.repository:3.0.0.03] at org.sonatype.nexus.repository.view.handlers.ExceptionHandler.handle(ExceptionHandler.java:41) [org.sonatype.nexus.repository:3.0.0.03] at org.sonatype.nexus.repository.view.Context.proceed(Context.java:79) [org.sonatype.nexus.repository:3.0.0.03] at org.sonatype.nexus.repository.security.SecurityHandler.handle(SecurityHandler.java:45) [org.sonatype.nexus.repository:3.0.0.03] at org.sonatype.nexus.repository.view.Context.proceed(Context.java:79) [org.sonatype.nexus.repository:3.0.0.03] at org.sonatype.nexus.repository.view.handlers.TimingHandler.handle(TimingHandler.java:46) [org.sonatype.nexus.repository:3.0.0.03] at org.sonatype.nexus.repository.view.Context.proceed(Context.java:79) [org.sonatype.nexus.repository:3.0.0.03] at org.sonatype.nexus.repository.view.Context.start(Context.java:102) [org.sonatype.nexus.repository:3.0.0.03] at org.sonatype.nexus.repository.view.Router.dispatch(Router.java:58) [org.sonatype.nexus.repository:3.0.0.03] at org.sonatype.nexus.repository.view.ConfigurableViewFacet.dispatch(ConfigurableViewFacet.java:43) [org.sonatype.nexus.repository:3.0.0.03] at org.sonatype.nexus.repository.httpbridge.internal.ViewServlet.dispatchAndSend(ViewServlet.java:198) [org.sonatype.nexus.plugins.nexus-repository-httpbridge:3.0.0.03] at org.sonatype.nexus.repository.httpbridge.internal.ViewServlet.doService(ViewServlet.java:160) [org.sonatype.nexus.plugins.nexus-repository-httpbridge:3.0.0.03] at org.sonatype.nexus.repository.httpbridge.internal.ViewServlet.service(ViewServlet.java:117) [org.sonatype.nexus.plugins.nexus-repository-httpbridge:3.0.0.03] {code}

    Sonatype JIRA | 6 months ago | Rich Seddon
    java.lang.NumberFormatException: For input string: "2935807073"
  2. 0

    Create channel P2 feature could result in ERROR 500

    GitHub | 2 years ago | maggu2810
    java.lang.NumberFormatException: For input string: "201503190807"
  3. 0

    Product Explorer in Z-Wabe Binding throwing errors

    GitHub | 2 years ago | timsen1
    java.lang.IllegalArgumentException: invalid version "1.7976931348623157E308": non-numeric "7976931348623157E308"
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

  5. 0

    How to solve this java.lang.NumberFormatException in palindrome?

    Stack Overflow | 2 years ago | Raw502
    java.lang.NumberFormatException: For input string: "2284457131"
  6. 0

    NumberFormatException when select contains an expression with a LONG value

    GitHub | 2 years ago | fabriziofortino
    java.lang.NumberFormatException: For input string: "1429655550616"
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: "2935807073"

    at java.lang.NumberFormatException.forInputString()
  2. Java RT
    Integer.parseInt
    1. java.lang.NumberFormatException.forInputString(NumberFormatException.java:65)[na:1.8.0_60]
    2. java.lang.Integer.parseInt(Integer.java:583)[na:1.8.0_60]
    3. java.lang.Integer.parseInt(Integer.java:615)[na:1.8.0_60]
    3 frames
  3. com.sonatype.nexus
    NugetGalleryFacetImpl.createOrUpdatePackageAndContents
    1. com.sonatype.nexus.repository.nuget.internal.NugetGalleryFacetImpl.updateAssetMetadata(NugetGalleryFacetImpl.java:460)[na:na]
    2. com.sonatype.nexus.repository.nuget.internal.NugetGalleryFacetImpl.createOrUpdateAssetAndContents(NugetGalleryFacetImpl.java:589)[na:na]
    3. com.sonatype.nexus.repository.nuget.internal.NugetGalleryFacetImpl.createOrUpdatePackageAndContents(NugetGalleryFacetImpl.java:435)[na:na]
    3 frames
  4. org.sonatype.nexus
    TransactionInterceptor.invoke
    1. org.sonatype.nexus.transaction.TransactionalWrapper.proceedWithTransaction(TransactionalWrapper.java:54)[org.sonatype.nexus.transaction:3.0.0.03]
    2. org.sonatype.nexus.transaction.TransactionInterceptor.invoke(TransactionInterceptor.java:53)[org.sonatype.nexus.transaction:3.0.0.03]
    2 frames
  5. com.sonatype.nexus
    NugetGalleryFacetImpl.put
    1. com.sonatype.nexus.repository.nuget.internal.NugetGalleryFacetImpl.put(NugetGalleryFacetImpl.java:350)[na:na]
    1 frame
  6. org.sonatype.nexus
    GuardedInterceptor.invoke
    1. org.sonatype.nexus.common.stateguard.MethodInvocationAction.run(MethodInvocationAction.java:39)[org.sonatype.nexus.common:3.0.0.03]
    2. org.sonatype.nexus.common.stateguard.StateGuard$GuardImpl.run(StateGuard.java:270)[org.sonatype.nexus.common:3.0.0.03]
    3. org.sonatype.nexus.common.stateguard.GuardedInterceptor.invoke(GuardedInterceptor.java:53)[org.sonatype.nexus.common:3.0.0.03]
    3 frames
  7. com.sonatype.nexus
    NugetPushHandler.handle
    1. com.sonatype.nexus.repository.nuget.internal.NugetPushHandler.storePayload(NugetPushHandler.java:79)[na:na]
    2. com.sonatype.nexus.repository.nuget.internal.NugetPushHandler.push(NugetPushHandler.java:66)[na:na]
    3. com.sonatype.nexus.repository.nuget.internal.NugetPushHandler.handle(NugetPushHandler.java:48)[na:na]
    3 frames
  8. org.sonatype.nexus
    ViewServlet.service
    1. org.sonatype.nexus.repository.view.Context.proceed(Context.java:79)[org.sonatype.nexus.repository:3.0.0.03]
    2. org.sonatype.nexus.repository.storage.UnitOfWorkHandler.handle(UnitOfWorkHandler.java:39)[org.sonatype.nexus.repository:3.0.0.03]
    3. org.sonatype.nexus.repository.view.Context.proceed(Context.java:79)[org.sonatype.nexus.repository:3.0.0.03]
    4. org.sonatype.nexus.repository.view.handlers.ExceptionHandler.handle(ExceptionHandler.java:41)[org.sonatype.nexus.repository:3.0.0.03]
    5. org.sonatype.nexus.repository.view.Context.proceed(Context.java:79)[org.sonatype.nexus.repository:3.0.0.03]
    6. org.sonatype.nexus.repository.security.SecurityHandler.handle(SecurityHandler.java:45)[org.sonatype.nexus.repository:3.0.0.03]
    7. org.sonatype.nexus.repository.view.Context.proceed(Context.java:79)[org.sonatype.nexus.repository:3.0.0.03]
    8. org.sonatype.nexus.repository.view.handlers.TimingHandler.handle(TimingHandler.java:46)[org.sonatype.nexus.repository:3.0.0.03]
    9. org.sonatype.nexus.repository.view.Context.proceed(Context.java:79)[org.sonatype.nexus.repository:3.0.0.03]
    10. org.sonatype.nexus.repository.view.Context.start(Context.java:102)[org.sonatype.nexus.repository:3.0.0.03]
    11. org.sonatype.nexus.repository.view.Router.dispatch(Router.java:58)[org.sonatype.nexus.repository:3.0.0.03]
    12. org.sonatype.nexus.repository.view.ConfigurableViewFacet.dispatch(ConfigurableViewFacet.java:43)[org.sonatype.nexus.repository:3.0.0.03]
    13. org.sonatype.nexus.repository.httpbridge.internal.ViewServlet.dispatchAndSend(ViewServlet.java:198)[org.sonatype.nexus.plugins.nexus-repository-httpbridge:3.0.0.03]
    14. org.sonatype.nexus.repository.httpbridge.internal.ViewServlet.doService(ViewServlet.java:160)[org.sonatype.nexus.plugins.nexus-repository-httpbridge:3.0.0.03]
    15. org.sonatype.nexus.repository.httpbridge.internal.ViewServlet.service(ViewServlet.java:117)[org.sonatype.nexus.plugins.nexus-repository-httpbridge:3.0.0.03]
    15 frames