from 46% onwards we get lots of java.lang.NullPointerException: Cannot invoke "org.sonar.plugins.java.api.tree.ClassTree.simpleName()" because the return value of "java.util.Deque.peek()" is null and java.lang.NullPointerException: Cannot invoke "org.sonar.plugins.java.api.tree.Tree.kind()" because "node" is null
And CodeCharta Visualization says the file is "empty or invalid"
Bug
This bug is interesting. I thought the previous parsing issues had some relation to the amount of code, but microhttp only has about 1800 RLoC.
Expected Behavior
GIVEN
WHEN
THEN I get a valid microhttp.src.cc.json
Actual Behavior
java.lang.NullPointerException: Cannot invoke "org.sonar.plugins.java.api.tree.ClassTree.simpleName()" because the return value of "java.util.Deque.peek()" is null
andjava.lang.NullPointerException: Cannot invoke "org.sonar.plugins.java.api.tree.Tree.kind()" because "node" is null
And CodeCharta Visualization says the file is "empty or invalid"
Specifications