Hello everyone.
I just migrated a very small Project to v11 (Build 42505). Everything works fine, only the REST API fails....
Is there anyone who has the same problem, or I just missed something?????
Testing the following url https://joueurs.flde.lu/api/v1?table=Licences&action=list&records=2000 results in an error (Postman)
<title>Cannot perform runtime binding on a null reference</title>
Cannot perform runtime binding on a null reference
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: Microsoft.CSharp.RuntimeBinder.RuntimeBinderException: Cannot perform runtime binding on a null reference
Source Error:
Line 4614: else
Line 4615: {
Line 4616: return GlobalVars.restStorage.KeyExists(key);
Line 4617: }
Line 4618:
[RuntimeBinderException: Cannot perform runtime binding on a null reference]
CallSite.Target(Closure , CallSite , Object , Object ) +147
System.Dynamic.UpdateDelegates.UpdateAndExecute2(CallSite site, T0 arg0, T1 arg1) +688
runnerDotNet.CommonFunctions.storageExists(Object _param_key) in R:\PROGRAM\AspRunnerNet\Compiles\joueurs.flde.lu\include\commonfunctions.cs:4616
runnerDotNet.SearchClause.getSearchObject(Object _param_tName, Object _param_dashTName, Object _param_sessionPrefix, Object _param_cipherer, Object _param_searchSavingEnabled, Object _param_pSet_packed, Object _param_useCurrPageSettings) in R:\PROGRAM\AspRunnerNet\Compiles\joueurs.flde.lu\classes\searchclause.cs:1500
runnerDotNet.GlobalController.v1() in R:\PROGRAM\AspRunnerNet\Compiles\joueurs.flde.lu\api\v1.cs:54
lambda_method(Closure , ControllerBase , Object[] ) +62
System.Web.Mvc.ActionMethodDispatcher.Execute(ControllerBase controller, Object[] parameters) +14
System.Web.Mvc.ReflectedActionDescriptor.Execute(ControllerContext controllerContext, IDictionary2 parameters) +182 System.Web.Mvc.ControllerActionInvoker.InvokeActionMethod(ControllerContext controllerContext, ActionDescriptor actionDescriptor, IDictionary
2 parameters) +27
System.Web.Mvc.<>cDisplayClass15.<InvokeActionMethodWithFilters>b12() +56
System.Web.Mvc.ControllerActionInvoker.InvokeActionMethodFilter(IActionFilter filter, ActionExecutingContext preContext, Func1 continuation) +256 System.Web.Mvc.<>c__DisplayClass17.<InvokeActionMethodWithFilters>b__14() +22 System.Web.Mvc.ControllerActionInvoker.InvokeActionMethodWithFilters(ControllerContext controllerContext, IList
1 filters, ActionDescriptor actionDescriptor, IDictionary`2 parameters) +190
System.Web.Mvc.ControllerActionInvoker.InvokeAction(ControllerContext controllerContext, String actionName) +311
System.Web.Mvc.Controller.ExecuteCore() +105
runnerDotNet.BaseController.ExecuteThread(Object arg) in R:\PROGRAM\AspRunnerNet\Compiles\joueurs.flde.lu\Controllers\BaseController.cs:47
[AggregateException: One or more errors occurred.]
runnerDotNet.BaseController.ExecuteCore() in R:\PROGRAM\AspRunnerNet\Compiles\joueurs.flde.lu\Controllers\BaseController.cs:34
System.Web.Mvc.ControllerBase.Execute(RequestContext requestContext) +88
System.Web.Mvc.ControllerBase.System.Web.Mvc.IController.Execute(RequestContext requestContext) +10
System.Web.Mvc.<>cDisplayClassb.<BeginProcessRequest>b5() +34
System.Web.Mvc.Async.<>cDisplayClass1.<MakeVoidDelegate>b0() +16
System.Web.Mvc.Async.<>cDisplayClass8`1.<BeginSynchronous>b7(IAsyncResult _) +10
System.Web.Mvc.Async.WrappedAsyncResult`1.End() +50
System.Web.Mvc.<>cDisplayClasse.<EndProcessRequest>bd() +28
System.Web.Mvc.SecurityUtil.<GetCallInAppTrustThunk>b__0(Action f) +7
System.Web.Mvc.SecurityUtil.ProcessInApplicationTrust(Action action) +23
System.Web.Mvc.MvcHandler.EndProcessRequest(IAsyncResult asyncResult) +59
System.Web.Mvc.MvcHandler.System.Web.IHttpAsyncHandler.EndProcessRequest(IAsyncResult result) +9
System.Web.CallHandlerExecutionStep.System.Web.HttpApplication.IExecutionStep.Execute() +573
System.Web.HttpApplication.ExecuteStepImpl(IExecutionStep step) +109
System.Web.HttpApplication.ExecuteStep(IExecutionStep step, Boolean& completedSynchronously) +163