iamarfat / power8

Automatically exported from code.google.com/p/power8
0 stars 0 forks source link

Bugs after install #14

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?
1. Install
2. First Run - Message:

---------------------------
Power8
---------------------------
System.Windows.Markup.XamlParseException: Задание свойства 
"System.Windows.FrameworkElement.Height" вызвало исключение. 
---> System.ArithmeticException: Переполнение или потеря 
точности в арифметической операции.

   в System.Double.Equals(Object obj)

   в System.Object.Equals(Object objA, Object objB)

   в System.Windows.DependencyObject.UpdateEffectiveValue(EntryIndex entryIndex, DependencyProperty dp, PropertyMetadata metadata, EffectiveValueEntry oldEntry, EffectiveValueEntry& newEntry, Boolean coerceWithDeferredReference, Boolean coerceWithCurrentValue, OperationType operationType)

   в System.Windows.DependencyObject.SetValueCommon(DependencyProperty dp, Object value, PropertyMetadata metadata, Boolean coerceWithDeferredReference, Boolean coerceWithCurrentValue, OperationType operationType, Boolean isInternal)

   в System.Windows.DependencyObject.SetValue(DependencyProperty dp, Object value)

   в System.Windows.Baml2006.WpfKnownMemberInvoker.SetValue(Object instance, Object value)

   в MS.Internal.Xaml.Runtime.ClrObjectRuntime.SetValue(XamlMember member, Object obj, Object value)

   в MS.Internal.Xaml.Runtime.ClrObjectRuntime.SetValue(Object inst, XamlMember property, Object value)

   --- Конец трассировки внутреннего стека исключений ---

   в System.Windows.Markup.WpfXamlLoader.Load(XamlReader xamlReader, IXamlObjectWriterFactory writerFactory, Boolean skipJournaledProperties, Object rootObject, XamlObjectWriterSettings settings, Uri baseUri)

   в System.Windows.Markup.WpfXamlLoader.LoadBaml(XamlReader xamlReader, Boolean skipJournaledProperties, Object rootObject, XamlAccessLevel accessLevel, Uri baseUri)

   в System.Windows.Markup.XamlReader.LoadBaml(Stream stream, ParserContext parserContext, Object parent, Boolean closeStream)

   в System.Windows.Application.LoadComponent(Object component, Uri resourceLocator)

   в Power8.Views.WelcomeArrow.InitializeComponent() в d:\users\mykhaylo.makarov\My Documents\Visual Studio 2010\Projects\Power8\Views\WelcomeArrow.xaml:строка 1

   в Power8.Views.MainWindow.BtnStckInstanciated(Object sender, EventArgs e) в d:\users\mykhaylo.makarov\My Documents\Visual Studio 2010\Projects\Power8\Views\MainWindow.xaml.cs:строка 80

   в System.EventHandler.Invoke(Object sender, EventArgs e)

   в Power8.Views.BtnStck.get_Instance() в d:\users\mykhaylo.makarov\My Documents\Visual Studio 2010\Projects\Power8\Views\BtnStck.xaml.cs:строка 38

   в Power8.PowerItemTree.<InitTree>b__2d() в d:\users\mykhaylo.makarov\My Documents\Visual Studio 2010\Projects\Power8\DataProviders\PowerItemTree.cs:строка 514

   в System.Windows.Threading.ExceptionWrapper.InternalRealCall(Delegate callback, Object args, Int32 numArgs)

   в MS.Internal.Threading.ExceptionFilterHelper.TryCatchWhen(Object source, Delegate method, Object args, Int32 numArgs, Delegate catchHandler)
---------------------------
ОК   
---------------------------

3. Icon is shown, but new msg appears:

---------------------------
Power8
---------------------------
System.ArithmeticException: Переполнение или потеря 
точности в арифметической операции.

   в MS.Internal.DoubleUtil.AreClose(Double value1, Double value2)

   в System.Windows.Window.WmMoveChanged()

   в System.Windows.Window.WindowFilterMessage(IntPtr hwnd, Int32 msg, IntPtr wParam, IntPtr lParam, Boolean& handled)

   в System.Windows.Interop.HwndSource.PublicHooksFilterMessage(IntPtr hwnd, Int32 msg, IntPtr wParam, IntPtr lParam, Boolean& handled)

   в MS.Win32.HwndWrapper.WndProc(IntPtr hwnd, Int32 msg, IntPtr wParam, IntPtr lParam, Boolean& handled)

   в MS.Win32.HwndSubclass.DispatcherCallbackOperation(Object o)

   в System.Windows.Threading.ExceptionWrapper.InternalRealCall(Delegate callback, Object args, Int32 numArgs)

   в MS.Internal.Threading.ExceptionFilterHelper.TryCatchWhen(Object source, Delegate method, Object args, Int32 numArgs, Delegate catchHandler)
---------------------------
ОК   
---------------------------

I used the latest version.

The button looks small and with an exclam. sign on it.

If I press it, another ugly msg comes:

---------------------------
Power8
---------------------------
System.ArithmeticException: Переполнение или потеря 
точности в арифметической операции.

   в System.Double.Equals(Object obj)

   в System.Object.Equals(Object objA, Object objB)

   в System.Windows.DependencyObject.ProcessCoerceValue(DependencyProperty dp, PropertyMetadata metadata, EntryIndex& entryIndex, Int32& targetIndex, EffectiveValueEntry& newEntry, EffectiveValueEntry& oldEntry, Object& oldValue, Object baseValue, Object controlValue, CoerceValueCallback coerceValueCallback, Boolean coerceWithDeferredReference, Boolean coerceWithCurrentValue, Boolean skipBaseValueChecks)

   в System.Windows.DependencyObject.UpdateEffectiveValue(EntryIndex entryIndex, DependencyProperty dp, PropertyMetadata metadata, EffectiveValueEntry oldEntry, EffectiveValueEntry& newEntry, Boolean coerceWithDeferredReference, Boolean coerceWithCurrentValue, OperationType operationType)

   в System.Windows.DependencyObject.CoerceValue(DependencyProperty dp)

   в System.Windows.Controls.TextBlock.MeasureOverride(Size constraint)

   в System.Windows.FrameworkElement.MeasureCore(Size availableSize)

   в System.Windows.UIElement.Measure(Size availableSize)

   в MS.Internal.Helper.MeasureElementWithSingleChild(UIElement element, Size constraint)

   в System.Windows.Controls.ContentPresenter.MeasureOverride(Size constraint)

   в System.Windows.FrameworkElement.MeasureCore(Size availableSize)

   в System.Windows.UIElement.Measure(Size availableSize)

   в System.Windows.Controls.Border.MeasureOverride(Size constraint)

   в System.Windows.FrameworkElement.MeasureCore(Size availableSize)

   в System.Windows.UIElement.Measure(Size availableSize)

   в System.Windows.Controls.Control.MeasureOverride(Size constraint)

   в System.Windows.FrameworkElement.MeasureCore(Size availableSize)

   в System.Windows.UIElement.Measure(Size availableSize)

   в System.Windows.Documents.AdornerDecorator.MeasureOverride(Size constraint)

   в System.Windows.FrameworkElement.MeasureCore(Size availableSize)

   в System.Windows.UIElement.Measure(Size availableSize)

   в System.Windows.Controls.Decorator.MeasureOverride(Size constraint)

   в System.Windows.FrameworkElement.MeasureCore(Size availableSize)

   в System.Windows.UIElement.Measure(Size availableSize)

   в System.Windows.Controls.Primitives.PopupRoot.MeasureOverride(Size constraint)

   в System.Windows.FrameworkElement.MeasureCore(Size availableSize)

   в System.Windows.UIElement.Measure(Size availableSize)

   в System.Windows.Interop.HwndSource.SetLayoutSize()

   в System.Windows.Interop.HwndSource.set_RootVisualInternal(Visual value)

   в System.Windows.Interop.HwndSource.set_RootVisual(Visual value)

   в System.Windows.Controls.Primitives.Popup.SetRootVisualToPopupRoot()

   в System.Windows.Controls.Primitives.Popup.CreateWindow(Boolean asyncCall)

   в System.Windows.Controls.Primitives.Popup.OnIsOpenChanged(DependencyObject d, DependencyPropertyChangedEventArgs e)

   в System.Windows.DependencyObject.OnPropertyChanged(DependencyPropertyChangedEventArgs e)

   в System.Windows.FrameworkElement.OnPropertyChanged(DependencyPropertyChangedEventArgs e)

   в System.Windows.DependencyObject.NotifyPropertyChange(DependencyPropertyChangedEventArgs args)

   в System.Windows.DependencyObject.UpdateEffectiveValue(EntryIndex entryIndex, DependencyProperty dp, PropertyMetadata metadata, EffectiveValueEntry oldEntry, EffectiveValueEntry& newEntry, Boolean coerceWithDeferredReference, Boolean coerceWithCurrentValue, OperationType operationType)

   в System.Windows.DependencyObject.SetValueCommon(DependencyProperty dp, Object value, PropertyMetadata metadata, Boolean coerceWithDeferredReference, Boolean coerceWithCurrentValue, OperationType operationType, Boolean isInternal)

   в System.Windows.DependencyObject.SetValue(DependencyProperty dp, Object value)

   в System.Windows.Data.BindingOperations.SetBinding(DependencyObject target, DependencyProperty dp, BindingBase binding)

   в System.Windows.Controls.Primitives.Popup.CreateRootPopup(Popup popup, UIElement child)

   в System.Windows.Controls.ToolTip.HookupParentPopup()

   в System.Windows.Controls.ToolTip.OnIsOpenChanged(DependencyObject d, DependencyPropertyChangedEventArgs e)

   в System.Windows.DependencyObject.OnPropertyChanged(DependencyPropertyChangedEventArgs e)

   в System.Windows.FrameworkElement.OnPropertyChanged(DependencyPropertyChangedEventArgs e)

   в System.Windows.DependencyObject.NotifyPropertyChange(DependencyPropertyChangedEventArgs args)

   в System.Windows.DependencyObject.UpdateEffectiveValue(EntryIndex entryIndex, DependencyProperty dp, PropertyMetadata metadata, EffectiveValueEntry oldEntry, EffectiveValueEntry& newEntry, Boolean coerceWithDeferredReference, Boolean coerceWithCurrentValue, OperationType operationType)

   в System.Windows.DependencyObject.SetValueCommon(DependencyProperty dp, Object value, PropertyMetadata metadata, Boolean coerceWithDeferredReference, Boolean coerceWithCurrentValue, OperationType operationType, Boolean isInternal)

   в System.Windows.DependencyObject.SetValue(DependencyProperty dp, Object value)

   в System.Windows.Controls.PopupControlService.RaiseToolTipOpeningEvent()

   в System.Windows.Controls.PopupControlService.OnRaiseToolTipOpeningEvent(Object sender, EventArgs e)

   в System.Windows.Threading.DispatcherTimer.FireTick(Object unused)

   в System.Windows.Threading.ExceptionWrapper.InternalRealCall(Delegate callback, Object args, Int32 numArgs)

   в MS.Internal.Threading.ExceptionFilterHelper.TryCatchWhen(Object source, Delegate method, Object args, Int32 numArgs, Delegate catchHandler)
---------------------------
ОК   
---------------------------

Original issue reported on code.google.com by pra...@rambler.ru on 31 Dec 2012 at 7:44

GoogleCodeExporter commented 9 years ago
Already filed. 
Looks like a bug between some component of your system and CLR:
http://social.msdn.microsoft.com/Forums/en-US/wpf/thread/a31f9c7a-0e15-4a09-a544
-bec07f0f152c

Will try the _fpreset() approach...

Original comment by agentmc@mail.ru on 2 Jan 2013 at 8:21