Hi
I am trying to install SonarQube via command
mvn clean install
But I am getting below mentioned error message
[ERROR] Errors:
[ERROR] SonarSymbolTableVisitorTest.sonar_symbol_table:79 » IllegalState Unabl
e to rea...
[ERROR] SyntaxHighlighterVisitorTest.parse_error:80 » IllegalState Unable to r
ead file...
[ERROR] SyntaxHighlighterVisitorTest.records:236->generateTestFile:282 » Illeg
alState ...
[ERROR] SyntaxHighlighterVisitorTest.sealed_classes:250->generateTestFile:282
» IllegalState
[ERROR] SyntaxHighlighterVisitorTest.switch_expression:201->generateTestFile:2
82 » IllegalState
[ERROR] SyntaxHighlighterVisitorTest.switch_pattern_expression_with_when_keywo
rd:217->generateTestFile:282 » IllegalState
[ERROR] SyntaxHighlighterVisitorTest.test_different_end_of_line:88->generateTe
stFile:282 » IllegalState
[ERROR] SyntaxHighlighterVisitorTest.test_different_end_of_line:88->generateTe
stFile:282 » IllegalState
[ERROR] SyntaxHighlighterVisitorTest.test_different_end_of_line:88->generateTe
stFile:282 » IllegalState
[ERROR] SyntaxHighlighterVisitorTest.test_java10_var:171->generateTestFile:282
» IllegalState
[ERROR] SyntaxHighlighterVisitorTest.test_restricted_keywords_outside_module:1
40->generateTestFile:282 » IllegalState
[ERROR] SyntaxHighlighterVisitorTest.test_restricted_keywords_within_module:99
->generateTestFile:282 » IllegalState
[ERROR] SyntaxHighlighterVisitorTest.text_block:187->generateTestFile:282 » Il
legalState
[ERROR] MethodMatcherFactoryTest.constructorFactoryMatching:146->buildTestFile
:178 » IllegalState
[ERROR] MethodMatcherFactoryTest.methodFactoryMatching:110->buildTestFile:178
» IllegalState
[INFO]
[ERROR] Tests run: 1348, Failures: 0, Errors: 15, Skipped: 2
[INFO]
[INFO] ------------------------------------------------------------------------
[INFO] Reactor Summary for SonarJava 7.24.0-SNAPSHOT:
[INFO]
[INFO] SonarJava .......................................... SUCCESS [ 14.136 s]
[INFO] SonarJava .......................................... SUCCESS [ 14.136 s]
[INFO] jdt ................................................ SUCCESS [01:10 min]
[INFO] SonarQube Java :: Checks Test Sources .............. SUCCESS [09:17 min]
[INFO] SonarQube Java :: Front-end ........................ FAILURE [05:34 min]
[INFO] SonarQube Java :: Checks Test tool kit ............. SKIPPED
[INFO] SonarQube Java :: Symbolic Execution ............... SKIPPED
[INFO] SonarQube Java :: Checks ........................... SKIPPED
[INFO] SonarQube Java :: External Reports Sensor .......... SKIPPED
[INFO] SonarQube Java :: Surefire ......................... SKIPPED
[INFO] SonarQube Java :: JSP .............................. SKIPPED
[INFO] SonarQube Java :: Plugin ........................... SKIPPED
[INFO] SonarQube Java :: ITs .............................. SKIPPED
[INFO] SonarQube Java :: ITs :: Plugin .................... SKIPPED
[INFO] SonarQube Java :: ITs :: Plugin :: Plugins ......... SKIPPED
[INFO] SonarQube Java :: ITS :: Plugin :: Java Extension Plugin SKIPPED
[INFO] SonarQube Java :: ITs :: Plugin :: Tests ........... SKIPPED
[INFO] SonarQube Java :: ITs :: Ruling .................... SKIPPED
[INFO] SonarQube Java :: Documentation .................... SKIPPED
[INFO] SonarQube Java :: Documentation :: Custom Rules Example SKIPPED
[INFO] ------------------------------------------------------------------------
[INFO] BUILD FAILURE
[INFO] ------------------------------------------------------------------------
[INFO] Total time: 16:22 min
[INFO] Finished at: 2023-12-27T10:00:30+05:30
[INFO] ------------------------------------------------------------------------
[ERROR] Failed to execute goal org.apache.maven.plugins:maven-surefire-plugin:2.
22.2:test (default-test) on project java-frontend: There are test failures.
[ERROR]
[ERROR] Please refer to F:\SCAproj\SCAspecific\sonar-java-master\sonar-java-mast
er\java-frontend\target\surefire-reports for the individual test results.
[ERROR] Please refer to dump files (if any exist) [date].dump, [date]-jvmRun[N].
dump and [date].dumpstream.
[ERROR] -> [Help 1]
Please tell how to resolve this error.
Thanking you
Nakul
Must-share information (formatted with Markdown):
- which versions are you using (SonarQube, Scanner, Plugin, and any relevant extension)
- how is SonarQube deployed: zip, Docker, Helm
- what are you trying to achieve
- what have you tried so far to achieve this
Do not share screenshots of logs – share the text itself (bonus points for being well-formatted)!