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

java.lang.ArrayIndexOutOfBoundsException after AccuRev Plugin upgrade

    XMLWordPrintable

Details

    • Bug
    • Status: Resolved (View Workflow)
    • Minor
    • Resolution: Fixed
    • accurev-plugin
    • None
    • Jenkins 2.41
      AccuRev Plugin which works is 0.7.6
      AccuRev Plugin which fails is 0.7.8
      Windows 8.1 Enterprise (64-bit)
      Accurev 6.2.3

    Description

      This Jenkins server is running on my laptop (not in Tomcat). It is configured with master and one local slave agent (on my laptop). After upgrading the AccuRev Plugin from version 0.7.6 to 0.7.8, a build failed with a java.lang.ArrayIndexOutOfBoundsException when it ran in the slave. It is successful if it runs in master.

      Build Console Output:

      12:37:36 Started by user anonymous
      12:37:36 [EnvInject] - Loading node environment variables.
      12:37:36 Building remotely on W1559922 in workspace C:/JenkinsSlave/workspace/AccuRev hdx-xall-dev Monitor
      12:37:36 [WS-CLEANUP] Deleting project workspace...
      12:37:36 [WS-CLEANUP] Done
      12:37:36 Authenticating with Accurev server...
      12:37:36 FATAL: 0
      12:37:36 java.lang.ArrayIndexOutOfBoundsException: 0
      12:37:36 	at java.lang.ProcessBuilder.start(Unknown Source)
      12:37:36 	at hudson.Proc$LocalProc.<init>(Proc.java:245)
      12:37:36 	at hudson.Proc$LocalProc.<init>(Proc.java:214)
      12:37:36 	at hudson.Launcher$LocalLauncher.launch(Launcher.java:846)
      12:37:36 	at hudson.Launcher$ProcStarter.start(Launcher.java:384)
      12:37:36 	at hudson.Launcher$RemoteLaunchCallable.call(Launcher.java:1195)
      12:37:36 	at hudson.Launcher$RemoteLaunchCallable.call(Launcher.java:1160)
      12:37:36 	at hudson.remoting.UserRequest.perform(UserRequest.java:152)
      12:37:36 	at hudson.remoting.UserRequest.perform(UserRequest.java:50)
      12:37:36 	at hudson.remoting.Request$2.run(Request.java:332)
      12:37:36 	at hudson.remoting.InterceptingExecutorService$1.call(InterceptingExecutorService.java:68)
      12:37:36 	at java.util.concurrent.FutureTask.run(Unknown Source)
      12:37:36 	at java.util.concurrent.ThreadPoolExecutor.runWorker(Unknown Source)
      12:37:36 	at java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source)
      12:37:36 	at hudson.remoting.Engine$1$1.run(Engine.java:85)
      12:37:36 	at java.lang.Thread.run(Unknown Source)
      12:37:36 	at ......remote call to Channel to /10.150.141.150(Native Method)
      12:37:36 	at hudson.remoting.Channel.attachCallSiteStackTrace(Channel.java:1537)
      12:37:36 	at hudson.remoting.UserResponse.retrieve(UserRequest.java:253)
      12:37:36 	at hudson.remoting.Channel.call(Channel.java:822)
      12:37:36 	at hudson.Launcher$RemoteLauncher.launch(Launcher.java:959)
      12:37:36 	at hudson.Launcher$ProcStarter.start(Launcher.java:384)
      12:37:36 	at hudson.Launcher$ProcStarter.join(Launcher.java:395)
      12:37:36 	at hudson.plugins.accurev.AccurevLauncher.justAccurev(AccurevLauncher.java:456)
      12:37:36 	at hudson.plugins.accurev.AccurevLauncher.findAccurevExe(AccurevLauncher.java:439)
      12:37:36 	at hudson.plugins.accurev.AccurevLauncher.createProcess(AccurevLauncher.java:266)
      12:37:36 	at hudson.plugins.accurev.AccurevLauncher.runCommand(AccurevLauncher.java:218)
      12:37:36 	at hudson.plugins.accurev.AccurevLauncher.runCommand(AccurevLauncher.java:103)
      12:37:36 	at hudson.plugins.accurev.cmd.Login.accurevLogin(Login.java:101)
      12:37:36 	at hudson.plugins.accurev.cmd.Login.ensureLoggedInToAccurev(Login.java:70)
      12:37:36 	at hudson.plugins.accurev.delegates.AbstractModeDelegate.setup(AbstractModeDelegate.java:63)
      12:37:36 	at hudson.plugins.accurev.delegates.AbstractModeDelegate.checkout(AbstractModeDelegate.java:102)
      12:37:36 	at hudson.plugins.accurev.AccurevSCM.checkout(AccurevSCM.java:387)
      12:37:36 	at hudson.scm.SCM.checkout(SCM.java:495)
      12:37:36 	at hudson.model.AbstractProject.checkout(AbstractProject.java:1278)
      12:37:36 	at hudson.model.AbstractBuild$AbstractBuildExecution.defaultCheckout(AbstractBuild.java:604)
      12:37:36 	at jenkins.scm.SCMCheckoutStrategy.checkout(SCMCheckoutStrategy.java:86)
      12:37:36 	at hudson.model.AbstractBuild$AbstractBuildExecution.run(AbstractBuild.java:529)
      12:37:36 	at hudson.model.Run.execute(Run.java:1729)
      12:37:36 	at hudson.model.FreeStyleBuild.run(FreeStyleBuild.java:43)
      12:37:36 	at hudson.model.ResourceController.execute(ResourceController.java:98)
      12:37:36 	at hudson.model.Executor.run(Executor.java:404)
      12:37:36 Notifying upstream projects of job completion
      12:37:36 Email was triggered for: Always
      12:37:36 Sending email for trigger: Always
      12:37:36 Sending email to: xxxxxxxxxxxxxxxx
      12:37:36 Finished: FAILURE
      

      Attachments

        Activity

          People

            jetersen Joseph Petersen
            bercma00 Mark Berchem
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: