The problem occurs in version 7.4.2 but not in 7.4.1.
Searching in the cached crawl log of a running job gives an internal server error.
Steps to reproduce:
- click the ID of a running job in the "All Running Jobs" view
- click "View/Search in cached Crawllog"
- click "Update cache"
- change the filter regex to anything but ".*"
- click "Search"
500 Internal server error... java.lang.NoSuchMethodError: java.nio.ByteBuffer.flip()Ljava/nio/ByteBuffer; at dk.netarkivet.heritrix3.monitor.SearchResult.update(SearchResult.java:85)
It appears to be caused by compiling the java class with a newer version than the 1.8 target version. The ByteBuffer class in 1.8 doesn't have any flip() method whereas later versions do.
See https://stackoverflow.com/questions/61267495/exception-in-thread-main-java-lang-nosuchmethoderror-java-nio-bytebuffer-flip for discussion and resolution suggestions.
- mentioned in