Project

Profile

Help

Bug #3400

closed

saxon:send-mail fails with NullPointerException if any configuration options are absent

Added by Michael Kay over 6 years ago. Updated over 6 years ago.

Status:
Closed
Priority:
Normal
Category:
Saxon extensions
Sprint/Milestone:
-
Start date:
2017-08-18
Due date:
% Done:

100%

Estimated time:
Legacy ID:
Applies to branch:
9.7, 9.8
Fix Committed on Branch:
9.8
Fixed in Maintenance Release:
Platforms:

Description

See https://stackoverflow.com/questions/45741043/saxonsend-mail-function-return-java-lang-nullpointerexception-error

Created test case (in xslt3extra test suite) send-mail-001.

The code in checkMailProperty reads a property from the options map and fails with an NPE if it is absent.

Please register to edit this issue

Also available in: Atom PDF