After upgrading from 4.0 -> 4.5.6 -> 5.2 I am seeing numerous runs of mvn sonar:sonar
failing with a null pointer exception. Strangely not all projects are affected and new projects don't exhibit this behavior.
For the ones that fail the output below is consistent. When I click the url that is reported for the request listed below I get {"errors":[{"msg":""}]}
2015.11.23 18:17:41 ERROR web[o.s.s.w.WebServiceEngine] Fail to process request http://mysonarurl/batch/project.protobuf?key=com.groupid%3Aartifactid
java.lang.NullPointerException: null
at com.google.protobuf.Utf8.encodedLength(Utf8.java:378) ~[protobuf-java-3.0.0-beta-1.jar:na]
at com.google.protobuf.CodedOutputStream.computeStringSizeNoTag(CodedOutputStream.java:911) ~[protobuf-java-3.0.0-beta-1.jar:na]
at com.google.protobuf.FieldSet.computeElementSizeNoTag(FieldSet.java:834) ~
[snip]
It looks like a similar issue was fixed at 5.1.