Error- "Object reference not set to an instance of an object

This forum is for all Flare issues not related to any of the other categories.
Post Reply
mdawn502003
Propeller Head
Posts: 19
Joined: Wed May 07, 2014 3:50 pm

Error- "Object reference not set to an instance of an object

Post by mdawn502003 »

I received this error when compiling a master project: "Object reference not set to an instance of an object."

Any thoughts on where I could look for the cause?

Thanks,
Margaret Dawn
ToddPh
Sr. Propeller Head
Posts: 140
Joined: Wed Jan 30, 2013 2:41 pm
Location: Kirkland, Washington

Re: Error- "Object reference not set to an instance of an object

Post by ToddPh »

I've received this error when building projects that are stored in cloud-based SVN repositories. Based on those experiences I believe the problem to be related to accessing the source control, because when I break the connection to source control I no longer get the error. I can then add the project to another working directory and store it in the same repository under another folder and have things work correctly.

Unfortunately, I have never gone farther than that in my troubleshooting to give you a full answer. Hope this gives some insight at least.
Todd
Image
When puns are outlawed, only outlaws will have puns.
LTinker68
Master Propellus Maximus
Posts: 7247
Joined: Thu Feb 16, 2006 9:38 pm

Re: Error- "Object reference not set to an instance of an object

Post by LTinker68 »

No, unfortunately, that's a pretty generic error. Todd might have gotten it in relation to cloud services, but if you do a search on that phrase in this forum then you'll find all sorts of posts where people got that error when trying all sorts of things.

Margaret, by "compiling a master project", do you mean doing a build through the Flare GUI, or building it using the command line (MadBuild)?
Image

Lisa
Eagles may soar, but weasels aren't sucked into jet engines.
Warning! Loose nut behind the keyboard.
mdawn502003
Propeller Head
Posts: 19
Joined: Wed May 07, 2014 3:50 pm

Re: Error- "Object reference not set to an instance of an object

Post by mdawn502003 »

I have a master project set up that links to about 10 subprojects based on the Master TOC. I compiled through the Flare GUI.

Thanks,
Margaret Dawn
LTinker68
Master Propellus Maximus
Posts: 7247
Joined: Thu Feb 16, 2006 9:38 pm

Re: Error- "Object reference not set to an instance of an object

Post by LTinker68 »

I don't merge projects, but normally, if you build via the Flare GUI and it encounters a problem, you can look at the build error list and it will show the last topic or file that it was looking at. That might give you an idea of where the error is, or at least which file caused the problem. You could then temporarily condition-out that topic and if the build goes through without problems, then you know the problem is definitely with that file.
Image

Lisa
Eagles may soar, but weasels aren't sucked into jet engines.
Warning! Loose nut behind the keyboard.
mdawn502003
Propeller Head
Posts: 19
Joined: Wed May 07, 2014 3:50 pm

Re: Error- "Object reference not set to an instance of an object

Post by mdawn502003 »

I'll give that a try. Thanks for your help.

Margaret Dawn
CATERAF
Sr. Propeller Head
Posts: 103
Joined: Mon Mar 18, 2013 10:19 pm
Location: Perth, Australia

Re: Error- "Object reference not set to an instance of an object

Post by CATERAF »

Hi Margaret,

Unfortunately that's a very common error but doesn't really tell you what's caused the error (though many wish it did).
It's definitely worth trying to condition out the topic and see if it builds but it isn't always be the case that that will solve the problem.
I have had the error a couple of times and perhaps only one of those errors was related to the topic that the the compiler stopped on.

If you haven't had much success, I would try searching the forum to see if anyone else has any solutions you can try otherwise contact Tech Support. They're very helpful and will try to give you a hand with it. Unfortunately that error can be a show stopper because the build won't go through until you clear the error.. can be very frustrating.

Hope that helps!
Post Reply