Cannot generate ucfg for file

  • Software: SonarCloud
  • Error observed
[ERROR] Unable to run check class A.A.A.A.A.B.H - S2078 on file '/mnt/jenkins/workspace/IQM_CI_Pull_Requests_PR-1575@script/WebCommons/target/sonar/jsp/org/apache/jsp/WEB_002dINF/views/menuLogo_jsp.java', To help improve the SonarSource Java Analyzer, please report this problem to SonarSource: see https://community.sonarsource.com/
A.A.A.A.A.G: Cannot generate ucfg for file /mnt/jenkins/workspace/IQM_CI_Pull_Requests_PR-1575@script/WebCommons/target/sonar/jsp/org/apache/jsp/WEB_002dINF/views/menuLogo_jsp.java for method at line 145
  • Steps to reproduce
    The file:
    menuLogo_jsp.zip (2.1 KB)
  • Scanner command used when applicable (private details masked)
  • In case of SonarCloud:
    • ALM used: Bitbucket Cloud
    • CI system used: Jenkins

Hello @lrozenblyum,

Do you still have trouble to scan your menuLogo.jsp file on SonarCloud?

Thanks
Alex

Hello @Alexandre_Gigleux unfortunately yes, the exception is still there

Thanks. I managed to reproduce the failure with the provided file menu.jsp file and these dependencies:

	<dependency>
		<groupId>org.apache.tomcat</groupId>
		<artifactId>tomcat-jasper</artifactId>
		<version>9.0.37</version>
	</dependency>
	<dependency>
		<groupId>net.jawr</groupId>
		<artifactId>jawr</artifactId>
		<version>3.3.1</version>
		<scope>system</scope>
		<systemPath>...\jawr-3.3.1.jar</systemPath>
	</dependency>
1 Like