Server Error in '/' Application.

Object reference not set to an instance of an object.

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.NullReferenceException: Object reference not set to an instance of an object.

Source Error:


Line 341:        sql = f.details;
Line 342:        count = f.count;
Line 343:        cols = tblData.Columns;
Line 344:
Line 345:        //toevoegen eventuele CSS uit content tabel

Source File: C:\websites\webos\App_Code\cs\objectData.cs    Line: 343

Stack Trace:


[NullReferenceException: Object reference not set to an instance of an object.]
   objectData.ObjectData(String _name, String type, Boolean addkeyfield, Boolean labelAsFieldname, String extrafilter, String fullfilter, String hide, Boolean doPermissionCheck, Boolean encryptPrimaryKey, Boolean isPrimaryView) in C:\websites\webos\App_Code\cs\objectData.cs:343
   wo.multiple.Display(String name, Dictionary`2 param, String orderby, Boolean hideheaderfooterjs, Boolean issub, Boolean showadminbuttons, String extrafilter, String fullfilter, String type, String hide, Int32 maxrows, Int32 startrow) in C:\websites\webos\App_Code\cs\multiple.cs:53
   wo.multiple.display(String name, String strparam, String orderby, Boolean hideheaderfooterjs, Boolean issub, Boolean showadminbuttons, String fullfilter, String type, String hide, Int32 maxrows, Int32 startrow) in C:\websites\webos\App_Code\cs\multiple.cs:32
   wo.parser.parsetemplate(DataTable& tbl, String template, Boolean hideheaderfooterjs, Boolean showadminbuttons, Int32 maxrecords, String tablename, String recid, Int32 startRecord, String[] paramarr, String propertyName) in C:\websites\webos\App_Code\cs\parser.cs:207
   wo.single.display(String name, String id, Boolean issub, Boolean showadminbuttons, String propertyName) in C:\websites\webos\App_Code\cs\single.cs:34
   DefHandler.FetchContent(String site, String file, String siteid, String sLang, Int32 mode) in C:\websites\webos\defhandler.ashx:681
   DefHandler.Dowork(HttpContext& con) in C:\websites\webos\defhandler.ashx:347
   DefHandler.ProcessRequest(HttpContext con) in C:\websites\webos\defhandler.ashx:52
   System.Web.CallHandlerExecutionStep.System.Web.HttpApplication.IExecutionStep.Execute() +789
   System.Web.HttpApplication.ExecuteStepImpl(IExecutionStep step) +194
   System.Web.HttpApplication.ExecuteStep(IExecutionStep step, Boolean& completedSynchronously) +87


Version Information: Microsoft .NET Framework Version:4.0.30319; ASP.NET Version:4.7.4087.0