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

ArrayIndexOutOfBoundsException in hudson.scm.SCM.calcRevisionsFromBuild after sync

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: Major Major
    • p4-plugin
    • None
    • Hudson ver. 1.360, Perforce plugin 1.1.1, java version "1.5.0_13", Mac OS X 10.5.6,

      Job set up to poll a repot every minute.
      Every now and then, an ArrayOutOfBoundsException occurs after syncing with the perforce repository.

      From build log:
      ---------------------------------
      Started by an SCM change
      Using master perforce client: macmini
      [workspace] $ /opt/bin/p4 workspace -o macmini
      Saving modified client macmini
      [workspace] $ /opt/bin/p4 -s client -i
      Last sync'd change: 56181
      [workspace] $ /opt/bin/p4 counter change
      [workspace] $ /opt/bin/p4 -s changes //macmini/...@56182,@56186
      [workspace] $ /opt/bin/p4 describe -s 56186
      Sync'ing workspace to changelist 56186.
      [workspace] $ /opt/bin/p4 sync //macmini/...@56186
      Sync complete, took 808 ms
      FATAL: -244189976
      java.lang.ArrayIndexOutOfBoundsException: -244189976
      at hudson.scm.SCM.calcRevisionsFromBuild(SCM.java)
      at hudson.scm.SCM._calcRevisionsFromBuild(SCM.java:301)
      at hudson.model.AbstractProject.calcPollingBaseline(AbstractProject.java:1056)
      at hudson.model.AbstractProject.checkout(AbstractProject.java:1045)
      at hudson.model.AbstractBuild$AbstractRunner.checkout(AbstractBuild.java:479)
      at hudson.model.AbstractBuild$AbstractRunner.run(AbstractBuild.java:411)
      at hudson.model.Run.run(Run.java:1241)
      at hudson.model.FreeStyleBuild.run(FreeStyleBuild.java:46)
      at hudson.model.ResourceController.execute(ResourceController.java:88)
      at hudson.model.Executor.run(Executor.java:124)
      ---------------------------------

            rpetti Rob Petti
            bobergj bobergj
            Votes:
            1 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved: