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

NullPointerException in Update CMD when hostname was resolved to IP

    XMLWordPrintable

Details

    • Bug
    • Resolution: Fixed
    • Minor
    • accurev-plugin
    • Jenkins 2.7.4, any version version of accurev

    Description

      Issue is related to unix: Set hostname FQDN
      Can be resolved with setting hostname FQDN

      The exception does not reveal the actual issue but looking into the workspace part I was able to determine that Accurev does not approve of workspaces being assigned to IP addresses.

      [workspacepolltest] $ /Applications/AccuRev/bin/accurev update -H snip:5050 -fx
      FATAL: <?xml version="1.0" encoding="utf-8"?>
      <acResponse
          command="update"
          TaskId="1737"/>
      You are not in a directory associated with a workspace
      FATAL: Failed authentication. (failed with exit code 1 )
      FATAL: null
      java.lang.NullPointerException
      	at hudson.plugins.accurev.cmd.Update.performUpdate(Update.java:111)
      	at hudson.plugins.accurev.delegates.ReftreeDelegate.doUpdate(ReftreeDelegate.java:148)
      	at hudson.plugins.accurev.delegates.ReftreeDelegate.checkout(ReftreeDelegate.java:142)
      	at hudson.plugins.accurev.delegates.AbstractModeDelegate.checkout(AbstractModeDelegate.java:191)
      	at hudson.plugins.accurev.AccurevSCM.checkout(AccurevSCM.java:338)
      	at hudson.scm.SCM.checkout(SCM.java:485)
      	at hudson.model.AbstractProject.checkout(AbstractProject.java:1269)
      	at hudson.model.AbstractBuild$AbstractBuildExecution.defaultCheckout(AbstractBuild.java:604)
      	at jenkins.scm.SCMCheckoutStrategy.checkout(SCMCheckoutStrategy.java:86)
      	at hudson.model.AbstractBuild$AbstractBuildExecution.run(AbstractBuild.java:529)
      	at hudson.model.Run.execute(Run.java:1741)
      	at hudson.model.FreeStyleBuild.run(FreeStyleBuild.java:43)
      	at hudson.model.ResourceController.execute(ResourceController.java:98)
      	at hudson.model.Executor.run(Executor.java:410)
      Finished: FAILURE
      

      Attachments

        Activity

          People

            jetersen Joseph Petersen
            casz Joseph Petersen (old)
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: