SonarQube Plugins
  1. SonarQube Plugins
  2. SONARPLUGINS-3021

ArrayIndexOutOfBoundsException when try to get line in pom

    Details

    • Type: Bug Bug
    • Status: Resolved Resolved
    • Priority: Major Major
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: MOJO-BRIDGE-0.1
    • Component/s: Mojo Bridge
    • Labels:
      None
    • Number of attachments :
      0

      Description

      [09:36:23][Step 3/3] Caused by: java.lang.ArrayIndexOutOfBoundsException: 1254
      [09:36:23][Step 3/3] 	at de.lgohlke.sonar.maven.org.codehaus.mojo.versions.PomUtils.findStartOrEndOfBlock(PomUtils.java:93)
      [09:36:23][Step 3/3] 	at de.lgohlke.sonar.maven.org.codehaus.mojo.versions.PomUtils.containsEntry(PomUtils.java:81)
      [09:36:23][Step 3/3] 	at de.lgohlke.sonar.maven.org.codehaus.mojo.versions.PomUtils.getLine(PomUtils.java:71)
      [09:36:23][Step 3/3] 	at de.lgohlke.sonar.maven.org.codehaus.mojo.versions.DisplayPluginUpdatesSensor.analyse(DisplayPluginUpdatesSensor.java:140)
      [09:36:23][Step 3/3] 	at org.sonar.batch.phases.SensorsExecutor.execute(SensorsExecutor.java:70)
      [09:36:23][Step 3/3] 	at org.sonar.batch.phases.Phases.execute(Phases.java:101)
      [09:36:23][Step 3/3] 	at org.sonar.batch.scan.ScanContainer.doStart(ScanContainer.java:147)
      [09:36:23][Step 3/3] 	at org.sonar.batch.bootstrap.Container.start(Container.java:72)
      [09:36:23][Step 3/3] 	at org.sonar.batch.scan.ScanTask.scan(ScanTask.java:65)
      [09:36:23][Step 3/3] 	at org.sonar.batch.scan.ScanTask.scanRecursively(ScanTask.java:56)
      [09:36:23][Step 3/3] 	at org.sonar.batch.scan.ScanTask.scanRecursively(ScanTask.java:54)
      [09:36:23][Step 3/3] 	at org.sonar.batch.scan.ScanTask.execute(ScanTask.java:49)
      [09:36:23][Step 3/3] 	at org.sonar.batch.bootstrap.TaskContainer.doStart(TaskContainer.java:188)
      [09:36:23][Step 3/3] 	at org.sonar.batch.bootstrap.Container.start(Container.java:72)
      [09:36:23][Step 3/3] 	at org.sonar.batch.bootstrap.TaskBootstrapContainer.executeTask(TaskBootstrapContainer.java:73)
      [09:36:23][Step 3/3] 	at org.sonar.batch.bootstrap.TaskBootstrapContainer.doStart(TaskBootstrapContainer.java:62)
      [09:36:23][Step 3/3] 	at org.sonar.batch.bootstrap.Container.start(Container.java:72)
      [09:36:23][Step 3/3] 	at org.sonar.batch.bootstrap.BootstrapContainer.doStart(BootstrapContainer.java:104)
      [09:36:23][Step 3/3] 	at org.sonar.batch.bootstrap.Container.start(Container.java:72)
      [09:36:23][Step 3/3] 	at org.sonar.batch.bootstrapper.Batch.startBatch(Batch.java:88)
      [09:36:23][Step 3/3] 	at org.sonar.batch.bootstrapper.Batch.execute(Batch.java:72)
      [09:36:23][Step 3/3] 	at org.sonar.maven3.SonarMojo.execute(SonarMojo.java:142)
      [09:36:23][Step 3/3] 	at org.codehaus.mojo.sonar.Bootstraper.executeMojo(Bootstraper.java:113)
      

        Activity

        There are no comments yet on this issue.

          People

          • Assignee:
            Lars Gohlke
            Reporter:
            Lars Gohlke
          • Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved: