Skip to content

Java (jsii): passing "null" behaves differently than no argument #157

Closed
@eladb

Description

For example:

// no exception
new Queue(stack, "foo");

// exception: org.jsii.JsiiException: Cannot read property 'deliveryDelaySec' of null
new Queue(stack, "foo", null);

// workaround:
new Queue(stack, "foo", QueueProps.builder().build());

Metadata

Assignees

Labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions