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

Perforce plug-in doesn't like non-ASCII/non-UTF-8 Characters

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: Minor Minor
    • p4-plugin
    • None

      As part of the polling process, this happened:

      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)
      

      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.

            rpetti Rob Petti
            halostatue halostatue
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Created:
              Updated:
              Resolved: