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

findbugs IllegalArgumentException: No enum const class

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed (View Workflow)
    • Priority: Critical
    • Resolution: Fixed
    • Component/s: findbugs-plugin
    • Labels:
      None
    • Environment:
      Platform: All, OS: All
    • Similar Issues:

      Description

      FATAL: No enum const class hudson.plugins.findbugs.util.model.Priority.EXP
      java.lang.IllegalArgumentException: No enum const class
      hudson.plugins.findbugs.util.model.Priority.EXP
      at java.lang.Enum.valueOf(Enum.java:192)
      at hudson.plugins.findbugs.util.model.Priority.valueOf(Priority.java:15)
      at
      hudson.plugins.findbugs.parser.maven.MavenFindBugsParser.convert(MavenFindBugsParser.java:168)
      at
      hudson.plugins.findbugs.parser.maven.MavenFindBugsParser.parse(MavenFindBugsParser.java:151)
      at
      hudson.plugins.findbugs.parser.maven.MavenFindBugsParser.parse(MavenFindBugsParser.java:70)
      at
      hudson.plugins.findbugs.parser.FindBugsCollector.parseFile(FindBugsCollector.java:132)
      at
      hudson.plugins.findbugs.parser.FindBugsCollector.invoke(FindBugsCollector.java:100)
      at
      hudson.plugins.findbugs.parser.FindBugsCollector.invoke(FindBugsCollector.java:28)
      at hudson.FilePath$FileCallableWrapper.call(FilePath.java:1126)
      at hudson.remoting.UserRequest.perform(UserRequest.java:69)
      at hudson.remoting.UserRequest.perform(UserRequest.java:23)
      at hudson.remoting.Request$2.run(Request.java:200)
      at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:417)
      at java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:269)
      at java.util.concurrent.FutureTask.run(FutureTask.java:123)
      at
      java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:650)
      at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:675)
      at java.lang.Thread.run(Thread.java:595)

        Attachments

          Activity

          Hide
          scm_issue_link SCM/JIRA link daemon added a comment -

          Code changed in hudson
          User: : drulli
          Path:
          trunk/hudson/plugins/findbugs/src/main/java/hudson/plugins/findbugs/parser/maven/MavenFindBugsParser.java
          trunk/hudson/plugins/findbugs/src/test/resources/hudson/plugins/findbugs/parser/maven/findbugs-classname.xml
          http://fisheye4.cenqua.com/changelog/hudson/?cs=9877
          Log:
          [FIXED JENKINS-1801] Support for findbugs 1.3.x EXP warning priority in deprecated maven parser.

          Show
          scm_issue_link SCM/JIRA link daemon added a comment - Code changed in hudson User: : drulli Path: trunk/hudson/plugins/findbugs/src/main/java/hudson/plugins/findbugs/parser/maven/MavenFindBugsParser.java trunk/hudson/plugins/findbugs/src/test/resources/hudson/plugins/findbugs/parser/maven/findbugs-classname.xml http://fisheye4.cenqua.com/changelog/hudson/?cs=9877 Log: [FIXED JENKINS-1801] Support for findbugs 1.3.x EXP warning priority in deprecated maven parser.
          Hide
          drulli Ulli Hafner added a comment -

          BTW: Seems that you are using an old maven findbugs xml file. You will get
          better results when you are switching to the findbugsXml.xml file (see WIKI).

          Show
          drulli Ulli Hafner added a comment - BTW: Seems that you are using an old maven findbugs xml file. You will get better results when you are switching to the findbugsXml.xml file (see WIKI).

            People

            Assignee:
            drulli Ulli Hafner
            Reporter:
            huybrechts huybrechts
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Dates

              Created:
              Updated:
              Resolved: