RickStrahl / Westwind.AspNetCore.Markdown

An ASP.NET Core Markdown support library that provides Markdown parsing, a Markdown TagHelper and Markdown Page Handler Middleware
MIT License
251 stars 30 forks source link

System.ArgumentNullException: Value cannot be null. (Parameter 'path1') #18

Closed simonziegler closed 4 years ago

simonziegler commented 4 years ago

Hi Rick,

I've been using this package for a few months (great package by the way - many thanks!). And this morning after doing some general updates I have the following exception showing in the browser when I start the project:

System.ArgumentNullException: Value cannot be null. (Parameter 'path1')
   at System.IO.Path.Combine(String path1, String path2)
   at Westwind.AspNetCore.Markdown.MarkdownPageProcessorMiddleware.InvokeAsync(HttpContext context)
   at Microsoft.AspNetCore.HttpsPolicy.HttpsRedirectionMiddleware.Invoke(HttpContext context)
   at Microsoft.AspNetCore.Diagnostics.DeveloperExceptionPageMiddleware.Invoke(HttpContext context)

I updated some nuget packages and will try to roll them back and report whether I manage to find a cause.

simonziegler commented 4 years ago

Update. I rolled back all edits to a released version which works in deployment and still get this error. Sorry I have no further analysis.

hugoqribeiro commented 2 years ago

Hi @simonziegler . I'm having this issue. How did you closed it?

simonziegler commented 2 years ago

Hi Hugo, I'm afraid this was a couple of years ago and I don't recall the circumstances. Sorry.