• Visit Rebornbuddy
  • Visit Panda Profiles
  • Visit LLamamMagic
  • HB stops working when enabling 'BuddyControlPanel' plugin

    Discussion in 'Honorbuddy Support' started by tottelott, Sep 2, 2016.

    1. tottelott

      tottelott New Member

      Joined:
      Jun 26, 2013
      Messages:
      17
      Likes Received:
      0
      Trophy Points:
      1
      Short and quick as title explains.

      Code:
      [23:38:52.453 D] ----------------------------------------
      [23:38:52.457 D] Activity: Honorbuddy Startup Complete
      [23:38:52.457 N] Honorbuddy Startup Complete
      [23:38:54.618 N] Unhandled exception
      System.Reflection.TargetInvocationException: Exception has been thrown by the target of an invocation. ---> System.InvalidOperationException: The calling thread cannot access this object because a different thread owns it.
         at System.Windows.Threading.Dispatcher.VerifyAccess()
         at System.Windows.Freezable.System.Windows.ISealable.get_IsSealed()
         at System.Windows.StyleHelper.SealIfSealable(Object value)
         at System.Windows.StyleHelper.GetChildValueHelper(UncommonField`1 dataField, ItemStructList`1& valueLookupList, DependencyProperty dp, DependencyObject container, FrameworkObject child, Int32 childIndex, Boolean styleLookup, EffectiveValueEntry& entry, ValueLookupType& sourceType, FrameworkElementFactory templateRoot)
         at System.Windows.StyleHelper.GetChildValue(UncommonField`1 dataField, DependencyObject container, Int32 childIndex, FrameworkObject child, DependencyProperty dp, FrugalStructList`1& childRecordFromChildIndex, EffectiveValueEntry& entry, ValueLookupType& sourceType, FrameworkElementFactory templateRoot)
         at System.Windows.StyleHelper.GetValueFromStyleOrTemplate(FrameworkObject fo, DependencyProperty dp, EffectiveValueEntry& entry)
         at System.Windows.StyleHelper.ApplyStyleOrTemplateValue(FrameworkObject fo, DependencyProperty dp)
         at System.Windows.StyleHelper.InvalidateContainerDependents(DependencyObject container, FrugalStructList`1& exclusionContainerDependents, FrugalStructList`1& oldContainerDependents, FrugalStructList`1& newContainerDependents)
         at System.Windows.StyleHelper.DoStyleInvalidations(FrameworkElement fe, FrameworkContentElement fce, Style oldStyle, Style newStyle)
         at System.Windows.StyleHelper.UpdateStyleCache(FrameworkElement fe, FrameworkContentElement fce, Style oldStyle, Style newStyle, Style& styleCache)
         at System.Windows.FrameworkElement.OnStyleChanged(DependencyObject d, DependencyPropertyChangedEventArgs e)
         at System.Windows.DependencyObject.OnPropertyChanged(DependencyPropertyChangedEventArgs e)
         at System.Windows.FrameworkElement.OnPropertyChanged(DependencyPropertyChangedEventArgs e)
         at System.Windows.DependencyObject.NotifyPropertyChange(DependencyPropertyChangedEventArgs args)
         at System.Windows.DependencyObject.UpdateEffectiveValue(EntryIndex entryIndex, DependencyProperty dp, PropertyMetadata metadata, EffectiveValueEntry oldEntry, EffectiveValueEntry& newEntry, Boolean coerceWithDeferredReference, Boolean coerceWithCurrentValue, OperationType operationType)
         at System.Windows.DependencyObject.SetValueCommon(DependencyProperty dp, Object value, PropertyMetadata metadata, Boolean coerceWithDeferredReference, Boolean coerceWithCurrentValue, OperationType operationType, Boolean isInternal)
         at System.Windows.DependencyObject.SetValue(DependencyProperty dp, Object value)
         at System.Windows.FrameworkElement.set_Style(Style value)
         at BuddyControlPanel.Assets.ThemedButton..ctor() in C:\Users\22O\Desktop\HB\Plugins\BuddyControlPanel\Assets.cs:line 82
         at BuddyControlPanel.ControlButtonBase..ctor(OverlayControl_ControlBar owner, ControlSizeEnum controlSize, String iconName, String toolTip) in C:\Users\22O\Desktop\HB\Plugins\BuddyControlPanel\UIOverlay\Overlay_ControlBar.cs:line 540
         at BuddyControlPanel.Button_BuddyPopUpDown..ctor(OverlayControl_ControlBar owner, ControlSizeEnum controlSize) in C:\Users\22O\Desktop\HB\Plugins\BuddyControlPanel\UIOverlay\Overlay_ControlBar.cs:line 593
         at BuddyControlPanel.OverlayControl_ControlBar..ctor(ControlBarSettings configuration) in C:\Users\22O\Desktop\HB\Plugins\BuddyControlPanel\UIOverlay\Overlay_ControlBar.cs:line 385
         at BuddyControlPanel.Overlay_ControlBar.get_Control() in C:\Users\22O\Desktop\HB\Plugins\BuddyControlPanel\UIOverlay\Overlay_ControlBar.cs:line 148
         at Buddy.Overlay.OverlayManager.*‎**‬‬​‎*‫‫​‪‫‬*‎‪**‎‪*​*‬​*‫‬*‎**(OverlayUIComponent )
         --- End of inner exception stack trace ---
         at System.RuntimeMethodHandle.InvokeMethod(Object target, Object[] arguments, Signature sig, Boolean constructor)
         at System.Reflection.RuntimeMethodInfo.UnsafeInvokeInternal(Object obj, Object[] parameters, Object[] arguments)
         at System.Delegate.DynamicInvokeImpl(Object[] args)
         at System.Windows.Threading.ExceptionWrapper.InternalRealCall(Delegate callback, Object args, Int32 numArgs)
         at System.Windows.Threading.ExceptionWrapper.TryCatchWhen(Object source, Delegate callback, Object args, Int32 numArgs, Delegate catchHandler)
         at System.Windows.Threading.DispatcherOperation.InvokeImpl()
         at System.Windows.Threading.DispatcherOperation.InvokeInSecurityContext(Object state)
         at MS.Internal.CulturePreservingExecutionContext.CallbackWrapper(Object obj)
         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 MS.Internal.CulturePreservingExecutionContext.Run(CulturePreservingExecutionContext executionContext, ContextCallback callback, Object state)
         at System.Windows.Threading.DispatcherOperation.Invoke()
         at System.Windows.Threading.Dispatcher.ProcessQueue()
         at System.Windows.Threading.Dispatcher.WndProcHook(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 System.Windows.Threading.ExceptionWrapper.TryCatchWhen(Object source, Delegate callback, Object args, Int32 numArgs, Delegate catchHandler)
         at System.Windows.Threading.Dispatcher.LegacyInvokeImpl(DispatcherPriority priority, TimeSpan timeout, Delegate method, Object args, Int32 numArgs)
         at MS.Win32.HwndSubclass.SubclassWndProc(IntPtr hwnd, Int32 msg, IntPtr wParam, IntPtr lParam)
         at MS.Win32.UnsafeNativeMethods.DispatchMessage(MSG& msg)
         at System.Windows.Threading.Dispatcher.PushFrameImpl(DispatcherFrame frame)
         at System.Windows.Threading.Dispatcher.PushFrame(DispatcherFrame frame)
         at Buddy.Overlay.OverlayManager.***‏​‎‏‎*‫*​‏*‪‏*‏‪‏​‬**​*‫‬‫**()
         at System.Threading.ThreadHelper.ThreadStart_Context(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.Threading.ThreadHelper.ThreadStart()
      
      wat do?
       
      Last edited: Sep 2, 2016
    2. Tony

      Tony "The Bee" Staff Member Moderator

      Joined:
      Jan 15, 2010
      Messages:
      128,834
      Likes Received:
      571
      Trophy Points:
      113

    Share This Page