java.lang.UnsupportedOperationException

Jenkins JIRA | bigsassy | 7 years ago
  1. 0

    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

    Jenkins JIRA | 7 years ago | bigsassy
    java.lang.UnsupportedOperationException
  2. 0

    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

    Jenkins JIRA | 7 years ago | bigsassy
    java.lang.UnsupportedOperationException
  3. Speed up your debug routine!

    Automated exception search integrated into your IDE

  4. 0

    JBoss Arquillian @InSequence with JUnit 4.12

    Stack Overflow | 2 years ago
    java.lang.UnsupportedOperationException
  5. 0

    Converting byte[] to float[]

    Stack Overflow | 3 years ago | John Bale
    java.lang.UnsupportedOperationException

    Not finding the right solution?
    Take a tour to get the most out of Samebug.

    Tired of useless tips?

    Automated exception search integrated into your IDE

    Root Cause Analysis

    1. java.lang.UnsupportedOperationException

      No message provided

      at hudson.tasks.BuildStepCompatibilityLayer.perform()
    2. Hudson
      Executor.run
      1. hudson.tasks.BuildStepCompatibilityLayer.perform(BuildStepCompatibilityLayer.java:97)
      2. hudson.tasks.BuildStepCompatibilityLayer.perform(BuildStepCompatibilityLayer.java:61)
      3. hudson.tasks.BuildStepMonitor$1.perform(BuildStepMonitor.java:19)
      4. hudson.model.AbstractBuild$AbstractRunner.perform(AbstractBuild.java:601)
      5. hudson.model.AbstractBuild$AbstractRunner.performAllBuildSteps(AbstractBuild.java:580)
      6. hudson.model.AbstractBuild$AbstractRunner.performAllBuildSteps(AbstractBuild.java:558)
      7. hudson.model.Build$RunnerImpl.post2(Build.java:158)
      8. hudson.model.AbstractBuild$AbstractRunner.post(AbstractBuild.java:528)
      9. hudson.model.Run.run(Run.java:1264)
      10. hudson.model.FreeStyleBuild.run(FreeStyleBuild.java:46)
      11. hudson.model.ResourceController.execute(ResourceController.java:88)
      12. hudson.model.Executor.run(Executor.java:124)
      12 frames