none
Clean Installation of Visual Studio 2015 Crashes: UNHANDLED EXCEPTION - Object reference not set to an instance of an object

    Question

  • I have a clean Visual Studio 2015 installation on Windows Server 2012 and it crashes intermittently with the following details:

    Application: devenv.exe
    Framework Version: v4.0.30319
    Description: The process was terminated due to an unhandled exception.
    Exception Info: System.NullReferenceException
       at DXHttpProxyClient.ClientToServerMainChannel.OnDisconnect()
       at DXProxyCore.Channel.DoDisconnect()
       at DXHttpProxyClient.ClientToServerMainChannel.DoDisconnect()
       at DevExpress.DXTreme.Design.Project.JSProjectConfig+<>c__DisplayClass5.<DebugLaunch>b__4(System.Object, System.ComponentModel.PropertyChangedEventArgs)
       at DXHttpProxyClient.HttpProxyClient.RaisePropertyChanged(System.String)
       at DXHttpProxyClient.HttpProxyClient.ServerPropertyChanged(System.Object, System.ComponentModel.PropertyChangedEventArgs)
       at DXProxyCore.Channel.RaisePropertyChanged(System.String)
       at DXProxyCore.Channel.RaiseIsConnectedProperty()
       at DXHttpProxyClient.ClientToServerMainChannel.DoDisconnect()
       at DXProxyCore.Channel+<>c__DisplayClass2.<Listen>b__0(System.IAsyncResult)
       at System.Net.LazyAsyncResult.Complete(IntPtr)
       at System.Net.ContextAwareResult.CompleteCallback(System.Object)
       at System.Threading.ExecutionContext.RunInternal(System.Threading.ExecutionContext, System.Threading.ContextCallback, System.Object, Boolean)
       at System.Threading.ExecutionContext.Run(System.Threading.ExecutionContext, System.Threading.ContextCallback, System.Object, Boolean)
       at System.Threading.ExecutionContext.Run(System.Threading.ExecutionContext, System.Threading.ContextCallback, System.Object)
       at System.Net.ContextAwareResult.Complete(IntPtr)
       at System.Net.LazyAsyncResult.ProtectedInvokeCallback(System.Object, IntPtr)
       at System.Net.Sockets.BaseOverlappedAsyncResult.CompletionPortCallback(UInt32, UInt32, System.Threading.NativeOverlapped*)
       at System.Threading._IOCompletionCallback.PerformIOCompletionCallback(UInt32, UInt32, System.Threading.NativeOverlapped*)

    Faulting application name: devenv.exe, version: 14.0.24720.0, time stamp: 0x564ea97e
    Faulting module name: unknown, version: 0.0.0.0, time stamp: 0x00000000
    Exception code: 0xc0000005
    Fault offset: 0x0e5ecb87
    Faulting process id: 0x68
    Faulting application start time: 0x01d167f220d0dc0e
    Faulting application path: C:\Program Files (x86)\Microsoft Visual Studio 14.0\Common7\IDE\devenv.exe
    Faulting module path: unknown
    Report Id: 048219a4-d4f1-11e5-9401-005056ad624a
    Faulting package full name:
    Faulting package-relative application ID:

    UNHANDLED EXCEPTIONS FROM PROCESS 104:
    =====================
    2/16/2016 3:05:33 PM
    System.NullReferenceException: Object reference not set to an instance of an object.
       at DXHttpProxyClient.ClientToServerMainChannel.OnDisconnect()
       at DXProxyCore.Channel.DoDisconnect()
       at DXHttpProxyClient.ClientToServerMainChannel.DoDisconnect()
       at DevExpress.DXTreme.Design.Project.JSProjectConfig.<>c__DisplayClass5.<DebugLaunch>b__4(Object sender, PropertyChangedEventArgs e)
       at DXHttpProxyClient.HttpProxyClient.RaisePropertyChanged(String name)
       at DXHttpProxyClient.HttpProxyClient.ServerPropertyChanged(Object sender, PropertyChangedEventArgs e)
       at DXProxyCore.Channel.RaisePropertyChanged(String propertyName)
       at DXProxyCore.Channel.RaiseIsConnectedProperty()
       at DXHttpProxyClient.ClientToServerMainChannel.DoDisconnect()
       at DXProxyCore.Channel.<>c__DisplayClass2.<Listen>b__0(IAsyncResult result)
       at System.Net.LazyAsyncResult.Complete(IntPtr userToken)
       at System.Net.ContextAwareResult.CompleteCallback(Object state)
       at System.Threading.ExecutionContext.RunInternal(ExecutionContext executionContext, ContextCallback callback, Object state, Boolean preserveSyncCtx)
       at System.Threading.ExecutionContext.Run(ExecutionContext executionContext, ContextCallback callback, Object state, Boolean preserveSyncCtx)
       at System.Threading.ExecutionContext.Run(ExecutionContext executionContext, ContextCallback callback, Object state)
       at System.Net.ContextAwareResult.Complete(IntPtr userToken)
       at System.Net.LazyAsyncResult.ProtectedInvokeCallback(Object result, IntPtr userToken)
       at System.Net.Sockets.BaseOverlappedAsyncResult.CompletionPortCallback(UInt32 errorCode, UInt32 numBytes, NativeOverlapped* nativeOverlapped)
       at System.Threading._IOCompletionCallback.PerformIOCompletionCallback(UInt32 errorCode, UInt32 numBytes, NativeOverlapped* pOVERLAP)
    ===================

    Thanks!

    Wednesday, February 17, 2016 3:52 PM

Answers

  • Hi SysAdminLighting,

    >>I was just hoping these logs would provide some kind of direction to what could have caused the crash.  But unfortunately I don’t have the steps to reproduce this issue yet.  

    You said that you don't have the steps to repro this issue, does it mean that it doesn't have this issue now?

    If so, maybe it means that the VS met the performance issue during you run other software.

    For the VS crashed issue, it is hard for us to get the solution directly, so we provided some troubleshooting steps.

    Like this blog:

    http://blogs.msdn.com/b/kirillosenkov/archive/2008/12/07/how-to-debug-crashes-and-hangs.aspx

    If you really want to analyze the crashed issue directly, one idea is that you could collect the crashed dump file, and then you can submit a feedback(attach the dump file) to Microsoft Connect feedback portal: http://connect.microsoft.com/VisualStudio/feedback/CreateFeedback.aspx,Microsoft engineers will help you analyze the crashed dump files directly.

    Best Regards,

    Jack


    We are trying to better understand customer views on social support experience, so your participation in this interview project would be greatly appreciated if you have time. Thanks for helping make community forums a great place.
    Click HERE to participate the survey.

    Friday, February 19, 2016 8:08 AM
    Moderator

All replies

  • Hi SysAdminLighting,

    Would you mind letting us know more detailed information about this issue?

    Do you mean that you get this issue when you open the blank VS IDE or open one project or others?

    Did it work well when you open your VS for the first time?

    Please restart your machine, re-open your VS, maybe it is the windows performance issue.

    If you run your VS in safe mode, how about the result? At least, we could know that whether it is related to certain add-ins or extension tools in your side.

    https://msdn.microsoft.com/en-us/library/ms241278.aspx?f=255&MSPPError=-2147217396

    Best Regards,

    Jack


    We are trying to better understand customer views on social support experience, so your participation in this interview project would be greatly appreciated if you have time. Thanks for helping make community forums a great place.
    Click HERE to participate the survey.

    Thursday, February 18, 2016 9:15 AM
    Moderator
  • Hello Jack,

    This particular issue occurred while Visual Studio was not the active window.  I was working on another task in Chrome, not utilizing Visual Studio, and Visual Studio just crashed.  I did have a project open, but as I said it was not actively being used. I was just hoping these logs would provide some kind of direction to what could have caused the crash.  But unfortunately I don’t have the steps to reproduce this issue yet.  

    Thanks for your help, I'll keep the post up-to-date with any updates!

    Thursday, February 18, 2016 2:48 PM
  • Hi SysAdminLighting,

    >>I was just hoping these logs would provide some kind of direction to what could have caused the crash.  But unfortunately I don’t have the steps to reproduce this issue yet.  

    You said that you don't have the steps to repro this issue, does it mean that it doesn't have this issue now?

    If so, maybe it means that the VS met the performance issue during you run other software.

    For the VS crashed issue, it is hard for us to get the solution directly, so we provided some troubleshooting steps.

    Like this blog:

    http://blogs.msdn.com/b/kirillosenkov/archive/2008/12/07/how-to-debug-crashes-and-hangs.aspx

    If you really want to analyze the crashed issue directly, one idea is that you could collect the crashed dump file, and then you can submit a feedback(attach the dump file) to Microsoft Connect feedback portal: http://connect.microsoft.com/VisualStudio/feedback/CreateFeedback.aspx,Microsoft engineers will help you analyze the crashed dump files directly.

    Best Regards,

    Jack


    We are trying to better understand customer views on social support experience, so your participation in this interview project would be greatly appreciated if you have time. Thanks for helping make community forums a great place.
    Click HERE to participate the survey.

    Friday, February 19, 2016 8:08 AM
    Moderator