Closed vladak closed 8 months ago
This corresponds to https://github.com/oracle/opengrok/blob/b996a179711b7d79a14107e75c51014eb82cbe8f/opengrok-web/src/main/webapp/diff.jsp#L137
In the debugger I see the revision
field being null
indeed.
Tracing the execution, this branch is taken: https://github.com/oracle/opengrok/blob/b996a179711b7d79a14107e75c51014eb82cbe8f/opengrok-web/src/main/java/org/opengrok/web/PageConfig.java#L351-L353 so the revisions are not filled.
After flipping the condition, the diff starts working.
When displaying a diff between two revisions in the latest master I am getting a NPE:
Looking at the
diff_jsp.java
file in the Tomcat'swork
directory I see it happens here: