Visual Studio 2013 Page Inspector fails with NullReferenceException - by Stefan-Z-Camilleri

Status : 

 


1
0
Sign in
to vote
ID 811604 Comments
Status Active Workarounds
Type Bug Repros 0
Opened 12/14/2013 4:50:56 PM
Access Restriction Public

Description

If I try to view a cshtml file in Page Inspector, I get a NullReferenceException

This has never really worked for me in VS2012, and I am having the same issue in VS2013.  I really wish this will be fixed one day.

The exact exception is: (from ActivityLog.xml)

System.NullReferenceException: Object reference not set to an instance of an object.
   
at
Microsoft.VisualStudio.Web.PageInspector.Application.Microsoft.VisualStudio.Web.PageInspector.Package.IClientBridge.NotifyTextSelectionChanged()
   
at Microsoft.VisualStudio.Web.PageInspector.Package.TextViewCreationListener.OnTextBufferSelectionChanged(Object sender, EventArgs e)
   
at Microsoft.VisualStudio.Text.Utilities.GuardedOperations.RaiseEvent(Object sender, EventHandler eventHandlers)

Sign in to post a comment.
Posted by Stefan-Z-Camilleri on 1/22/2014 at 9:32 AM
Thank you
Posted by Microsoft on 1/22/2014 at 8:59 AM
Thanks for the feedback. This has been fixed and will be included in a future update to Visual Studio.

Regards,
Mads Kristensen
Program Manager
Posted by Microsoft on 12/17/2013 at 4:12 AM
Thank you for submitting feedback on Visual Studio and .NET Framework. Your issue has been routed to the appropriate VS development team for investigation. We will contact you if we require any additional information.
Posted by Stefan-Z-Camilleri on 12/16/2013 at 1:47 AM
Hi, thank you for your reply.

You do not need a project to reproduce this issue. All you need to do is set a browser, other than IE, as your default.
Posted by Microsoft on 12/16/2013 at 12:28 AM
Thank you for submitting feedback on Visual Studio and .NET Framework. In order to efficiently investigate and reproduce this issue, we are requesting additional information outlined below.

Could you please give us a demo project to demonstrate this issue so that we can conduct further research?

We look forward to hearing from you with this information.
Posted by Microsoft on 12/14/2013 at 5:53 PM
Thank you for your feedback, we are currently reviewing the issue you have submitted. If this issue is urgent, please contact support directly(http://support.microsoft.com)