Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
System.NullReferenceException in mmAppBase
Message
 
À
15/11/2007 14:07:28
Tegron Tegron
Platinum Technologies
Ohio, États-Unis
Information générale
Forum:
ASP.NET
Catégorie:
The Mere Mortals .NET Framework
Divers
Thread ID:
01269235
Message ID:
01269322
Vues:
11
>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
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform