{"action":"created","issue":{"url":"https://api.github.com/repos/lemurheavy/coveralls-public/issues/462","labels_url":"https://api.github.com/repos/lemurheavy/coveralls-public/issues/462/labels{/name}","comments_url":"https://api.github.com/repos/lemurheavy/coveralls-public/issues/462/comments","events_url":"https://api.github.com/repos/lemurheavy/coveralls-public/issues/462/events","html_url":"https://github.com/lemurheavy/coveralls-public/issues/462","id":57767991,"number":462,"title":"use of coverageAggregate","user":{"login":"mediavrog","id":160785,"avatar_url":"https://avatars.githubusercontent.com/u/160785?v=3","gravatar_id":"","url":"https://api.github.com/users/mediavrog","html_url":"https://github.com/mediavrog","followers_url":"https://api.github.com/users/mediavrog/followers","following_url":"https://api.github.com/users/mediavrog/following{/other_user}","gists_url":"https://api.github.com/users/mediavrog/gists{/gist_id}","starred_url":"https://api.github.com/users/mediavrog/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mediavrog/subscriptions","organizations_url":"https://api.github.com/users/mediavrog/orgs","repos_url":"https://api.github.com/users/mediavrog/repos","events_url":"https://api.github.com/users/mediavrog/events{/privacy}","received_events_url":"https://api.github.com/users/mediavrog/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":2,"created_at":"2015-02-16T06:01:16Z","updated_at":"2015-03-27T03:55:51Z","closed_at":"2015-03-27T03:55:51Z","body":"We configured our project with subprojects and want to use the coverage reports properly.\r\n\r\nWe therefore followed the instructions for the sbt-scoverage and configured\r\n\r\n1) coverage settings in build.sbt\r\n2) configured travis to run `coverageAggregate` after writing the reports and upload to coveralls like\r\n```\r\nscript: sbt clean coverage test\r\nafter_success: sbt coverageAggregate coveralls\r\n```\r\n\r\nbut still the report in coveralls only shows the coverage report for the first submodule.\r\n\r\nThere was also an error thrown:\r\n\r\n```\r\n[info] Loading project definition from /home/travis/build/company/backend/project\r\n[info] Set current project to backend (in build file:/home/travis/build/company/backend/)\r\n[info] Aggregating coverage from subprojects...\r\n[info] Found 2 subproject report files [/home/travis/build/company/backend/core/target/scala-2.11/scoverage-report/scoverage.xml,/home/travis/build/company/backend/target/scala-2.11/scoverage-report/scoverage.xml]\r\n[info] Generating scoverage reports...\r\n[info] Written Cobertura report [/home/travis/build/company/backend/target/scala-2.11/coverage-report/cobertura.xml]\r\n[info] Written XML coverage report [/home/travis/build/company/backend/target/scala-2.11/scoverage-report/scoverage.xml]\r\n[info] Written HTML coverage report [/home/travis/build/company/backend/target/scala-2.11/scoverage-report/index.html]\r\n[info] Coverage reports completed\r\n[info] Aggregation complete. Coverage was [72.90]\r\n[success] Total time: 4 s, completed Feb 16, 2015 5:52:04 AM\r\n[info] Repository = ./.git\r\n[info] Repository = ./.git\r\n[info] Uploading to coveralls.io succeeded: Job #803.1\r\n[info] https://coveralls.io/jobs/4477298\r\n[info] (results may not appear immediately)\r\njava.lang.StringIndexOutOfBoundsException: String index out of range: -7\r\n\tat java.lang.String.substring(String.java:1911)\r\n\tat org.scoverage.coveralls.CoverallsClient.postFile(CoverallsClient.scala:38)\r\n\tat org.scoverage.coveralls.CoverallsPlugin$$anonfun$projectSettings$8.apply(CoverallsPlugin.scala:112)\r\n\tat org.scoverage.coveralls.CoverallsPlugin$$anonfun$projectSettings$8.apply(CoverallsPlugin.scala:61)\r\n\tat scala.Function1$$anonfun$compose$1.apply(Function1.scala:47)\r\n\tat sbt.$tilde$greater$$anonfun$$u2219$1.apply(TypeFunctions.scala:40)\r\n\tat sbt.std.Transform$$anon$4.work(System.scala:63)\r\n\tat sbt.Execute$$anonfun$submit$1$$anonfun$apply$1.apply(Execute.scala:226)\r\n\tat sbt.Execute$$anonfun$submit$1$$anonfun$apply$1.apply(Execute.scala:226)\r\n\tat sbt.ErrorHandling$.wideConvert(ErrorHandling.scala:17)\r\n\tat sbt.Execute.work(Execute.scala:235)\r\n\tat sbt.Execute$$anonfun$submit$1.apply(Execute.scala:226)\r\n\tat sbt.Execute$$anonfun$submit$1.apply(Execute.scala:226)\r\n\tat sbt.ConcurrentRestrictions$$anon$4$$anonfun$1.apply(ConcurrentRestrictions.scala:159)\r\n\tat sbt.CompletionService$$anon$2.call(CompletionService.scala:28)\r\n\tat java.util.concurrent.FutureTask.run(FutureTask.java:262)\r\n\tat java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:471)\r\n\tat java.util.concurrent.FutureTask.run(FutureTask.java:262)\r\n\tat java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145)\r\n\tat java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615)\r\n\tat java.lang.Thread.run(Thread.java:745)\r\n[error] (root/*:coveralls) java.lang.StringIndexOutOfBoundsException: String index out of range: -7\r\n```"},"comment":{"url":"https://api.github.com/repos/lemurheavy/coveralls-public/issues/comments/86809062","html_url":"https://github.com/lemurheavy/coveralls-public/issues/462#issuecomment-86809062","issue_url":"https://api.github.com/repos/lemurheavy/coveralls-public/issues/462","id":86809062,"user":{"login":"nickmerwin","id":1129,"avatar_url":"https://avatars.githubusercontent.com/u/1129?v=3","gravatar_id":"","url":"https://api.github.com/users/nickmerwin","html_url":"https://github.com/nickmerwin","followers_url":"https://api.github.com/users/nickmerwin/followers","following_url":"https://api.github.com/users/nickmerwin/following{/other_user}","gists_url":"https://api.github.com/users/nickmerwin/gists{/gist_id}","starred_url":"https://api.github.com/users/nickmerwin/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/nickmerwin/subscriptions","organizations_url":"https://api.github.com/users/nickmerwin/orgs","repos_url":"https://api.github.com/users/nickmerwin/repos","events_url":"https://api.github.com/users/nickmerwin/events{/privacy}","received_events_url":"https://api.github.com/users/nickmerwin/received_events","type":"User","site_admin":false},"created_at":"2015-03-27T03:55:51Z","updated_at":"2015-03-27T03:55:51Z","body":"Hi guys, I this issue would be better taken up with the authors of the Coveralls integration library you're using.\r\n\r\nSorry I can't be of more help!"}}