0.24: FileNotFoundException: File [null] does not exist or is not accessible
Closed this issue · 2 comments
chrismair commented
Using the Grails CodeNarc plugin version 0.24,
Original issue opened on CodeNarc: CodeNarc/CodeNarc#113
I upgraded to 0.24 from 0.23, no other changes, and codenarc fails in the following way:
|Compiling 356 source files
..Adding report HtmlReport
Adding report TextReport
Running CodeNarc (file:grails-app/conf/CodeNarcRules.groovy) ...
.FAILED -- java.io.FileNotFoundException: File [null] does not exist or is not accessible
chrismair commented
In the meantime, I was able to work around the issue by adding this to "BuildConfig.groovy":
// TODO Workaround for https://github.com/chrismair/GrailsCodeNarcPlugin/issues/6
codenarc.excludeBaseline = ''
chrismair commented
Fixed in Grails CodeNarc Plugin v0.24.1