Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Language IDEs » Java Development Tools (JDT) » Unable to rerun a single feature in eclipse
Unable to rerun a single feature in eclipse [message #1805584] Wed, 17 April 2019 21:02 Go to next message
Karis Ng is currently offline Karis NgFriend
Messages: 1
Registered: April 2019
Junior Member
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: 1.8.0_201 + 11.0.2
cucumber-junit: 2.4.0 + 4.3.0
Re: Unable to rerun a single feature in eclipse [message #1805696 is a reply to message #1805584] Mon, 22 April 2019 05:34 Go to previous message
Sarika Sinha is currently offline Sarika SinhaFriend
Messages: 132
Registered: February 2010
Location: Bangalore, India
Senior Member
This looks like a regression from https://bugs.eclipse.org/bugs/show_bug.cgi?id=385738.
Can you please create a new bug in JDT Debug (https://bugs.eclipse.org/bugs/enter_bug.cgi?product=JDT) with details and give the reference to bug 385738.


Sarika Sinha
JDT Programmer
Previous Topic:I has made Tool of Generating java code based on spring framework
Next Topic:Problem of display Nebula Gantt -> Easy
Goto Forum:
  


Current Time: Wed Sep 25 04:41:12 GMT 2024

Powered by FUDForum. Page generated in 0.03063 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top