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

"P4JAVA: Error in finding type of stream.java.lang.IndexOutOfBoundsException: Index 0 out of bounds for length 0" since release 1.17.0

    • Icon: Bug Bug
    • Resolution: Unresolved
    • Icon: Major Major
    • p4-plugin
    • None
    • Jenkins version: 2.479.2
      P4 Plugin version: 1.17.0
      Java Runtime version: 17.0.13+11-Ubuntu-2ubuntu122.04
      P4JAVA version: 2024.2/2695691

      Projects with "Pipeline script from SCM" fail with the following error in the pipeline log:

      [2024-12-30T07:32:52.472Z] P4 Task: establishing connection.
      [2024-12-30T07:32:52.472Z] ... server: ssl:perforce.domain.com:1666
      [2024-12-30T07:32:52.472Z] ... node: gui-jenkins
      [2024-12-30T07:32:52.484Z] (p4):cmd:... p4 where /var/lib/jenkins/workspace/Check Make Status%40script/607502807ca3___
      [2024-12-30T07:32:52.484Z] p4 where /var/lib/jenkins/workspace/Check Make Status%40script/607502807ca37d1ed7242a4077864b02087909c2baae05ef5fc241c699aebe2d/Check_Make_Status.jenkinsfile
      [2024-12-30T07:32:52.484Z]
      [2024-12-30T07:32:52.493Z] (p4):stop:11
      [2024-12-30T07:32:52.505Z] (p4):cmd:... p4 streams
      [2024-12-30T07:32:52.505Z] p4 streams
      [2024-12-30T07:32:52.505Z]
      [2024-12-30T07:32:52.513Z] (p4):stop:12
      [2024-12-30T07:32:52.515Z] P4 Task: attempt: 1
      [2024-12-30T07:32:55.516Z] ERROR: P4: Task Exception: java.lang.RuntimeException: P4JAVA: Error in finding type of stream.java.lang.IndexOutOfBoundsException: Index 0 out of bounds for length 0
      [2024-12-30T07:32:55.516Z] Retrying after 10 seconds

          [JENKINS-75076] "P4JAVA: Error in finding type of stream.java.lang.IndexOutOfBoundsException: Index 0 out of bounds for length 0" since release 1.17.0

          Andreas created issue -
          Dhaval made changes -
          Attachment New: image-2025-01-07-19-57-52-425.png [ 63771 ]
          Andreas made changes -
          Attachment New: screenshot-1.png [ 63772 ]
          Andreas made changes -
          Attachment New: image-2025-01-07-16-31-46-361.png [ 63773 ]
          Andreas made changes -
          Attachment New: Hello World.zip [ 63780 ]
          Jarosław made changes -
          Attachment New: p4_1.17.0_pipeline_failure.log [ 63782 ]

            Unassigned Unassigned
            andreas_rueger Andreas
            Votes:
            2 Vote for this issue
            Watchers:
            5 Start watching this issue

              Created:
              Updated: