{"action":"created","issue":{"url":"https://api.github.com/repos/scoverage/sbt-scoverage/issues/165","repository_url":"https://api.github.com/repos/scoverage/sbt-scoverage","labels_url":"https://api.github.com/repos/scoverage/sbt-scoverage/issues/165/labels{/name}","comments_url":"https://api.github.com/repos/scoverage/sbt-scoverage/issues/165/comments","events_url":"https://api.github.com/repos/scoverage/sbt-scoverage/issues/165/events","html_url":"https://github.com/scoverage/sbt-scoverage/issues/165","id":138155847,"number":165,"title":"Unpositioned tree","user":{"login":"DavidPerezIngeniero","id":6008104,"avatar_url":"https://avatars.githubusercontent.com/u/6008104?v=3","gravatar_id":"","url":"https://api.github.com/users/DavidPerezIngeniero","html_url":"https://github.com/DavidPerezIngeniero","followers_url":"https://api.github.com/users/DavidPerezIngeniero/followers","following_url":"https://api.github.com/users/DavidPerezIngeniero/following{/other_user}","gists_url":"https://api.github.com/users/DavidPerezIngeniero/gists{/gist_id}","starred_url":"https://api.github.com/users/DavidPerezIngeniero/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/DavidPerezIngeniero/subscriptions","organizations_url":"https://api.github.com/users/DavidPerezIngeniero/orgs","repos_url":"https://api.github.com/users/DavidPerezIngeniero/repos","events_url":"https://api.github.com/users/DavidPerezIngeniero/events{/privacy}","received_events_url":"https://api.github.com/users/DavidPerezIngeniero/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":1,"created_at":"2016-03-03T11:45:56Z","updated_at":"2016-03-03T12:15:33Z","closed_at":null,"body":"Similar to this other ticket:\r\nhttps://github.com/scoverage/sbt-scoverage/issues/156\r\n\r\n    sbt clean test\r\n\r\nworks, whereas:\r\n\r\n    sbt clean coverage test\r\n\r\nfails with:\r\n\r\n```\r\n[info] ======= Position error\r\n[info] Unpositioned tree #1837097\r\n[info]    unpositioned [L   0 P#1837108] #1837097 [NoPosition]    Apply      // Apply(method apply)\r\n[info]       enclosing [L  57        ] #1837108 [2104:2152]     Apply      // \r\n[info]         sibling [L  57 P#1837108] #1837079 [2104:2111]     Apply      // s, glob=\r\n[info]         sibling [L   0 P#1837108] #1837097 [NoPosition]    Apply      // Apply(method apply)\r\n[info]         sibling [L   0 P#1837108] #1837102 [NoPosition]    Apply      // Apply(method apply)\r\n[info]         sibling [L  57 P#1837108] #1837107 [2142:2151]     Apply      // \r\n[info] \r\n[info] While validating #1839457\r\n[info] [L   1        ] #1839457 [0:5806]        PackageDef // area\r\n[info] \r\n[info] Children:\r\n[info]   [L   1 P#1839457] #226585 [8:28]          Select     // area\r\n[info]   [L   3 P#1839457] #226588 [30:51]         Import     // java.io.Writer\r\n[info]   [L   4 P#1839457] #226591 [52:79]         Import     // java.net.InetAddress\r\n[info]   [L   5 P#1839457] #226594 [80:101]        Import     // java.util.Date\r\n[info]   [L   7 P#1839457] #226598 [103:136]       Import     // com.zktechnology.zkproto._\r\n[info]   [L   8 P#1839457] #226603 [137:178]       Import     // fcc.ima.rima.pet.PeticionExplicita\r\n[info]   [L   9 P#1839457] #226608 [179:217]       Import     // fcc.ima.rima.rec.ProcesoTextual\r\n[info]   [L  10 P#1839457] #226612 [218:262]       Import     // fcc.ima.util.ExcepcionSinPilaLlamadas\r\n[info]   [L  11 P#1839457] #226616 [263:294]       Import     // fcc.vision.jython.Jython\r\n[info]   [L  12 P#1839457] #226621 [295:335]       Import     // fcc.vision.modelo.util.UtilJython\r\n[info]   [L  13 P#1839457] #226625 [336:369]       Import     // fcc.vision.zkproto.Cliente\r\n[info]   [L  14 P#1839457] #226630 [370:414]       Import     // org.apache.commons.logging.LogFactory\r\n[info]   [L  15 P#1839457] #226635 [415:464]       Import     // org.apache.thrift.protocol.TBinaryProtocol\r\n[info]   [L  16 P#1839457] #226640 [465:507]       Import     // org.apache.thrift.transport.TSocket\r\n[info]   [L  17 P#1839457] #226644 [508:542]       Import     // org.python.core.PyException\r\n[info]   [L  19 P#1839457] #226648 [544:585]       Import     // scala.collection.JavaConversions._\r\n[info]   [L  20 P#1839457] #226652 [586:620]       Import     // scala.util.control.NonFatal\r\n[info]   [L  22 P#1839457] #1836425 [622:860]       ModuleDef  // ClientesZK {\r\n[info]   [L  29 P#1839457] #1839456 [862:5806]      ClassDef   // ClientesZK extends ProcesoTextual {\r\n```\r\n\r\nSource code:\r\n\r\n```scala\r\npackage jima.produccion.area\r\n\r\nimport java.io.Writer\r\nimport java.net.InetAddress\r\nimport java.util.Date\r\n\r\nimport com.zktechnology.zkproto._\r\nimport fcc.ima.rima.pet.PeticionExplicita\r\nimport fcc.ima.rima.rec.ProcesoTextual\r\nimport fcc.ima.util.ExcepcionSinPilaLlamadas\r\nimport fcc.vision.jython.Jython\r\nimport fcc.vision.modelo.util.UtilJython\r\nimport fcc.vision.zkproto.Cliente\r\nimport org.apache.commons.logging.LogFactory\r\nimport org.apache.thrift.protocol.TBinaryProtocol\r\nimport org.apache.thrift.transport.TSocket\r\nimport org.python.core.PyException\r\n\r\nimport scala.collection.JavaConversions._\r\nimport scala.util.control.NonFatal\r\n\r\nobject ClientesZK {\r\n\t/** Formato de linea de cliente*/\r\n\tprivate val reCliente = raw\"_id=(\\d+).*;code=([^;]+).*;last_pull=(\\d+).*id_zone=(-?\\d+).*\".r\r\n\t/** Formato de linea de zona*/\r\n\tprivate val reZona = raw\"_id=([^;]+);name=([^;]+).*\".r\r\n}\r\n\r\nclass ClientesZK extends ProcesoTextual {\r\n\timport ClientesZK._\r\n\tprivate val traza = LogFactory.getLog(getClass)\r\n\r\n        ....\r\n}\r\n```\r\n\r\nIt fails with sbt-scoverage  1.0.4 and latest 1.3.5.\r\nUsing Scala 2.11.7, SBT 0.13.11."},"comment":{"url":"https://api.github.com/repos/scoverage/sbt-scoverage/issues/comments/191728829","html_url":"https://github.com/scoverage/sbt-scoverage/issues/165#issuecomment-191728829","issue_url":"https://api.github.com/repos/scoverage/sbt-scoverage/issues/165","id":191728829,"user":{"login":"DavidPerezIngeniero","id":6008104,"avatar_url":"https://avatars.githubusercontent.com/u/6008104?v=3","gravatar_id":"","url":"https://api.github.com/users/DavidPerezIngeniero","html_url":"https://github.com/DavidPerezIngeniero","followers_url":"https://api.github.com/users/DavidPerezIngeniero/followers","following_url":"https://api.github.com/users/DavidPerezIngeniero/following{/other_user}","gists_url":"https://api.github.com/users/DavidPerezIngeniero/gists{/gist_id}","starred_url":"https://api.github.com/users/DavidPerezIngeniero/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/DavidPerezIngeniero/subscriptions","organizations_url":"https://api.github.com/users/DavidPerezIngeniero/orgs","repos_url":"https://api.github.com/users/DavidPerezIngeniero/repos","events_url":"https://api.github.com/users/DavidPerezIngeniero/events{/privacy}","received_events_url":"https://api.github.com/users/DavidPerezIngeniero/received_events","type":"User","site_admin":false},"created_at":"2016-03-03T12:15:33Z","updated_at":"2016-03-03T12:15:33Z","body":"Using `coverageExcludedPackages := \"jima.produccion.area.ClientesZK\"` doesn't help. :-("}}