0
我使用Sonarqube 6.2的版本4.4.0.8066聲納Java插件並獲得與JDK 1.8編譯項目這個錯誤:Sonarqube 6.2錯誤 - 無法完成符號執行:16000達到極限步驟
[DEBUG] 22:09:01.566 Could not complete symbolic execution:
22:09:01 org.sonar.java.se.ExplodedGraphWalker$MaximumStepsReachedException: reached limit of 16000 steps for method setData#198 in class PaymentVarianceReportFilterCriteria
22:09:01 at org.sonar.java.se.ExplodedGraphWalker.throwMaxSteps(ExplodedGraphWalker.java:260)
22:09:01 at org.sonar.java.se.ExplodedGraphWalker.execute(ExplodedGraphWalker.java:211)
22:09:01 at org.sonar.java.se.ExplodedGraphWalker.visitMethod(ExplodedGraphWalker.java:186)
22:09:01 at org.sonar.java.se.SymbolicExecutionVisitor.execute(SymbolicExecutionVisitor.java:68)
22:09:01 at org.sonar.java.se.SymbolicExecutionVisitor.visitNode(SymbolicExecutionVisitor.java:57)
22:09:01 at org.sonar.java.ast.visitors.SubscriptionVisitor.visit(SubscriptionVisitor.java:95)
22:09:01 at org.sonar.java.ast.visitors.SubscriptionVisitor.visitChildren(SubscriptionVisitor.java:120)
22:09:01 at org.sonar.java.ast.visitors.SubscriptionVisitor.visit(SubscriptionVisitor.java:97)
22:09:01 at org.sonar.java.ast.visitors.SubscriptionVisitor.visitChildren(SubscriptionVisitor.java:120)
22:09:01 at org.sonar.java.ast.visitors.SubscriptionVisitor.visit(SubscriptionVisitor.java:97)
22:09:01 at org.sonar.java.ast.visitors.SubscriptionVisitor.scanTree(SubscriptionVisitor.java:78)
22:09:01 at org.sonar.java.ast.visitors.SubscriptionVisitor.scanFile(SubscriptionVisitor.java
.................
........................
....................
[ERROR] Failed to execute goal org.sonarsource.scanner.maven:sonar-maven-plugin:3.2:sonar (default-cli) on project ct: Error 500 on http://stssonar01/api/ce/submit?projectKey=com.edifecs:ct&projectName=Edifecs%20Collaborative%20Testing%20Build : {"errors":[{"msg":"An error has occurred. Please contact your administrator."}]} -> [Help 1]
22:50:07 org.apache.maven.lifecycle.LifecycleExecutionException: Failed to execute goal org.sonarsource.scanner.maven:sonar-maven-plugin:3.2:sonar (default-cli) on project ct: Error 500 on http://stssonar01/api/ce/submit?projectKey=com.edifecs:ct&projectName=Edifecs%20Collaborative%20Testing%20Build : {"errors":[{"msg":"An error has occurred. Please contact your administrator."}]}
22:50:07 at org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:216)
22:50:07 at org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:153)
我是否在運行聲納時丟失了一些東西:maven構建過程的聲納步驟clean install sonar:sonar
?
請幫我解決這個問題。在此先感謝..
問題的標題和錯誤日誌的第一部分實際上與您遇到的失敗maven目標的錯誤500的失敗無關。看到這個更多的解釋:http://stackoverflow.com/questions/34065727/error-could-not-complete-symbolic-execution-reached-limit-of-10000-steps/34067784#34067784 – benzonico
因爲你有一個錯誤500在服務器上,您可能需要查看服務器的日誌以瞭解發生了什麼。 – benzonico