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

Visiting dashboard while task is running -> java.lang.AbstractMethodError: hudson.plugins.batch_task.BatchRun.getEstimatedDuration()J

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: Major Major
    • batch-task-plugin
    • None

      If I run a task and then visit the dashboard while the task is still running, I get the exception I've attached to this ticket.

        1. batch-task.hpi
          49 kB
        2. cy.txt
          13 kB

          [JENKINS-8033] Visiting dashboard while task is running -> java.lang.AbstractMethodError: hudson.plugins.batch_task.BatchRun.getEstimatedDuration()J

          kutzi added a comment -

          Which versions are you using (Hudson and Batch-Task plugin)?

          I guess this could be related to a change by me, so I could step in to fix it, if Kohsuke doesn't want it.

          kutzi added a comment - Which versions are you using (Hudson and Batch-Task plugin)? I guess this could be related to a change by me, so I could step in to fix it, if Kohsuke doesn't want it.

          tieTYT added a comment -

          Hudson ver. 1.384
          Hudson batch task plugin 1.13

          tieTYT added a comment - Hudson ver. 1.384 Hudson batch task plugin 1.13

          kutzi added a comment -

          If you have a test instance of Hudson it would be great if you could try the attached plugin snapshot.
          Wouldn't recommend to use it on a production instance, though, as I have to do some tests first.

          kutzi added a comment - If you have a test instance of Hudson it would be great if you could try the attached plugin snapshot. Wouldn't recommend to use it on a production instance, though, as I have to do some tests first.

          Code changed in hudson
          User: : kutzi
          Path:
          trunk/hudson/plugins/batch-task/pom.xml
          trunk/hudson/plugins/batch-task/src/main/java/hudson/plugins/batch_task/BatchRun.java
          trunk/hudson/plugins/batch-task/src/main/java/hudson/plugins/batch_task/BatchTask.java
          http://jenkins-ci.org/commit/36801
          Log:
          Updgrade to Hudson 1.383 and implement new interface methods. Probably fixes JENKINS-8033 but makes a unit test fail.

          SCM/JIRA link daemon added a comment - Code changed in hudson User: : kutzi Path: trunk/hudson/plugins/batch-task/pom.xml trunk/hudson/plugins/batch-task/src/main/java/hudson/plugins/batch_task/BatchRun.java trunk/hudson/plugins/batch-task/src/main/java/hudson/plugins/batch_task/BatchTask.java http://jenkins-ci.org/commit/36801 Log: Updgrade to Hudson 1.383 and implement new interface methods. Probably fixes JENKINS-8033 but makes a unit test fail.

          Alan Harder added a comment -

          Unit test fails due to core bug fixed in http://jenkins-ci.org/commit/36623 .. test should work once parent version can be bumped to 1.385.

          Alan Harder added a comment - Unit test fails due to core bug fixed in http://jenkins-ci.org/commit/36623 .. test should work once parent version can be bumped to 1.385.

          kutzi added a comment -

          Thanks, mindless. So you think it's okay if I disable the test and push out a new release of the plugin?

          kutzi added a comment - Thanks, mindless. So you think it's okay if I disable the test and push out a new release of the plugin?

          kutzi added a comment -

          Fixed in Batch Task Plugin 1.14

          kutzi added a comment - Fixed in Batch Task Plugin 1.14

          Code changed in hudson
          User: : kutzi
          Path:
          trunk/www/changelog.html
          http://jenkins-ci.org/commit/36911
          Log:
          [FIXED JENKINS-8033] Prevent AbstractMethodError if a plugin implements a Queue.Executor which does not extend AbstractBuild.

          SCM/JIRA link daemon added a comment - Code changed in hudson User: : kutzi Path: trunk/www/changelog.html http://jenkins-ci.org/commit/36911 Log: [FIXED JENKINS-8033] Prevent AbstractMethodError if a plugin implements a Queue.Executor which does not extend AbstractBuild.

          dogfood added a comment -

          Integrated in hudson_main_trunk #397
          [FIXED JENKINS-8033] Prevent AbstractMethodError if a plugin implements a Queue.Executor which does not extend AbstractBuild.

          kutzi :
          Files :

          • /trunk/hudson/main/core/src/main/java/hudson/model/Queue.java
          • /trunk/hudson/main/core/src/main/java/hudson/model/Executor.java

          dogfood added a comment - Integrated in hudson_main_trunk #397 [FIXED JENKINS-8033] Prevent AbstractMethodError if a plugin implements a Queue.Executor which does not extend AbstractBuild. kutzi : Files : /trunk/hudson/main/core/src/main/java/hudson/model/Queue.java /trunk/hudson/main/core/src/main/java/hudson/model/Executor.java

            kutzi kutzi
            tietyt tieTYT
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved: