Sonarqube扫描Scala代码不变失败错误

时间:2019-07-10 15:29:15

标签: scala sonarqube sonarqube-scan sonarqube5.1 sonarqube-ops

我正在尝试使用soanrqube扫描我的Scala代码,但出现错误。我不确定如何解决此错误。我正在使用的sonarqube版本是7.9,SonarScala插件的版本是1.5.0(内部版本315)。有人可以帮忙吗?

 09:25:49.959 INFO: ------------------------------------------------------------------------
 09:25:49.959 INFO: EXECUTION FAILURE
 09:25:49.959 INFO: ------------------------------------------------------------------------
 09:25:49.960 INFO: Total time: 3:43.408s
 09:25:50.216 INFO: Final Memory: 50M/906M
 09:25:50.216 INFO: ------------------------------------------------------------------------
 09:25:50.216 ERROR: Error during SonarQube Scanner execution
 09:25:50.216 ERROR: org.scalameta.invariants.InvariantFailedException: invariant failed:
 when verifying scala.meta.internal.trees.`package`.XtensionTreesType(tpe).isConstructable
 found that scala.meta.internal.trees.`package`.XtensionTreesType(tpe).isConstructable is false
 where tpe = (BaseActivityCutomerSegment,Map[String, Double])
 09:25:50.216 ERROR: Caused by: invariant failed:
 when verifying scala.meta.internal.trees.`package`.XtensionTreesType(tpe).isConstructable
 found that scala.meta.internal.trees.`package`.XtensionTreesType(tpe).isConstructable is false
 where tpe = (BaseActivityCutomerSegment,Map[String, Double])

0 个答案:

没有答案