crash when clicking on certain items in the log view

XMLWordPrintable

    • Type: Bug
    • Resolution: Duplicate
    • Priority: High
    • None
    • Affects Version/s: 1.6.11
    • Component/s: None
    • Environment:

      Windows 7
      I don't know what JDK version Sourcetree uses, how do I find that out?

      Crashes when clicking on a server branch label in the log view that no longer exists (origin/feature/random-stuff in the attached screenshot). Also crashes when I clicked on the top "uncommitted changes" line. Please fix. Crashes are disruptive.

      I have had a different click-on-something-in-the-log-view crash as well, but I'm not sure what that was.

      Relevant sections from sourcetree.log:

      2014-12-05T10:22:04: Fatal error: 
      System.NullReferenceException: Object reference not set to an instance of an object.
      
      2014-12-05T10:22:04: Stack trace: 
         at System.Windows.Automation.Peers.MultiSelectTreeViewItemAutomationPeer.GetChildrenCore()
         at System.Windows.Automation.Peers.AutomationPeer.EnsureChildren()
         at System.Windows.Automation.Peers.AutomationPeer.GetChildren()
         at System.Windows.Automation.Peers.AutomationPeer.isDescendantOf(AutomationPeer parent)
         at System.Windows.Automation.Peers.AutomationPeer.isDescendantOf(AutomationPeer parent)
         at System.Windows.Automation.Peers.AutomationPeer.isDescendantOf(AutomationPeer parent)
         at System.Windows.Automation.Peers.AutomationPeer.isDescendantOf(AutomationPeer parent)
         at System.Windows.Automation.Peers.AutomationPeer.isDescendantOf(AutomationPeer parent)
         at System.Windows.Automation.Peers.AutomationPeer.isDescendantOf(AutomationPeer parent)
         at System.Windows.Automation.Peers.AutomationPeer.isDescendantOf(AutomationPeer parent)
         at System.Windows.Automation.Peers.AutomationPeer.isDescendantOf(AutomationPeer parent)
         at System.Windows.Automation.Peers.AutomationPeer.isDescendantOf(AutomationPeer parent)
         at System.Windows.Automation.Peers.AutomationPeer.isDescendantOf(AutomationPeer parent)
         at System.Windows.Automation.Peers.AutomationPeer.isDescendantOf(AutomationPeer parent)
         at System.Windows.Automation.Peers.AutomationPeer.isDescendantOf(AutomationPeer parent)
         at System.Windows.Automation.Peers.AutomationPeer.ValidateConnected(AutomationPeer connectedPeer)
         at System.Windows.Automation.Peers.AutomationPeer.RaiseFocusChangedEventHelper(IInputElement newFocus)
         at System.Windows.Input.KeyboardDevice.ChangeFocus(DependencyObject focus, Int32 timestamp)
         at System.Windows.Input.KeyboardDevice.Focus(DependencyObject focus, Boolean askOld, Boolean askNew, Boolean forceToNullIfFailed)
         at System.Windows.Input.KeyboardDevice.Focus(IInputElement element)
         at System.Windows.Interop.HwndKeyboardInputProvider.OnSetFocus(IntPtr hwnd)
         at System.Windows.Interop.HwndKeyboardInputProvider.FilterMessage(IntPtr hwnd, WindowMessage message, IntPtr wParam, IntPtr lParam, Boolean& handled)
         at System.Windows.Interop.HwndSource.InputFilterMessage(IntPtr hwnd, Int32 msg, IntPtr wParam, IntPtr lParam, Boolean& handled)
         at MS.Win32.HwndWrapper.WndProc(IntPtr hwnd, Int32 msg, IntPtr wParam, IntPtr lParam, Boolean& handled)
         at MS.Win32.HwndSubclass.DispatcherCallbackOperation(Object o)
         at System.Windows.Threading.ExceptionWrapper.InternalRealCall(Delegate callback, Object args, Int32 numArgs)
         at MS.Internal.Threading.ExceptionFilterHelper.TryCatchWhen(Object source, Delegate method, Object args, Int32 numArgs, Delegate catchHandler)
      2014-12-05T10:22:06: Fatal error: 
      System.NullReferenceException: Object reference not set to an instance of an object.
      
      2014-12-05T10:22:06: Stack trace: 
         at System.Windows.Automation.Peers.MultiSelectTreeViewItemAutomationPeer.GetChildrenCore()
         at System.Windows.Automation.Peers.AutomationPeer.EnsureChildren()
         at System.Windows.Automation.Peers.AutomationPeer.GetChildren()
         at System.Windows.Automation.Peers.AutomationPeer.isDescendantOf(AutomationPeer parent)
         at System.Windows.Automation.Peers.AutomationPeer.isDescendantOf(AutomationPeer parent)
         at System.Windows.Automation.Peers.AutomationPeer.isDescendantOf(AutomationPeer parent)
         at System.Windows.Automation.Peers.AutomationPeer.isDescendantOf(AutomationPeer parent)
         at System.Windows.Automation.Peers.AutomationPeer.isDescendantOf(AutomationPeer parent)
         at System.Windows.Automation.Peers.AutomationPeer.isDescendantOf(AutomationPeer parent)
         at System.Windows.Automation.Peers.AutomationPeer.isDescendantOf(AutomationPeer parent)
         at System.Windows.Automation.Peers.AutomationPeer.isDescendantOf(AutomationPeer parent)
         at System.Windows.Automation.Peers.AutomationPeer.isDescendantOf(AutomationPeer parent)
         at System.Windows.Automation.Peers.AutomationPeer.isDescendantOf(AutomationPeer parent)
         at System.Windows.Automation.Peers.AutomationPeer.isDescendantOf(AutomationPeer parent)
         at System.Windows.Automation.Peers.AutomationPeer.isDescendantOf(AutomationPeer parent)
         at System.Windows.Automation.Peers.AutomationPeer.ValidateConnected(AutomationPeer connectedPeer)
         at System.Windows.Automation.Peers.AutomationPeer.RaiseFocusChangedEventHelper(IInputElement newFocus)
         at System.Windows.Input.KeyboardDevice.ChangeFocus(DependencyObject focus, Int32 timestamp)
         at System.Windows.Input.KeyboardDevice.Focus(DependencyObject focus, Boolean askOld, Boolean askNew, Boolean forceToNullIfFailed)
         at System.Windows.Input.KeyboardDevice.Focus(IInputElement element)
         at System.Windows.Interop.HwndKeyboardInputProvider.OnSetFocus(IntPtr hwnd)
         at System.Windows.Interop.HwndKeyboardInputProvider.FilterMessage(IntPtr hwnd, WindowMessage message, IntPtr wParam, IntPtr lParam, Boolean& handled)
         at System.Windows.Interop.HwndSource.InputFilterMessage(IntPtr hwnd, Int32 msg, IntPtr wParam, IntPtr lParam, Boolean& handled)
         at MS.Win32.HwndWrapper.WndProc(IntPtr hwnd, Int32 msg, IntPtr wParam, IntPtr lParam, Boolean& handled)
         at MS.Win32.HwndSubclass.DispatcherCallbackOperation(Object o)
         at System.Windows.Threading.ExceptionWrapper.InternalRealCall(Delegate callback, Object args, Int32 numArgs)
         at MS.Internal.Threading.ExceptionFilterHelper.TryCatchWhen(Object source, Delegate method, Object args, Int32 numArgs, Delegate catchHandler)
      

        1. sourcetree.log
          135 kB
        2. srctree1.png
          srctree1.png
          24 kB

            Assignee:
            Unassigned
            Reporter:
            Jason Sachs
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: