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

  1. ,

    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.

  2. ,

    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 Spring JIRA by Hendy Irawan, 2 years ago
java.lang.NumberFormatException: For input string: "0-SNAPSHOT"
via Spring JIRA by Hendy Irawan, 1 year ago
java.lang.NumberFormatException: For input string: "0-SNAPSHOT"
via SpringSource Issue Tracker by Andy Wilkinson, 1 year ago
java.lang.NumberFormatException: For input string: "2.0"
via SpringSource Issue Tracker by Andy Wilkinson, 2 years ago
java.lang.NumberFormatException: For input string: "2.0"
java.lang.NumberFormatException: For input string: "0-SNAPSHOT"	at java.lang.NumberFormatException.forInputString(NumberFormatException.java:48)	at java.lang.Integer.parseInt(Integer.java:456)	at java.lang.Integer.parseInt(Integer.java:497)	at org.osgi.framework.Version.(Version.java:132)	at com.springsource.util.osgi.manifest.internal.StandardPackageExport.(StandardPackageExport.java:119)	at com.springsource.util.osgi.manifest.internal.ExportPackageDelegate.parseHeaderEntries(ExportPackageDelegate.java:58)	at com.springsource.util.osgi.manifest.internal.ListBasedDelegate.(ListBasedDelegate.java:21)	at com.springsource.util.osgi.manifest.internal.ExportPackageDelegate.(ExportPackageDelegate.java:48)	at com.springsource.util.osgi.manifest.internal.StandardBundleManifest.(StandardBundleManifest.java:164)	at com.springsource.util.osgi.manifest.internal.StandardBundleManifest.(StandardBundleManifest.java:118)	at com.springsource.util.osgi.manifest.BundleManifestFactory.createBundleManifest(BundleManifestFactory.java:58)	at com.springsource.bundlor.support.BundleManifestUtils.createBundleManifest(BundleManifestUtils.java:57)	at com.springsource.bundlor.support.BundleManifestMerger.mergeBundleManifests(BundleManifestMerger.java:97)	at com.springsource.bundlor.support.BundleManifestMerger.mergeBundleManifests(BundleManifestMerger.java:77)	at com.springsource.bundlor.support.ManifestCreator.create(ManifestCreator.java:173)	at com.springsource.bundlor.support.StandardBundleTransformer.generateManifest(StandardBundleTransformer.java:217)	at com.springsource.bundlor.maven.plugin.AbstractBundlorMojo.execute(AbstractBundlorMojo.java:207)	at org.apache.maven.plugin.DefaultPluginManager.executeMojo(DefaultPluginManager.java:483)	at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoals(DefaultLifecycleExecutor.java:678)	at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoalWithLifecycle(DefaultLifecycleExecutor.java:540)	at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoal(DefaultLifecycleExecutor.java:519)	at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoalAndHandleFailures(DefaultLifecycleExecutor.java:371)	at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeTaskSegments(DefaultLifecycleExecutor.java:332)	at org.apache.maven.lifecycle.DefaultLifecycleExecutor.execute(DefaultLifecycleExecutor.java:181)	at org.apache.maven.DefaultMaven.doExecute(DefaultMaven.java:356)	at org.apache.maven.DefaultMaven.execute(DefaultMaven.java:137)	at org.apache.maven.cli.MavenCli.main(MavenCli.java:356)	at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)	at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)	at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)	at java.lang.reflect.Method.invoke(Method.java:597)	at org.codehaus.classworlds.Launcher.launchEnhanced(Launcher.java:315)	at org.codehaus.classworlds.Launcher.launch(Launcher.java:255)	at org.codehaus.classworlds.Launcher.mainWithExitCode(Launcher.java:430)	at org.codehaus.classworlds.Launcher.main(Launcher.java:375)