Forum Discussion
JMagDB
Oct 17, 2024Copper Contributor
Issue with Debugging Event Receiver in SharePoint Subscription Edition
Hello everyone,
I’m currently facing an issue while debugging an event receiver in SharePoint Subscription Edition. Specifically, when I attach to the w3wp process, I encounter a System.NullReferenceException in the ControlBuilder.cs file.
Here’s the relevant code snippet:
/// <summary>Creates the <see cref="T:System.Web.UI.ObjectPersistData" /> object for this <see cref="T:System.Web.UI.ControlBuilder" /> object.</summary>
/// <returns>The <see cref="T:System.Web.UI.ObjectPersistData" /> for this <see cref="T:System.Web.UI.ControlBuilder" />.</returns>
public ObjectPersistData GetObjectPersistData()
{
return new ObjectPersistData(this, Parser.RootBuilder.BuiltObjects);
}
Since this is not code I’ve written, I’m not sure why this exception is occurring. Has anyone else encountered this issue, or could someone provide insight into potential causes and solutions?
Thank you for your help!
No RepliesBe the first to reply