Optimizely Forms Inline Block NRE

Hi there,

We have a site on CMS 13.2.0 and Forms 6.0.1.

When a user tries to create an inline form container block, there is an NRE thrown.

This is becuase the EPiServer.Forms.Controllers.FormContainerBlockController InvokeComponent method tries to access currentBlock.Content.ContentGuid, where Content is null when the block is created inline.

I've minimally recreated the error in an Alloy solution on the latest versions of Forms (6.0.2) and CMS 13 (13.3.0). Screenshot attached below of the content area (the default content area on the alloy homepage) and the error being caught in the decompiled Forms DLL.

Has anyone else seen this issue, and has a workaround/fix? Should we just disable inline blocks entirely if using Forms?

#343458
Oct 07, 2026 11:49
* You are NOT allowed to include any hyperlinks in the post because your account hasn't associated to your company. User profile should be updated.