Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Error Instantiating Class
Message
General information
Forum:
ASP.NET
Category:
The Mere Mortals .NET Framework
Title:
Error Instantiating Class
Miscellaneous
Thread ID:
01300379
Message ID:
01300379
Views:
73
if have a class called model
I am trying to test this class with the code below, but I get a null exception error.
Jayco.MRP.BusinessObjects.Model mdl = new Jayco.MRP.BusinessObjects.Model();
mdl.GetAllData(); 
Below is the stack trace


at OakLeaf.MM.Main.mmAppBase.get_DatabaseMgr()
at OakLeaf.MM.Main.Business.mmBusinessObject.GetDataAccessObject(String databaseKey)
at OakLeaf.MM.Main.Business.mmBusinessObject.GetDataAccessObject()
at OakLeaf.MM.Main.Business.mmBusinessObject.GetAllData()
at _Default.Page_Load(Object sender, EventArgs e) in c:\cyberlogic\Jayco\JaycoMRP\JaycoMRP_Website\Default.aspx.cs:line 18
at System.Web.Util.CalliHelper.EventArgFunctionCaller(IntPtr fp, Object o, Object t, EventArgs e)
at System.Web.Util.CalliEventHandlerDelegateProxy.Callback(Object sender, EventArgs e)
at System.Web.UI.Control.OnLoad(EventArgs e)
at System.Web.UI.Control.LoadRecursive()
at System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint)
Fred Besterwitch, MCP

The harder you work. The luckier you get.
Next
Reply
Map
View

Click here to load this message in the networking platform