BVEStation Forums

BVE => BVE/OpenBVE Support => Topic started by: nickdibiase on July 19, 2016, 09:54:49 pm

Title: "1" Route; OpenBVE crash "object reference not set to an instance of an object"
Post by: nickdibiase on July 19, 2016, 09:54:49 pm
Have many routes that operate with no problems. This route, "1", crashes OpenBve with "object reference not set to an instance of an object". Simply cannot come up with a reason for this. Crashes with any train type.

Thanks for any help.
Title: Re: "1" Route; OpenBVE crash "object reference not set to an instance of an object"
Post by: nickdibiase on July 20, 2016, 09:57:14 pm
Solved. Downloaded another version of OpenBVE and it works. Strange as this is the only route that is crashing.
Title: Re: "1" Route; OpenBVE crash "object reference not set to an instance of an object"
Post by: YankeesPwnMets on July 23, 2016, 12:00:40 am
openBVE is coded in an a language known as C Sharp or C#, which is what is called an object oriented language. When the program, refers to an "object," it refers to an object within the source code of openBVE, not an openBVE object (yes, this is a confusing explanation). The error was caused with the source code somehow conflicting with the route. You probably had a version of openBVE modified by someone who didn't do enough error checking.