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

clearcas plugin - executing a build leads to java.lang.NullPointerException

    XMLWordPrintable

Details

    • Bug
    • Status: Resolved (View Workflow)
    • Major
    • Resolution: Fixed
    • clearcase-plugin
    • Solaris 10
      Microsoft Windows Server 2003 R2
      ClearCase version 7.1.1

    Description

      Since ClearCase plugin version 1.3.12 executing a build job leads to java.lang.NullPointerException immediately (No problem with 1.3.11).

      Console Output:

      Started by user anonymous
      Building in workspace C:\Documents and Settings\smatthes\.jenkins\jobs\wintest\workspace
      FATAL: null
      java.lang.NullPointerException
      at hudson.plugins.clearcase.AbstractClearCaseScm$AbstractClearCaseScmDescriptor.getCleartoolExe(AbstractClearCaseScm.java:111)
      at hudson.plugins.clearcase.AbstractClearCaseScm.createClearToolLauncher(AbstractClearCaseScm.java:794)
      at hudson.plugins.clearcase.AbstractClearCaseScm.checkout(AbstractClearCaseScm.java:623)
      at hudson.model.AbstractProject.checkout(AbstractProject.java:1331)
      at hudson.model.AbstractBuild$AbstractBuildExecution.defaultCheckout(AbstractBuild.java:682)
      at jenkins.scm.SCMCheckoutStrategy.checkout(SCMCheckoutStrategy.java:88)
      at hudson.model.AbstractBuild$AbstractBuildExecution.run(AbstractBuild.java:587)
      at hudson.model.Run.execute(Run.java:1557)
      at hudson.model.FreeStyleBuild.run(FreeStyleBuild.java:46)
      at hudson.model.ResourceController.execute(ResourceController.java:88)
      at hudson.model.Executor.run(Executor.java:236)

      Attachments

        Activity

          Code changed in jenkins
          User: Vincent Latombe
          Path:
          src/main/java/hudson/plugins/clearcase/ClearCaseInstallation.java
          http://jenkins-ci.org/commit/clearcase-plugin/fd0a41cccf9f1150658a2775618ba6f41057f081
          Log:
          [FIX JENKINS-16624] executing a build leads to NPE

          Initialize a ClearcaseInstallation properly in case it has never been
          initalized through a global settings save.


          You received this message because you are subscribed to the Google Groups "Jenkins Commits" group.
          To unsubscribe from this group and stop receiving emails from it, send an email to jenkinsci-commits+unsubscribe@googlegroups.com.
          For more options, visit https://groups.google.com/groups/opt_out.

          scm_issue_link SCM/JIRA link daemon added a comment - Code changed in jenkins User: Vincent Latombe Path: src/main/java/hudson/plugins/clearcase/ClearCaseInstallation.java http://jenkins-ci.org/commit/clearcase-plugin/fd0a41cccf9f1150658a2775618ba6f41057f081 Log: [FIX JENKINS-16624] executing a build leads to NPE Initialize a ClearcaseInstallation properly in case it has never been initalized through a global settings save. – You received this message because you are subscribed to the Google Groups "Jenkins Commits" group. To unsubscribe from this group and stop receiving emails from it, send an email to jenkinsci-commits+unsubscribe@googlegroups.com. For more options, visit https://groups.google.com/groups/opt_out .

          Fixed towards 1.3.15.

          An easy workaround is to browse to global settings than save. This should fix the issue definitely on your instance.

          vlatombe Vincent Latombe added a comment - Fixed towards 1.3.15. An easy workaround is to browse to global settings than save. This should fix the issue definitely on your instance.

          People

            vlatombe Vincent Latombe
            simatthes Silvio Matthes
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: