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


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.


1 month ago

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


6 months ago

Solutions on the web

Solution icon of sonatype
via Sonatype JIRA by Peter Lynch, 1 year ago
For input string: "1387826685226"

Solution icon of stackoverflow
via Stack Overflow by Shantanu
, 1 year ago
For input string: "string"

Solution icon of web
For input string: ""java.lang.NumberFormatException: For input string: ""

Solution icon of coderanch
via Coderanch by sandy wandy, 9 months ago
For input string: "CONDS"

Solution icon of coderanch
via Coderanch by giri shetty, 10 months ago
For input string: "Client"

Solution icon of coderanch
via Coderanch by Blake Payne, 10 months ago
For input string: ""

Solution icon of coderanch
via Coderanch by Richard Johnson, 1 year ago
For input string: "a6acda419199c58a"

Solution icon of coderanch
via Coderanch by Jherald Lacambra, 1 year ago
For input string: " "

Solution icon of coderanch
via Coderanch by A. Wolf, 1 year ago
For input string: "4141"

Solution icon of coderanch
via Coderanch by henri henri, 1 year ago
For input string: ""

Stack trace

java.lang.NumberFormatException: For input string: "1387826685226"
	at java.lang.NumberFormatException.forInputString(NumberFormatException.java:65)[na:1.8.0_25]
	at java.lang.Integer.parseInt(Integer.java:583)[na:1.8.0_25]
	at java.lang.Integer.parseInt(Integer.java:615)[na:1.8.0_25]
	at com.bolyuba.nexus.plugin.npm.internal.Version.parseSpecialId(Version.java:207)[na:na]
	at com.bolyuba.nexus.plugin.npm.internal.Version.access$300(Version.java:36)[na:na]
	at com.bolyuba.nexus.plugin.npm.internal.Version$Special.<init>(Version.java:287)[na:na]
	at com.bolyuba.nexus.plugin.npm.internal.Version.parseSpecial(Version.java:84)[na:na]
	at com.bolyuba.nexus.plugin.npm.internal.Version.<init>(Version.java:77)[na:na]
	at com.bolyuba.nexus.plugin.npm.internal.Version.parse(Version.java:115)[na:na]
	at com.bolyuba.nexus.plugin.npm.hosted.RecreateMetadataWalkerProcessor.onCollectionExit(RecreateMetadataWalkerProcessor.java:117)[na:na]
	at org.sonatype.nexus.proxy.walker.DefaultWalker.onCollectionExit(DefaultWalker.java:325)[nexus-core-2.11.2-SNAPSHOT.jar:2.11.2-SNAPSHOT]
	at org.sonatype.nexus.proxy.walker.DefaultWalker.walkRecursive(DefaultWalker.java:226)[nexus-core-2.11.2-SNAPSHOT.jar:2.11.2-SNAPSHOT]
	at org.sonatype.nexus.proxy.walker.DefaultWalker.walkRecursive(DefaultWalker.java:209)[nexus-core-2.11.2-SNAPSHOT.jar:2.11.2-SNAPSHOT]
	at org.sonatype.nexus.proxy.walker.DefaultWalker.walkRecursive(DefaultWalker.java:209)[nexus-core-2.11.2-SNAPSHOT.jar:2.11.2-SNAPSHOT]
	at org.sonatype.nexus.proxy.walker.DefaultWalker.walk(DefaultWalker.java:89)[nexus-core-2.11.2-SNAPSHOT.jar:2.11.2-SNAPSHOT]
	at com.bolyuba.nexus.plugin.npm.hosted.DefaultNpmHostedRepository.recreateNpmMetadata(DefaultNpmHostedRepository.java:106)[nexus-npm-repository-plugin-2.11.2-SNAPSHOT/:na]
	at com.bolyuba.nexus.plugin.npm.task.NpmHostedMetadataRebuildTask.doExecute(NpmHostedMetadataRebuildTask.java:50)[nexus-npm-repository-plugin-2.11.2-SNAPSHOT/:na]
	at com.bolyuba.nexus.plugin.npm.task.NpmTaskSupport.doRun(NpmTaskSupport.java:55)[nexus-npm-repository-plugin-2.11.2-SNAPSHOT/:na]
	at com.bolyuba.nexus.plugin.npm.task.NpmTaskSupport.doRun(NpmTaskSupport.java:37)[nexus-npm-repository-plugin-2.11.2-SNAPSHOT/:na]
	at org.sonatype.nexus.scheduling.AbstractNexusTask.call(AbstractNexusTask.java:151)[nexus-core-2.11.2-SNAPSHOT.jar:2.11.2-SNAPSHOT]
	at org.sonatype.scheduling.DefaultScheduledTask.call(DefaultScheduledTask.java:418)[nexus-scheduler-2.11.2-SNAPSHOT.jar:2.11.2-SNAPSHOT]
	at org.sonatype.nexus.threads.MDCAwareCallable.call(MDCAwareCallable.java:44)[nexus-core-2.11.2-SNAPSHOT.jar:2.11.2-SNAPSHOT]
	at org.apache.shiro.subject.support.SubjectCallable.doCall(SubjectCallable.java:90)[shiro-core-1.2.3.jar:1.2.3]
	at org.apache.shiro.subject.support.SubjectCallable.call(SubjectCallable.java:83)[shiro-core-1.2.3.jar:1.2.3]
	at java.util.concurrent.FutureTask.run(FutureTask.java:266)[na:1.8.0_25]
	at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.access$201(ScheduledThreadPoolExecutor.java:180)[na:1.8.0_25]
	at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.run(ScheduledThreadPoolExecutor.java:293)[na:1.8.0_25]
	at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142)[na:1.8.0_25]
	at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617)[na:1.8.0_25]
	at java.lang.Thread.run(Thread.java:745)[na:1.8.0_25]

Write tip

You have a different solution? A short tip here would help you and many other users who saw this issue last week.

Users with the same issue

2 times, 4 months ago
Samebug visitor profile picture
Unknown user
Once, 1 year ago
Samebug visitor profile picture
Unknown user
Once, 3 days ago
2 times, 6 days ago
Once, 1 week ago
255 more bugmates