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

Warnings plugin not supporting the eclipse compiler any more

    XMLWordPrintable

Details

    Description

      After upgrading the warnings plugin to 4.0 half of our projects were not visible in the dashboard any more.
      In the system log we found for every missing project the following exception trace:
      Apr 24, 2012 10:01:51 AM jenkins.InitReactorRunner$1 onTaskFailed
      SEVERE: Failed Loading job HIS-REGIO-1.1
      java.util.NoSuchElementException: No parser found for group: Eclipse Java Compiler
      at hudson.plugins.warnings.parser.ParserRegistry.getUrl(ParserRegistry.java:142)
      at hudson.plugins.warnings.WarningsDescriptor.getProjectUrl(WarningsDescriptor.java:89)
      at hudson.plugins.warnings.WarningsProjectAction.<init>(WarningsProjectAction.java:47)
      at hudson.plugins.warnings.WarningsPublisher.getProjectActions(WarningsPublisher.java:235)
      at hudson.model.Project.createTransientActions(Project.java:208)
      at hudson.model.AbstractProject.updateTransientActions(AbstractProject.java:624)
      at hudson.model.AbstractProject.onLoad(AbstractProject.java:279)
      at hudson.model.Project.onLoad(Project.java:88)
      at hudson.model.Items.load(Items.java:115)
      at jenkins.model.Jenkins$15.run(Jenkins.java:2438)
      at org.jvnet.hudson.reactor.TaskGraphBuilder$TaskImpl.run(TaskGraphBuilder.java:146)
      at org.jvnet.hudson.reactor.Reactor.runTask(Reactor.java:259)
      at jenkins.model.Jenkins$6.runTask(Jenkins.java:839)
      at org.jvnet.hudson.reactor.Reactor$2.run(Reactor.java:187)
      at org.jvnet.hudson.reactor.Reactor$Node.run(Reactor.java:94)
      at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:886)
      at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:908)
      at java.lang.Thread.run(Thread.java:662)

      Switching back to warnings plugin version 3.27 solves the problem for us.

      Attachments

        Activity

          drulli Ulli Hafner added a comment -

          Will be in release 4.4.

          drulli Ulli Hafner added a comment - Will be in release 4.4.
          dogfood dogfood added a comment -

          Integrated in plugins_warnings #397
          [FIXED JENKINS-13573] Added old 3.x ID of Eclipse parser. (Revision 87eee9594155bf9fd922150fe36fe62e5aa88a91)

          Result = UNSTABLE
          Ulli Hafner :
          Files :

          • src/main/java/hudson/plugins/warnings/WarningsResultAction.java
          • src/test/java/hudson/plugins/warnings/parser/ParserRegistryIntegrationTest.java
          • src/main/java/hudson/plugins/warnings/parser/EclipseParser.java
          • src/main/java/hudson/plugins/warnings/WarningsDescriptor.java
          • src/main/java/hudson/plugins/warnings/parser/DiabCParser.java
          dogfood dogfood added a comment - Integrated in plugins_warnings #397 [FIXED JENKINS-13573] Added old 3.x ID of Eclipse parser. (Revision 87eee9594155bf9fd922150fe36fe62e5aa88a91) Result = UNSTABLE Ulli Hafner : Files : src/main/java/hudson/plugins/warnings/WarningsResultAction.java src/test/java/hudson/plugins/warnings/parser/ParserRegistryIntegrationTest.java src/main/java/hudson/plugins/warnings/parser/EclipseParser.java src/main/java/hudson/plugins/warnings/WarningsDescriptor.java src/main/java/hudson/plugins/warnings/parser/DiabCParser.java

          Code changed in jenkins
          User: Ulli Hafner
          Path:
          src/main/java/hudson/plugins/warnings/WarningsDescriptor.java
          src/main/java/hudson/plugins/warnings/WarningsResultAction.java
          src/main/java/hudson/plugins/warnings/parser/DiabCParser.java
          src/main/java/hudson/plugins/warnings/parser/EclipseParser.java
          src/test/java/hudson/plugins/warnings/parser/ParserRegistryIntegrationTest.java
          http://jenkins-ci.org/commit/warnings-plugin/87eee9594155bf9fd922150fe36fe62e5aa88a91
          Log:
          [FIXED JENKINS-13573] Added old 3.x ID of Eclipse parser.

          scm_issue_link SCM/JIRA link daemon added a comment - Code changed in jenkins User: Ulli Hafner Path: src/main/java/hudson/plugins/warnings/WarningsDescriptor.java src/main/java/hudson/plugins/warnings/WarningsResultAction.java src/main/java/hudson/plugins/warnings/parser/DiabCParser.java src/main/java/hudson/plugins/warnings/parser/EclipseParser.java src/test/java/hudson/plugins/warnings/parser/ParserRegistryIntegrationTest.java http://jenkins-ci.org/commit/warnings-plugin/87eee9594155bf9fd922150fe36fe62e5aa88a91 Log: [FIXED JENKINS-13573] Added old 3.x ID of Eclipse parser.
          drulli Ulli Hafner added a comment -

          Sorry, then name of the parser has been changed. If you don't need the history you can select the parser in your configuration again. Otherwise you need to wait for the next release...

          drulli Ulli Hafner added a comment - Sorry, then name of the parser has been changed. If you don't need the history you can select the parser in your configuration again. Otherwise you need to wait for the next release...

          People

            drulli Ulli Hafner
            alfred_pfeffer Alfred Pfeffer
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: