Skip to content

Travis failue at checkstyle_regression_no_exception.sh "cannot get Checkstyle version from" #101

Open
@romani

Description

@romani

https://travis-ci.org/checkstyle/regression-tool/jobs/591464250#L35700

onfig generated at /home/travis/build/checkstyle/regression-tool/config-test-branch-20190930121503.xml
Installing Checkstyle artifact (master) into local Maven repository ...
Switched to branch 'master'
Your branch is behind 'origin/master' by 1 commit, and can be fast-forwarded.
  (use "git pull" to update your local branch)
MSG:[maven-release-plugin] prepare release checkstyle-8.25
SHA-1:2f0c2f488a0d302bafe808e08ef47f691163c53b
Caught: groovy.lang.GroovyRuntimeException: Error: cannot get Checkstyle version from /home/travis/build/checkstyle/regression-tool/checkstyle/pom.xml!
groovy.lang.GroovyRuntimeException: Error: cannot get Checkstyle version from /home/travis/build/checkstyle/regression-tool/checkstyle/pom.xml!
  at diff.getCheckstyleVersionFromPomXml(diff.groovy:174)
  at diff$getCheckstyleVersionFromPomXml$8.callCurrent(Unknown Source)
  at diff.generateCheckstyleReport(diff.groovy:184)
  at diff$generateCheckstyleReport$5.callCurrent(Unknown Source)
  at diff.run(diff.groovy:26)
Exception in thread "main" java.lang.IllegalStateException: an error occurred when running diff.groovy
  at com.github.checkstyle.regression.report.ReportGenerator.generate(ReportGenerator.java:61)
  at com.github.checkstyle.regression.Main.runRegression(Main.java:190)
  at com.github.checkstyle.regression.Main.main(Main.java:111)
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE module
  PUBLIC "-//Checkstyle//DTD Checkstyle Configuration 1.3//EN" "https://checkstyle.org/dtds/configuration_1_3.dtd">
<module name="Checker">
   <property name="charset" value="UTF-8"/>
   <!-- do not change severity to 'error', as that will hide errors caused by exceptions -->
   <property name="severity" value="warning"/>
   <!-- haltOnException is required for exception fixes and reporting of all exceptions -->
   <property name="haltOnException" value="false"/>
   <!-- BeforeExecutionFileFilters is required for sources of java9 -->
   <module name="BeforeExecutionExclusionFileFilter">
      <property name="fileNamePattern" value="module\-info\.java$"/>
   </module>
   <!-- Contents below are generated by regression-tool. -->
   <module name="TreeWalker"/>
</module>

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions