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

Not compatible with JDK1.5

    XMLWordPrintable

    Details

    • Similar Issues:

      Description

      After the update to version 1.4, I get the following error when trying to build (and when submitting a new configuration for a job)

      FATAL: java.lang.String.isEmpty()Z
      java.lang.NoSuchMethodError: java.lang.String.isEmpty()Z
      at hudson.plugins.jobConfigHistory.JobConfigHistory.getConfiguredHistoryRootDir(JobConfigHistory.java:184)
      at hudson.plugins.jobConfigHistory.JobConfigHistory.getHistoryDir(JobConfigHistory.java:220)
      at hudson.plugins.jobConfigHistory.ConfigHistoryListenerHelper.getRootDir(ConfigHistoryListenerHelper.java:86)
      at hudson.plugins.jobConfigHistory.ConfigHistoryListenerHelper.createNewHistoryEntry(ConfigHistoryListenerHelper.java:108)
      at hudson.plugins.jobConfigHistory.JobConfigHistorySaveableListener.onChange(JobConfigHistorySaveableListener.java:29)
      at hudson.model.listeners.SaveableListener.fireOnChange(SaveableListener.java:80)
      at hudson.model.AbstractItem.save(AbstractItem.java:221)
      at hudson.maven.MavenModuleSetBuild$RunnerImpl.parsePoms(MavenModuleSetBuild.java:568)
      at hudson.maven.MavenModuleSetBuild$RunnerImpl.doRun(MavenModuleSetBuild.java:420)
      at hudson.model.AbstractBuild$AbstractRunner.run(AbstractBuild.java:416)
      at hudson.model.Run.run(Run.java:1241)
      at hudson.maven.MavenModuleSetBuild.run(MavenModuleSetBuild.java:306)
      at hudson.model.ResourceController.execute(ResourceController.java:88)
      at hudson.model.Executor.run(Executor.java:122)

        Attachments

          Activity

          Hide
          vlatombe Vincent Latombe added a comment -

          After checking the source code, it can be easily solved using StringUtils.isNotBlank (from commons-lang).

          In unit tests there are setWritable calls which don't exist in jdk 1.5 but I guess this is completely acceptable.

          Show
          vlatombe Vincent Latombe added a comment - After checking the source code, it can be easily solved using StringUtils.isNotBlank (from commons-lang). In unit tests there are setWritable calls which don't exist in jdk 1.5 but I guess this is completely acceptable.
          Hide
          scm_issue_link SCM/JIRA link daemon added a comment -

          Code changed in hudson
          User: : vlatombe
          Path:
          trunk/hudson/plugins/jobConfigHistory/pom.xml
          trunk/hudson/plugins/jobConfigHistory/src/main/java/hudson/plugins/jobConfigHistory/JobConfigHistory.java
          http://jenkins-ci.org/commit/31480
          Log:
          [Fixed JENKINS-6655] Not compatible with JDK1.5

          Show
          scm_issue_link SCM/JIRA link daemon added a comment - Code changed in hudson User: : vlatombe Path: trunk/hudson/plugins/jobConfigHistory/pom.xml trunk/hudson/plugins/jobConfigHistory/src/main/java/hudson/plugins/jobConfigHistory/JobConfigHistory.java http://jenkins-ci.org/commit/31480 Log: [Fixed JENKINS-6655] Not compatible with JDK1.5
          Hide
          mfriedenhagen Mirko Friedenhagen added a comment -

          Closed in version 1.5.

          Show
          mfriedenhagen Mirko Friedenhagen added a comment - Closed in version 1.5.

            People

            • Assignee:
              mfriedenhagen Mirko Friedenhagen
              Reporter:
              vlatombe Vincent Latombe
            • Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: