Skip to content
This repository has been archived by the owner on Apr 9, 2023. It is now read-only.

Commit

Permalink
Fix NullPointerException in ElemExtensionCall#execute() when an exten…
Browse files Browse the repository at this point in the history
…sion jar is missing from the classpath

(cherry picked from commit 663918a)
  • Loading branch information
Gary Gregory authored and carlosame committed Dec 9, 2022
1 parent 22ea2c3 commit 8773fa2
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -211,7 +211,7 @@ public void execute(TransformerImpl transformer)
transformer.getResultTreeHandler().flushPending();

ExtensionsTable etable = transformer.getExtensionsTable();
ExtensionHandler nsh = etable.get(m_extns);
ExtensionHandler nsh = etable != null ? etable.get(m_extns) : null;

if (null == nsh)
{
Expand Down

0 comments on commit 8773fa2

Please sign in to comment.