Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
System.NullReferenceException in mmAppBase
Message
 
To
15/11/2007 14:07:28
Tegron Tegron
Platinum Technologies
Ohio, United States
General information
Forum:
ASP.NET
Category:
The Mere Mortals .NET Framework
Miscellaneous
Thread ID:
01269235
Message ID:
01269322
Views:
10
>When I run the following method through the Object Test Bench, it generates a System.NullReferenceException error in Mere Mortals Framework 2005.dll.
>
>The offending line appears to be in the mmAppBase class @ this line _databaseMgr = Factory.CreateDatabaseManager();
>
>I am using basically the same call in another business object and that method works fine.

Check out the MM .NET Dev Guide topic "Testing Business Objects in the Object Test Bench". It states that you need to instantiate an instance of AAppTest before instantiating your business object in order to set up the runtime environment.

Best Regards,
Kevin McNeish
Eight-Time .NET MVP
VFP and iOS Author, Speaker & Trainer
Oak Leaf Enterprises, Inc.
Chief Architect, MM Framework
http://www.oakleafsd.com
Previous
Reply
Map
View

Click here to load this message in the networking platform