Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Error parsing hostname in AvalonEdit #684

Closed
distantcam opened this issue Feb 8, 2017 · 2 comments
Closed

Error parsing hostname in AvalonEdit #684

distantcam opened this issue Feb 8, 2017 · 2 comments

Comments

@distantcam
Copy link
Contributor

From Raygun

Class name

System.UriFormatException

Message

Invalid URI: The hostname could not be parsed.

Version

1.5.10+10.Branch.master.Sha.93f398898305bca352c672ed09ce16856bc984f1

ServiceControl Version

1.29.0

Stacktrace
 System.Uri.CreateThis(String uri, Boolean dontEscape, UriKind uriKind):115
 ICSharpCode.AvalonEdit.Rendering.MailLinkElementGenerator.GetUriFromMatch(Match match):21
 ICSharpCode.AvalonEdit.Rendering.LinkElementGenerator.ConstructElementFromMatch(Match m):0
 ICSharpCode.AvalonEdit.Rendering.LinkElementGenerator.ConstructElement(Int32 offset):30
 ICSharpCode.AvalonEdit.Rendering.VisualLine.PerformVisualElementConstruction(VisualLineElementGenerator[] generators):259
 ICSharpCode.AvalonEdit.Rendering.VisualLine.ConstructVisualElements(ITextRunConstructionContext context, VisualLineElementGenerator[] generators):56
 ICSharpCode.AvalonEdit.Rendering.TextView.BuildVisualLine(DocumentLine documentLine, TextRunProperties globalTextRunProperties, VisualLineTextParagraphProperties paragraphProperties, VisualLineElementGenerator[] elementGeneratorsArray, IVisualLineTransformer[] lineTransformersArray, Size availableSize):78
 ICSharpCode.AvalonEdit.Rendering.TextView.CreateAndMeasureVisualLines(Size availableSize):177
 ICSharpCode.AvalonEdit.Rendering.TextView.MeasureOverride(Size availableSize):214
 System.Windows.FrameworkElement.MeasureCore(Size availableSize):541
 System.Windows.UIElement.Measure(Size availableSize):405
 MS.Internal.Helper.MeasureElementWithSingleChild(UIElement element, Size constraint):35
 System.Windows.Controls.ContentPresenter.MeasureOverride(Size constraint):0
 System.Windows.FrameworkElement.MeasureCore(Size availableSize):541
 System.Windows.UIElement.Measure(Size availableSize):405
 System.Windows.Controls.DockPanel.MeasureOverride(Size constraint):144
 System.Windows.FrameworkElement.MeasureCore(Size availableSize):541
 System.Windows.UIElement.Measure(Size availableSize):405
 System.Windows.Controls.Control.MeasureOverride(Size constraint):32
 System.Windows.FrameworkElement.MeasureCore(Size availableSize):541
 System.Windows.UIElement.Measure(Size availableSize):405
 MS.Internal.Helper.MeasureElementWithSingleChild(UIElement element, Size constraint):35
 System.Windows.Controls.ContentPresenter.MeasureOverride(Size constraint):0
 System.Windows.FrameworkElement.MeasureCore(Size availableSize):541
 System.Windows.UIElement.Measure(Size availableSize):405
 System.Windows.Controls.Control.MeasureOverride(Size constraint):32
 System.Windows.FrameworkElement.MeasureCore(Size availableSize):541
 System.Windows.UIElement.Measure(Size availableSize):405
 System.Windows.Controls.Border.MeasureOverride(Size constraint):250
 System.Windows.FrameworkElement.MeasureCore(Size availableSize):541
 System.Windows.UIElement.Measure(Size availableSize):405
 MS.Internal.Helper.MeasureElementWithSingleChild(UIElement element, Size constraint):35
 System.Windows.Controls.ScrollContentPresenter.MeasureOverride(Size constraint):149
 System.Windows.FrameworkElement.MeasureCore(Size availableSize):541
 System.Windows.UIElement.Measure(Size availableSize):405
 System.Windows.Controls.Grid.MeasureCell(Int32 cell, Boolean forceInfinityV):241
 System.Windows.Controls.Grid.MeasureCellsGroup(Int32 cellsHead, Size referenceSize, Boolean ignoreDesiredSizeU, Boolean forceInfinityV, Boolean& hasDesiredSizeUChanged):62
 System.Windows.Controls.Grid.MeasureOverride(Size constraint):769
 System.Windows.FrameworkElement.MeasureCore(Size availableSize):541
 System.Windows.UIElement.Measure(Size availableSize):405
 System.Windows.Controls.Border.MeasureOverride(Size constraint):250
 System.Windows.FrameworkElement.MeasureCore(Size availableSize):541
 System.Windows.UIElement.Measure(Size availableSize):405
 System.Windows.Controls.ScrollViewer.MeasureOverride(Size constraint):257
 System.Windows.FrameworkElement.MeasureCore(Size availableSize):541
 System.Windows.UIElement.Measure(Size availableSize):405
 System.Windows.Controls.Grid.MeasureCell(Int32 cell, Boolean forceInfinityV):241
 System.Windows.Controls.Grid.MeasureCellsGroup(Int32 cellsHead, Size referenceSize, Boolean ignoreDesiredSizeU, Boolean forceInfinityV, Boolean& hasDesiredSizeUChanged):62
 System.Windows.Controls.Grid.MeasureOverride(Size constraint):769
 System.Windows.FrameworkElement.MeasureCore(Size availableSize):541
 System.Windows.UIElement.Measure(Size availableSize):405
 System.Windows.Controls.Grid.MeasureCell(Int32 cell, Boolean forceInfinityV):241
 System.Windows.Controls.Grid.MeasureCellsGroup(Int32 cellsHead, Size referenceSize, Boolean ignoreDesiredSizeU, Boolean forceInfinityV, Boolean& hasDesiredSizeUChanged):62
 System.Windows.Controls.Grid.MeasureOverride(Size constraint):769
 System.Windows.FrameworkElement.MeasureCore(Size availableSize):541
 System.Windows.UIElement.Measure(Size availableSize):405
 MS.Internal.Helper.MeasureElementWithSingleChild(UIElement element, Size constraint):35
 System.Windows.Controls.ContentPresenter.MeasureOverride(Size constraint):0
 System.Windows.FrameworkElement.MeasureCore(Size availableSize):541
 System.Windows.UIElement.Measure(Size availableSize):405
 System.Windows.Controls.Border.MeasureOverride(Size constraint):250
 System.Windows.FrameworkElement.MeasureCore(Size availableSize):541
 System.Windows.UIElement.Measure(Size availableSize):405
 System.Windows.Controls.Control.MeasureOverride(Size constraint):32
 System.Windows.FrameworkElement.MeasureCore(Size availableSize):541
 System.Windows.UIElement.Measure(Size availableSize):405
 MS.Internal.Helper.MeasureElementWithSingleChild(UIElement element, Size constraint):35
 System.Windows.Controls.ContentPresenter.MeasureOverride(Size constraint):0
 System.Windows.FrameworkElement.MeasureCore(Size availableSize):541
 System.Windows.UIElement.Measure(Size availableSize):405
 System.Windows.Controls.Border.MeasureOverride(Size constraint):250
 System.Windows.FrameworkElement.MeasureCore(Size availableSize):541
 System.Windows.UIElement.Measure(Size availableSize):405
 System.Windows.Controls.Control.MeasureOverride(Size constraint):32
 System.Windows.FrameworkElement.MeasureCore(Size availableSize):541
 System.Windows.UIElement.Measure(Size availableSize):405
 System.Windows.Controls.Border.MeasureOverride(Size constraint):250
 System.Windows.FrameworkElement.MeasureCore(Size availableSize):541
 System.Windows.UIElement.Measure(Size availableSize):405
 System.Windows.Controls.Grid.MeasureCell(Int32 cell, Boolean forceInfinityV):241
 System.Windows.Controls.Grid.MeasureCellsGroup(Int32 cellsHead, Size referenceSize, Boolean ignoreDesiredSizeU, Boolean forceInfinityV, Boolean& hasDesiredSizeUChanged):62
 System.Windows.Controls.Grid.MeasureOverride(Size constraint):769
 System.Windows.FrameworkElement.MeasureCore(Size availableSize):541
 System.Windows.UIElement.Measure(Size availableSize):405
 System.Windows.Controls.Border.MeasureOverride(Size constraint):250
 System.Windows.FrameworkElement.MeasureCore(Size availableSize):541
 System.Windows.UIElement.Measure(Size availableSize):405
 System.Windows.Controls.Grid.MeasureCell(Int32 cell, Boolean forceInfinityV):241
 System.Windows.Controls.Grid.MeasureCellsGroup(Int32 cellsHead, Size referenceSize, Boolean ignoreDesiredSizeU, Boolean forceInfinityV, Boolean& hasDesiredSizeUChanged):62
 System.Windows.Controls.Grid.MeasureOverride(Size constraint):769
 System.Windows.FrameworkElement.MeasureCore(Size availableSize):541
 System.Windows.UIElement.Measure(Size availableSize):405
 System.Windows.Controls.Border.MeasureOverride(Size constraint):250
 System.Windows.FrameworkElement.MeasureCore(Size availableSize):541
 System.Windows.UIElement.Measure(Size availableSize):405
 System.Windows.Controls.Grid.MeasureOverride(Size constraint):67
 System.Windows.FrameworkElement.MeasureCore(Size availableSize):541
 System.Windows.UIElement.Measure(Size availableSize):405
 MS.Internal.Helper.MeasureElementWithSingleChild(UIElement element, Size constraint):35
 System.Windows.Controls.ContentPresenter.MeasureOverride(Size constraint):0
 System.Windows.FrameworkElement.MeasureCore(Size availableSize):541
 System.Windows.UIElement.Measure(Size availableSize):405
 System.Windows.Documents.AdornerDecorator.MeasureOverride(Size constraint):0
 System.Windows.FrameworkElement.MeasureCore(Size availableSize):541
 System.Windows.UIElement.Measure(Size availableSize):405
 System.Windows.Controls.Border.MeasureOverride(Size constraint):250
 System.Windows.FrameworkElement.MeasureCore(Size availableSize):541
 System.Windows.UIElement.Measure(Size availableSize):405
 System.Windows.Controls.Grid.MeasureOverride(Size constraint):67
 System.Windows.FrameworkElement.MeasureCore(Size availableSize):541
 System.Windows.UIElement.Measure(Size availableSize):405
 DevExpress.Xpf.Core.DXWindow.MeasureOverrideHelper(Size constraint):249
 DevExpress.Xpf.Core.DXWindow.MeasureOverride(Size availableSize):104
 System.Windows.FrameworkElement.MeasureCore(Size availableSize):1154
 System.Windows.UIElement.Measure(Size availableSize):405
 System.Windows.Interop.HwndSource.Process_WM_SIZE(UIElement rootUIElement, IntPtr hwnd, WindowMessage msg, IntPtr wParam, IntPtr lParam):380
 System.Windows.Interop.HwndSource.LayoutFilterMessage(IntPtr hwnd, Int32 msg, IntPtr wParam, IntPtr lParam, Boolean& handled):135
 MS.Win32.HwndWrapper.WndProc(IntPtr hwnd, Int32 msg, IntPtr wParam, IntPtr lParam, Boolean& handled):16
 MS.Win32.HwndSubclass.DispatcherCallbackOperation(Object o):54
 System.Windows.Threading.ExceptionWrapper.InternalRealCall(Delegate callback, Object args, Int32 numArgs):119
 System.Windows.Threading.ExceptionWrapper.TryCatchWhen(Object source, Delegate callback, Object args, Int32 numArgs, Delegate catchHandler):2
@HEskandari
Copy link
Contributor

HEskandari commented Mar 29, 2017

This is pending AvalonEdit v5.0.2 release. Currently there's a Beta-1 release, so hopefully will be unblocked soon.

@HEskandari
Copy link
Contributor

AvalonEdit 5.0.2 (and 5.0.3) has been released and contains the bug fix. We can upgrade now.

@adamralph adamralph added this to the 1.8.0 milestone Sep 5, 2017
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

3 participants