Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
romani opened this issue Oct 2, 2019 · 0 comments

Comments

@romani
Copy link
Member

romani commented Oct 2, 2019

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>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant