mitre / rhapsode

Advanced desktop search/corpus exploration prototype
Other
21 stars 4 forks source link

NPE when writing table with static links #7

Closed tballison closed 6 years ago

tballison commented 6 years ago

If the user doesn't set which fields to view in the document viewer -- all first time users :) -- there's an NPE when writing out a table with static links. The document highlighter retrieves a document without fetching the content field from the Lucene index, no content is written, and this causes an NPE in the XHTMLWriter.

tballison commented 6 years ago

This is now fixed.

The workaround for 0.3.2-BETA:

1) Go to Admin::Interface Settings 2) Type “1” in the Indexed Document Viewer Fields’ “content” box 3) Click update button at the bottom of the screen.