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

Revision Parameter Type: ArrayIndexOutOfBoundsException

    XMLWordPrintable

    Details

    • Similar Issues:

      Description

      When author revision had negative offset
      Eg. author Gabor Liptak <gliptak@gmail.com> 1359406662 -0500

      we get exception:

      net.uaznia.lukanus.hudson.plugins.gitparameter.GitParameterDefinition prettyRevisionInfo
      SEVERE: Unexpected error
      java.lang.ArrayIndexOutOfBoundsException: 1
      at net.uaznia.lukanus.hudson.plugins.gitparameter.GitParameterDefinition.prettyRevisionInfo(GitParameterDefinition.java:257)
      at net.uaznia.lukanus.hudson.plugins.gitparameter.GitParameterDefinition.generateContents(GitParameterDefinition.java:332)
      at net.uaznia.lukanus.hudson.plugins.gitparameter.GitParameterDefinition$DescriptorImpl.doFillValueItems(GitParameterDefinition.java:453)
      at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
      at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
      at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
      at java.lang.reflect.Method.invoke(Method.java:497)
      at org.kohsuke.stapler.Function$InstanceFunction.invoke(Function.java:298)
      at org.kohsuke.stapler.Function.bindAndInvoke(Function.java:161)
      at org.kohsuke.stapler.Function.bindAndInvokeAndServeResponse(Function.java:96)
      at org.kohsuke.stapler.MetaClass$1.doDispatch(MetaClass.java:121)
      at org.kohsuke.stapler.NameBasedDispatcher.dispatch(NameBasedDispatcher.java:53)
      at org.kohsuke.stapler.Stapler.tryInvoke(Stapler.java:746)
      at org.kohsuke.stapler.Stapler.invoke(Stapler.java:876)
      at org.kohsuke.stapler.MetaClass$6.doDispatch(MetaClass.java:249)
      at org.kohsuke.stapler.NameBasedDispatcher.dispatch(NameBasedDispatcher.java:53)
      at org.kohsuke.stapler.Stapler.tryInvoke(Stapler.java:746)
      at org.kohsuke.stapler.Stapler.invoke(Stapler.java:876)
      at org.kohsuke.stapler.MetaClass$6.doDispatch(MetaClass.java:249)
      at org.kohsuke.stapler.NameBasedDispatcher.dispatch(NameBasedDispatcher.java:53)
      at org.kohsuke.stapler.Stapler.tryInvoke(Stapler.java:746)
      at org.kohsuke.stapler.Stapler.invoke(Stapler.java:876)
      at org.kohsuke.stapler.Stapler.invoke(Stapler.java:649)
      at org.kohsuke.stapler.Stapler.service(Stapler.java:238)

        Attachments

          Activity

          Hide
          scm_issue_link SCM/JIRA link daemon added a comment -

          Code changed in jenkins
          User: klimas7
          Path:
          pom.xml
          src/main/java/net/uaznia/lukanus/hudson/plugins/gitparameter/GitParameterDefinition.java
          src/main/java/net/uaznia/lukanus/hudson/plugins/gitparameter/GitParameterValue.java
          src/main/java/net/uaznia/lukanus/hudson/plugins/gitparameter/RevisionInfo.java
          src/main/java/net/uaznia/lukanus/hudson/plugins/gitparameter/RevisionInfoFactory.java
          http://jenkins-ci.org/commit/git-parameter-plugin/129d4aff456c3b3ce5b3de0ab6b37e12e14ba830
          Log:
          JENKINS-33831

          Show
          scm_issue_link SCM/JIRA link daemon added a comment - Code changed in jenkins User: klimas7 Path: pom.xml src/main/java/net/uaznia/lukanus/hudson/plugins/gitparameter/GitParameterDefinition.java src/main/java/net/uaznia/lukanus/hudson/plugins/gitparameter/GitParameterValue.java src/main/java/net/uaznia/lukanus/hudson/plugins/gitparameter/RevisionInfo.java src/main/java/net/uaznia/lukanus/hudson/plugins/gitparameter/RevisionInfoFactory.java http://jenkins-ci.org/commit/git-parameter-plugin/129d4aff456c3b3ce5b3de0ab6b37e12e14ba830 Log: JENKINS-33831

            People

            • Assignee:
              klimas7 Boguslaw Klimas
              Reporter:
              klimas7 Boguslaw Klimas
            • Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: