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

UnsupportedOperationException when running build

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Unresolved
    • Icon: Blocker Blocker
    • dbcharts-plugin
    • None

      I'm hoping this is something dumb on my end and not a bug. When trying to use the dbChart plugin I always get a failure, with the UnsupportedOperationException getting thrown.

      System Specs:
      --------------
      Ubuntu 10.04
      Hudson 1.360
      MySQL 5.1.41
      Java 1.6

      To recreate:
      -------------

      • Install the plugin
      • Create a database called dbcharts in MySQL
      • Create a new JDBC Connection in the Hudson configuration. Test connection to validate settings.
      • Create a new freestyle project
      • Leave all project settings in their default state.
      • Add an entry under Database charts, using the default settings
      • Save the settings for the new project
      • Run the build

      I ran this on a fresh Ubuntu install and still received the same error. Perhaps the plugin needs updating to work with the latest version of Hudson?

      Here's the output in the Hudson logs below:

      ----------------------------------------------------------------------------------

      May 31, 2010 10:13:17 PM hudson.plugins.dbcharts.DbChartPublisher getDescriptor
      INFO: DbChartPublisher.getDescriptor() called

      May 31, 2010 10:13:17 PM hudson.model.AbstractBuild$AbstractRunner performAllBuildSteps
      WARNING: Publisher hudson.plugins.dbcharts.DbChartPublisher aborted due to exception
      java.lang.UnsupportedOperationException
      at hudson.tasks.BuildStepCompatibilityLayer.perform(BuildStepCompatibilityLayer.java:97)
      at hudson.tasks.BuildStepCompatibilityLayer.perform(BuildStepCompatibilityLayer.java:61)
      at hudson.tasks.BuildStepMonitor$1.perform(BuildStepMonitor.java:19)
      at hudson.model.AbstractBuild$AbstractRunner.perform(AbstractBuild.java:601)
      at hudson.model.AbstractBuild$AbstractRunner.performAllBuildSteps(AbstractBuild.java:580)
      at hudson.model.AbstractBuild$AbstractRunner.performAllBuildSteps(AbstractBuild.java:558)
      at hudson.model.Build$RunnerImpl.post2(Build.java:158)
      at hudson.model.AbstractBuild$AbstractRunner.post(AbstractBuild.java:528)
      at hudson.model.Run.run(Run.java:1264)
      at hudson.model.FreeStyleBuild.run(FreeStyleBuild.java:46)
      at hudson.model.ResourceController.execute(ResourceController.java:88)
      at hudson.model.Executor.run(Executor.java:124)

      May 31, 2010 10:13:17 PM hudson.plugins.dbcharts.DbChartPublisher getDescriptor
      INFO: DbChartPublisher.getDescriptor() called

      May 31, 2010 10:13:17 PM hudson.model.Run run
      INFO: test #2 main build action completed: SUCCESS

      May 31, 2010 10:13:17 PM hudson.plugins.dbcharts.DbChartPublisher getDescriptor
      INFO: DbChartPublisher.getDescriptor() called

            ptab ptab
            bigsassy bigsassy
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Created:
              Updated: