You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Failure on commons-logging: Range not present on node #140
Describe the bug
A clear and concise description of what the bug is.
Running codeanalyzer on Apache commons-logging at analysis level 1 results in this failure:
Caused by: java.lang.RuntimeException: Range not present on node {
}
at com.github.javaparser.printer.lexicalpreservation.LexicalPreservingPrinter.storeInitialTextForOneNode(LexicalPreservingPrinter.java:494)
at com.github.javaparser.printer.lexicalpreservation.LexicalPreservingPrinter.access$300(LexicalPreservingPrinter.java:62)
at com.github.javaparser.printer.lexicalpreservation.LexicalPreservingPrinter$2.process(LexicalPreservingPrinter.java:479)
at com.github.javaparser.ast.visitor.TreeVisitor.visitBreadthFirst(TreeVisitor.java:79)
at com.github.javaparser.printer.lexicalpreservation.LexicalPreservingPrinter.lambda$storeInitialText$3(LexicalPreservingPrinter.java:482)
at java.base/java.util.Optional.ifPresent(Optional.java:178)
at com.github.javaparser.printer.lexicalpreservation.LexicalPreservingPrinter.storeInitialText(LexicalPreservingPrinter.java:462)
at com.github.javaparser.printer.lexicalpreservation.LexicalPreservingPrinter.lambda$setup$0(LexicalPreservingPrinter.java:98)
at java.base/java.util.Optional.ifPresent(Optional.java:178)
at com.github.javaparser.printer.lexicalpreservation.LexicalPreservingPrinter.setup(LexicalPreservingPrinter.java:97)
at com.ibm.cldk.SymbolTable.extractAll(SymbolTable.java:1164)
at com.ibm.cldk.CodeAnalyzer.analyze(CodeAnalyzer.java:196)
at com.ibm.cldk.CodeAnalyzer.run(CodeAnalyzer.java:119)
... 7 more
To Reproduce
Steps to reproduce the behavior:
1.
Expected behavior
A clear and concise description of what you expected to happen.
Logs
If applicable, add logs to help explain your problem.
Additional context
Add any other context about the problem here.
Activity
Perform safe lexical preserving printer setup by checking for presenc…