codecharta
codecharta copied to clipboard
Sourcecodeparser can't parse MicroHttp
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
git clone [email protected]:ebarlas/microhttp.git
WHEN
ccsh sourcecodeparser jabref/ -o microhttp.src.cc.json
THEN I get a valid microhttp.src.cc.json
Actual Behavior
- 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
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
- is released in online-demo: yes
- CodeCharta Version: 1.125.0
- OS: MacOs
- Browser: FireFox