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

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.

,

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 SpringSource Issue Tracker by Tomasz Zarna, 1 year ago
invalid version "<UNKNOWN": non-numeric "<UNKNOWN"
via SpringSource Issue Tracker by Tomasz Zarna, 1 year ago
invalid version "<UNKNOWN": non-numeric "<UNKNOWN"
via GitHub by maggu2810
, 2 years ago
invalid version "1.0.201503190807": non-numeric "201503190807"
via Appcelerator JIRA by Hans Knöchel, 3 months ago
via Google Groups by Luc Bourlier, 7 months ago
invalid version "${osgi.version.number}": non-numeric "${osgi"
via ace-users by Bulu, 1 year ago
invalid version "15.0.rebased": non-numeric "rebased"
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)
at org.osgi.framework.Version.(Version.java:126)
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.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.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.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 sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.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)

Users with the same issue

4 times, 1 day ago
Once, 2 days ago
4 times, 1 week ago
16 times, 1 week ago
6 times, 1 week ago

Write tip

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