Details
Description
For instance with the following java class, the violation is reported at line 0 instead of line 6 :
package org.larrys; import java.util.List; public class PrivateMethod { private void transactionValidation(String transaction, List<String> containers) { } }
Issue Links
- relates to
-
SONARPLUGINS-799
NPE when getting line id from Violation
-
In fact, this case is correctly handled : A unit test already exists and some examples exist on Nemo : http://nemo.sonarsource.org/resource/index/org.sigmah:sigmah:org.sigmah.shared.report.content.PivotTableData?metric=violations
So there must be another issue.