question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Unable to run scenarios after upgrading to java 9

See original GitHub issue

Trying to avoid classpath exceeding 32k symbols error I decided to update jdk to 9.0.4 When I execute following task:

tasks.withType(Test) { systemProperties = System.getProperties() systemProperties.remove(“java.endorsed.dirs”) }

task runScenariosInParallel(type: Test) { useTestNG()

include ‘**/suite/TestSuite.class’ outputs.upToDateWhen { false } }

get following output:

Task :runScenariosInParallel Error occurred during initialization of boot layer java.nio.file.InvalidPathException: Illegal char <:> at index 3: jrt:/modules Error occurred during initialization of boot layer java.nio.file.InvalidPathException: Illegal char <:> at index 3: jrt:/modules Gradle suite > Gradle test > suite.TestSuite.parallelRun FAILED courgette.runtime.CourgetteTestFailureException

There were failing tests. Refer to the Courgette html report for more details. courgette.runtime.CourgetteTestFailureException: There were failing tests. Refer to the Courgette html >report for more details.

1 test completed, 1 failed Task :runScenariosInParallel FAILED`

Stacktrace: link

Issue Analytics

  • State:closed
  • Created 5 years ago
  • Comments:5 (4 by maintainers)

github_iconTop GitHub Comments

1reaction
gkulikovcommented, Nov 26, 2018

Hi, @prashant-ramcharan ,

thanks for your help. Issue for java 9 is resolved (tried with 3.0.0).

I must say that I had no success with java 10 and 11, but that’s a different story.

0reactions
prashant-ramcharancommented, Nov 26, 2018

I tested it with Java 11 and it works fine.

Will close this issue now.

Read more comments on GitHub >

github_iconTop Results From Across the Web

Problems running tests after Cucumber upgrade
This only hapens when I try to run test scenarios directly/manually. That is, right-click the scenario and select "Run" or "Debug." If I...
Read more >
Known Issues and Limitations (Sun Java System Application ...
When upgrading on Windows, an error is displayed and the upgrade fails if SNMP is running. Solution. Stop the SNMP Service before upgrading:...
Read more >
How to Migrate to Java 9? It's Easy if You Do It Smart
The first solution is to take the code from the classpath and turn it into automatic modules. This will be useful, especially for...
Read more >
3 ways to solve java.lang.NoClassDefFoundError in Java J2EE
3. Just try to run with explicitly -classpath option with the classpath you think will work and if it's working then it's a...
Read more >
Should You Upgrade to a Newer Version of Java? | Capital One
We dive into the features and updates released in Java 9 through 16 to help your org understand which version to update to...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found