Merge pull request #1041 from alexey-tschudnowsky/ISSUE_1040_Profile_Compare_NullPointerException
fixes #1040 (NullPointerException while comparing profiles)
This commit is contained in:
commit
4028d9930b
|
@ -4147,7 +4147,7 @@ public class ProfileUtilities extends TranslatingUtilities {
|
|||
if (!useTableForFixedValues || !allowSubRows || definition.getFixed().isPrimitive()) {
|
||||
String s = buildJson(definition.getFixed());
|
||||
String link = null;
|
||||
if (Utilities.isAbsoluteUrl(s))
|
||||
if (Utilities.isAbsoluteUrl(s) && pkp != null)
|
||||
link = pkp.getLinkForUrl(corePath, s);
|
||||
c.getPieces().add(checkForNoChange(definition.getFixed(), gen.new Piece(link, s, null).addStyle("color: darkgreen")));
|
||||
} else {
|
||||
|
|
Loading…
Reference in New Issue