Eddie D said:
Hi,In regards of .Net Reflector, I have never seen this error previously. I suspect a value for a parameter was expected and none was received.What version of .Net reflector are you using?Are there any log files available, I believe they be accessible via the Help menu? Are there any indications as to the object generating the reported error?Do you have security permissions to the object, libraries or components that you are attempting to analyse?Many ThanksEddie
%LOCALAPPDATA%\Red Gate\.NET Reflector\
Russell D said:
%LOCALAPPDATA%\Red Gate\.NET Reflector\ is the location of the log file and should hopefully tell us what was the cause of the error.
05 Jun 2020 15:00:45.847  WARN RedGate.Reflector.VsPackage.Engine.IntegrationEngine - RedGate.Reflector.VsPackage.Engine.ReferenceException: The standard project reference Newtonsoft.Json has no location at RedGate.Reflector.VsPackage.Engine.IntegrationEngine.GetOurReferenceForReference(Reference reference, ProcessorArchitecture architecture) at RedGate.Reflector.VsPackage.Engine.IntegrationEngine.ProcessProjectReferences(Project project, Action`2 action, ProcessProjectReferencesOptions options, Action`1 failedToResolveAction)
Additionally, what exactly were you doing when the error appeared? For example, did you use "Go To Decompiled Definition" option from the code area context menu, or did you press F12 on a code element, or has clicked something in one of .NET Reflector's tool windows (e.g. .NET Reflector Analyzer or .NET Reflector Object Browser)?
Object reference not set to an instance of an object.System.NullReferenceException at RedGate.Reflector.VsPackage.Engine.ModulesReader.ForLoadedModules(Action`2 assemblyAction, Action`3 pdbAction) at RedGate.Reflector.VsPackage.Gui.PdbGeneration.<>c__DisplayClass28_0.<SetUpDialogForAssemblyChoosing>b__2()"
Did the error appear when interacting with any specific assembly? If so, can you share that assembly to help us reproduce the issue?
As for the reason for the dialog's invalid size, it might be related to system DPI settings (high DPI), so we may need to investigate it separately, what resolution/dpi are you using?
Tips and how-to guides for Redgate products
Ask, discuss, and solve questions about Redgate's tools
Meet us at an event, get sponsored, and join our Friends of Redgate
In-depth articles and opinion from Redgate's technical journal