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

Object reference and a Nullable object error when opening tool and when trying to add attributes to entity #627

Closed
jxs0900 opened this issue Jan 20, 2022 · 2 comments

Comments

@jxs0900
Copy link

jxs0900 commented Jan 20, 2022

FetchXMLBuilder version 1.2022.1.4

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

************** Exception Text **************
System.NullReferenceException: Object reference not set to an instance of an object.
at Cinteros.Xrm.FetchXmlBuilder.DockControls.TreeBuilderControl.HandleNodeMenuClick(String ClickedTag)
at System.Windows.Forms.LinkLabel.OnLinkClicked(LinkLabelLinkClickedEventArgs e)
at System.Windows.Forms.LinkLabel.OnMouseUp(MouseEventArgs e)
at System.Windows.Forms.Control.WmMouseUp(Message& m, MouseButtons button, Int32 clicks)
at System.Windows.Forms.Control.WndProc(Message& m)
at System.Windows.Forms.Label.WndProc(Message& m)
at System.Windows.Forms.NativeWindow.Callback(IntPtr hWnd, Int32 msg, IntPtr wparam, IntPtr lparam)

image
image

@ali-shafique
Copy link

ali-shafique commented Jan 20, 2022

I am having exactly the same issue. I did tried the following but did not worked.

  1. Backup your connections folder in C:\users\appData\your_login\Roaming\MscrmTools\XrmToolBox
  2. Backup your settings folder in C:\users\appData\your_login\Roaming\MscrmTools\XrmToolBox
  3. Delete content of folder C:\users\appData\your_login\Roaming\MscrmTools\XrmToolBox
  4. Start XrmToolBox again. There shouldn't be error/problem anymore
  5. Install tools from Tool Library
    This solution is not working.

@rappen
Copy link
Owner

rappen commented Jan 21, 2022

Thanks @jxs0900 and @ali-shafique

I see the same error for all-attributes, so currently this done not work.
It will be fixed.
Until the fix is released, you can use it without the all-attributes - it works the same way (for simply queries).

See:
image

@rappen rappen closed this as completed in bb7d506 Jan 21, 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

3 participants