Skip to content

NPE is thrown when updating with AttributeValueUpdate without action #75

@nefilim

Description

@nefilim

v0.6.4

com.amazonaws.AmazonServiceException: Caught java.lang.NullPointerException (null) at com.michelboudreau.alternator.AlternatorDBHandler.updateItem line 991

This does not happen when running the same code against a AWS DynamoDB, I was under the impression one does not have to specify an action:

updateItems.put("NewAttribute",
new AttributeValueUpdate()
.withValue(new AttributeValue().withS("Some Value")));

http://docs.aws.amazon.com/amazondynamodb/latest/developerguide/LowLevelJavaCRUDExample.html

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions