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

Can't open sloccount table portlet

    XMLWordPrintable

Details

    • Bug
    • Status: Closed (View Workflow)
    • Major
    • Resolution: Fixed
    • sloccount-plugin
    • None
    • windows 7, Jenkins 1.547, sloccount 1.11

    Description

      When every you attempt to open a SLOCCount report, you get this exception

      Caused by: java.lang.StringIndexOutOfBoundsException: String index out of range: -1
      at java.lang.String.substring(Unknown Source)
      at hudson.plugins.sloccount.model.SloccountReport.extractFolder(SloccountReport.java:73)
      at hudson.plugins.sloccount.model.SloccountReport.add(SloccountReport.java:51)
      at hudson.plugins.sloccount.model.SloccountParser.parseLine(SloccountParser.java:122)
      at hudson.plugins.sloccount.model.SloccountParser.parse(SloccountParser.java:89)
      at hudson.plugins.sloccount.model.SloccountParser.parse(SloccountParser.java:78)
      at hudson.plugins.sloccount.model.SloccountParser.parseFiles(SloccountParser.java:62)
      at hudson.plugins.sloccount.SloccountResult.lazyLoad(SloccountResult.java:102)
      at hudson.plugins.sloccount.SloccountResult.getReport(SloccountResult.java:43)
      ... 110 more

      Attachments

        Activity

          moncreaff Greg Moncreaff created issue -
          moncreaff Greg Moncreaff made changes -
          Field Original Value New Value
          Affects Version/s current [ 10162 ]
          Environment windows 7 windows 7, Jenkins 1.547, sloccount 1.1
          moncreaff Greg Moncreaff made changes -
          Environment windows 7, Jenkins 1.547, sloccount 1.1 windows 7, Jenkins 1.547, sloccount 1.11
          moncreaff Greg Moncreaff made changes -
          Assignee npiguet [ npiguet ] Michal Turek [ mixalturek ]
          mixalturek Michal Turek made changes -
          Status Open [ 1 ] In Progress [ 3 ]
          mixalturek Michal Turek made changes -
          Fix Version/s current [ 10162 ]
          Resolution Fixed [ 1 ]
          Status In Progress [ 3 ] Resolved [ 5 ]
          mixalturek Michal Turek made changes -
          Status Resolved [ 5 ] Closed [ 6 ]
          rtyler R. Tyler Croy made changes -
          Workflow JNJira [ 153285 ] JNJira + In-Review [ 207340 ]

          People

            mixalturek Michal Turek
            moncreaff Greg Moncreaff
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: