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
Error- "Object reference not set to an instance of an object
-
mdawn502003
- Propeller Head
- Posts: 19
- Joined: Wed May 07, 2014 3:50 pm
-
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
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.
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

When puns are outlawed, only outlaws will have puns.

When puns are outlawed, only outlaws will have puns.
Re: Error- "Object reference not set to an instance of an object
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)?
Margaret, by "compiling a master project", do you mean doing a build through the Flare GUI, or building it using the command line (MadBuild)?
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
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
Thanks,
Margaret Dawn
Re: Error- "Object reference not set to an instance of an object
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.
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
I'll give that a try. Thanks for your help.
Margaret Dawn
Margaret Dawn
Re: Error- "Object reference not set to an instance of an object
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!
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!