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

Crash. The Uri scheme is too long. #241

Open
wstaelens opened this issue Nov 21, 2016 · 0 comments
Open

Crash. The Uri scheme is too long. #241

wstaelens opened this issue Nov 21, 2016 · 0 comments

Comments

@wstaelens
Copy link

I was typing and changing the source from the image tag.
I started to type in a new source at the beginning (while the other path was still there, so that I could quickly type it over, because it was only a minor difference in the new path).
Suddenly when I was typing visual studio gave an error message that something crashed and I should check activitylog.xml.

<img class="img-responsive" src="@Foo.Bar.Web.Logic.Media.. @Foo.Bar.Web.Logic.MediaFileHelperCreator.Create(i).GetFilePathThumbnail(@Foo.Bar.Domain.Model.ThumbnailFormat.Small, true)" alt="@i.Title" />

Turned out to be from web essentials...

ActivityLog.xml from VisualStudio:
file:///C:/Users//AppData/Roaming/Microsoft/VisualStudio/14.0/ActivityLog.xml

1090
ERROR
System.UriFormatException: Invalid URI: The Uri scheme is too long. at System.Uri.CreateThis(String uri, Boolean dontEscape, UriKind uriKind) at System.Uri..ctor(String uriString, UriKind uriKind) at MadsKristensen.EditorExtensions.ProjectHelpers.ToAbsoluteFilePath(String relativeUrl, String projectRoot, String baseFolder) in C:\projects\webessentials2015\EditorExtensions\Shared\Helpers\ProjectHelpers.cs:line 207 at MadsKristensen.EditorExtensions.ProjectHelpers.ToAbsoluteFilePath(String relativeUrl, String relativeToFile) in C:\projects\webessentials2015\EditorExtensions\Shared\Helpers\ProjectHelpers.cs:line 181 at MadsKristensen.EditorExtensions.ImageQuickInfo.GetFullUrl(String text, String sourceFilename) in C:\projects\webessentials2015\EditorExtensions\CSS\QuickInfo\Image\ImageQuickInfo.cs:line 103 at MadsKristensen.EditorExtensions.ImageQuickInfo.GetFullUrl(String text, ITextBuffer sourceBuffer) in C:\projects\webessentials2015\EditorExtensions\CSS\QuickInfo\Image\ImageQuickInfo.cs:line 85 at MadsKristensen.EditorExtensions.Html.ImageHtmlQuickInfo.AugmentQuickInfoSession(IQuickInfoSession session, IList`1 qiContent, ITrackingSpan& applicableToSpan) in C:\projects\webessentials2015\EditorExtensions\HTML\QuickInfo\ImageHtml\ImageQuickInfo.cs:line 39 at Microsoft.VisualStudio.Language.Intellisense.Implementation.QuickInfoSession.Recalculate() at Microsoft.VisualStudio.Language.Intellisense.Implementation.QuickInfoSession.Start() at Microsoft.VisualStudio.Language.Intellisense.Implementation.QuickInfoBroker.TriggerQuickInfo(ITextView textView, ITrackingPoint triggerPoint, Boolean trackMouse) at Microsoft.Html.Editor.QuickInfo.HtmlQuickInfoController.OnMouseHover(Object sender, MouseHoverEventArgs e) at Microsoft.VisualStudio.Text.Editor.Implementation.WpfTextView.RaiseHoverEvents()

Editor or Editor Extension
2016/11/21 11:08:28.955
1091
ERROR
System.UriFormatException: Invalid URI: The Uri scheme is too long. at System.Uri.CreateThis(String uri, Boolean dontEscape, UriKind uriKind) at System.Uri..ctor(String uriString, UriKind uriKind) at MadsKristensen.EditorExtensions.ProjectHelpers.ToAbsoluteFilePath(String relativeUrl, String projectRoot, String baseFolder) in C:\projects\webessentials2015\EditorExtensions\Shared\Helpers\ProjectHelpers.cs:line 207 at MadsKristensen.EditorExtensions.ProjectHelpers.ToAbsoluteFilePath(String relativeUrl, String relativeToFile) in C:\projects\webessentials2015\EditorExtensions\Shared\Helpers\ProjectHelpers.cs:line 181 at MadsKristensen.EditorExtensions.ImageQuickInfo.GetFullUrl(String text, String sourceFilename) in C:\projects\webessentials2015\EditorExtensions\CSS\QuickInfo\Image\ImageQuickInfo.cs:line 103 at MadsKristensen.EditorExtensions.ImageQuickInfo.GetFullUrl(String text, ITextBuffer sourceBuffer) in C:\projects\webessentials2015\EditorExtensions\CSS\QuickInfo\Image\ImageQuickInfo.cs:line 85 at MadsKristensen.EditorExtensions.Html.ImageHtmlQuickInfo.AugmentQuickInfoSession(IQuickInfoSession session, IList`1 qiContent, ITrackingSpan& applicableToSpan) in C:\projects\webessentials2015\EditorExtensions\HTML\QuickInfo\ImageHtml\ImageQuickInfo.cs:line 39 at Microsoft.VisualStudio.Language.Intellisense.Implementation.QuickInfoSession.Recalculate() at Microsoft.VisualStudio.Language.Intellisense.Implementation.QuickInfoSession.Start() at Microsoft.VisualStudio.Language.Intellisense.Implementation.DefaultQuickInfoController.OnTextView_MouseHover(Object sender, MouseHoverEventArgs e) at Microsoft.VisualStudio.Text.Editor.Implementation.WpfTextView.RaiseHoverEvents()

Editor or Editor Extension
2016/11/21 11:08:28.957

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant