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

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

,

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.

,

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 Sonatype JIRA by Rich Seddon, 1 year ago
For input string: "2935807073"
via Coderanch by Janet Heath, 1 year ago
For input string: ""
via Stack Overflow by Ciaran Reen
, 2 years ago
via Stack Overflow by bamboosymphony
, 2 months ago
via Coderanch by Luke Stamper, 1 year ago
For input string: ""
java.lang.NumberFormatException: For input string: "2935807073"
at java.lang.NumberFormatException.forInputString(NumberFormatException.java:65)
at java.lang.Integer.parseInt(Integer.java:583)
at java.lang.Integer.parseInt(Integer.java:615)
at com.sonatype.nexus.repository.nuget.internal.NugetGalleryFacetImpl.updateAssetMetadata(NugetGalleryFacetImpl.java:460)
at com.sonatype.nexus.repository.nuget.internal.NugetGalleryFacetImpl.createOrUpdateAssetAndContents(NugetGalleryFacetImpl.java:589)
at com.sonatype.nexus.repository.nuget.internal.NugetGalleryFacetImpl.createOrUpdatePackageAndContents(NugetGalleryFacetImpl.java:435)
at org.sonatype.nexus.transaction.TransactionalWrapper.proceedWithTransaction(TransactionalWrapper.java:54)
at org.sonatype.nexus.transaction.TransactionInterceptor.invoke(TransactionInterceptor.java:53)
at com.sonatype.nexus.repository.nuget.internal.NugetGalleryFacetImpl.put(NugetGalleryFacetImpl.java:350)
at org.sonatype.nexus.common.stateguard.MethodInvocationAction.run(MethodInvocationAction.java:39)
at org.sonatype.nexus.common.stateguard.StateGuard$GuardImpl.run(StateGuard.java:270)
at org.sonatype.nexus.common.stateguard.GuardedInterceptor.invoke(GuardedInterceptor.java:53)
at com.sonatype.nexus.repository.nuget.internal.NugetPushHandler.storePayload(NugetPushHandler.java:79)
at com.sonatype.nexus.repository.nuget.internal.NugetPushHandler.push(NugetPushHandler.java:66)
at com.sonatype.nexus.repository.nuget.internal.NugetPushHandler.handle(NugetPushHandler.java:48)
at org.sonatype.nexus.repository.view.Context.proceed(Context.java:79)
at org.sonatype.nexus.repository.storage.UnitOfWorkHandler.handle(UnitOfWorkHandler.java:39)
at org.sonatype.nexus.repository.view.Context.proceed(Context.java:79)
at org.sonatype.nexus.repository.view.handlers.ExceptionHandler.handle(ExceptionHandler.java:41)
at org.sonatype.nexus.repository.view.Context.proceed(Context.java:79)
at org.sonatype.nexus.repository.security.SecurityHandler.handle(SecurityHandler.java:45)
at org.sonatype.nexus.repository.view.Context.proceed(Context.java:79)
at org.sonatype.nexus.repository.view.handlers.TimingHandler.handle(TimingHandler.java:46)
at org.sonatype.nexus.repository.view.Context.proceed(Context.java:79)
at org.sonatype.nexus.repository.view.Context.start(Context.java:102)
at org.sonatype.nexus.repository.view.Router.dispatch(Router.java:58)
at org.sonatype.nexus.repository.view.ConfigurableViewFacet.dispatch(ConfigurableViewFacet.java:43)
at org.sonatype.nexus.repository.httpbridge.internal.ViewServlet.dispatchAndSend(ViewServlet.java:198)
at org.sonatype.nexus.repository.httpbridge.internal.ViewServlet.doService(ViewServlet.java:160)
at org.sonatype.nexus.repository.httpbridge.internal.ViewServlet.service(ViewServlet.java:117)

Users with the same issue

4 times, 5 days ago
16 times, 5 days ago
6 times, 1 week ago
30 times, 1 week ago
2 times, 1 week ago

Write tip

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