Closed vladak closed 7 months ago
The lineMaps
is actually null
in:
public @Nullable List<Tag> getTags(int line) {
return Optional.ofNullable(lineMaps.get(line))
.map(lineMap -> lineMap.symTags.values().stream()
.flatMap(Collection::stream)
.collect(Collectors.toList())
)
.orElse(null);
}
The null lineMaps
is from a Definitions
object that came from the index: https://github.com/oracle/opengrok/blob/21414eb06d6b556c5d70b794fd80d4b0325c8a51/opengrok-web/src/main/webapp/list.jsp#L246
In 1.12.24, attempting to display an annotation leads to NPE: