Skip to content

Fixed NullReferenceException thrown when provisioning a Cloud Foundat… #105

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
wants to merge 1 commit into
base: dev
Choose a base branch
from

Conversation

EtherZa
Copy link

@EtherZa EtherZa commented Jun 25, 2025

CloudFormationTemplateResourceProvisioner throws a NullReferenceException when provisioning a template that does not include any outputs. The exception occurs when attempting to log the number out outputs.

Issue:

Description of changes:

  • Modified the log argument to use a null-coalesce with a fallback of 0 to prevent the exception.

By submitting this pull request, I confirm that you can use, modify, copy, and redistribute this contribution, under the terms of your choice.

Copy link
Member

@normj normj left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks for the PR addressing the issue.

@normj normj changed the base branch from main to dev June 25, 2025 07:05
@philasmar philasmar self-requested a review June 25, 2025 17:22
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants