Uploaded image for project: 'Jenkins'
  1. Jenkins
  2. JENKINS-48736

PCT fails with NPE when -reportFile has no file specification

      This issue has been noticed by dnusbaum in https://github.com/jenkinsci/plugin-compat-tester/commit/66de10f938edaae7e72c1f6562b015471bdfeb54

       

      > I am still getting an error after 66de10f:

      {{Exception in thread "main" java.lang.NullPointerException at org.jenkins.tools.test.model.PluginCompatReport.getBaseFilepath(PluginCompatReport.java:101) at org.jenkins.tools.test.model.PluginCompatReport.getXslFilepath(PluginCompatReport.java:93) at org.jenkins.tools.test.PluginCompatTester.testPlugins(PluginCompatTester.java:166) at org.jenkins.tools.test.PluginCompatTesterCli.main(PluginCompatTesterCli.java:116) }}

      > I am running the PCT using:

      java -jar plugins-compat-tester-cli/target/plugins-compat-tester-cli-0.0.3-SNAPSHOT.jar \ -reportFile pct-report.xml -workDirectory /tmp \ -war ~/Downloads/jenkins-wars/jenkins-2.84.war \ -mvn /usr/local/bin/mvn \ -skipTestCache true \ -includePlugins promoted-builds \ -localCheckoutDir /Users/dnusbaum/Projects/promoted-builds-plugin/

          [JENKINS-48736] PCT fails with NPE when -reportFile has no file specification

          Oleg Nenashev added a comment -

          Oleg Nenashev added a comment - https://github.com/jenkinsci/plugin-compat-tester/pull/56

          Oleg Nenashev added a comment -

          The ticket has been integrated

          Oleg Nenashev added a comment - The ticket has been integrated

            oleg_nenashev Oleg Nenashev
            oleg_nenashev Oleg Nenashev
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved: