map.com.tek42.perforce.PerforceException: Could not parse Where map.

Jenkins JIRA | halostatue | 5 years ago
  1. 0

    As part of the polling process, this happened: {noformat} 00:04:27 [Nightly-Build-yellow-submarine-on-CentOS48-i386] $ /usr/local/bin/p4 -G where "//depot/sdat/SRS/Web/SRS/images/staples/Proc�d� Pour Soumettre Un.pdf" 00:04:28 Caught exception communicating with perforce. Could not parse Where map.com.tek42.perforce.PerforceException: Could not parse Where map. 00:04:28 at hudson.plugins.perforce.PerforceSCMHelper.parseWhereMapping(PerforceSCMHelper.java:144) 00:04:28 at com.tek42.perforce.parse.Changes.getWorkspacePathForFile(Changes.java:91) 00:04:28 at com.tek42.perforce.parse.Changes.calculateWorkspacePaths(Changes.java:83) 00:04:28 at com.tek42.perforce.parse.Changes.getChangelist(Changes.java:68) 00:04:28 at com.tek42.perforce.parse.Changes.getChangelistsFromNumbers(Changes.java:422) 00:04:28 at hudson.plugins.perforce.PerforceSCM.checkout(PerforceSCM.java:633) 00:04:28 at hudson.model.AbstractProject.checkout(AbstractProject.java:1193) 00:04:28 at hudson.model.AbstractBuild$AbstractRunner.checkout(AbstractBuild.java:555) 00:04:28 at hudson.model.AbstractBuild$AbstractRunner.run(AbstractBuild.java:443) 00:04:28 at hudson.model.Run.run(Run.java:1376) 00:04:28 at hudson.model.FreeStyleBuild.run(FreeStyleBuild.java:46) 00:04:28 at hudson.model.ResourceController.execute(ResourceController.java:88) 00:04:28 at hudson.model.Executor.run(Executor.java:230) {noformat} I'm not sure what the answer to this is, and I've made it not affect my build (hence the minor), but this is a problem. The output from p4 files //depot/sdat/SRS/Web/SRS/images/staples/* shows the question marks as well on my Linux box, but shows Procúdú on Windows (which is definitely wrong). The data's bad, but the NPE is equally bad.

    Jenkins JIRA | 5 years ago | halostatue
    map.com.tek42.perforce.PerforceException: Could not parse Where map.
  2. 0

    As part of the polling process, this happened: {noformat} 00:04:27 [Nightly-Build-yellow-submarine-on-CentOS48-i386] $ /usr/local/bin/p4 -G where "//depot/sdat/SRS/Web/SRS/images/staples/Proc�d� Pour Soumettre Un.pdf" 00:04:28 Caught exception communicating with perforce. Could not parse Where map.com.tek42.perforce.PerforceException: Could not parse Where map. 00:04:28 at hudson.plugins.perforce.PerforceSCMHelper.parseWhereMapping(PerforceSCMHelper.java:144) 00:04:28 at com.tek42.perforce.parse.Changes.getWorkspacePathForFile(Changes.java:91) 00:04:28 at com.tek42.perforce.parse.Changes.calculateWorkspacePaths(Changes.java:83) 00:04:28 at com.tek42.perforce.parse.Changes.getChangelist(Changes.java:68) 00:04:28 at com.tek42.perforce.parse.Changes.getChangelistsFromNumbers(Changes.java:422) 00:04:28 at hudson.plugins.perforce.PerforceSCM.checkout(PerforceSCM.java:633) 00:04:28 at hudson.model.AbstractProject.checkout(AbstractProject.java:1193) 00:04:28 at hudson.model.AbstractBuild$AbstractRunner.checkout(AbstractBuild.java:555) 00:04:28 at hudson.model.AbstractBuild$AbstractRunner.run(AbstractBuild.java:443) 00:04:28 at hudson.model.Run.run(Run.java:1376) 00:04:28 at hudson.model.FreeStyleBuild.run(FreeStyleBuild.java:46) 00:04:28 at hudson.model.ResourceController.execute(ResourceController.java:88) 00:04:28 at hudson.model.Executor.run(Executor.java:230) {noformat} I'm not sure what the answer to this is, and I've made it not affect my build (hence the minor), but this is a problem. The output from p4 files //depot/sdat/SRS/Web/SRS/images/staples/* shows the question marks as well on my Linux box, but shows Procúdú on Windows (which is definitely wrong). The data's bad, but the NPE is equally bad.

    Jenkins JIRA | 5 years ago | halostatue
    map.com.tek42.perforce.PerforceException: Could not parse Where map.
  3. 0

    Jenkins Perforce plugin can not parse where map on windows slave. It is not problem to do it on any other slave (running customized ubuntu), so problem is likely not on server. Tried multiple versions of P4 client (currently 2016.1). $ p4 -G where //... Caught exception communicating with perforce. Could not parse Where map.com.tek42.perforce.PerforceException: Could not parse Where map. at hudson.plugins.perforce.PerforceSCMHelper.parseWhereMapping(PerforceSCMHelper.java:174) at com.tek42.perforce.parse.Changes.calculateWorkspacePaths(Changes.java:83) at com.tek42.perforce.parse.Changes.getChangelist(Changes.java:72) at com.tek42.perforce.parse.Changes.getChangelistsFromNumbers(Changes.java:431) at hudson.plugins.perforce.PerforceSCM.checkout(PerforceSCM.java:1073) at hudson.model.AbstractProject.checkout(AbstractProject.java:1269) at hudson.model.AbstractBuild$AbstractBuildExecution.defaultCheckout(AbstractBuild.java:607) at jenkins.scm.SCMCheckoutStrategy.checkout(SCMCheckoutStrategy.java:86) at hudson.model.AbstractBuild$AbstractBuildExecution.run(AbstractBuild.java:529) at hudson.model.Run.execute(Run.java:1738) at hudson.matrix.MatrixBuild.run(MatrixBuild.java:301) at hudson.model.ResourceController.execute(ResourceController.java:98) at hudson.model.Executor.run(Executor.java:410) Caused by: java.io.IOException: Expected 's', but got '108'. at hudson.plugins.perforce.PerforceSCMHelper.readPythonDictionary(PerforceSCMHelper.java:113) at hudson.plugins.perforce.PerforceSCMHelper.parseWhereMapping(PerforceSCMHelper.java:149) ... 12 more ERROR: Unable to communicate with perforce. Could not parse Where map.

    Jenkins JIRA | 5 months ago | Ondrej Kunc
    map.com.tek42.perforce.PerforceException: Could not parse Where map.
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

    Root Cause Analysis

    1. map.com.tek42.perforce.PerforceException

      Could not parse Where map.

      at hudson.plugins.perforce.PerforceSCMHelper.parseWhereMapping()
    2. hudson.plugins.perforce
      PerforceSCMHelper.parseWhereMapping
      1. hudson.plugins.perforce.PerforceSCMHelper.parseWhereMapping(PerforceSCMHelper.java:144)
      1 frame
    3. com.tek42.perforce
      Changes.getChangelistsFromNumbers
      1. com.tek42.perforce.parse.Changes.getWorkspacePathForFile(Changes.java:91)
      2. com.tek42.perforce.parse.Changes.calculateWorkspacePaths(Changes.java:83)
      3. com.tek42.perforce.parse.Changes.getChangelist(Changes.java:68)
      4. com.tek42.perforce.parse.Changes.getChangelistsFromNumbers(Changes.java:422)
      4 frames
    4. hudson.plugins.perforce
      PerforceSCM.checkout
      1. hudson.plugins.perforce.PerforceSCM.checkout(PerforceSCM.java:633)
      1 frame
    5. Hudson
      Executor.run
      1. hudson.model.AbstractProject.checkout(AbstractProject.java:1193)
      2. hudson.model.AbstractBuild$AbstractRunner.checkout(AbstractBuild.java:555)
      3. hudson.model.AbstractBuild$AbstractRunner.run(AbstractBuild.java:443)
      4. hudson.model.Run.run(Run.java:1376)
      5. hudson.model.FreeStyleBuild.run(FreeStyleBuild.java:46)
      6. hudson.model.ResourceController.execute(ResourceController.java:88)
      7. hudson.model.Executor.run(Executor.java:230)
      7 frames