com.tek42.perforce.PerforceException: Could not get value of counter!

Jenkins JIRA | lestin | 6 years ago
  1. 0
  2. 0
  3. 0

    Configuring Jenkins and Perforce to automatically run my my junit tests

    Stack Overflow | 3 years ago | Ram
    com.tek42.perforce.PerforceException: Error in client specification. Error detected at line 9. Null directory (//) not allowed in '//something/PPS/CriticalEventTool/'. Null directory (//) not allowed in '//something/PPS/CriticalEventTool/'. For Command: C:\Program Files\Perforce\p4.exe -P AEA1F4274926EC4525326163DF42D5A4 -s client -i With Data: =================== Client: FRA_Jenkins_CriticalTool Owner: user1 Description: Created by user1. Root: <http://localhost:8080/job/Critical%20Events%20Tool/ws/> Options: noallwrite clobber nocompress unlocked nomodtime rmdir SubmitOptions: submitunchanged LineEnd: local View: //something/PPS/CriticalEventTool/ //FRA_Jenkins_CriticalTool/PPS/CriticalEventTool/ ===================
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

  5. 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/... ===================
  6. 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/... ===================

    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

      Could not get value of counter!

      at com.tek42.perforce.parse.CounterBuilder.build()
    2. com.tek42.perforce
      Counters.getCounter
      1. com.tek42.perforce.parse.CounterBuilder.build(CounterBuilder.java:45)
      2. com.tek42.perforce.parse.Counters.getCounter(Counters.java:60)
      2 frames
    3. hudson.plugins.perforce
      PerforceSCM.checkout
      1. hudson.plugins.perforce.PerforceSCM.checkout(PerforceSCM.java:546)
      1 frame
    4. Hudson
      Executor.run
      1. hudson.model.AbstractProject.checkout(AbstractProject.java:1061)
      2. hudson.model.AbstractBuild$AbstractRunner.checkout(AbstractBuild.java:479)
      3. hudson.model.AbstractBuild$AbstractRunner.run(AbstractBuild.java:411)
      4. hudson.model.Run.run(Run.java:1273)
      5. hudson.model.FreeStyleBuild.run(FreeStyleBuild.java:46)
      6. hudson.model.ResourceController.execute(ResourceController.java:88)
      7. hudson.model.Executor.run(Executor.java:129)
      7 frames