Details

    • Type: Bug Bug
    • Status: Closed Closed
    • Priority: Major Major
    • Resolution: Fixed
    • Affects Version/s: BUILD-STABILITY-1.0.1
    • Fix Version/s: BUILD-STABILITY-1.1
    • Component/s: Build Stability
    • Labels:
      None
    • Number of attachments :
      0

      Description

      Jene Jasper:

      I reproduced the exception with maven ci setting:

      <ciManagement>
      <system>Hudson</system>
      <url>http://dev.net/hudson</url>
      </ciManagement>

      It wasn't a NullPointerException but the following error:

      [INFO] Executing sensor class org.sonar.plugins.buildstability.BuildStabilitySensor
      [INFO] Analyse class org.sonar.plugins.buildstability.BuildStabilitySensor
      [INFO] CI URL: Hudson:http://dev.net/hudson
      [ERROR] String index out of range: -1
      java.lang.StringIndexOutOfBoundsException: String index out of range: -1
      at java.lang.String.substring(String.java:1937) [na:1.6.0_18]
      at org.sonar.plugins.buildstability.ci.CiFactory.create(CiFactory.java:62) [sonar-build-stability-plugin-1.0.1-20100321130956.jar:na]
      at org.sonar.plugins.buildstability.ci.CiFactory.create(CiFactory.java:42) [sonar-build-stability-plugin-1.0.1-20100321130956.jar:na]
      at org.sonar.plugins.buildstability.BuildStabilitySensor.analyse(BuildStabilitySensor.java:73) [sonar-build-stability-plugin-1.0.1-20100321130956.jar:na]
      at org.sonar.batch.core.SensorsExecutor.execute(SensorsExecutor.java:74) [sonar-core-maven-plugin-20100321130956.jar:na]

        Issue Links

          Activity

          There are no comments yet on this issue.

            People

            • Assignee:
              Evgeny Mandrikov
              Reporter:
              Evgeny Mandrikov
            • Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: