View Full Version : object reference not set to instance of an object
LorenW
04-30-2009, 04:14 PM
This is a recurring error I get when trying to run layouts. Once TSB
starts making this error the software project seems to be pretty much
a dead duck - the only solution is to rebuild from scratch.
Any word on how to correct this? It really slows down development work
because when it happens it is necessary to scrap the project and
start over - or at least that is the only solution I have found.
jonathon
04-30-2009, 05:22 PM
Hey Loren, "object reference not set to instance of an object" normally means that one of your
property editors has not been associated with a property editor... You need to check each "field"
within each software object to make sure each one has an editor associated with it...
LorenW
04-30-2009, 06:04 PM
thanks. I am aware of that fix and have learned to be diligent about
assigning editors to objects. The issue goes beyond that unless there
is some way to assign an editor to a "schedule" object for instance - odd
because it doesn't need one to function.
TigerSoftware
04-30-2009, 08:21 PM
This is a recurring error I get when trying to run layouts. Once TSB
starts making this error the software project seems to be pretty much
a dead duck - the only solution is to rebuild from scratch.
Any word on how to correct this? It really slows down development work
because when it happens it is necessary to scrap the project and
start over - or at least that is the only solution I have found.
It can also be the way you are naming your objects and editors.
I am not sure why you are needing to scrap the whole project because of this. It would be better to figure out the cause rather than to redo the whole project.
Email me your layout file so I can take a look at it. Only send me the layout file that is getting the error.
Thanks,
Thomas
TigerSoftware
05-02-2009, 02:10 PM
Hi Loren,
I see what the problem is. You are using a decimal point within a object name which is crashing the software. You may want to reread the naming conventions within the Express help file here.
http://www.profittigersystems.com/vbforum/showthread.php?t=196
It works the same as the Pro version.
I cloned the 2.0 software object and left the 2.0 off and it worked nicely.
Regards,
Thomas
vBulletin® v3.8.4, Copyright ©2000-2012, Jelsoft Enterprises Ltd.