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

Rule throws exception when open tasks is used for the first time

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed (View Workflow)
    • Priority: Major
    • Resolution: Fixed
    • Component/s: ci-game-plugin
    • Labels:
      None
    • Environment:
      Platform: All, OS: Windows XP
    • Similar Issues:

      Description

      Added open tasks plugin to a job, and did a build:

      [TASKS] Scanning workspace files for tasks...
      [TASKS] No annotations have been found.
      FATAL: There is no previous build for action hudson.plugins.tasks.TasksResultAction@82c23d
      java.util.NoSuchElementException: There is no previous build for action hudson.plugins.tasks.TasksResultAction@82c23d
      at hudson.plugins.tasks.TasksResultAction.getPreviousResultAction(TasksResultAction.java:74)
      at hudson.plugins.cigame.rules.plugins.opentasks.DefaultOpenTasksRule.evaluate(DefaultOpenTasksRule.java:38)
      at hudson.plugins.cigame.model.ScoreCard.record(ScoreCard.java:34)
      at hudson.plugins.cigame.model.ScoreCard.record(ScoreCard.java:51)
      at hudson.plugins.cigame.GamePublisher.perform(GamePublisher.java:45)
      at hudson.model.AbstractBuild$AbstractRunner.performAllBuildStep(AbstractBuild.java:309)
      at hudson.model.AbstractBuild$AbstractRunner.performAllBuildStep(AbstractBuild.java:297)
      at hudson.model.Build$RunnerImpl.cleanUp(Build.java:123)
      at hudson.model.Run.run(Run.java:808)
      at hudson.model.Build.run(Build.java:85)
      at hudson.model.ResourceController.execute(ResourceController.java:70)
      at hudson.model.Executor.run(Executor.java:82)

        Attachments

          Activity

          Hide
          scm_issue_link SCM/JIRA link daemon added a comment -

          Code changed in hudson
          User: : redsolo
          Path:
          trunk/hudson/plugins/ci-game/src/main/java/hudson/plugins/cigame/rules/plugins/checkstyle/DefaultCheckstyleRule.java
          trunk/hudson/plugins/ci-game/src/main/java/hudson/plugins/cigame/rules/plugins/findbugs/FixedFindBugsWarningsRule.java
          trunk/hudson/plugins/ci-game/src/main/java/hudson/plugins/cigame/rules/plugins/findbugs/NewFindBugsWarningsRule.java
          trunk/hudson/plugins/ci-game/src/main/java/hudson/plugins/cigame/rules/plugins/opentasks/DefaultOpenTasksRule.java
          trunk/hudson/plugins/ci-game/src/main/java/hudson/plugins/cigame/rules/plugins/pmd/DefaultPmdRule.java
          trunk/hudson/plugins/ci-game/src/main/java/hudson/plugins/cigame/rules/plugins/warnings/DefaultWarningsRule.java
          http://fisheye4.cenqua.com/changelog/hudson/?cs=10008
          Log:
          [FIXED JENKINS-1810] Warnings, FindBugs, PMD, Open tasks, Checkstyle rules no longer throws exception when it is used for the first time

          Show
          scm_issue_link SCM/JIRA link daemon added a comment - Code changed in hudson User: : redsolo Path: trunk/hudson/plugins/ci-game/src/main/java/hudson/plugins/cigame/rules/plugins/checkstyle/DefaultCheckstyleRule.java trunk/hudson/plugins/ci-game/src/main/java/hudson/plugins/cigame/rules/plugins/findbugs/FixedFindBugsWarningsRule.java trunk/hudson/plugins/ci-game/src/main/java/hudson/plugins/cigame/rules/plugins/findbugs/NewFindBugsWarningsRule.java trunk/hudson/plugins/ci-game/src/main/java/hudson/plugins/cigame/rules/plugins/opentasks/DefaultOpenTasksRule.java trunk/hudson/plugins/ci-game/src/main/java/hudson/plugins/cigame/rules/plugins/pmd/DefaultPmdRule.java trunk/hudson/plugins/ci-game/src/main/java/hudson/plugins/cigame/rules/plugins/warnings/DefaultWarningsRule.java http://fisheye4.cenqua.com/changelog/hudson/?cs=10008 Log: [FIXED JENKINS-1810] Warnings, FindBugs, PMD, Open tasks, Checkstyle rules no longer throws exception when it is used for the first time

            People

            • Assignee:
              redsolo redsolo
              Reporter:
              redsolo redsolo
            • Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: