Bug 546629 - Unable to rerun a single feature in eclipse
Summary: Unable to rerun a single feature in eclipse
Status: NEW
Alias: None
Product: JDT
Classification: Eclipse Project
Component: APT (show other bugs)
Version: 4.12   Edit
Hardware: PC Windows 10
: P3 normal (vote)
Target Milestone: ---   Edit
Assignee: Generic inbox for the JDT-APT component CLA
QA Contact:
URL:
Whiteboard: stalebug
Keywords:
Depends on:
Blocks:
 
Reported: 2019-04-22 11:46 EDT by Karis Ng CLA
Modified: 2023-04-27 06:39 EDT (History)
0 users

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Karis Ng CLA 2019-04-22 11:46:55 EDT
Using the JUnit cucumber runner, I used to be able to right-click on a single test(.feature) and re-run, it now throws an error

java.nio.file.InvalidPathException: Illegal char <:> at index 111: C:\......\.temp-Rerun .....CucumberRunner.Feature: About-classpath-arg-1555511782195.txt at sun.nio.fs.WindowsPathParser.normalize(WindowsPathParser.java:182) at sun.nio.fs.WindowsPathParser.parse(WindowsPathParser.java:153) at sun.nio.fs.WindowsPathParser.parse(WindowsPathParser.java:77) at sun.nio.fs.WindowsPath.parse(WindowsPath.java:94) at sun.nio.fs.WindowsFileSystem.getPath(WindowsFileSystem.java:255) at java.io.File.toPath(File.java:2234) at org.eclipse.jdt.internal.launching.ClasspathShortener.createClassPathArgumentFile(ClasspathShortener.java:388) at org.eclipse.jdt.internal.launching.ClasspathShortener.shortenClasspathUsingClasspathArgumentFile(ClasspathShortener.java:298) at org.eclipse.jdt.internal.launching.ClasspathShortener.shortenClasspathIfNecessary(ClasspathShortener.java:220) at org.eclipse.jdt.internal.launching.ClasspathShortener.shortenCommandLineIfNecessary(ClasspathShortener.java:161) at org.eclipse.jdt.internal.launching.StandardVMRunner.getCommandLine(StandardVMRunner.java:469) at org.eclipse.jdt.internal.launching.StandardVMRunner.run(StandardVMRunner.java:492) at org.eclipse.jdt.junit.launcher.JUnitLaunchConfigurationDelegate.launch(JUnitLaunchConfigurationDelegate.java:267) 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:1029) at org.eclipse.debug.internal.ui.DebugUIPlugin$2.run(DebugUIPlugin.java:1243) at org.eclipse.core.internal.jobs.Worker.run(Worker.java:63)

It really doesn't like the colon in the Feature: (TEST NAME)
Is this a bug on eclipse, or the cucumber plugin?

I've tried every combinations of the following:
eclipse version: jee-2018-12 + jee-2019-03
JDK: 11.0.2
cucumber-junit: 2.4.0 + 4.3.0

ps: advised by a JDT programmer to submit this bug https://www.eclipse.org/forums/index.php/t/1098548/
pps: regression of https://bugs.eclipse.org/bugs/show_bug.cgi?id=385738 ?

Thanks a bunch!
Comment 1 Eclipse Genie CLA 2021-04-12 13:26:25 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.
Comment 2 Eclipse Genie CLA 2023-04-27 06:39:48 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.