Gauge or Java Runner is not installed! Error links returning 404
ed0906 opened this issue · 4 comments
I am trying to run ./gradlew gauge
and the following exception is getting thrown
The exception appears to mask an IOException
making it difficult for me to debug as I cant see the true cause.
The URL also leads to a path that doesn't exist.
Would it be possible to propagate the cause of the exception e.g.
catch (IOException cause) {
throw new GaugeExecutionFailedException("Gauge or Java runner is not installed! Read http://getgauge.io/documentation/user/current/getting_started/download_and_install.html", cause);
}
Or alternatively to log out the IO Exception
And to update the URL it refers to to a page that exists.
Gauge Version
Gauge version: 1.0.6
Plugins
-------
html-report (4.0.8)
java (0.7.3)
screenshot (0.0.1)
Note that I do have both gauge and the java runner installed.
Gradle Version
6.1.1
Gradle Gauge Plugin Version
1.8.0
Gauge-Java Version
0.7.3
@ed0906 Please upgrade Gauge and Gauge Java to the latest version and see if you are still facing the issue.
I solved this by downgrading to gauge-java 0.7.3.
It turns out 0.7.4 doesn't work with Kotlin any longer.
I still think it would be helpful if the actual IOException was logged by the plugin, at the moment it is very difficult to debug
Thanks for reporting I could replicate the issue with Kotlin .. we will be making a fix soon.
Fix for actual issue is done via #44. Kotlin issue will be handled in issue getgauge/gauge-java#390