com.tek42.perforce.PerforceException: Error in client specification. Error detected at line 9. Null directory (//) not allowed in '//depot/my-project/releases//...'. For Command: /usr/bin/p4 -s client -i With Data: =================== Client: my-project-release Owner: perforce Description: Created by perforce. Root: opt/jenkins-data/jobs/my-project-release/workspace Options: noallwrite clobber nocompress unlocked nomodtime rmdir SubmitOptions: submitunchanged LineEnd: View: //depot/my-project/releases//... //my-project-release/... ===================

Jenkins JIRA | Jeff Maxwell | 5 years ago
  1. 0

    Mapping setting: //depot/my-project/releases/${RELEASE}/... //my-project-release/... Mar 14, 2012 12:17:36 PM hudson.plugins.perforce.PerforceSCM processWorkspaceBeforeDeletion SEVERE: null com.tek42.perforce.PerforceException: Error in client specification. Error detected at line 9. Null directory (//) not allowed in '//depot/my-project/releases//...'. For Command: /usr/bin/p4 -s client -i With Data: =================== Client: my-project-release Owner: perforce Description: Created by perforce. Root: opt/jenkins-data/jobs/my-project-release/workspace Options: noallwrite clobber nocompress unlocked nomodtime rmdir SubmitOptions: submitunchanged LineEnd: View: //depot/my-project/releases//... //my-project-release/... =================== at com.tek42.perforce.parse.AbstractPerforceTemplate.saveToPerforce(AbstractPerforceTemplate.java:261) at com.tek42.perforce.parse.Workspaces.saveWorkspace(Workspaces.java:69) at hudson.plugins.perforce.PerforceSCM.saveWorkspaceIfDirty(PerforceSCM.java:1373) at hudson.plugins.perforce.PerforceSCM.processWorkspaceBeforeDeletion(PerforceSCM.java:2353) at hudson.plugins.perforce.PerforceSCM.checkout(PerforceSCM.java:575) at hudson.model.AbstractProject.checkout(AbstractProject.java:1195) at hudson.model.AbstractBuild$AbstractRunner.checkout(AbstractBuild.java:579) at hudson.model.AbstractBuild$AbstractRunner.run(AbstractBuild.java:468) at hudson.model.Run.run(Run.java:1408) at hudson.maven.MavenModuleSetBuild.run(MavenModuleSetBuild.java:481) at hudson.model.ResourceController.execute(ResourceController.java:88) at hudson.model.Executor.run(Executor.java:238)

    Jenkins JIRA | 5 years ago | Jeff Maxwell
    com.tek42.perforce.PerforceException: Error in client specification. Error detected at line 9. Null directory (//) not allowed in '//depot/my-project/releases//...'. For Command: /usr/bin/p4 -s client -i With Data: =================== Client: my-project-release Owner: perforce Description: Created by perforce. Root: opt/jenkins-data/jobs/my-project-release/workspace Options: noallwrite clobber nocompress unlocked nomodtime rmdir SubmitOptions: submitunchanged LineEnd: View: //depot/my-project/releases//... //my-project-release/... ===================
  2. 0

    h2. Workaround If possible add a default value for the parameter like * h2. Details Mapping setting: //depot/my-project/releases/${RELEASE}/... //my-project-release/... Mar 14, 2012 12:17:36 PM hudson.plugins.perforce.PerforceSCM processWorkspaceBeforeDeletion SEVERE: null com.tek42.perforce.PerforceException: Error in client specification. Error detected at line 9. Null directory (//) not allowed in '//depot/my-project/releases//...'. For Command: /usr/bin/p4 -s client -i With Data: =================== Client: my-project-release Owner: perforce Description: Created by perforce. Root: opt/jenkins-data/jobs/my-project-release/workspace Options: noallwrite clobber nocompress unlocked nomodtime rmdir SubmitOptions: submitunchanged LineEnd: View: //depot/my-project/releases//... //my-project-release/... =================== at com.tek42.perforce.parse.AbstractPerforceTemplate.saveToPerforce(AbstractPerforceTemplate.java:261) at com.tek42.perforce.parse.Workspaces.saveWorkspace(Workspaces.java:69) at hudson.plugins.perforce.PerforceSCM.saveWorkspaceIfDirty(PerforceSCM.java:1373) at hudson.plugins.perforce.PerforceSCM.processWorkspaceBeforeDeletion(PerforceSCM.java:2353) at hudson.plugins.perforce.PerforceSCM.checkout(PerforceSCM.java:575) at hudson.model.AbstractProject.checkout(AbstractProject.java:1195) at hudson.model.AbstractBuild$AbstractRunner.checkout(AbstractBuild.java:579) at hudson.model.AbstractBuild$AbstractRunner.run(AbstractBuild.java:468) at hudson.model.Run.run(Run.java:1408) at hudson.maven.MavenModuleSetBuild.run(MavenModuleSetBuild.java:481) at hudson.model.ResourceController.execute(ResourceController.java:88) at hudson.model.Executor.run(Executor.java:238)

    Jenkins JIRA | 5 years ago | Jeff Maxwell
    com.tek42.perforce.PerforceException: Error in client specification. Error detected at line 9. Null directory (//) not allowed in '//depot/my-project/releases//...'. For Command: /usr/bin/p4 -s client -i With Data: =================== Client: my-project-release Owner: perforce Description: Created by perforce. Root: opt/jenkins-data/jobs/my-project-release/workspace Options: noallwrite clobber nocompress unlocked nomodtime rmdir SubmitOptions: submitunchanged LineEnd: View: //depot/my-project/releases//... //my-project-release/... ===================
  3. 0

    Mapping setting: //depot/my-project/releases/${RELEASE}/... //my-project-release/... Mar 14, 2012 12:17:36 PM hudson.plugins.perforce.PerforceSCM processWorkspaceBeforeDeletion SEVERE: null com.tek42.perforce.PerforceException: Error in client specification. Error detected at line 9. Null directory (//) not allowed in '//depot/my-project/releases//...'. For Command: /usr/bin/p4 -s client -i With Data: =================== Client: my-project-release Owner: perforce Description: Created by perforce. Root: opt/jenkins-data/jobs/my-project-release/workspace Options: noallwrite clobber nocompress unlocked nomodtime rmdir SubmitOptions: submitunchanged LineEnd: View: //depot/my-project/releases//... //my-project-release/... =================== at com.tek42.perforce.parse.AbstractPerforceTemplate.saveToPerforce(AbstractPerforceTemplate.java:261) at com.tek42.perforce.parse.Workspaces.saveWorkspace(Workspaces.java:69) at hudson.plugins.perforce.PerforceSCM.saveWorkspaceIfDirty(PerforceSCM.java:1373) at hudson.plugins.perforce.PerforceSCM.processWorkspaceBeforeDeletion(PerforceSCM.java:2353) at hudson.plugins.perforce.PerforceSCM.checkout(PerforceSCM.java:575) at hudson.model.AbstractProject.checkout(AbstractProject.java:1195) at hudson.model.AbstractBuild$AbstractRunner.checkout(AbstractBuild.java:579) at hudson.model.AbstractBuild$AbstractRunner.run(AbstractBuild.java:468) at hudson.model.Run.run(Run.java:1408) at hudson.maven.MavenModuleSetBuild.run(MavenModuleSetBuild.java:481) at hudson.model.ResourceController.execute(ResourceController.java:88) at hudson.model.Executor.run(Executor.java:238)

    Jenkins JIRA | 5 years ago | Jeff Maxwell
    com.tek42.perforce.PerforceException: Error in client specification. Error detected at line 9. Null directory (//) not allowed in '//depot/my-project/releases//...'. For Command: /usr/bin/p4 -s client -i With Data: =================== Client: my-project-release Owner: perforce Description: Created by perforce. Root: opt/jenkins-data/jobs/my-project-release/workspace Options: noallwrite clobber nocompress unlocked nomodtime rmdir SubmitOptions: submitunchanged LineEnd: View: //depot/my-project/releases//... //my-project-release/... ===================
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

  5. 0

    h2. Workaround If possible add a default value for the parameter like * h2. Details Mapping setting: //depot/my-project/releases/${RELEASE}/... //my-project-release/... Mar 14, 2012 12:17:36 PM hudson.plugins.perforce.PerforceSCM processWorkspaceBeforeDeletion SEVERE: null com.tek42.perforce.PerforceException: Error in client specification. Error detected at line 9. Null directory (//) not allowed in '//depot/my-project/releases//...'. For Command: /usr/bin/p4 -s client -i With Data: =================== Client: my-project-release Owner: perforce Description: Created by perforce. Root: opt/jenkins-data/jobs/my-project-release/workspace Options: noallwrite clobber nocompress unlocked nomodtime rmdir SubmitOptions: submitunchanged LineEnd: View: //depot/my-project/releases//... //my-project-release/... =================== at com.tek42.perforce.parse.AbstractPerforceTemplate.saveToPerforce(AbstractPerforceTemplate.java:261) at com.tek42.perforce.parse.Workspaces.saveWorkspace(Workspaces.java:69) at hudson.plugins.perforce.PerforceSCM.saveWorkspaceIfDirty(PerforceSCM.java:1373) at hudson.plugins.perforce.PerforceSCM.processWorkspaceBeforeDeletion(PerforceSCM.java:2353) at hudson.plugins.perforce.PerforceSCM.checkout(PerforceSCM.java:575) at hudson.model.AbstractProject.checkout(AbstractProject.java:1195) at hudson.model.AbstractBuild$AbstractRunner.checkout(AbstractBuild.java:579) at hudson.model.AbstractBuild$AbstractRunner.run(AbstractBuild.java:468) at hudson.model.Run.run(Run.java:1408) at hudson.maven.MavenModuleSetBuild.run(MavenModuleSetBuild.java:481) at hudson.model.ResourceController.execute(ResourceController.java:88) at hudson.model.Executor.run(Executor.java:238)

    Jenkins JIRA | 5 years ago | Jeff Maxwell
    com.tek42.perforce.PerforceException: Error in client specification. Error detected at line 9. Null directory (//) not allowed in '//depot/my-project/releases//...'. For Command: /usr/bin/p4 -s client -i With Data: =================== Client: my-project-release Owner: perforce Description: Created by perforce. Root: opt/jenkins-data/jobs/my-project-release/workspace Options: noallwrite clobber nocompress unlocked nomodtime rmdir SubmitOptions: submitunchanged LineEnd: View: //depot/my-project/releases//... //my-project-release/... ===================
  6. 0

    Not able to make Jenkins perforce plugin to work with ssh

    Stack Overflow | 3 years ago | ialok
    com.tek42.perforce.PerforceException: TCP receive failed. read: socket: Connection reset by peer For Command: /usr/bin/p4 -s client -i With Data: =================== Client: ialok_jenkins Description: Root: /var/lib/jenkins/jobs/fin/workspace Options: noallwrite clobber nocompress unlocked nomodtime rmdir LineEnd: local View: //sandbox/srkamise/... //ialok_jenkins/srkamise/... ===================

    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. com.tek42.perforce.PerforceException

      Error in client specification. Error detected at line 9. Null directory (//) not allowed in '//depot/my-project/releases//...'. For Command: /usr/bin/p4 -s client -i With Data: =================== Client: my-project-release Owner: perforce Description: Created by perforce. Root: opt/jenkins-data/jobs/my-project-release/workspace Options: noallwrite clobber nocompress unlocked nomodtime rmdir SubmitOptions: submitunchanged LineEnd: View: //depot/my-project/releases//... //my-project-release/... ===================

      at com.tek42.perforce.parse.AbstractPerforceTemplate.saveToPerforce()
    2. com.tek42.perforce
      Workspaces.saveWorkspace
      1. com.tek42.perforce.parse.AbstractPerforceTemplate.saveToPerforce(AbstractPerforceTemplate.java:261)
      2. com.tek42.perforce.parse.Workspaces.saveWorkspace(Workspaces.java:69)
      2 frames
    3. hudson.plugins.perforce
      PerforceSCM.checkout
      1. hudson.plugins.perforce.PerforceSCM.saveWorkspaceIfDirty(PerforceSCM.java:1373)
      2. hudson.plugins.perforce.PerforceSCM.processWorkspaceBeforeDeletion(PerforceSCM.java:2353)
      3. hudson.plugins.perforce.PerforceSCM.checkout(PerforceSCM.java:575)
      3 frames
    4. Hudson
      Run.run
      1. hudson.model.AbstractProject.checkout(AbstractProject.java:1195)
      2. hudson.model.AbstractBuild$AbstractRunner.checkout(AbstractBuild.java:579)
      3. hudson.model.AbstractBuild$AbstractRunner.run(AbstractBuild.java:468)
      4. hudson.model.Run.run(Run.java:1408)
      4 frames
    5. Hudson Maven Embedder
      MavenModuleSetBuild.run
      1. hudson.maven.MavenModuleSetBuild.run(MavenModuleSetBuild.java:481)
      1 frame
    6. Hudson
      Executor.run
      1. hudson.model.ResourceController.execute(ResourceController.java:88)
      2. hudson.model.Executor.run(Executor.java:238)
      2 frames