Hello,
I am getting the following error on taint analysis:
[INFO] 0 / 774 UCFGs simulated, memory usage: 1052 MB
[INFO] 600 / 774 UCFGs simulated, memory usage: 701 MB
[ERROR] Taint analysis was interrupted because of an unexpected error.
java.lang.IllegalArgumentException: 63 is not a valid line offset for pointer. File src/main/java/**mask**.java has 11 character(s) at line 98
at org.sonar.api.utils.Preconditions.checkArgument(Preconditions.java:43)
at org.sonar.api.batch.fs.internal.DefaultInputFile.checkValid(DefaultInputFile.java:343)
at org.sonar.api.batch.fs.internal.DefaultInputFile.newPointer(DefaultInputFile.java:276)
at org.sonar.api.batch.fs.internal.DefaultInputFile.newRange(DefaultInputFile.java:292)
at com.sonar.security.I.U.A(na:2759)
at com.sonar.security.I.U.A(na:3374)
at java.base/java.util.HashMap.forEach(Unknown Source)
at com.sonar.security.I.U.A(na:1993)
at com.sonar.security.I.U.A(na:624)
at com.sonar.security.I.U.A(na:1886)
I’ve removed the class package and name and the error line 98 is in the below screenshot:
Environment:
JAVA 17
Maven sonar plugin 0.8.12
Regards,
Yogesh
