Bug 572451 - Unable to run TestNG due to invalid version "11.0.9.1.101": invalid qualifier "1.101"
Summary: Unable to run TestNG due to invalid version "11.0.9.1.101": invalid qualifier...
Status: NEW
Alias: None
Product: PDE
Classification: Eclipse Project
Component: UI (show other bugs)
Version: 4.12   Edit
Hardware: PC Windows 10
: P3 major (vote)
Target Milestone: ---   Edit
Assignee: PDE-UI-Inbox CLA
QA Contact:
URL:
Whiteboard: stalebug
Keywords:
Depends on:
Blocks:
 
Reported: 2021-03-30 06:24 EDT by Archan Ranade CLA
Modified: 2023-03-21 10:55 EDT (History)
1 user (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Archan Ranade CLA 2021-03-30 06:24:19 EDT
I am not able to run TestNG classes from Eclipse from this due to the following error: 
java.lang.IllegalArgumentException: invalid version "11.0.9.1.101": invalid qualifier "1.101"
	at org.osgi.framework.Version.validate(Version.java:203)
	at org.osgi.framework.Version.<init>(Version.java:155)
	at org.testng.eclipse.launch.TestNGLaunchConfigurationDelegate.launch(TestNGLaunchConfigurationDelegate.java:83)
	at org.eclipse.debug.internal.core.LaunchConfiguration.launch(LaunchConfiguration.java:862)
	at org.eclipse.debug.internal.core.LaunchConfiguration.launch(LaunchConfiguration.java:720)
	at org.eclipse.debug.internal.ui.DebugUIPlugin.buildAndLaunch(DebugUIPlugin.java:1020)
	at org.eclipse.debug.internal.ui.DebugUIPlugin$2.run(DebugUIPlugin.java:1234)
	at org.eclipse.core.internal.jobs.Worker.run(Worker.java:63)

I have tried with the latest version of Eclipse as well and it did not work. It seems in the org.osgi.framework.Version.validate(Version.java:203) that qualifiers can only have alphanumeric, hyphen and underscore characters. Is there any way to bypass this issue? I am still able to run TestNG from command prompt.
Comment 1 Archan Ranade CLA 2021-03-30 06:25:38 EDT
I have tried the workaround as mentioned at https://bugs.eclipse.org/bugs/show_bug.cgi?id=305452 as well and still the issue persists.
Comment 2 Eclipse Genie CLA 2023-03-21 10:55:33 EDT
This bug hasn't had any activity in quite some time. Maybe the problem got resolved, was a duplicate of something else, or became less pressing for some reason - or maybe it's still relevant but just hasn't been looked at yet.

If you have further information on the current state of the bug, please add it. The information can be, for example, that the problem still occurs, that you still want the feature, that more information is needed, or that the bug is (for whatever reason) no longer relevant.

--
The automated Eclipse Genie.