Github user jvwing commented on the pull request: https://github.com/apache/nifi/pull/224#issuecomment-194029775 I have [another annoying test for you](https://github.com/jvwing/nifi/commit/95d7620f45398f20f23d6f5e7cfe572616beb8d6), for the following scenario: 1. GetDynamoDB successfully receives an item 1. The item does not have the Json Document attribute expected from the configured properties 1. GetDynamoDB throws a NullPointerException with no helpful explanation. Logged text was: > 2016-03-08 10:48:40,855 ERROR [Timer-Driven Process Thread-5] o.a.n.p.aws.dynamodb.GetDynamoDB GetDynamoDB[id=86f82c25-0021-4228-a5a6-df7d11c2370e] Could not process flowFiles due to exception : null I expect this scenario to be fairly normal with the Json Document attribute design since DynamoDB has no schema enforcement. I recommend changing the code to either throw a more helpful exception message (see sample), or to silently accept this by passing empty FlowFile content.
--- If your project is set up for it, you can reply to this email and have your reply appear on GitHub as well. If your project does not have this feature enabled and wishes so, or if the feature is enabled but not working, please contact infrastructure at infrastruct...@apache.org or file a JIRA ticket with INFRA. ---