Description
Putting debugging statements I made the mistake of trying to print out a Markup
object. Turns out, it the MarkupCache can not find an associated Markup
object uses the Markup.NO_MARKUP singleton. This has neither the
markupResourceStream instance variable set or the markupElements set and,
thus, the Markup.toString method gives one a java.lang.NullPointerException.
The check might be to test for null prior to accessing them in the toString method.
Just a thought.