Skip to content
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

Nullable object must have a value #631

Closed
bkwoka opened this issue Jan 29, 2022 · 1 comment
Closed

Nullable object must have a value #631

bkwoka opened this issue Jan 29, 2022 · 1 comment

Comments

@bkwoka
Copy link

bkwoka commented Jan 29, 2022

Hi.

I have a problem with FetchXml Builder.
Whenever I try to add an attribute I get an error

image
See the end of this message for details on invoking
just-in-time (JIT) debugging instead of this dialog box.

************** Exception Text **************
System.InvalidOperationException: Nullable object must have a value.
at System.ThrowHelper.ThrowInvalidOperationException(ExceptionResource resource)
at Cinteros.Xrm.FetchXmlBuilder.AppCode.Validations.GetWarning(TreeNode node, FetchXmlBuilder fxb)
at Cinteros.Xrm.FetchXmlBuilder.AppCode.TreeNodeHelper.SetWarnings(TreeNode node, FetchXmlBuilder fxb)
at Cinteros.Xrm.FetchXmlBuilder.AppCode.TreeNodeHelper.SetWarnings(TreeNode node, FetchXmlBuilder fxb)
at Cinteros.Xrm.FetchXmlBuilder.AppCode.TreeNodeHelper.SetWarnings(TreeNode node, FetchXmlBuilder fxb)
at Cinteros.Xrm.FetchXmlBuilder.AppCode.TreeNodeHelper.SetNodeText(TreeNode node, FetchXmlBuilder fxb, Boolean validate)
at Cinteros.Xrm.FetchXmlBuilder.DockControls.TreeBuilderControl.CtrlSaved(Object sender, SaveEventArgs e)
at Cinteros.Xrm.FetchXmlBuilder.Controls.FetchXmlElementControlBase.SaveInternal(Boolean keyPress)
at Cinteros.Xrm.FetchXmlBuilder.Controls.FetchXmlElementControlBase.Save(Boolean keyPress)
at Cinteros.Xrm.XmlEditorUtils.ControlUtils.ComboBoxEventHandler.OnSelectedIndexChanged(Object sender, EventArgs e)
at System.EventHandler.Invoke(Object sender, EventArgs e)
at System.Windows.Forms.ComboBox.OnSelectedIndexChanged(EventArgs e)
at System.Windows.Forms.ComboBox.WmReflectCommand(Message& m)
at System.Windows.Forms.ComboBox.WndProc(Message& m)
at System.Windows.Forms.NativeWindow.Callback(IntPtr hWnd, Int32 msg, IntPtr wparam, IntPtr lparam)

@rappen
Copy link
Owner

rappen commented Jan 29, 2022

Thanks for reporting.
Somehow the problem is still here, for some reason.
I get the error when I just tried it now, but not when I try again...
I have to look into this!

rappen added a commit that referenced this issue Jan 31, 2022
@rappen rappen closed this as completed Jan 31, 2022
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

No branches or pull requests

2 participants