Значение не может быть пустым исключением при попытке запустить Imageresizer - PullRequest
0 голосов
/ 28 октября 2019

Я получаю следующую ошибку при попытке запустить Image Resizer, используя мой плагин rest api с этим URL: http://localhost:8001/D1900010012059

Код плагина можно найти здесь: https://github.com/mikaelekstrom/resizerapiplugin/blob/master/RestAPIImageRetriever.cs

Value cannot be null.
Parameter name: value 
  Description: An unhandled exception occurred during the execution of the current web request. Please review the stack trace for more information about the error and where it originated in the code. 

 Exception Details: System.ArgumentNullException: Value cannot be null.
Parameter name: value

Source Error: 


 An unhandled exception was generated during the execution of the current web request. Information regarding the origin and location of the exception can be identified using the exception stack trace below.  

Stack Trace: 



[ArgumentNullException: Value cannot be null.
Parameter name: value]
   System.String.StartsWith(String value, StringComparison comparisonType) +598
   ImageResizer.Storage.BlobProviderBase.FileExists(String virtualPath, NameValueCollection queryString) +88
   ImageResizer.Plugins.VirtualPathProviderShim.GetVIP(String virtualPath) +217
   ImageResizer.Plugins.VirtualPathProviderShim.FileExists(String virtualPath) +23
   System.Web.Routing.RouteCollection.IsRouteToExistingFile(HttpContextBase httpContext) +120
   System.Web.Routing.RouteCollection.GetRouteData(HttpContextBase httpContext) +129
   System.Web.Routing.UrlRoutingModule.PostResolveRequestCache(HttpContextBase context) +70
   System.Web.SyncEventExecutionStep.System.Web.HttpApplication.IExecutionStep.Execute() +139
   System.Web.HttpApplication.ExecuteStepImpl(IExecutionStep step) +195
   System.Web.HttpApplication.ExecuteStep(IExecutionStep step, Boolean& completedSynchronously) +88
...