You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
java.lang.NullPointerException
at org.apache.tools.ant.DirectoryScanner.normalizePattern(DirectoryScanner.java:797)
at org.apache.tools.ant.DirectoryScanner.setExcludes(DirectoryScanner.java:751)
at net.masterthought.jenkins.CucumberReportPublisher.findJsonFiles(CucumberReportPublisher.java:59)
at net.masterthought.jenkins.CucumberReportPublisher.perform(CucumberReportPublisher.java:97)
at hudson.tasks.BuildStepMonitor$1.perform(BuildStepMonitor.java:20)
Currently experiencing the above error in version 0.0.24
looks like it is caused by fileExcludePattern in CucumberReportPublisher.java.
For fileIncludePattern this works due to being default when value is null or empty.
For fileExcludePattern this goes onto - scanner.setExcludes(new String[]{fileExcludePattern}); regardless of value.
I can fix this if this is easier.
Cheers,
Andrew
The text was updated successfully, but these errors were encountered:
Hello,
java.lang.NullPointerException at org.apache.tools.ant.DirectoryScanner.normalizePattern(DirectoryScanner.java:797) at org.apache.tools.ant.DirectoryScanner.setExcludes(DirectoryScanner.java:751) at net.masterthought.jenkins.CucumberReportPublisher.findJsonFiles(CucumberReportPublisher.java:59) at net.masterthought.jenkins.CucumberReportPublisher.perform(CucumberReportPublisher.java:97) at hudson.tasks.BuildStepMonitor$1.perform(BuildStepMonitor.java:20)
Currently experiencing the above error in version 0.0.24
looks like it is caused by fileExcludePattern in CucumberReportPublisher.java.
For fileIncludePattern this works due to being default when value is null or empty.
For fileExcludePattern this goes onto -
scanner.setExcludes(new String[]{fileExcludePattern});
regardless of value.I can fix this if this is easier.
Cheers,
Andrew
The text was updated successfully, but these errors were encountered: