java.lang.NumberFormatException: For input string: "0-alpha"

Appcelerator JIRA | Dustin Hyde | 4 years ago
tip
Your exception is missing from the Samebug knowledge base.
Here are the best solutions we found on the Internet.
Click on the to mark the helpful solution and get rewards for you help.
  1. 0

    Test Steps: 1. Install 3.0.2 Stable. 2. Immediately update to 3.1.0.X RC. 3. View logs. Log: {code} !SESSION 2013-03-28 18:36:19.081 ----------------------------------------------- eclipse.buildId=3.0.2.201302191606 java.version=1.6.0_43 java.vendor=Apple Inc. BootLoader constants: OS=macosx, ARCH=x86, WS=cocoa, NL=en_US Framework arguments: -keyring /Users/dhyde/.eclipse_keyring -showlocation Command-line arguments: -os macosx -ws cocoa -arch x86 -keyring /Users/dhyde/.eclipse_keyring -consoleLog -showlocation !ENTRY org.eclipse.ui.workbench 4 2 2013-03-28 18:36:26.433 !MESSAGE Problems occurred when invoking code from plug-in: "org.eclipse.ui.workbench". !STACK 0 java.lang.NumberFormatException: For input string: "0-alpha" at java.lang.NumberFormatException.forInputString(NumberFormatException.java:48) at java.lang.Integer.parseInt(Integer.java:458) at java.lang.Integer.parseInt(Integer.java:499) at org.osgi.framework.Version.<init>(Version.java:135) at org.osgi.framework.Version.parseVersion(Version.java:225) at com.appcelerator.titanium.nodejs.internal.core.NodePackageManager.getInstalledVersion(NodePackageManager.java:338) at com.appcelerator.titanium.nodejs.core.NPMConfigurationComponent.installedVersion(NPMConfigurationComponent.java:77) at com.appcelerator.titanium.nodejs.core.NPMConfigurationComponent.outOfDate(NPMConfigurationComponent.java:122) at com.appcelerator.titanium.update.internal.TitaniumNPMRelease.isInstalled(TitaniumNPMRelease.java:76) at com.appcelerator.titanium.update.TitaniumSDKUpdater$NotInstalledFilter.include(TitaniumSDKUpdater.java:125) at com.appcelerator.titanium.update.TitaniumSDKUpdater$NotInstalledFilter.include(TitaniumSDKUpdater.java:1) at com.aptana.core.util.ChainedFilter.include(ChainedFilter.java:32) at com.aptana.core.util.CollectionsUtil.filterInPlace(CollectionsUtil.java:201) at com.appcelerator.titanium.update.TitaniumSDKUpdater.filterToUninstalledRelevantUpdates(TitaniumSDKUpdater.java:608) at com.appcelerator.titanium.update.TitaniumSDKUpdater.getNPMUpdates(TitaniumSDKUpdater.java:602) at com.appcelerator.titanium.update.TitaniumSDKUpdater.hasNPMUpdates(TitaniumSDKUpdater.java:275) at com.appcelerator.titanium.update.TitaniumSDKUpdater.hasUpdates(TitaniumSDKUpdater.java:221) at com.appcelerator.titanium.update.TitaniumUpdateStartup.earlyStartup(TitaniumUpdateStartup.java:40) at org.eclipse.ui.internal.EarlyStartupRunnable.runEarlyStartup(EarlyStartupRunnable.java:87) at org.eclipse.ui.internal.EarlyStartupRunnable.run(EarlyStartupRunnable.java:66) at org.eclipse.core.runtime.SafeRunner.run(SafeRunner.java:42) at org.eclipse.ui.internal.Workbench$63.run(Workbench.java:2470) at org.eclipse.core.internal.jobs.Worker.run(Worker.java:54) !ENTRY org.eclipse.ui 4 4 2013-03-28 18:36:26.437 !MESSAGE Unhandled Exception !ENTRY com.appcelerator.titanium.update 4 0 2013-03-28 18:36:26.438 !MESSAGE Unable to execute early startup code for an extension !STACK 0 java.lang.NumberFormatException: For input string: "0-alpha" at java.lang.NumberFormatException.forInputString(NumberFormatException.java:48) at java.lang.Integer.parseInt(Integer.java:458) at java.lang.Integer.parseInt(Integer.java:499) at org.osgi.framework.Version.<init>(Version.java:135) at org.osgi.framework.Version.parseVersion(Version.java:225) at com.appcelerator.titanium.nodejs.internal.core.NodePackageManager.getInstalledVersion(NodePackageManager.java:338) at com.appcelerator.titanium.nodejs.core.NPMConfigurationComponent.installedVersion(NPMConfigurationComponent.java:77) at com.appcelerator.titanium.nodejs.core.NPMConfigurationComponent.outOfDate(NPMConfigurationComponent.java:122) at com.appcelerator.titanium.update.internal.TitaniumNPMRelease.isInstalled(TitaniumNPMRelease.java:76) at com.appcelerator.titanium.update.TitaniumSDKUpdater$NotInstalledFilter.include(TitaniumSDKUpdater.java:125) at com.appcelerator.titanium.update.TitaniumSDKUpdater$NotInstalledFilter.include(TitaniumSDKUpdater.java:1) at com.aptana.core.util.ChainedFilter.include(ChainedFilter.java:32) at com.aptana.core.util.CollectionsUtil.filterInPlace(CollectionsUtil.java:201) at com.appcelerator.titanium.update.TitaniumSDKUpdater.filterToUninstalledRelevantUpdates(TitaniumSDKUpdater.java:608) at com.appcelerator.titanium.update.TitaniumSDKUpdater.getNPMUpdates(TitaniumSDKUpdater.java:602) at com.appcelerator.titanium.update.TitaniumSDKUpdater.hasNPMUpdates(TitaniumSDKUpdater.java:275) at com.appcelerator.titanium.update.TitaniumSDKUpdater.hasUpdates(TitaniumSDKUpdater.java:221) at com.appcelerator.titanium.update.TitaniumUpdateStartup.earlyStartup(TitaniumUpdateStartup.java:40) at org.eclipse.ui.internal.EarlyStartupRunnable.runEarlyStartup(EarlyStartupRunnable.java:87) at org.eclipse.ui.internal.EarlyStartupRunnable.run(EarlyStartupRunnable.java:66) at org.eclipse.core.runtime.SafeRunner.run(SafeRunner.java:42) at org.eclipse.ui.internal.Workbench$63.run(Workbench.java:2470) at org.eclipse.core.internal.jobs.Worker.run(Worker.java:54) !SESSION 2013-03-28 18:37:01.299 ----------------------------------------------- eclipse.buildId=3.0.2.201302191606 java.version=1.6.0_43 java.vendor=Apple Inc. BootLoader constants: OS=macosx, ARCH=x86, WS=cocoa, NL=en_US Framework arguments: -keyring /Users/dhyde/.eclipse_keyring -showlocation Command-line arguments: -os macosx -ws cocoa -arch x86 -keyring /Users/dhyde/.eclipse_keyring -consoleLog -showlocation !ENTRY org.eclipse.ui.workbench 4 2 2013-03-28 18:37:08.394 !MESSAGE Problems occurred when invoking code from plug-in: "org.eclipse.ui.workbench". !STACK 0 java.lang.NumberFormatException: For input string: "0-alpha" at java.lang.NumberFormatException.forInputString(NumberFormatException.java:48) at java.lang.Integer.parseInt(Integer.java:458) at java.lang.Integer.parseInt(Integer.java:499) at org.osgi.framework.Version.<init>(Version.java:135) at org.osgi.framework.Version.parseVersion(Version.java:225) at com.appcelerator.titanium.nodejs.internal.core.NodePackageManager.getInstalledVersion(NodePackageManager.java:338) at com.appcelerator.titanium.nodejs.core.NPMConfigurationComponent.installedVersion(NPMConfigurationComponent.java:77) at com.appcelerator.titanium.nodejs.core.NPMConfigurationComponent.outOfDate(NPMConfigurationComponent.java:122) at com.appcelerator.titanium.update.internal.TitaniumNPMRelease.isInstalled(TitaniumNPMRelease.java:76) at com.appcelerator.titanium.update.TitaniumSDKUpdater$NotInstalledFilter.include(TitaniumSDKUpdater.java:125) at com.appcelerator.titanium.update.TitaniumSDKUpdater$NotInstalledFilter.include(TitaniumSDKUpdater.java:1) at com.aptana.core.util.ChainedFilter.include(ChainedFilter.java:32) at com.aptana.core.util.CollectionsUtil.filterInPlace(CollectionsUtil.java:201) at com.appcelerator.titanium.update.TitaniumSDKUpdater.filterToUninstalledRelevantUpdates(TitaniumSDKUpdater.java:608) at com.appcelerator.titanium.update.TitaniumSDKUpdater.getNPMUpdates(TitaniumSDKUpdater.java:602) at com.appcelerator.titanium.update.TitaniumSDKUpdater.hasNPMUpdates(TitaniumSDKUpdater.java:275) at com.appcelerator.titanium.update.TitaniumSDKUpdater.hasUpdates(TitaniumSDKUpdater.java:221) at com.appcelerator.titanium.update.TitaniumUpdateStartup.earlyStartup(TitaniumUpdateStartup.java:40) at org.eclipse.ui.internal.EarlyStartupRunnable.runEarlyStartup(EarlyStartupRunnable.java:87) at org.eclipse.ui.internal.EarlyStartupRunnable.run(EarlyStartupRunnable.java:66) at org.eclipse.core.runtime.SafeRunner.run(SafeRunner.java:42) at org.eclipse.ui.internal.Workbench$63.run(Workbench.java:2470) at org.eclipse.core.internal.jobs.Worker.run(Worker.java:54) !ENTRY org.eclipse.ui 4 4 2013-03-28 18:37:08.399 !MESSAGE Unhandled Exception !ENTRY com.appcelerator.titanium.update 4 0 2013-03-28 18:37:08.399 !MESSAGE Unable to execute early startup code for an extension !STACK 0 java.lang.NumberFormatException: For input string: "0-alpha" at java.lang.NumberFormatException.forInputString(NumberFormatException.java:48) at java.lang.Integer.parseInt(Integer.java:458) at java.lang.Integer.parseInt(Integer.java:499) at org.osgi.framework.Version.<init>(Version.java:135) at org.osgi.framework.Version.parseVersion(Version.java:225) at com.appcelerator.titanium.nodejs.internal.core.NodePackageManager.getInstalledVersion(NodePackageManager.java:338) at com.appcelerator.titanium.nodejs.core.NPMConfigurationComponent.installedVersion(NPMConfigurationComponent.java:77) at com.appcelerator.titanium.nodejs.core.NPMConfigurationComponent.outOfDate(NPMConfigurationComponent.java:122) at com.appcelerator.titanium.update.internal.TitaniumNPMRelease.isInstalled(TitaniumNPMRelease.java:76) at com.appcelerator.titanium.update.TitaniumSDKUpdater$NotInstalledFilter.include(TitaniumSDKUpdater.java:125) at com.appcelerator.titanium.update.TitaniumSDKUpdater$NotInstalledFilter.include(TitaniumSDKUpdater.java:1) at com.aptana.core.util.ChainedFilter.include(ChainedFilter.java:32) at com.aptana.core.util.CollectionsUtil.filterInPlace(CollectionsUtil.java:201) at com.appcelerator.titanium.update.TitaniumSDKUpdater.filterToUninstalledRelevantUpdates(TitaniumSDKUpdater.java:608) at com.appcelerator.titanium.update.TitaniumSDKUpdater.getNPMUpdates(TitaniumSDKUpdater.java:602) at com.appcelerator.titanium.update.TitaniumSDKUpdater.hasNPMUpdates(TitaniumSDKUpdater.java:275) at com.appcelerator.titanium.update.TitaniumSDKUpdater.hasUpdates(TitaniumSDKUpdater.java:221) at com.appcelerator.titanium.update.TitaniumUpdateStartup.earlyStartup(TitaniumUpdateStartup.java:40) at org.eclipse.ui.internal.EarlyStartupRunnable.runEarlyStartup(EarlyStartupRunnable.java:87) at org.eclipse.ui.internal.EarlyStartupRunnable.run(EarlyStartupRunnable.java:66) at org.eclipse.core.runtime.SafeRunner.run(SafeRunner.java:42) at org.eclipse.ui.internal.Workbench$63.run(Workbench.java:2470) at org.eclipse.core.internal.jobs.Worker.run(Worker.java:54) {code}

    Appcelerator JIRA | 4 years ago | Dustin Hyde
    java.lang.NumberFormatException: For input string: "0-alpha"
  2. 0

    Test Steps: 1. Install 3.0.2 Stable. 2. Immediately update to 3.1.0.X RC. 3. View logs. Log: {code} !SESSION 2013-03-28 18:36:19.081 ----------------------------------------------- eclipse.buildId=3.0.2.201302191606 java.version=1.6.0_43 java.vendor=Apple Inc. BootLoader constants: OS=macosx, ARCH=x86, WS=cocoa, NL=en_US Framework arguments: -keyring /Users/dhyde/.eclipse_keyring -showlocation Command-line arguments: -os macosx -ws cocoa -arch x86 -keyring /Users/dhyde/.eclipse_keyring -consoleLog -showlocation !ENTRY org.eclipse.ui.workbench 4 2 2013-03-28 18:36:26.433 !MESSAGE Problems occurred when invoking code from plug-in: "org.eclipse.ui.workbench". !STACK 0 java.lang.NumberFormatException: For input string: "0-alpha" at java.lang.NumberFormatException.forInputString(NumberFormatException.java:48) at java.lang.Integer.parseInt(Integer.java:458) at java.lang.Integer.parseInt(Integer.java:499) at org.osgi.framework.Version.<init>(Version.java:135) at org.osgi.framework.Version.parseVersion(Version.java:225) at com.appcelerator.titanium.nodejs.internal.core.NodePackageManager.getInstalledVersion(NodePackageManager.java:338) at com.appcelerator.titanium.nodejs.core.NPMConfigurationComponent.installedVersion(NPMConfigurationComponent.java:77) at com.appcelerator.titanium.nodejs.core.NPMConfigurationComponent.outOfDate(NPMConfigurationComponent.java:122) at com.appcelerator.titanium.update.internal.TitaniumNPMRelease.isInstalled(TitaniumNPMRelease.java:76) at com.appcelerator.titanium.update.TitaniumSDKUpdater$NotInstalledFilter.include(TitaniumSDKUpdater.java:125) at com.appcelerator.titanium.update.TitaniumSDKUpdater$NotInstalledFilter.include(TitaniumSDKUpdater.java:1) at com.aptana.core.util.ChainedFilter.include(ChainedFilter.java:32) at com.aptana.core.util.CollectionsUtil.filterInPlace(CollectionsUtil.java:201) at com.appcelerator.titanium.update.TitaniumSDKUpdater.filterToUninstalledRelevantUpdates(TitaniumSDKUpdater.java:608) at com.appcelerator.titanium.update.TitaniumSDKUpdater.getNPMUpdates(TitaniumSDKUpdater.java:602) at com.appcelerator.titanium.update.TitaniumSDKUpdater.hasNPMUpdates(TitaniumSDKUpdater.java:275) at com.appcelerator.titanium.update.TitaniumSDKUpdater.hasUpdates(TitaniumSDKUpdater.java:221) at com.appcelerator.titanium.update.TitaniumUpdateStartup.earlyStartup(TitaniumUpdateStartup.java:40) at org.eclipse.ui.internal.EarlyStartupRunnable.runEarlyStartup(EarlyStartupRunnable.java:87) at org.eclipse.ui.internal.EarlyStartupRunnable.run(EarlyStartupRunnable.java:66) at org.eclipse.core.runtime.SafeRunner.run(SafeRunner.java:42) at org.eclipse.ui.internal.Workbench$63.run(Workbench.java:2470) at org.eclipse.core.internal.jobs.Worker.run(Worker.java:54) !ENTRY org.eclipse.ui 4 4 2013-03-28 18:36:26.437 !MESSAGE Unhandled Exception !ENTRY com.appcelerator.titanium.update 4 0 2013-03-28 18:36:26.438 !MESSAGE Unable to execute early startup code for an extension !STACK 0 java.lang.NumberFormatException: For input string: "0-alpha" at java.lang.NumberFormatException.forInputString(NumberFormatException.java:48) at java.lang.Integer.parseInt(Integer.java:458) at java.lang.Integer.parseInt(Integer.java:499) at org.osgi.framework.Version.<init>(Version.java:135) at org.osgi.framework.Version.parseVersion(Version.java:225) at com.appcelerator.titanium.nodejs.internal.core.NodePackageManager.getInstalledVersion(NodePackageManager.java:338) at com.appcelerator.titanium.nodejs.core.NPMConfigurationComponent.installedVersion(NPMConfigurationComponent.java:77) at com.appcelerator.titanium.nodejs.core.NPMConfigurationComponent.outOfDate(NPMConfigurationComponent.java:122) at com.appcelerator.titanium.update.internal.TitaniumNPMRelease.isInstalled(TitaniumNPMRelease.java:76) at com.appcelerator.titanium.update.TitaniumSDKUpdater$NotInstalledFilter.include(TitaniumSDKUpdater.java:125) at com.appcelerator.titanium.update.TitaniumSDKUpdater$NotInstalledFilter.include(TitaniumSDKUpdater.java:1) at com.aptana.core.util.ChainedFilter.include(ChainedFilter.java:32) at com.aptana.core.util.CollectionsUtil.filterInPlace(CollectionsUtil.java:201) at com.appcelerator.titanium.update.TitaniumSDKUpdater.filterToUninstalledRelevantUpdates(TitaniumSDKUpdater.java:608) at com.appcelerator.titanium.update.TitaniumSDKUpdater.getNPMUpdates(TitaniumSDKUpdater.java:602) at com.appcelerator.titanium.update.TitaniumSDKUpdater.hasNPMUpdates(TitaniumSDKUpdater.java:275) at com.appcelerator.titanium.update.TitaniumSDKUpdater.hasUpdates(TitaniumSDKUpdater.java:221) at com.appcelerator.titanium.update.TitaniumUpdateStartup.earlyStartup(TitaniumUpdateStartup.java:40) at org.eclipse.ui.internal.EarlyStartupRunnable.runEarlyStartup(EarlyStartupRunnable.java:87) at org.eclipse.ui.internal.EarlyStartupRunnable.run(EarlyStartupRunnable.java:66) at org.eclipse.core.runtime.SafeRunner.run(SafeRunner.java:42) at org.eclipse.ui.internal.Workbench$63.run(Workbench.java:2470) at org.eclipse.core.internal.jobs.Worker.run(Worker.java:54) !SESSION 2013-03-28 18:37:01.299 ----------------------------------------------- eclipse.buildId=3.0.2.201302191606 java.version=1.6.0_43 java.vendor=Apple Inc. BootLoader constants: OS=macosx, ARCH=x86, WS=cocoa, NL=en_US Framework arguments: -keyring /Users/dhyde/.eclipse_keyring -showlocation Command-line arguments: -os macosx -ws cocoa -arch x86 -keyring /Users/dhyde/.eclipse_keyring -consoleLog -showlocation !ENTRY org.eclipse.ui.workbench 4 2 2013-03-28 18:37:08.394 !MESSAGE Problems occurred when invoking code from plug-in: "org.eclipse.ui.workbench". !STACK 0 java.lang.NumberFormatException: For input string: "0-alpha" at java.lang.NumberFormatException.forInputString(NumberFormatException.java:48) at java.lang.Integer.parseInt(Integer.java:458) at java.lang.Integer.parseInt(Integer.java:499) at org.osgi.framework.Version.<init>(Version.java:135) at org.osgi.framework.Version.parseVersion(Version.java:225) at com.appcelerator.titanium.nodejs.internal.core.NodePackageManager.getInstalledVersion(NodePackageManager.java:338) at com.appcelerator.titanium.nodejs.core.NPMConfigurationComponent.installedVersion(NPMConfigurationComponent.java:77) at com.appcelerator.titanium.nodejs.core.NPMConfigurationComponent.outOfDate(NPMConfigurationComponent.java:122) at com.appcelerator.titanium.update.internal.TitaniumNPMRelease.isInstalled(TitaniumNPMRelease.java:76) at com.appcelerator.titanium.update.TitaniumSDKUpdater$NotInstalledFilter.include(TitaniumSDKUpdater.java:125) at com.appcelerator.titanium.update.TitaniumSDKUpdater$NotInstalledFilter.include(TitaniumSDKUpdater.java:1) at com.aptana.core.util.ChainedFilter.include(ChainedFilter.java:32) at com.aptana.core.util.CollectionsUtil.filterInPlace(CollectionsUtil.java:201) at com.appcelerator.titanium.update.TitaniumSDKUpdater.filterToUninstalledRelevantUpdates(TitaniumSDKUpdater.java:608) at com.appcelerator.titanium.update.TitaniumSDKUpdater.getNPMUpdates(TitaniumSDKUpdater.java:602) at com.appcelerator.titanium.update.TitaniumSDKUpdater.hasNPMUpdates(TitaniumSDKUpdater.java:275) at com.appcelerator.titanium.update.TitaniumSDKUpdater.hasUpdates(TitaniumSDKUpdater.java:221) at com.appcelerator.titanium.update.TitaniumUpdateStartup.earlyStartup(TitaniumUpdateStartup.java:40) at org.eclipse.ui.internal.EarlyStartupRunnable.runEarlyStartup(EarlyStartupRunnable.java:87) at org.eclipse.ui.internal.EarlyStartupRunnable.run(EarlyStartupRunnable.java:66) at org.eclipse.core.runtime.SafeRunner.run(SafeRunner.java:42) at org.eclipse.ui.internal.Workbench$63.run(Workbench.java:2470) at org.eclipse.core.internal.jobs.Worker.run(Worker.java:54) !ENTRY org.eclipse.ui 4 4 2013-03-28 18:37:08.399 !MESSAGE Unhandled Exception !ENTRY com.appcelerator.titanium.update 4 0 2013-03-28 18:37:08.399 !MESSAGE Unable to execute early startup code for an extension !STACK 0 java.lang.NumberFormatException: For input string: "0-alpha" at java.lang.NumberFormatException.forInputString(NumberFormatException.java:48) at java.lang.Integer.parseInt(Integer.java:458) at java.lang.Integer.parseInt(Integer.java:499) at org.osgi.framework.Version.<init>(Version.java:135) at org.osgi.framework.Version.parseVersion(Version.java:225) at com.appcelerator.titanium.nodejs.internal.core.NodePackageManager.getInstalledVersion(NodePackageManager.java:338) at com.appcelerator.titanium.nodejs.core.NPMConfigurationComponent.installedVersion(NPMConfigurationComponent.java:77) at com.appcelerator.titanium.nodejs.core.NPMConfigurationComponent.outOfDate(NPMConfigurationComponent.java:122) at com.appcelerator.titanium.update.internal.TitaniumNPMRelease.isInstalled(TitaniumNPMRelease.java:76) at com.appcelerator.titanium.update.TitaniumSDKUpdater$NotInstalledFilter.include(TitaniumSDKUpdater.java:125) at com.appcelerator.titanium.update.TitaniumSDKUpdater$NotInstalledFilter.include(TitaniumSDKUpdater.java:1) at com.aptana.core.util.ChainedFilter.include(ChainedFilter.java:32) at com.aptana.core.util.CollectionsUtil.filterInPlace(CollectionsUtil.java:201) at com.appcelerator.titanium.update.TitaniumSDKUpdater.filterToUninstalledRelevantUpdates(TitaniumSDKUpdater.java:608) at com.appcelerator.titanium.update.TitaniumSDKUpdater.getNPMUpdates(TitaniumSDKUpdater.java:602) at com.appcelerator.titanium.update.TitaniumSDKUpdater.hasNPMUpdates(TitaniumSDKUpdater.java:275) at com.appcelerator.titanium.update.TitaniumSDKUpdater.hasUpdates(TitaniumSDKUpdater.java:221) at com.appcelerator.titanium.update.TitaniumUpdateStartup.earlyStartup(TitaniumUpdateStartup.java:40) at org.eclipse.ui.internal.EarlyStartupRunnable.runEarlyStartup(EarlyStartupRunnable.java:87) at org.eclipse.ui.internal.EarlyStartupRunnable.run(EarlyStartupRunnable.java:66) at org.eclipse.core.runtime.SafeRunner.run(SafeRunner.java:42) at org.eclipse.ui.internal.Workbench$63.run(Workbench.java:2470) at org.eclipse.core.internal.jobs.Worker.run(Worker.java:54) {code}

    Appcelerator JIRA | 4 years ago | Dustin Hyde
    java.lang.NumberFormatException: For input string: "0-alpha"
  3. 0

    JUnit testing questions

    Google Groups | 1 decade ago | Martin Dames
    org.osgi.framework.BundleException: For input string: "${spring"
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

  5. 0

    I have an app tied to a special SDK version for blackberry, where the folder name is "blackberry_compat_2.0.1.v20120407201726". When the project is cleaned, we throw an error trying to parse the version. {code} !ENTRY org.eclipse.core.resources 4 75 2012-06-01 10:47:31.436 !MESSAGE Errors occurred during the build. !SUBENTRY 1 com.appcelerator.titanium.core 4 75 2012-06-01 10:47:31.436 !MESSAGE Errors running builder 'Titanium Builder' on project 'blackberry_app'. !STACK 0 java.lang.NumberFormatException: For input string: "blackberry_compat_2" at java.lang.NumberFormatException.forInputString(NumberFormatException.java:48) at java.lang.Integer.parseInt(Integer.java:449) at java.lang.Integer.parseInt(Integer.java:499) at org.osgi.framework.Version.<init>(Version.java:127) at org.osgi.framework.Version.parseVersion(Version.java:225) at com.appcelerator.titanium.core.TitaniumProjectBuilder.clean(TitaniumProjectBuilder.java:72) at org.eclipse.core.internal.events.BuildManager$2.run(BuildManager.java:730) at org.eclipse.core.runtime.SafeRunner.run(SafeRunner.java:42) at org.eclipse.core.internal.events.BuildManager.basicBuild(BuildManager.java:199) at org.eclipse.core.internal.events.BuildManager.basicBuild(BuildManager.java:239) at org.eclipse.core.internal.events.BuildManager$1.run(BuildManager.java:292) at org.eclipse.core.runtime.SafeRunner.run(SafeRunner.java:42) at org.eclipse.core.internal.events.BuildManager.basicBuild(BuildManager.java:295) at org.eclipse.core.internal.events.BuildManager.basicBuildLoop(BuildManager.java:351) at org.eclipse.core.internal.events.BuildManager.build(BuildManager.java:374) at org.eclipse.core.internal.resources.Workspace.buildInternal(Workspace.java:513) at org.eclipse.core.internal.resources.Workspace.build(Workspace.java:422) at com.aptana.editor.common.preferences.ValidationPreferencePage$ApplyChangesAndBuildJob.run(ValidationPreferencePage.java:130) at org.eclipse.core.internal.jobs.Worker.run(Worker.java:54) {code}

    Appcelerator JIRA | 5 years ago | Chris Williams
    java.lang.NumberFormatException: For input string: "blackberry_compat_2"
  6. 0

    [INFO] [tc:run] 2007-10-12 22:15:55,674 INFO - Terracotta trunk-nightly-rev5925, as of 20071011-181024 (Revision 5925 by cruise@rh4mo0 from trunk) 2007-10-12 22:15:56,094 INFO - Configuration loaded from the file at '/Users/tgautier/src/forge/projects/labs/webcasts/dist-cache/target/classes/tc-config.xml'. [INFO] Resolving modules: [<xml-fragment name="annotations" version="0.0.1-SNAPSHOT" xmlns:tc="http://www.terracotta.org/config"/>, <xml-fragment name="clustered-ehcache-1.3" version="1.0.0" xmlns:tc="http://www.terracotta.org/config"/>, <xml-fragment name="terracotta-cache" version="1.0.0" xmlns:tc="http://www.terracotta.org/config"/>, <xml-fragment name="synchronizedmap" version="1.0.0-SNAPSHOT" xmlns:tc="http://www.terracotta.org/config"/>, <xml-fragment name="synchronizedset" version="1.0.0-SNAPSHOT" xmlns:tc="http://www.terracotta.org/config"/>, <xml-fragment name="synchronizedsortedmap" version="1.0.0-SNAPSHOT" xmlns:tc="http://www.terracotta.org/config"/>, <xml-fragment name="synchronizedsortedset" version="1.0.0-SNAPSHOT" xmlns:tc="http://www.terracotta.org/config"/>, <xml-fragment name="synchronizedcollection" version="1.0.0-SNAPSHOT" xmlns:tc="http://www.terracotta.org/config"/>] [INFO] Resolving bundle: org.terracotta.modules:excludes_config:1.0.0.SNAPSHOT [INFO] Resolving module org.terracotta.modules:excludes-config:jar:1.0.0-SNAPSHOT [INFO] Resolving bundle: org.terracotta.modules:modules_common:1.0.0.SNAPSHOT [INFO] Resolving module org.terracotta.modules:modules-common:jar:1.0.0-SNAPSHOT [INFO] Resolving bundle: org.terracotta.modules:guimodels_config:1.0.0.SNAPSHOT [INFO] Resolving module org.terracotta.modules:guimodels-config:jar:1.0.0-SNAPSHOT [INFO] Resolving bundle: org.terracotta.modules:jdk15_preinst_config:1.0.0.SNAPSHOT [INFO] Resolving module org.terracotta.modules:jdk15-preinst-config:jar:1.0.0-SNAPSHOT [INFO] Resolving bundle: org.terracotta.modules:spring_config:1.0.0.SNAPSHOT [INFO] Resolving module org.terracotta.modules:spring-config:jar:1.0.0-SNAPSHOT [INFO] Resolving bundle: org.terracotta.modules:standard_config:1.0.0.SNAPSHOT [INFO] Resolving module org.terracotta.modules:standard-config:jar:1.0.0-SNAPSHOT [INFO] Resolving location: org.terracotta.modules:annotations:0.0.1-SNAPSHOT [INFO] Resolving module org.terracotta.modules:annotations:jar:0.0.1-SNAPSHOT [INFO] Resolving location: org.terracotta.modules:clustered-ehcache-1.3:1.0.0 [INFO] Resolving module org.terracotta.modules:clustered-ehcache-1.3:jar:1.0.0 [INFO] Resolving bundle: org.terracotta.modules:clustered_commons_collections_3.1:(any-version) [INFO] Resolving module org.terracotta.modules:clustered-commons-collections-3.1:jar:1.0.0 [INFO] Resolving bundle: org.terracotta.modules:clustered_ehcache_commons_1.0:(any-version) [INFO] Resolving module org.terracotta.modules:clustered-ehcache-commons-1.0:jar:1.0.0 [INFO] Resolving location: org.terracotta.modules:terracotta-cache:1.0.0 [INFO] Resolving module org.terracotta.modules:terracotta-cache:jar:1.0.0 [INFO] Resolving location: org.terracotta.modules:synchronizedmap:1.0.0-SNAPSHOT [INFO] Resolving module org.terracotta.modules:synchronizedmap:jar:1.0.0-SNAPSHOT [INFO] snapshot org.terracotta.modules:synchronizedmap:1.0.0-SNAPSHOT: checking for updates from terracotta-repository [INFO] Resolving location: org.terracotta.modules:synchronizedset:1.0.0-SNAPSHOT [INFO] Resolving module org.terracotta.modules:synchronizedset:jar:1.0.0-SNAPSHOT [INFO] snapshot org.terracotta.modules:synchronizedset:1.0.0-SNAPSHOT: checking for updates from terracotta-repository [INFO] Resolving location: org.terracotta.modules:synchronizedsortedmap:1.0.0-SNAPSHOT [INFO] Resolving module org.terracotta.modules:synchronizedsortedmap:jar:1.0.0-SNAPSHOT [INFO] snapshot org.terracotta.modules:synchronizedsortedmap:1.0.0-SNAPSHOT: checking for updates from terracotta-repository [INFO] Resolving location: org.terracotta.modules:synchronizedsortedset:1.0.0-SNAPSHOT [INFO] Resolving module org.terracotta.modules:synchronizedsortedset:jar:1.0.0-SNAPSHOT [INFO] snapshot org.terracotta.modules:synchronizedsortedset:1.0.0-SNAPSHOT: checking for updates from terracotta-repository [INFO] Resolving location: org.terracotta.modules:synchronizedcollection:1.0.0-SNAPSHOT [INFO] Resolving module org.terracotta.modules:synchronizedcollection:jar:1.0.0-SNAPSHOT [INFO] snapshot org.terracotta.modules:synchronizedcollection:1.0.0-SNAPSHOT: checking for updates from terracotta-repository [INFO] ------------------------------------------------------------------------ [INFO] Starting bootjar tool [INFO] [bootjar] 2007-10-12 22:16:05,189 INFO - Terracotta trunk-nightly-rev5925, as of 20071011-181024 (Revision 5925 by cruise@rh4mo0 from trunk) [INFO] [bootjar] 2007-10-12 22:16:05,701 INFO - Configuration loaded from the file at '/Users/tgautier/src/forge/projects/labs/webcasts/dist-cache/target/classes/tc-config.xml'. [INFO] [bootjar] Exception in thread "main" java.lang.RuntimeException: Unable to create runtime for plugins [INFO] [bootjar] at com.tc.plugins.ModulesLoader.initModules(ModulesLoader.java:100) [INFO] [bootjar] at com.tc.object.tools.BootJarTool.<init>(BootJarTool.java:213) [INFO] [bootjar] at com.tc.object.tools.BootJarTool.main(BootJarTool.java:2433) [INFO] [bootjar] Caused by: java.lang.NumberFormatException: For input string: "1-SNAPSHOT" [INFO] [bootjar] at java.lang.NumberFormatException.forInputString(NumberFormatException.java:48) [INFO] [bootjar] at java.lang.Integer.parseInt(Integer.java:456) [INFO] [bootjar] at java.lang.Integer.parseInt(Integer.java:497) [INFO] [bootjar] at org.osgi.framework.Version.<init>(Version.java:135) [INFO] [bootjar] at org.osgi.framework.Version.parseVersion(Version.java:208) [INFO] [bootjar] at com.tc.bundles.Resolver.resolveLocation(Resolver.java:177) [INFO] [bootjar] at com.tc.bundles.Resolver.resolve(Resolver.java:94) [INFO] [bootjar] at com.tc.bundles.Resolver.resolve(Resolver.java:110) [INFO] [bootjar] at com.tc.plugins.ModulesLoader.initModules(ModulesLoader.java:146) [INFO] [bootjar] at com.tc.plugins.ModulesLoader.initModules(ModulesLoader.java:95) [INFO] [bootjar] ... 2 more [INFO] OK

    Terracotta Project Issue Tracker | 9 years ago | Taylor Gautier
    java.lang.RuntimeException: Unable to create runtime for plugins
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: "0-alpha"

    at java.lang.NumberFormatException.forInputString()
  2. Java RT
    Integer.parseInt
    1. java.lang.NumberFormatException.forInputString(NumberFormatException.java:48)
    2. java.lang.Integer.parseInt(Integer.java:458)
    3. java.lang.Integer.parseInt(Integer.java:499)
    3 frames
  3. OSGi
    Version.parseVersion
    1. org.osgi.framework.Version.<init>(Version.java:135)
    2. org.osgi.framework.Version.parseVersion(Version.java:225)
    2 frames
  4. com.appcelerator.titanium
    TitaniumSDKUpdater$NotInstalledFilter.include
    1. com.appcelerator.titanium.nodejs.internal.core.NodePackageManager.getInstalledVersion(NodePackageManager.java:338)
    2. com.appcelerator.titanium.nodejs.core.NPMConfigurationComponent.installedVersion(NPMConfigurationComponent.java:77)
    3. com.appcelerator.titanium.nodejs.core.NPMConfigurationComponent.outOfDate(NPMConfigurationComponent.java:122)
    4. com.appcelerator.titanium.update.internal.TitaniumNPMRelease.isInstalled(TitaniumNPMRelease.java:76)
    5. com.appcelerator.titanium.update.TitaniumSDKUpdater$NotInstalledFilter.include(TitaniumSDKUpdater.java:125)
    6. com.appcelerator.titanium.update.TitaniumSDKUpdater$NotInstalledFilter.include(TitaniumSDKUpdater.java:1)
    6 frames
  5. com.aptana.core
    CollectionsUtil.filterInPlace
    1. com.aptana.core.util.ChainedFilter.include(ChainedFilter.java:32)
    2. com.aptana.core.util.CollectionsUtil.filterInPlace(CollectionsUtil.java:201)
    2 frames
  6. com.appcelerator.titanium
    TitaniumUpdateStartup.earlyStartup
    1. com.appcelerator.titanium.update.TitaniumSDKUpdater.filterToUninstalledRelevantUpdates(TitaniumSDKUpdater.java:608)
    2. com.appcelerator.titanium.update.TitaniumSDKUpdater.getNPMUpdates(TitaniumSDKUpdater.java:602)
    3. com.appcelerator.titanium.update.TitaniumSDKUpdater.hasNPMUpdates(TitaniumSDKUpdater.java:275)
    4. com.appcelerator.titanium.update.TitaniumSDKUpdater.hasUpdates(TitaniumSDKUpdater.java:221)
    5. com.appcelerator.titanium.update.TitaniumUpdateStartup.earlyStartup(TitaniumUpdateStartup.java:40)
    5 frames
  7. Eclipse UI
    EarlyStartupRunnable.run
    1. org.eclipse.ui.internal.EarlyStartupRunnable.runEarlyStartup(EarlyStartupRunnable.java:87)
    2. org.eclipse.ui.internal.EarlyStartupRunnable.run(EarlyStartupRunnable.java:66)
    2 frames
  8. Eclipse Core
    SafeRunner.run
    1. org.eclipse.core.runtime.SafeRunner.run(SafeRunner.java:42)
    1 frame
  9. Eclipse UI
    Workbench$63.run
    1. org.eclipse.ui.internal.Workbench$63.run(Workbench.java:2470)
    1 frame
  10. Eclipse Jobs
    Worker.run
    1. org.eclipse.core.internal.jobs.Worker.run(Worker.java:54)
    1 frame