Uploaded image for project: 'Apache Fineract'
  1. Apache Fineract
  2. FINERACT-989

SpotBugs problems (no longer) show up in build failures

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Duplicate
    • None
    • 1.4.0
    • None
    • None

    Description

      In https://github.com/apache/fineract/pull/907 we have found that "normal" SpotBugs violations introduced in PRs currently lead to this output:

      > Task :spotbugsMain FAILED
      
      FAILURE: Build failed with an exception.
      
      * What went wrong:
      
      Execution failed for task ':spotbugsMain'.
      
      > A failure occurred while executing com.github.spotbugs.snom.internal.SpotBugsRunnerForWorker$SpotBugsExecutor
      
         > Verification failed: SpotBugs execution thrown exception
      
      * Try:
      
      Run with --stacktrace option to get the stack trace. Run with --info or --debug option to get more log output. Run with --scan to get full insights.

      It's not very obvious for anyone to understand what this means - is it some obscure internal SpotBugs error?? Or just a "regular" violation that was found?

      Attachments

        Issue Links

          Activity

            People

              vorburger Michael Vorburger
              vorburger Michael Vorburger
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: