java.lang.IllegalArgumentException: invalid version "<UNKNOWN": non-numeric "<UNKNOWN"

SpringSource Issue Tracker | Tomasz Zarna | 4 years ago
  1. 0

    File > New > Spring Roo Project => java.lang.IllegalArgumentException: invalid version "<UNKNOWN": non-numeric "<UNKNOWN" at org.osgi.framework.Version.parseInt(Version.java:170) at org.osgi.framework.Version.<init>(Version.java:126) at org.osgi.framework.Version.parseVersion(Version.java:233) at org.springframework.ide.eclipse.roo.ui.internal.RooUiUtil.isRoo120OrGreater(RooUiUtil.java:52) at org.springframework.ide.eclipse.roo.ui.internal.wizard.NewRooProjectWizardPageOne$PackagingProviderGroup.updateEnablement(NewRooProjectWizardPageOne.java:465) at org.springframework.ide.eclipse.roo.ui.internal.wizard.NewRooProjectWizardPageOne$PackagingProviderGroup.createControl(NewRooProjectWizardPageOne.java:442) at org.springframework.ide.eclipse.roo.ui.internal.wizard.NewRooProjectWizardPageOne.createControl(NewRooProjectWizardPageOne.java:985) at org.eclipse.jface.wizard.Wizard.createPageControls(Wizard.java:174) at org.eclipse.jface.wizard.WizardDialog.createPageControls(WizardDialog.java:736) at org.eclipse.jface.wizard.WizardDialog.createContents(WizardDialog.java:608) at org.eclipse.jface.window.Window.create(Window.java:431) at org.eclipse.jface.dialogs.Dialog.create(Dialog.java:1089) at org.eclipse.ui.internal.actions.NewWizardShortcutAction.run(NewWizardShortcutAction.java:122) at org.eclipse.jface.action.Action.runWithEvent(Action.java:498) at org.eclipse.jface.action.ActionContributionItem.handleWidgetSelection(ActionContributionItem.java:584) at org.eclipse.jface.action.ActionContributionItem.access$2(ActionContributionItem.java:501) at org.eclipse.jface.action.ActionContributionItem$5.handleEvent(ActionContributionItem.java:411) at org.eclipse.swt.widgets.EventTable.sendEvent(EventTable.java:84) at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1053) at org.eclipse.swt.widgets.Display.runDeferredEvents(Display.java:4169) at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:3758) at org.eclipse.e4.ui.internal.workbench.swt.PartRenderingEngine$9.run(PartRenderingEngine.java:1029) at org.eclipse.core.databinding.observable.Realm.runWithDefault(Realm.java:332) at org.eclipse.e4.ui.internal.workbench.swt.PartRenderingEngine.run(PartRenderingEngine.java:923) at org.eclipse.e4.ui.internal.workbench.E4Workbench.createAndRunUI(E4Workbench.java:86) at org.eclipse.ui.internal.Workbench$5.run(Workbench.java:588) at org.eclipse.core.databinding.observable.Realm.runWithDefault(Realm.java:332) at org.eclipse.ui.internal.Workbench.createAndRunWorkbench(Workbench.java:543) at org.eclipse.ui.PlatformUI.createAndRunWorkbench(PlatformUI.java:149) at org.eclipse.ui.internal.ide.application.IDEApplication.start(IDEApplication.java:124) at org.eclipse.equinox.internal.app.EclipseAppHandle.run(EclipseAppHandle.java:196) at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.runApplication(EclipseAppLauncher.java:110) at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.start(EclipseAppLauncher.java:79) at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:353) at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:180) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source) at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source) at java.lang.reflect.Method.invoke(Unknown Source) at org.eclipse.equinox.launcher.Main.invokeFramework(Main.java:629) at org.eclipse.equinox.launcher.Main.basicRun(Main.java:584) at org.eclipse.equinox.launcher.Main.run(Main.java:1438) at org.eclipse.equinox.launcher.Main.main(Main.java:1414) Caused by: java.lang.NumberFormatException: For input string: "<UNKNOWN" at java.lang.NumberFormatException.forInputString(Unknown Source) at java.lang.Integer.parseInt(Unknown Source) at java.lang.Integer.parseInt(Unknown Source) at org.osgi.framework.Version.parseInt(Version.java:168) ... 42 more This is STS 3.1.0.REL with updated "Spring IDE Roo Support" as I thought it may have been fixed in the meantime.

    SpringSource Issue Tracker | 4 years ago | Tomasz Zarna
    java.lang.IllegalArgumentException: invalid version "<UNKNOWN": non-numeric "<UNKNOWN"
  2. 0

    File > New > Spring Roo Project => java.lang.IllegalArgumentException: invalid version "<UNKNOWN": non-numeric "<UNKNOWN" at org.osgi.framework.Version.parseInt(Version.java:170) at org.osgi.framework.Version.<init>(Version.java:126) at org.osgi.framework.Version.parseVersion(Version.java:233) at org.springframework.ide.eclipse.roo.ui.internal.RooUiUtil.isRoo120OrGreater(RooUiUtil.java:52) at org.springframework.ide.eclipse.roo.ui.internal.wizard.NewRooProjectWizardPageOne$PackagingProviderGroup.updateEnablement(NewRooProjectWizardPageOne.java:465) at org.springframework.ide.eclipse.roo.ui.internal.wizard.NewRooProjectWizardPageOne$PackagingProviderGroup.createControl(NewRooProjectWizardPageOne.java:442) at org.springframework.ide.eclipse.roo.ui.internal.wizard.NewRooProjectWizardPageOne.createControl(NewRooProjectWizardPageOne.java:985) at org.eclipse.jface.wizard.Wizard.createPageControls(Wizard.java:174) at org.eclipse.jface.wizard.WizardDialog.createPageControls(WizardDialog.java:736) at org.eclipse.jface.wizard.WizardDialog.createContents(WizardDialog.java:608) at org.eclipse.jface.window.Window.create(Window.java:431) at org.eclipse.jface.dialogs.Dialog.create(Dialog.java:1089) at org.eclipse.ui.internal.actions.NewWizardShortcutAction.run(NewWizardShortcutAction.java:122) at org.eclipse.jface.action.Action.runWithEvent(Action.java:498) at org.eclipse.jface.action.ActionContributionItem.handleWidgetSelection(ActionContributionItem.java:584) at org.eclipse.jface.action.ActionContributionItem.access$2(ActionContributionItem.java:501) at org.eclipse.jface.action.ActionContributionItem$5.handleEvent(ActionContributionItem.java:411) at org.eclipse.swt.widgets.EventTable.sendEvent(EventTable.java:84) at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1053) at org.eclipse.swt.widgets.Display.runDeferredEvents(Display.java:4169) at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:3758) at org.eclipse.e4.ui.internal.workbench.swt.PartRenderingEngine$9.run(PartRenderingEngine.java:1029) at org.eclipse.core.databinding.observable.Realm.runWithDefault(Realm.java:332) at org.eclipse.e4.ui.internal.workbench.swt.PartRenderingEngine.run(PartRenderingEngine.java:923) at org.eclipse.e4.ui.internal.workbench.E4Workbench.createAndRunUI(E4Workbench.java:86) at org.eclipse.ui.internal.Workbench$5.run(Workbench.java:588) at org.eclipse.core.databinding.observable.Realm.runWithDefault(Realm.java:332) at org.eclipse.ui.internal.Workbench.createAndRunWorkbench(Workbench.java:543) at org.eclipse.ui.PlatformUI.createAndRunWorkbench(PlatformUI.java:149) at org.eclipse.ui.internal.ide.application.IDEApplication.start(IDEApplication.java:124) at org.eclipse.equinox.internal.app.EclipseAppHandle.run(EclipseAppHandle.java:196) at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.runApplication(EclipseAppLauncher.java:110) at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.start(EclipseAppLauncher.java:79) at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:353) at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:180) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source) at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source) at java.lang.reflect.Method.invoke(Unknown Source) at org.eclipse.equinox.launcher.Main.invokeFramework(Main.java:629) at org.eclipse.equinox.launcher.Main.basicRun(Main.java:584) at org.eclipse.equinox.launcher.Main.run(Main.java:1438) at org.eclipse.equinox.launcher.Main.main(Main.java:1414) Caused by: java.lang.NumberFormatException: For input string: "<UNKNOWN" at java.lang.NumberFormatException.forInputString(Unknown Source) at java.lang.Integer.parseInt(Unknown Source) at java.lang.Integer.parseInt(Unknown Source) at org.osgi.framework.Version.parseInt(Version.java:168) ... 42 more This is STS 3.1.0.REL with updated "Spring IDE Roo Support" as I thought it may have been fixed in the meantime.

    SpringSource Issue Tracker | 4 years ago | Tomasz Zarna
    java.lang.IllegalArgumentException: invalid version "<UNKNOWN": non-numeric "<UNKNOWN"
  3. Speed up your debug routine!

    Automated exception search integrated into your IDE

  4. 0

    GitHub comment 36#242950260

    GitHub | 3 months ago | missedone
    java.lang.IllegalArgumentException: invalid version "DEV": non-numeric "DEV"
  5. 0

    GitHub comment 37#242959054

    GitHub | 3 months ago | missedone
    java.lang.IllegalArgumentException: invalid version "DEV": non-numeric "DEV"

  1. filpgame 4 times, last 2 weeks ago
  2. MoYapro 1 times, last 1 month ago
  3. Handemelindo 1 times, last 1 month ago
  4. silex 6 times, last 1 month ago
  5. ajinkya_w 3 times, last 1 month ago
31 more registered users
64 unregistered visitors
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: "<UNKNOWN"

    at java.lang.NumberFormatException.forInputString()
  2. Java RT
    Integer.parseInt
    1. java.lang.NumberFormatException.forInputString(Unknown Source)
    2. java.lang.Integer.parseInt(Unknown Source)
    3. java.lang.Integer.parseInt(Unknown Source)
    3 frames
  3. OSGi
    Version.parseVersion
    1. org.osgi.framework.Version.parseInt(Version.java:168)
    2. org.osgi.framework.Version.<init>(Version.java:126)
    3. org.osgi.framework.Version.parseVersion(Version.java:233)
    3 frames
  4. org.springframework.ide
    NewRooProjectWizardPageOne.createControl
    1. org.springframework.ide.eclipse.roo.ui.internal.RooUiUtil.isRoo120OrGreater(RooUiUtil.java:52)
    2. org.springframework.ide.eclipse.roo.ui.internal.wizard.NewRooProjectWizardPageOne$PackagingProviderGroup.updateEnablement(NewRooProjectWizardPageOne.java:465)
    3. org.springframework.ide.eclipse.roo.ui.internal.wizard.NewRooProjectWizardPageOne$PackagingProviderGroup.createControl(NewRooProjectWizardPageOne.java:442)
    4. org.springframework.ide.eclipse.roo.ui.internal.wizard.NewRooProjectWizardPageOne.createControl(NewRooProjectWizardPageOne.java:985)
    4 frames
  5. JFace
    Dialog.create
    1. org.eclipse.jface.wizard.Wizard.createPageControls(Wizard.java:174)
    2. org.eclipse.jface.wizard.WizardDialog.createPageControls(WizardDialog.java:736)
    3. org.eclipse.jface.wizard.WizardDialog.createContents(WizardDialog.java:608)
    4. org.eclipse.jface.window.Window.create(Window.java:431)
    5. org.eclipse.jface.dialogs.Dialog.create(Dialog.java:1089)
    5 frames
  6. Workbench
    NewWizardShortcutAction.run
    1. org.eclipse.ui.internal.actions.NewWizardShortcutAction.run(NewWizardShortcutAction.java:122)
    1 frame
  7. JFace
    ActionContributionItem$5.handleEvent
    1. org.eclipse.jface.action.Action.runWithEvent(Action.java:498)
    2. org.eclipse.jface.action.ActionContributionItem.handleWidgetSelection(ActionContributionItem.java:584)
    3. org.eclipse.jface.action.ActionContributionItem.access$2(ActionContributionItem.java:501)
    4. org.eclipse.jface.action.ActionContributionItem$5.handleEvent(ActionContributionItem.java:411)
    4 frames
  8. RWT
    Display.readAndDispatch
    1. org.eclipse.swt.widgets.EventTable.sendEvent(EventTable.java:84)
    2. org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1053)
    3. org.eclipse.swt.widgets.Display.runDeferredEvents(Display.java:4169)
    4. org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:3758)
    4 frames
  9. Eclipse Workbench SWT
    PartRenderingEngine$9.run
    1. org.eclipse.e4.ui.internal.workbench.swt.PartRenderingEngine$9.run(PartRenderingEngine.java:1029)
    1 frame
  10. Databinding
    Realm.runWithDefault
    1. org.eclipse.core.databinding.observable.Realm.runWithDefault(Realm.java:332)
    1 frame
  11. Eclipse Workbench SWT
    PartRenderingEngine.run
    1. org.eclipse.e4.ui.internal.workbench.swt.PartRenderingEngine.run(PartRenderingEngine.java:923)
    1 frame
  12. Eclipse Workbench
    E4Workbench.createAndRunUI
    1. org.eclipse.e4.ui.internal.workbench.E4Workbench.createAndRunUI(E4Workbench.java:86)
    1 frame
  13. Eclipse UI
    Workbench$5.run
    1. org.eclipse.ui.internal.Workbench$5.run(Workbench.java:588)
    1 frame
  14. Databinding
    Realm.runWithDefault
    1. org.eclipse.core.databinding.observable.Realm.runWithDefault(Realm.java:332)
    1 frame
  15. Eclipse UI
    Workbench.createAndRunWorkbench
    1. org.eclipse.ui.internal.Workbench.createAndRunWorkbench(Workbench.java:543)
    1 frame
  16. Eclipse UI
    PlatformUI.createAndRunWorkbench
    1. org.eclipse.ui.PlatformUI.createAndRunWorkbench(PlatformUI.java:149)
    1 frame
  17. Eclipse IDE
    IDEApplication.start
    1. org.eclipse.ui.internal.ide.application.IDEApplication.start(IDEApplication.java:124)
    1 frame
  18. Equinox Container
    EclipseAppHandle.run
    1. org.eclipse.equinox.internal.app.EclipseAppHandle.run(EclipseAppHandle.java:196)
    1 frame
  19. Eclipse OSGi
    EclipseStarter.run
    1. org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.runApplication(EclipseAppLauncher.java:110)
    2. org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.start(EclipseAppLauncher.java:79)
    3. org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:353)
    4. org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:180)
    4 frames
  20. Java RT
    Method.invoke
    1. sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
    2. sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
    3. sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
    4. java.lang.reflect.Method.invoke(Unknown Source)
    4 frames
  21. Equinox
    Main.main
    1. org.eclipse.equinox.launcher.Main.invokeFramework(Main.java:629)
    2. org.eclipse.equinox.launcher.Main.basicRun(Main.java:584)
    3. org.eclipse.equinox.launcher.Main.run(Main.java:1438)
    4. org.eclipse.equinox.launcher.Main.main(Main.java:1414)
    4 frames