Quantcast
Channel: SharpDevelop Community
Viewing all articles
Browse latest Browse all 1764

bug

$
0
0

SharpDevelop Version : 4.3.0.9338-alpha-5f770be6

.NET Version         : 4.0.30319.17929

OS Version           : Microsoft Windows NT 6.1.7601 Service Pack 1

Current culture      : Chinese (Simplified, PRC) (zh-CN)

Running under WOW6432, processor architecture: x86-64

Working Set Memory   : 173704kb

GC Heap Memory       : 35303kb

 

Exception thrown:

System.InvalidOperationException: All lines collapsed but visual pos different - height tree inconsistency?

   at ICSharpCode.AvalonEdit.Rendering.TextView.BuildVisualLine(DocumentLine documentLine, TextRunProperties globalTextRunProperties, VisualLineTextParagraphProperties paragraphProperties, VisualLineElementGenerator[ elementGeneratorsArray, IVisualLineTransformer[ lineTransformersArray, Size availableSize)

   at ICSharpCode.AvalonEdit.Rendering.TextView.CreateAndMeasureVisualLines(Size availableSize)

   at ICSharpCode.AvalonEdit.Rendering.TextView.MeasureOverride(Size availableSize)

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

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

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

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

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

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

   at System.Windows.Controls.DockPanel.MeasureOverride(Size constraint)

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

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

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

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

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

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

   at System.Windows.Controls.ScrollContentPresenter.MeasureOverride(Size constraint)

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

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

   at System.Windows.Controls.Grid.MeasureCell(Int32 cell, Boolean forceInfinityV)

   at System.Windows.Controls.Grid.MeasureCellsGroup(Int32 cellsHead, Size referenceSize, Boolean ignoreDesiredSizeU, Boolean forceInfinityV, Boolean& hasDesiredSizeUChanged)

   at System.Windows.Controls.Grid.MeasureCellsGroup(Int32 cellsHead, Size referenceSize, Boolean ignoreDesiredSizeU, Boolean forceInfinityV)

   at System.Windows.Controls.Grid.MeasureOverride(Size constraint)

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

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

   at System.Windows.Controls.ScrollViewer.MeasureOverride(Size constraint)

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

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

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

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

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

   at System.Windows.Controls.Grid.MeasureCell(Int32 cell, Boolean forceInfinityV)

   at System.Windows.Controls.Grid.MeasureCellsGroup(Int32 cellsHead, Size referenceSize, Boolean ignoreDesiredSizeU, Boolean forceInfinityV, Boolean& hasDesiredSizeUChanged)

   at System.Windows.Controls.Grid.MeasureCellsGroup(Int32 cellsHead, Size referenceSize, Boolean ignoreDesiredSizeU, Boolean forceInfinityV)

   at System.Windows.Controls.Grid.MeasureOverride(Size constraint)

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

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

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

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

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

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

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

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

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

   at System.Windows.Controls.Grid.MeasureCell(Int32 cell, Boolean forceInfinityV)

   at System.Windows.Controls.Grid.MeasureCellsGroup(Int32 cellsHead, Size referenceSize, Boolean ignoreDesiredSizeU, Boolean forceInfinityV, Boolean& hasDesiredSizeUChanged)

   at System.Windows.Controls.Grid.MeasureCellsGroup(Int32 cellsHead, Size referenceSize, Boolean ignoreDesiredSizeU, Boolean forceInfinityV)

   at System.Windows.Controls.Grid.MeasureOverride(Size constraint)

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

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

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

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

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

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

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

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

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

   at System.Windows.ContextLayoutManager.UpdateLayout()

   at System.Windows.UIElement.UpdateLayout()

   at AvalonDock.Pane.OnItemsChanged(NotifyCollectionChangedEventArgs e)

   at AvalonDock.DocumentPane.OnItemsChanged(NotifyCollectionChangedEventArgs e)

   at System.Windows.Controls.ItemsControl.OnItemCollectionChanged2(Object sender, NotifyCollectionChangedEventArgs e)

   at System.Collections.Specialized.NotifyCollectionChangedEventHandler.Invoke(Object sender, NotifyCollectionChangedEventArgs e)

   at System.Windows.Data.CollectionView.OnCollectionChanged(NotifyCollectionChangedEventArgs args)

   at System.Windows.Controls.ItemCollection.OnViewCollectionChanged(Object sender, NotifyCollectionChangedEventArgs e)

   at System.Windows.WeakEventManager.ListenerList`1.DeliverEvent(Object sender, EventArgs e, Type managerType)

   at System.Windows.WeakEventManager.DeliverEvent(Object sender, EventArgs args)

   at System.Collections.Specialized.CollectionChangedEventManager.OnCollectionChanged(Object sender, NotifyCollectionChangedEventArgs args)

   at System.Windows.Data.CollectionView.OnCollectionChanged(NotifyCollectionChangedEventArgs args)

   at MS.Internal.Controls.InnerItemCollectionView.Insert(Int32 index, Object item)

   at System.Windows.Controls.ItemCollection.Insert(Int32 insertIndex, Object insertItem)

   at AvalonDock.DockingManager.Show(DocumentContent document, Boolean floating)

   at AvalonDock.DocumentContent.Show(DockingManager manager, Boolean showAsFloatingWindow)

   at AvalonDock.DocumentContent.Show(DockingManager manager)

   at ICSharpCode.SharpDevelop.Gui.AvalonDockLayout.ShowView(IViewContent content, Boolean switchToOpenedView)

   at ICSharpCode.SharpDevelop.Gui.WpfWorkbench.ShowView(IViewContent content, Boolean switchToOpenedView)

   at ICSharpCode.SharpDevelop.FileService.LoadFileWrapper.Invoke(String fileName)

   at ICSharpCode.Core.FileUtility.<>c__DisplayClass14.<ObservedLoad>b__13()

   at ICSharpCode.Core.FileUtility.ObservedLoad(FileOperationDelegate loadFile, String fileName, String message, FileErrorPolicy policy)

   at ICSharpCode.Core.FileUtility.ObservedLoad(NamedFileOperationDelegate saveFileAs, String fileName, String message, FileErrorPolicy policy)

   at ICSharpCode.Core.FileUtility.ObservedLoad(NamedFileOperationDelegate saveFileAs, String fileName, FileErrorPolicy policy)

   at ICSharpCode.SharpDevelop.FileService.OpenFile(String fileName, Boolean switchToOpenedView)

   at ICSharpCode.SharpDevelop.Project.FileNode.ActivateItem()

   at ICSharpCode.SharpDevelop.Project.Commands.OpenFileFromProjectBrowser.Run()

   at ICSharpCode.Core.WinForms.MenuCommand.OnClick(EventArgs e)

   at System.Windows.Forms.ToolStripItem.HandleClick(EventArgs e)

   at System.Windows.Forms.ToolStripItem.HandleMouseUp(MouseEventArgs e)

   at System.Windows.Forms.ToolStripItem.FireEventInteractive(EventArgs e, ToolStripItemEventType met)

   at System.Windows.Forms.ToolStripItem.FireEvent(EventArgs e, ToolStripItemEventType met)

   at System.Windows.Forms.ToolStrip.OnMouseUp(MouseEventArgs mea)

   at System.Windows.Forms.ToolStripDropDown.OnMouseUp(MouseEventArgs mea)

   at System.Windows.Forms.Control.WmMouseUp(Message& m, MouseButtons button, Int32 clicks)

   at System.Windows.Forms.Control.WndProc(Message& m)

   at System.Windows.Forms.ScrollableControl.WndProc(Message& m)

   at System.Windows.Forms.ToolStrip.WndProc(Message& m)

   at System.Windows.Forms.ToolStripDropDown.WndProc(Message& m)

   at System.Windows.Forms.Control.ControlNativeWindow.OnMessage(Message& m)

   at System.Windows.Forms.Control.ControlNativeWindow.WndProc(Message& m)

   at System.Windows.Forms.NativeWindow.Callback(IntPtr hWnd, Int32 msg, IntPtr wparam, IntPtr lparam)

 

---- Recent log messages:

11:09:15.267 [1] DEBUG - ParseInformationUpdated E:\技术资料\Csharp\开源\Library\Mybatis.net\src\MyBatis.Common\Resources\Resources.cs new!=null:True

11:09:15.267 [1] DEBUG - ParseInformationUpdated E:\技术资料\Csharp\开源\Library\Mybatis.net\src\MyBatis.Common\Configuration\IConfiguration.cs new!=null:True

11:09:15.267 [1] DEBUG - ParseInformationUpdated E:\技术资料\Csharp\开源\Library\Mybatis.net\src\MyBatis.Common\Configuration\MutableConfiguration.cs new!=null:True

11:09:15.268 [1] DEBUG - ParseInformationUpdated E:\技术资料\Csharp\开源\Library\Mybatis.net\src\MyBatis.Common\Contracts\Assert.cs new!=null:True

11:09:15.268 [1] DEBUG - NavigationService -- resume logging

11:09:15.775 [1] DEBUG - ActiveContentChanged to ICSharpCode.SharpDevelop.Project.ProjectBrowserPad

11:09:15.775 [1] DEBUG - ActiveWorkbenchWindowChanged to 

11:09:22.682 [1] DEBUG - ActiveContentChanged to ICSharpCode.SharpDevelop.Gui.PropertyPad

11:09:23.526 [1] DEBUG - ActiveContentChanged to ICSharpCode.SharpDevelop.Gui.ToolsPad

11:09:38.036 [1] DEBUG - ActiveContentChanged to ICSharpCode.SharpDevelop.Project.ProjectBrowserPad

11:09:38.037 [1] INFO - CurrentProject changed to MyBatis.DataMapper

11:09:38.076 [1] INFO - Loading addin ASP.NET MVC Binding

11:09:39.573 [1] INFO - Initialize DirectoryNode E:\技术资料\Csharp\开源\Library\Mybatis.net\src\MyBatis.DataMapper

11:09:39.577 [4] DEBUG - Git: OverlayIconManager Thread started

11:09:39.578 [11] DEBUG - SVN: OverlayIconManager Thread started

11:09:39.681 [11] DEBUG - SVN: OverlayIconManager Thread finished

11:09:39.682 [4] DEBUG - Git: OverlayIconManager Thread finished

11:09:42.902 [1] DEBUG - Activated feature 'ICSharpCode.SharpDevelop.Project.Commands.OpenFileFromProjectBrowser', activation=Menu

11:09:42.935 [1] INFO - Open file E:\技术资料\Csharp\开源\Library\Mybatis.net\src\MyBatis.DataMapper\DataMapper.cs

11:09:42.937 [1] INFO - Loading addin HexEditor

11:09:43.038 [1] DEBUG - Activated feature 'ICSharpCode.AvalonEdit.AddIn.AvalonEditViewContent/open.cs'

11:09:43.055 [1] INFO - Loading addin Debugger

11:09:43.056 [1] INFO - Loading addin Search & Replace

11:09:43.132 [1] DEBUG - Trying to restore memento of '[AvalonEditViewContent E:\技术资料\Csharp\开源\Library\Mybatis.net\src\MyBatis.DataMapper\DataMapper.cs]' from key '1e13ec5:E:\技术资料\CSHARP\开源\LIBRARY\MYBATIS.NET\SRC\MYBATIS.DATAMAPPER\DATAMAPPER.CS'

11:09:43.212 [1] ERROR - ThreadException caught

--> Exception:

System.InvalidOperationException: All lines collapsed but visual pos different - height tree inconsistency?

   at ICSharpCode.AvalonEdit.Rendering.TextView.BuildVisualLine(DocumentLine documentLine, TextRunProperties globalTextRunProperties, VisualLineTextParagraphProperties paragraphProperties, VisualLineElementGenerator[ elementGeneratorsArray, IVisualLineTransformer[ lineTransformersArray, Size availableSize)

   at ICSharpCode.AvalonEdit.Rendering.TextView.CreateAndMeasureVisualLines(Size availableSize)

   at ICSharpCode.AvalonEdit.Rendering.TextView.MeasureOverride(Size availableSize)

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

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

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

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

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

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

   at System.Windows.Controls.DockPanel.MeasureOverride(Size constraint)

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

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

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

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

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

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

   at System.Windows.Controls.ScrollContentPresenter.MeasureOverride(Size constraint)

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

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

   at System.Windows.Controls.Grid.MeasureCell(Int32 cell, Boolean forceInfinityV)

   at System.Windows.Controls.Grid.MeasureCellsGroup(Int32 cellsHead, Size referenceSize, Boolean ignoreDesiredSizeU, Boolean forceInfinityV, Boolean& hasDesiredSizeUChanged)

   at System.Windows.Controls.Grid.MeasureCellsGroup(Int32 cellsHead, Size referenceSize, Boolean ignoreDesiredSizeU, Boolean forceInfinityV)

   at System.Windows.Controls.Grid.MeasureOverride(Size constraint)

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

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

   at System.Windows.Controls.ScrollViewer.MeasureOverride(Size constraint)

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

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

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

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

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

   at System.Windows.Controls.Grid.MeasureCell(Int32 cell, Boolean forceInfinityV)

   at System.Windows.Controls.Grid.MeasureCellsGroup(Int32 cellsHead, Size referenceSize, Boolean ignoreDesiredSizeU, Boolean forceInfinityV, Boolean& hasDesiredSizeUChanged)

   at System.Windows.Controls.Grid.MeasureCellsGroup(Int32 cellsHead, Size referenceSize, Boolean ignoreDesiredSizeU, Boolean forceInfinityV)

   at System.Windows.Controls.Grid.MeasureOverride(Size constraint)

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

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

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

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

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

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

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

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

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

   at System.Windows.Controls.Grid.MeasureCell(Int32 cell, Boolean forceInfinityV)

   at System.Windows.Controls.Grid.MeasureCellsGroup(Int32 cellsHead, Size referenceSize, Boolean ignoreDesiredSizeU, Boolean forceInfinityV, Boolean& hasDesiredSizeUChanged)

   at System.Windows.Controls.Grid.MeasureCellsGroup(Int32 cellsHead, Size referenceSize, Boolean ignoreDesiredSizeU, Boolean forceInfinityV)

   at System.Windows.Controls.Grid.MeasureOverride(Size constraint)

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

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

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

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

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

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

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

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

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

   at System.Windows.ContextLayoutManager.UpdateLayout()

   at System.Windows.UIElement.UpdateLayout()

   at AvalonDock.Pane.OnItemsChanged(NotifyCollectionChangedEventArgs e)

   at AvalonDock.DocumentPane.OnItemsChanged(NotifyCollectionChangedEventArgs e)

   at System.Windows.Controls.ItemsControl.OnItemCollectionChanged2(Object sender, NotifyCollectionChangedEventArgs e)

   at System.Collections.Specialized.NotifyCollectionChangedEventHandler.Invoke(Object sender, NotifyCollectionChangedEventArgs e)

   at System.Windows.Data.CollectionView.OnCollectionChanged(NotifyCollectionChangedEventArgs args)

   at System.Windows.Controls.ItemCollection.OnViewCollectionChanged(Object sender, NotifyCollectionChangedEventArgs e)

   at System.Windows.WeakEventManager.ListenerList`1.DeliverEvent(Object sender, EventArgs e, Type managerType)

   at System.Windows.WeakEventManager.DeliverEvent(Object sender, EventArgs args)

   at System.Collections.Specialized.CollectionChangedEventManager.OnCollectionChanged(Object sender, NotifyCollectionChangedEventArgs args)

   at System.Windows.Data.CollectionView.OnCollectionChanged(NotifyCollectionChangedEventArgs args)

   at MS.Internal.Controls.InnerItemCollectionView.Insert(Int32 index, Object item)

   at System.Windows.Controls.ItemCollection.Insert(Int32 insertIndex, Object insertItem)

   at AvalonDock.DockingManager.Show(DocumentContent document, Boolean floating)

   at AvalonDock.DocumentContent.Show(DockingManager manager, Boolean showAsFloatingWindow)

   at AvalonDock.DocumentContent.Show(DockingManager manager)

   at ICSharpCode.SharpDevelop.Gui.AvalonDockLayout.ShowView(IViewContent content, Boolean switchToOpenedView)

   at ICSharpCode.SharpDevelop.Gui.WpfWorkbench.ShowView(IViewContent content, Boolean switchToOpenedView)

   at ICSharpCode.SharpDevelop.FileService.LoadFileWrapper.Invoke(String fileName)

   at ICSharpCode.Core.FileUtility.<>c__DisplayClass14.<ObservedLoad>b__13()

   at ICSharpCode.Core.FileUtility.ObservedLoad(FileOperationDelegate loadFile, String fileName, String message, FileErrorPolicy policy)

   at ICSharpCode.Core.FileUtility.ObservedLoad(NamedFileOperationDelegate saveFileAs, String fileName, String message, FileErrorPolicy policy)

   at ICSharpCode.Core.FileUtility.ObservedLoad(NamedFileOperationDelegate saveFileAs, String fileName, FileErrorPolicy policy)

   at ICSharpCode.SharpDevelop.FileService.OpenFile(String fileName, Boolean switchToOpenedView)

   at ICSharpCode.SharpDevelop.Project.FileNode.ActivateItem()

   at ICSharpCode.SharpDevelop.Project.Commands.OpenFileFromProjectBrowser.Run()

   at ICSharpCode.Core.WinForms.MenuCommand.OnClick(EventArgs e)

   at System.Windows.Forms.ToolStripItem.HandleClick(EventArgs e)

   at System.Windows.Forms.ToolStripItem.HandleMouseUp(MouseEventArgs e)

   at System.Windows.Forms.ToolStripItem.FireEventInteractive(EventArgs e, ToolStripItemEventType met)

   at System.Windows.Forms.ToolStripItem.FireEvent(EventArgs e, ToolStripItemEventType met)

   at System.Windows.Forms.ToolStrip.OnMouseUp(MouseEventArgs mea)

   at System.Windows.Forms.ToolStripDropDown.OnMouseUp(MouseEventArgs mea)

   at System.Windows.Forms.Control.WmMouseUp(Message& m, MouseButtons button, Int32 clicks)

   at System.Windows.Forms.Control.WndProc(Message& m)

   at System.Windows.Forms.ScrollableControl.WndProc(Message& m)

   at System.Windows.Forms.ToolStrip.WndProc(Message& m)

   at System.Windows.Forms.ToolStripDropDown.WndProc(Message& m)

   at System.Windows.Forms.Control.ControlNativeWindow.OnMessage(Message& m)

   at System.Windows.Forms.Control.ControlNativeWindow.WndProc(Message& m)

   at System.Windows.Forms.NativeWindow.Callback(IntPtr hWnd, Int32 msg, IntPtr wparam, IntPtr lparam)

 

---- Post-error application state information:

Installed 3rd party AddIns: [WebRunner 1.0]

Workbench.ActiveContent: ICSharpCode.SharpDevelop.Project.ProjectBrowserPad

ProjectService.OpenSolution: [Solution: FileName=E:\技术资料\Csharp\开源\Library\Mybatis.net\src\MyBatis.sln, HasProjects=True, ReadOnly=False]

ProjectService.CurrentProject: [CSharpProject: MyBatis.DataMapper]


Viewing all articles
Browse latest Browse all 1764

Trending Articles