My code is meant to extract the contents of a RichText item as HTML, but I get a runtime error.
Document doc = getExpression().getRefDoc(); Session session =