-
Type: Bug
-
Status: Resolved
-
Priority: Minor
-
Resolution: Fixed
-
Affects Version/s: 5.4.2
-
Fix Version/s: 5.4.2-HF17, 5.5.0-HF03, 5.6-RC1, 5.6
-
Component/s: Automation
Object obj = ctx.getInput(); DocumentModel doc = null; if (obj instanceof DocumentModel) { doc = (DocumentModel) obj; } if (doctypes != null) { if (doc == null || (!doctypes.isEmpty() && !doctypes.contains(doc.getType()))) { return false; } }
the problem is that doctypes is not null and empty. And because the event is not a document event, doc is null.
if (doctypes != null || doctypes.size() > 0) {
- depends on
-
NXP-8869 Fix xmap mapping for XNodeList: if type is not ArrayList, the attribute nullByDefault doesn't work
- Resolved