Uploaded image for project: 'Red Hat OpenShift Dev Spaces (formerly CodeReady Workspaces) '
  1. Red Hat OpenShift Dev Spaces (formerly CodeReady Workspaces)
  2. CRW-2883

"java.lang.StringIndexOutOfBoundsException: String index out of range: 14" error when start "flexy-install-sno-osp" pipeline

XMLWordPrintable

    • Icon: QE Task QE Task
    • Resolution: Done
    • Icon: Blocker Blocker
    • 3.0.0.GA
    • 3.0.0.GA
    • testing
    • None
    • False
    • None
    • False

      https://main-jenkins-csb-crwqe.apps.ocp-c1.prod.psi.redhat.com/job/Flexy/job/Flexy-complex/job/flexy-install-sno-osp/38/console

      [Pipeline] { (Configure image registry)
       Stage "Configure image registry" skipped due to earlier failure(s)
       [Pipeline] }
       [Pipeline] // stage
       [Pipeline] }
       [Pipeline] // node
       [Pipeline] End of Pipeline
       java.lang.StringIndexOutOfBoundsException: String index out of range: 14
       	at java.lang.String.substring(String.java:1963)
       	at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
      

      Root cause: wrong usage of "substring(0, 14)" https://gitlab.cee.redhat.com/codeready-workspaces/crw-jenkins/-/blob/master/jobs/Flexy/Flexy-complex/flexy-install-sno-osp.jenkinsfile#L23

            dnochevn Dmytro Nochevnov
            dnochevn Dmytro Nochevnov
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: