Fixed: NullPointerException in plugin 'projectMgr' when listing TimeSheets
The empty string causes a NullPointerException, because in the WidgetWorker
returns only an anchorElement  if the description of the hyperlink is not empty.
Solution:  If the anchorElement is null, the line is simply not executed:
Thanks: Tom Pietsch
@@ -2915,8 +2915,10 @@ public final class MacroFormRenderer implements FormStringRenderer {
writer.append(hiddenFormElement.outerHtml());
final Element anchorElement = WidgetWorker.makeHiddenFormLinkAnchorElement(linkStyle,
encodedDescription, confirmation, modelFormField, request, context);
+ if (anchorElement != null) {
writer.append(anchorElement.outerHtml());
}
+ }
} else {
if ("layered-modal".equals(realLinkType)) {
String uniqueItemName = "Modal_".concat(UUID.randomUUID().toString().replace("-", "_"));
