Server Error in ‘/CloudPanel’ Application.
Cannot convert null to ‘int’ because it is a non-nullable value type
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 convert null to ‘int’ because it is a non-nullable value type
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.
[RuntimeBinderException: Cannot convert null to ‘int’ because it is a non-nullable value type]
CallSite.Target(Closure , CallSite , Object ) +153
Nancy.ViewEngines.Razor.NancyRazorViewBase`1.ExecuteView(String body, IDictionary`2 sectionContents) +123
Nancy.ViewEngines.Razor.<>c__DisplayClass9_0.<RenderView>b__0(Stream stream) +851
System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task) +13891908
System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task) +61
System.Web.TaskAsyncHelper.EndTask(IAsyncResult ar) +69
System.Web.CallHandlerExecutionStep.OnAsyncHandlerCompletion(IAsyncResult ar) +178
This issue was caused by the Security Group feature being added to CloudPanel and a NULL value left on the security group column for Company plans. To resolve this issue, simply go to company plans and click on EACH of the plans and re-save. This will put a zero in that column instead of NULL