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

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.

,

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

Solutions on the web

via QuickFIX/J JIRA by Colin Crist, 1 year ago
For input string: "abc"
via QuickFIX/J JIRA by Colin Crist, 1 year ago
For input string: "abc"
via QOS.ch JIRA by Sébastien Pennec, 1 year ago
For input string: "% %"
via Atlassian JIRA by Ismael Jimoh [Atlassian], 1 year ago
For input string: "undefined"
java.lang.NumberFormatException: For input string: "latest"
at java.lang.NumberFormatException.forInputString(NumberFormatException.java:65)
at java.lang.Integer.parseInt(Integer.java:580)
at java.lang.Integer.parseInt(Integer.java:615)
at com.google.gdt.eclipse.core.sdk.SdkUtils.parseVersionComponent(SdkUtils.java:250)
at com.google.gdt.eclipse.core.sdk.SdkUtils.compareVersionStrings(SdkUtils.java:160)
at com.google.gwt.eclipse.core.util.GwtVersionUtil.isGwtVersionKnownAndAtLeast25(GwtVersionUtil.java:32)
at com.google.gwt.eclipse.core.runtime.GWTJarsRuntime.validate(GWTJarsRuntime.java:139)
at com.google.gdt.eclipse.core.sdk.SdkClasspathContainerInitializer.getDescription(SdkClasspathContainerInitializer.java:48)
at com.google.gwt.eclipse.core.runtime.GWTRuntimeContainerInitializer.getDescription(GWTRuntimeContainerInitializer.java:37)
at org.eclipse.jdt.internal.core.JavaModelManager.initializeContainer(JavaModelManager.java:2935)
at org.eclipse.jdt.internal.core.JavaModelManager.getClasspathContainer(JavaModelManager.java:1970)
at org.eclipse.jdt.core.JavaCore.getClasspathContainer(JavaCore.java:3424)
at org.eclipse.jdt.internal.core.JavaProject.resolveClasspath(JavaProject.java:2693)
at org.eclipse.jdt.internal.core.JavaProject.resolveClasspath(JavaProject.java:2616)
at org.eclipse.jdt.internal.core.ClasspathEntry.validateClasspath(ClasspathEntry.java:1772)
at org.eclipse.jdt.internal.core.SetClasspathOperation.verify(SetClasspathOperation.java:118)
at org.eclipse.jdt.internal.core.JavaModelOperation.runOperation(JavaModelOperation.java:784)
at org.eclipse.jdt.internal.core.JavaProject.setRawClasspath(JavaProject.java:3097)
at org.eclipse.jdt.internal.core.JavaProject.setRawClasspath(JavaProject.java:3059)
at org.eclipse.buildship.core.workspace.internal.ClasspathContainerUpdater.updateClasspathContainerEntries(ClasspathContainerUpdater.java:156)
at org.eclipse.buildship.core.workspace.internal.ClasspathContainerUpdater.updateProjectClasspath(ClasspathContainerUpdater.java:134)
at org.eclipse.buildship.core.workspace.internal.ClasspathContainerUpdater.updateContainers(ClasspathContainerUpdater.java:91)
at org.eclipse.buildship.core.workspace.internal.ClasspathContainerUpdater.update(ClasspathContainerUpdater.java:168)
at org.eclipse.buildship.core.workspace.internal.SynchronizeGradleBuildOperation.synchronizeOpenJavaProject(SynchronizeGradleBuildOperation.java:225)
at org.eclipse.buildship.core.workspace.internal.SynchronizeGradleBuildOperation.synchronizeOpenWorkspaceProject(SynchronizeGradleBuildOperation.java:213)
at org.eclipse.buildship.core.workspace.internal.SynchronizeGradleBuildOperation.addNewEclipseProjectToWorkspace(SynchronizeGradleBuildOperation.java:266)
at org.eclipse.buildship.core.workspace.internal.SynchronizeGradleBuildOperation.synchronizeNonWorkspaceProject(SynchronizeGradleBuildOperation.java:243)
at org.eclipse.buildship.core.workspace.internal.SynchronizeGradleBuildOperation.synchronizeGradleProjectWithWorkspaceProject(SynchronizeGradleBuildOperation.java:179)
at org.eclipse.buildship.core.workspace.internal.SynchronizeGradleBuildOperation.synchronizeGradleBuildWithWorkspace(SynchronizeGradleBuildOperation.java:141)
at org.eclipse.buildship.core.workspace.internal.SynchronizeGradleBuildOperation.access$000(SynchronizeGradleBuildOperation.java:106)
at org.eclipse.buildship.core.workspace.internal.SynchronizeGradleBuildOperation$1.run(SynchronizeGradleBuildOperation.java:123)
at org.eclipse.jdt.internal.core.BatchOperation.executeOperation(BatchOperation.java:39)
at org.eclipse.core.internal.resources.Workspace.run(Workspace.java:2240)
at org.eclipse.jdt.core.JavaCore.run(JavaCore.java:5521)
at org.eclipse.jdt.core.JavaCore.run(JavaCore.java:5478)
at org.eclipse.buildship.core.workspace.internal.SynchronizeGradleBuildOperation.run(SynchronizeGradleBuildOperation.java:120)
at org.eclipse.buildship.core.workspace.internal.SynchronizeGradleBuildsJob.synchronizeBuild(SynchronizeGradleBuildsJob.java:79)
at org.eclipse.buildship.core.workspace.internal.SynchronizeGradleBuildsJob.runToolingApiJob(SynchronizeGradleBuildsJob.java:69)
at org.eclipse.buildship.core.util.progress.ToolingApiJob$1.run(ToolingApiJob.java:73)
at org.eclipse.buildship.core.util.progress.ToolingApiInvoker.invoke(ToolingApiInvoker.java:62)
at org.eclipse.buildship.core.util.progress.ToolingApiJob.run(ToolingApiJob.java:70)

Users with the same issue

2 times, 1 week ago
Samebug visitor profile picture
Unknown user
Once, 3 weeks ago
2 times, 1 month ago
Once, 1 month ago
Once, 1 month ago
264 more bugmates

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