VS ADDIN Broken - Object reference net set to an instance of an object - How to debug


##- Please type your reply above this line -##

Your request (#93959) has been updated.

If you would like to add additional comments, please reply directly to this email.

Alternatively, please click here: http://redgatesupport.zendesk.com/hc/requests/93959. This takes you to the customer portal where you can view your tickets and also add further information to your support requests.

Sam Johnson (Support)

Jul 18, 09:23 BST
Hi,

Thanks for getting in touch.

We provide the support for .Net Reflector our forums, you should direct your question(s) there. Or you can take a look at our documentation, where you may be able to find a solution.

Kind Regards,
Sam Johnson
Customer Support Team

Jul 18, 06:20 BST

When is the updated version of reflector for VS 2017 supposed to be released? I waited for it for the last few months now and it's still not out. I haven't been able to use this VS add in that I purchased because of some problem in your VS plugin. The .NET REFLECTOR menu item shows up in VS2013, however, the drop down looks different than what is shown on the product page. The only options are .NET REFLECTOR Object Browser, Clear the cache, GotoDefinition (F12), Track Loaded Modules, Disable Just my code on startup, Decompile from Call Stack, and Help...but clicking on any of these except the help about....shows a popup messagebox ... "Object reference net set to an instance of an object".
I checked in the logs for the plugin and there is nothing useful and even tried attaching another visual studio to it and set a breakpoint on MessageBox to try to see what the problem is but it never breaks?

Also launched VS with /log and looked in the log file and only have this:
<entry>
<record>85</record>
<time>2017/07/15 08:13:17.371</time>
<type>Information</type>
<source>VisualStudio</source>
<description>Begin package load [RedGate.Reflector.VsPackage.ReflectorPackage, RedGate.Reflector.VsPackage, Version=9.0.1.374, Culture=neutral, PublicKeyToken=7f465a1c156d4d57]</description>
<guid>{04E215D3-4DFD-4AE4-B72C-D5EF91DC603B}</guid>
</entry>
<entry>
<record>86</record>
<time>2017/07/15 08:13:17.855</time>
<type>Information</type>
<source>VisualStudio</source>
<description>End package load [RedGate.Reflector.VsPackage.ReflectorPackage, RedGate.Reflector.VsPackage, Version=9.0.1.374, Culture=neutral, PublicKeyToken=7f465a1c156d4d57]</description>
<guid>{04E215D3-4DFD-4AE4-B72C-D5EF91DC603B}</guid>
</entry>

Also tried setting the log levels in LoggingConfiguration.xml to INFO or debug, but I only have this each time it crashes:

18 Jul 2017 01:14:50.087 [1] INFO RedGate.Reflector.VsPackage - Starting new .NET Reflector 9 session
18 Jul 2017 01:14:50.102 [1] INFO RedGate.Reflector.VsPackage - Assembly version: 9.0.1.374
18 Jul 2017 01:14:50.102 [1] INFO RedGate.Reflector.VsPackage.ReflectorPackage - Package Initialize has been called.
18 Jul 2017 01:14:50.399 [1] INFO RedGate.Reflector.VsPackage.ReflectorPackage - VS Zombie True
18 Jul 2017 01:14:51.756 [1] INFO RedGate.Reflector.VsPackage.ReflectorPackage - First time initialize
18 Jul 2017 01:14:51.756 [1] INFO RedGate.Reflector.VsPackage.ReflectorPackage - Post startup initialize

This is the list of output from the attached debugging section using the second copy of Visual Studio (2017) attached to the first (2013) where the plugin is loaded an failed:

Comments

  • 'devenv.exe' (Win32): Loaded 'C:\Windows\SysWOW64\psapi.dll'. Cannot find or open the PDB file.
    'devenv.exe' (Win32): Loaded 'C:\Windows\SysWOW64\oleacc.dll'. Cannot find or open the PDB file.
    'devenv.exe' (Win32): Loaded 'C:\Windows\SysWOW64\DWrite.dll'. Cannot find or open the PDB file.
    'devenv.exe' (Win32): Loaded 'C:\Program Files (x86)\Microsoft Visual Studio 12.0\Common7\IDE\1033\msenvui.dll'. Module was built without symbols.
    'devenv.exe' (Win32): Loaded 'C:\Windows\SysWOW64\cryptsp.dll'. Cannot find or open the PDB file.
    'devenv.exe' (Win32): Loaded 'C:\Windows\SysWOW64\rsaenh.dll'. Cannot find or open the PDB file.
    'devenv.exe' (Win32): Loaded 'C:\Windows\SysWOW64\RpcRtRemote.dll'. Cannot find or open the PDB file.
    'devenv.exe' (Win32): Loaded 'C:\Windows\SysWOW64\clbcatq.dll'. Cannot find or open the PDB file.
    'devenv.exe' (Win32): Loaded 'C:\Windows\SysWOW64\es.dll'. Cannot find or open the PDB file.
    'devenv.exe' (Win32): Loaded 'C:\Windows\Microsoft.NET\Framework\v4.0.30319\clr.dll'. Cannot find or open the PDB file.
    'devenv.exe' (Win32): Loaded 'C:\Windows\SysWOW64\msvcr120_clr0400.dll'. Cannot find or open the PDB file.
    'devenv.exe' (Win32): Loaded 'C:\Windows\assembly\NativeImages_v4.0.30319_32\mscorlib\225759bb87c854c0fff27b1d84858c21\mscorlib.ni.dll'.
    'devenv.exe' (Win32): Loaded 'C:\Windows\SysWOW64\wininet.dll'. Cannot find or open the PDB file.
    'devenv.exe' (Win32): Loaded 'C:\Windows\SysWOW64\api-ms-win-downlevel-user32-l1-1-0.dll'. Cannot find or open the PDB file.
    'devenv.exe' (Win32): Loaded 'C:\Windows\SysWOW64\api-ms-win-downlevel-shlwapi-l1-1-0.dll'. Cannot find or open the PDB file.
    'devenv.exe' (Win32): Loaded 'C:\Windows\SysWOW64\api-ms-win-downlevel-version-l1-1-0.dll'. Cannot find or open the PDB file.
    'devenv.exe' (Win32): Loaded 'C:\Windows\SysWOW64\api-ms-win-downlevel-normaliz-l1-1-0.dll'. Cannot find or open the PDB file.
    'devenv.exe' (Win32): Loaded 'C:\Windows\SysWOW64\normaliz.dll'. Cannot find or open the PDB file.
    'devenv.exe' (Win32): Loaded 'C:\Windows\SysWOW64\iertutil.dll'. Cannot find or open the PDB file.
    'devenv.exe' (Win32): Loaded 'C:\Windows\SysWOW64\api-ms-win-downlevel-advapi32-l1-1-0.dll'. Cannot find or open the PDB file.
    'devenv.exe' (Win32): Loaded 'C:\Windows\SysWOW64\userenv.dll'. Cannot find or open the PDB file.
    'devenv.exe' (Win32): Loaded 'C:\Windows\SysWOW64\secur32.dll'. Cannot find or open the PDB file.
    'devenv.exe' (Win32): Loaded 'C:\Windows\SysWOW64\api-ms-win-downlevel-ole32-l1-1-0.dll'. Cannot find or open the PDB file.
    'devenv.exe' (Win32): Loaded 'C:\Windows\SysWOW64\api-ms-win-downlevel-advapi32-l2-1-0.dll'. Cannot find or open the PDB file.
    'devenv.exe' (Win32): Loaded 'C:\Windows\SysWOW64\urlmon.dll'. Cannot find or open the PDB file.
    'devenv.exe' (Win32): Loaded 'C:\Windows\SysWOW64\bcrypt.dll'. Cannot find or open the PDB file.
    'devenv.exe' (Win32): Loaded 'C:\Windows\SysWOW64\bcryptprimitives.dll'. Cannot find or open the PDB file.
    'devenv.exe' (Win32): Loaded 'C:\Windows\Microsoft.NET\Framework\v4.0.30319\nlssorting.dll'. Cannot find or open the PDB file.
    'devenv.exe' (Win32): Loaded 'C:\Windows\Microsoft.NET\Framework\v4.0.30319\clrjit.dll'. Cannot find or open the PDB file.
    'devenv.exe' (Win32): Loaded 'C:\Windows\assembly\NativeImages_v4.0.30319_32\System\52cca48930e580e3189eac47158c20be\System.ni.dll'.
    'devenv.exe' (Win32): Loaded 'C:\Windows\assembly\NativeImages_v4.0.30319_32\System.Drawing\646b4b01cb29986f8e076aa65c9e9753\System.Drawing.ni.dll'.
    'devenv.exe' (Win32): Loaded 'C:\Windows\assembly\NativeImages_v4.0.30319_32\System.Windows.Forms\5aac750b35b27770dccb1a43f83cced7\System.Windows.Forms.ni.dll'.
    'devenv.exe' (Win32): Loaded 'C:\Windows\assembly\NativeImages_v4.0.30319_32\System.Core\55560c2014611e9119f99923c9ebdeef\System.Core.ni.dll'.
    'devenv.exe' (Win32): Loaded 'C:\Windows\assembly\NativeImages_v4.0.30319_32\Microsoft.V412add50#\8db23c10f1f1585c5b870f1754856b3e\Microsoft.VisualStudio.Shell.UI.Internal.ni.dll'.
    'devenv.exe' (Win32): Loaded 'C:\Windows\assembly\NativeImages_v4.0.30319_32\WindowsBase\32512bd09e2231f6eebb15fc17e3ad79\WindowsBase.ni.dll'.
    'devenv.exe' (Win32): Loaded 'C:\Windows\assembly\NativeImages_v4.0.30319_32\PresentationCore\416ba33cb980d07643e82c4c45bd5786\PresentationCore.ni.dll'.
    'devenv.exe' (Win32): Loaded 'C:\Windows\assembly\NativeImages_v4.0.30319_32\Presentatio5ae0f00f#\da36abbea6ef456f432434d4d8d835c1\PresentationFramework.ni.dll'.
    'devenv.exe' (Win32): Loaded 'C:\Windows\assembly\NativeImages_v4.0.30319_32\System.Xaml\6d09f865a22e2f903b74476769e1b76a\System.Xaml.ni.dll'.
    'devenv.exe' (Win32): Loaded 'C:\Windows\Microsoft.NET\Framework\v4.0.30319\WPF\wpfgfx_v0400.dll'. Cannot find or open the PDB file.
    'devenv.exe' (Win32): Loaded 'C:\Windows\Microsoft.NET\Framework\v4.0.30319\WPF\PresentationNative_v0400.dll'. Cannot find or open the PDB file.
    'devenv.exe' (Win32): Loaded 'C:\Windows\assembly\NativeImages_v4.0.30319_32\Microsoft.Vc1f536d8#\05b8b0a4b9beab19a957277d86d1e93b\Microsoft.VisualStudio.Shell.12.0.ni.dll'.
    'devenv.exe' (Win32): Loaded 'C:\Windows\assembly\NativeImages_v4.0.30319_32\Microsoft.Vbeb7089b#\14e722e596eec3841c276a5b4f1bbe1a\Microsoft.VisualStudio.Threading.ni.dll'.
    'devenv.exe' (Win32): Loaded 'C:\Program Files (x86)\Microsoft Visual Studio 12.0\Common7\IDE\1033\msenvmui.dll'. Module was built without symbols.
    'devenv.exe' (Win32): Loaded 'C:\Windows\assembly\NativeImages_v4.0.30319_32\Microsoft.Vc38f2c7b#\a572c60e334a131f383cc47121ca4f11\Microsoft.VisualStudio.Platform.WindowManagement.ni.dll'.
    'devenv.exe' (Win32): Loaded 'C:\Windows\assembly\NativeImages_v4.0.30319_32\Microsoft.Vc1ae403b#\77e9fa6b058c03f596297d47691d3c11\Microsoft.VisualStudio.Shell.ViewManager.ni.dll'.
    'devenv.exe' (Win32): Loaded 'C:\Program Files (x86)\Microsoft Visual Studio 12.0\Common7\IDE\vslog.dll'. Cannot find or open the PDB file.
    'devenv.exe' (Win32): Loaded 'C:\Program Files (x86)\Microsoft Visual Studio 12.0\Common7\IDE\1033\vslogui.dll'. Module was built without symbols.
    'devenv.exe' (Win32): Loaded 'C:\Program Files (x86)\Microsoft Visual Studio 12.0\Common7\IDE\sqmapi.dll'. Cannot find or open the PDB file.
    'devenv.exe' (Win32): Loaded 'C:\Windows\SysWOW64\wkscli.dll'. Cannot find or open the PDB file.
    'devenv.exe' (Win32): Loaded 'C:\Windows\SysWOW64\netutils.dll'. Cannot find or open the PDB file.
    'devenv.exe' (Win32): Loaded 'C:\Windows\assembly\NativeImages_v4.0.30319_32\Presentatio1c9175f8#\1d34aa9a1a9cacd0301097d55cd6e658\PresentationFramework.Aero.ni.dll'.
    'devenv.exe' (Win32): Loaded 'C:\Windows\SysWOW64\prl_umdd.dll'. Cannot find or open the PDB file.
    'devenv.exe' (Win32): Loaded 'C:\Windows\SysWOW64\wtsapi32.dll'. Cannot find or open the PDB file.
    'devenv.exe' (Win32): Loaded 'C:\Windows\SysWOW64\winsta.dll'. Cannot find or open the PDB file.
    'devenv.exe' (Win32): Loaded 'C:\Windows\assembly\NativeImages_v4.0.30319_32\System.Configuration\46957030830964165644b52b0696c5d9\System.Configuration.ni.dll'.
    'devenv.exe' (Win32): Loaded 'C:\Windows\assembly\NativeImages_v4.0.30319_32\System.Xml\d86b080a37c60a872c82b912a2a63dac\System.Xml.ni.dll'.
    'devenv.exe' (Win32): Loaded 'C:\Windows\assembly\NativeImages_v4.0.30319_32\Microsoft.Vd4321c2d#\3b30f399d74a1e1846f0dfb0a19a5dbd\Microsoft.VisualStudio.Diagnostics.Assert.ni.dll'.
  • 'C:\Windows\Microsoft.Net\assembly\GAC_MSIL\System.ComponentModel.DataAnnotations\v4.0_4.0.0.0__31bf3856ad364e35\System.ComponentModel.DataAnnotations.dll'. Cannot find or open the PDB file.
    The thread 0xfcc has exited with code 0 (0x0).
    The thread 0x1b54 has exited with code 0 (0x0).
    The thread 0x1d04 has exited with code 0 (0x0).
    Exception thrown: 'System.NullReferenceException' in RedGate.Reflector.VsPackage.dll
    Exception thrown: 'System.NullReferenceException' in RedGate.Reflector.VsPackage.dll
    Exception thrown: 'System.NullReferenceException' in RedGate.Reflector.VsPackage.dll
    Exception thrown: 'System.NullReferenceException' in RedGate.Reflector.VsPackage.dll
    Exception thrown: 'System.NullReferenceException' in RedGate.Reflector.VsPackage.dll
    Exception thrown: 'System.NullReferenceException' in RedGate.Reflector.VsPackage.dll
    Exception thrown: 'System.NullReferenceException' in RedGate.Reflector.VsPackage.dll
    Exception thrown: 'System.NullReferenceException' in RedGate.Reflector.VsPackage.dll
    Exception thrown: 'System.NullReferenceException' in RedGate.Reflector.VsPackage.dll
    Exception thrown: 'System.NullReferenceException' in RedGate.Reflector.VsPackage.dll
    Exception thrown: 'System.NullReferenceException' in RedGate.Reflector.VsPackage.dll
    Exception thrown: 'System.NullReferenceException' in RedGate.Reflector.VsPackage.dll
    Exception thrown: 'System.NullReferenceException' in RedGate.Reflector.VsPackage.dll
    Exception thrown: 'System.NullReferenceException' in RedGate.Reflector.VsPackage.dll
    Exception thrown: 'System.NullReferenceException' in RedGate.Reflector.VsPackage.dll
    Exception thrown: 'System.NullReferenceException' in RedGate.Reflector.VsPackage.dll
    Exception t

    Attachment(s)
    Screen Shot 2017-07-18 at 1.08.16 AM.png
    Screen Shot 2017-07-18 at 1.06.45 AM.png
    Screen Shot 2017-07-18 at 1.08.07 AM.png

    Learn and share with the Redgate community

    Catch up on the latest news from the blog, meet up with the community, and solve problems together

    Go to the Redgate hub
    This email is a service from Support.
  • 'devenv.exe' (Win32): Loaded 'C:\Program Files (x86)\Microsoft Visual Studio 12.0\Common7\IDE\devenv.exe'. Cannot find or open the PDB file.
    'devenv.exe' (Win32): Loaded 'C:\Windows\SysWOW64\ntdll.dll'. Cannot find or open the PDB file.
    'devenv.exe' (Win32): Loaded 'C:\Windows\SysWOW64\kernel32.dll'. Cannot find or open the PDB file.
    'devenv.exe' (Win32): Loaded 'C:\Windows\SysWOW64\KernelBase.dll'. Cannot find or open the PDB file.
    'devenv.exe' (Win32): Loaded 'C:\Windows\SysWOW64\advapi32.dll'. Cannot find or open the PDB file.
    'devenv.exe' (Win32): Loaded 'C:\Windows\SysWOW64\msvcrt.dll'. Cannot find or open the PDB file.
    'devenv.exe' (Win32): Loaded 'C:\Windows\SysWOW64\sechost.dll'. Cannot find or open the PDB file.
    'devenv.exe' (Win32): Loaded 'C:\Windows\SysWOW64\rpcrt4.dll'. Cannot find or open the PDB file.
    'devenv.exe' (Win32): Loaded 'C:\Windows\SysWOW64\sspicli.dll'. Cannot find or open the PDB file.
    'devenv.exe' (Win32): Loaded 'C:\Windows\SysWOW64\cryptbase.dll'. Cannot find or open the PDB file.
    'devenv.exe' (Win32): Loaded 'C:\Windows\SysWOW64\gdi32.dll'. Cannot find or open the PDB file.
    'devenv.exe' (Win32): Loaded 'C:\Windows\SysWOW64\user32.dll'. Cannot find or open the PDB file.
    'devenv.exe' (Win32): Loaded 'C:\Windows\SysWOW64\lpk.dll'. Cannot find or open the PDB file.
    'devenv.exe' (Win32): Loaded 'C:\Windows\SysWOW64\usp10.dll'. Cannot find or open the PDB file.
    'devenv.exe' (Win32): Loaded 'C:\Windows\SysWOW64\msvcr120.dll'. Cannot find or open the PDB file.
    'devenv.exe' (Win32): Loaded 'C:\Windows\SysWOW64\ole32.dll'. Cannot find or open the PDB file.
    'devenv.exe' (Win32): Loaded 'C:\Windows\SysWOW64\oleaut32.dll'. Cannot find or open the PDB file.
    'devenv.exe' (Win32): Loaded 'C:\Windows\SysWOW64\shlwapi.dll'. Cannot find or open the PDB file.
    'devenv.exe' (Win32): Loaded 'C:\Windows\SysWOW64\msvcp120.dll'. Cannot find or open the PDB file.
    'devenv.exe' (Win32): Loaded 'C:\Windows\SysWOW64\crypt32.dll'. Cannot find or open the PDB file.
    'devenv.exe' (Win32): Loaded 'C:\Windows\SysWOW64\msasn1.dll'. Cannot find or open the PDB file.
    'devenv.exe' (Win32): Loaded 'C:\Windows\SysWOW64\shell32.dll'. Cannot find or open the PDB file.
    'devenv.exe' (Win32): Loaded 'C:\Windows\winsxs\x86_microsoft.windows.gdiplus_6595b64144ccf1df_1.1.7601.23807_none_5c02a265a011fb02\GdiPlus.dll'. Cannot find or open the PDB file.
    'devenv.exe' (Win32): Loaded 'C:\Windows\SysWOW64\version.dll'. Cannot find or open the PDB file.
    'devenv.exe' (Win32): Loaded 'C:\Windows\SysWOW64\imm32.dll'. Cannot find or open the PDB file.
    'devenv.exe' (Win32): Loaded 'C:\Windows\SysWOW64\msctf.dll'. Cannot find or open the PDB file.
    'devenv.exe' (Win32): Loaded 'C:\Program Files (x86)\Microsoft Visual Studio 12.0\Common7\IDE\Microsoft.VisualStudio.CodeMarkers.dll'. Cannot find or open the PDB file.
    'devenv.exe' (Win32): Loaded 'C:\Windows\SysWOW64\uxtheme.dll'. Cannot find or open the PDB file.
    'devenv.exe' (Win32): Loaded 'C:\Windows\SysWOW64\profapi.dll'. Cannot find or open the PDB file.
    'devenv.exe' (Win32): Loaded 'C:\Windows\SysWOW64\WindowsCodecs.dll'. Cannot find or open the PDB file.
    'devenv.exe' (Win32): Loaded 'C:\Windows\SysWOW64\mscoree.dll'. Cannot find or open the PDB file.
    'devenv.exe' (Win32): Loaded 'C:\Windows\Microsoft.NET\Framework\v4.0.30319\mscoreei.dll'. Cannot find or open the PDB file.
    'devenv.exe' (Win32): Loaded 'C:\Program Files (x86)\Microsoft Visual Studio 12.0\Common7\IDE\msenv.dll'. Cannot find or open the PDB file.
    'devenv.exe' (Win32): Loaded 'C:\Windows\winsxs\x86_microsoft.windows.common-controls_6595b64144ccf1df_6.0.7601.18837_none_41e855142bd5705d\comctl32.dll'. Cannot find or open the PDB file.
    'devenv.exe' (Win32): Loaded 'C:\Windows\SysWOW64\d3d9.dll'. Cannot find or open the PDB file.
    'devenv.exe' (Win32): Loaded 'C:\Windows\SysWOW64\d3d8thk.dll'. Cannot find or open the PDB file.
    'devenv.exe' (Win32): Loaded 'C:\Windows\SysWOW64\dwmapi.dll'. Cannot find or open the PDB file.
    'devenv.exe' (Win32): Loaded 'C:\Windows\SysWOW64\UIAutomationCore.dll'. Cannot find or open the PDB file.
Sign In or Register to comment.