Results 1 to 7 of 7

Thread: objects error

  1. #1

    Default objects error

    i am facing null reference exception which says object reference not set to an instance of an object.
    here is my log

    This is a log file for Open Rails. Please include this file in bug reports.
    --------------------------------------------------------------------------------
    -----------------------------------------------
    Mode = activity
    Route = Western Railways V2
    Activity = 12192 Shridham Superfast (C:\Program Files (x86)\Microsoft Games\Train Simulator\ROUTES\Western Railways V2\ACTIVITIES\12192 Shridham Superfast.act)
    --------------------------------------------------------------------------------
    Loading TRK TDB

    Warning: Track node 2992 pin 0 has invalid link to track node 0 in C:\Program Files (x86)\Microsoft Games\Train Simulator\ROUTES\Western Railways V2\Western Railways V2.tdb:line 33451

    Warning: Track node 6075 pin 0 has invalid link to track node 0 in C:\Program Files (x86)\Microsoft Games\Train Simulator\ROUTES\Western Railways V2\Western Railways V2.tdb:line 67008

    Warning: Track node 6079 pin 0 has invalid link to track node 0 in C:\Program Files (x86)\Microsoft Games\Train Simulator\ROUTES\Western Railways V2\Western Railways V2.tdb:line 67044

    SIGCFG DAT ACT RDB CARSPAWN SIGSCR WWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWW WWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWW WWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWW WWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWW WWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWW WWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWW WWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWW WWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWW WWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWW WWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWW WWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWW WWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWW WWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWW WWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWW WWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWW WWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWW WWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWW WWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWW WWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWW WWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWW WWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWW WWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWW WWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWW WWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWW WWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWW WWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWW

    Warning: Incomplete crossover : indices 12417 and 12416

    Warning: Incomplete crossover : indices 12418 and 12416

    Warning: Ignored invalid track node 2992 pin [0,0] link to track node 0

    Warning: Ignored invalid track node 6075 pin [0,0] link to track node 0

    Warning: Ignored invalid track node 6079 pin [0,0] link to track node 0

    Information: Signal 4865 ; TC : 12838 ; NextTC : -1 ; TN : 5265 ; TDB (0) : 10376

    Information: Signal 4866 ; TC : 12838 ; NextTC : -1 ; TN : 5265 ; TDB (0) : 10377

    Information: Signal 4867 ; TC : 12838 ; NextTC : -1 ; TN : 5265 ; TDB (0) : 10378

    Information: Signal 4868 ; TC : 12838 ; NextTC : -1 ; TN : 5265 ; TDB (0) : 10381

    Information: Signal 4869 ; TC : 12838 ; NextTC : -1 ; TN : 5265 ; TDB (0) : 10379

    Information: Signal 4880 ; TC : 12843 ; NextTC : -1 ; TN : 5265 ; TDB (0) : 10215

    Information: Signal 6950 ; TC : 14600 ; NextTC : -1 ; TN : 8166 ; TDB (0) : 12721

    Information: Signal 6951 ; TC : 14600 ; NextTC : -1 ; TN : 8166 ; TDB (0) : 12720

    Warning: Cannot find main track for node 113 in path C:\Program Files (x86)\Microsoft Games\Train Simulator\ROUTES\Western Railways V2\PATHS\12192 Shridham Superfast.PAT

    Warning: Cannot find main track for node 114 in path C:\Program Files (x86)\Microsoft Games\Train Simulator\ROUTES\Western Railways V2\PATHS\12192 Shridham Superfast.PAT

    Warning: Cannot find main track for node 115 in path C:\Program Files (x86)\Microsoft Games\Train Simulator\ROUTES\Western Railways V2\PATHS\12192 Shridham Superfast.PAT

    Warning: Cannot find main track for node 116 in path C:\Program Files (x86)\Microsoft Games\Train Simulator\ROUTES\Western Railways V2\PATHS\12192 Shridham Superfast.PAT

    Warning: Cannot find main track for node 117 in path C:\Program Files (x86)\Microsoft Games\Train Simulator\ROUTES\Western Railways V2\PATHS\12192 Shridham Superfast.PAT

    Warning: Invalid path C:\Program Files (x86)\Microsoft Games\Train Simulator\ROUTES\Western Railways V2\PATHS\12192 Shridham Superfast.PAT for AI train : 12192 Shridham Superfast ; train not started


    Error: System.NullReferenceException: Object reference not set to an instance of an object.
    at Orts.Simulation.Simulator.InitializeAPPlayerTrain( ) in C:\Jenkins\jobs\Open Rails Stable\workspace\Source\Orts.Simulation\Simulation \Simulator.cs:line 1238
    at Orts.Simulation.Simulator.InitializeAPTrains(Cance llationToken cancellation) in C:\Jenkins\jobs\Open Rails Stable\workspace\Source\Orts.Simulation\Simulation \Simulator.cs:line 575
    at Orts.Simulation.Simulator.Start(CancellationToken cancellation) in C:\Jenkins\jobs\Open Rails Stable\workspace\Source\Orts.Simulation\Simulation \Simulator.cs:line 442
    at Orts.Viewer3D.Processes.GameStateRunActivity.Start (UserSettings settings, String acttype, String[] args) in C:\Jenkins\jobs\Open Rails Stable\workspace\Source\RunActivity\Viewer3D\Proce sses\GameStateRunActivity.cs:line 289
    at Orts.Viewer3D.Processes.GameStateRunActivity.<>c__ DisplayClass35_0.<Load>b__3() in C:\Jenkins\jobs\Open Rails Stable\workspace\Source\RunActivity\Viewer3D\Proce sses\GameStateRunActivity.cs:line 160
    at Orts.Viewer3D.Processes.GameStateRunActivity.Load( ) in C:\Jenkins\jobs\Open Rails Stable\workspace\Source\RunActivity\Viewer3D\Proce sses\GameStateRunActivity.cs:line 201
    at Orts.Viewer3D.Processes.LoaderProcess.Load() in C:\Jenkins\jobs\Open Rails Stable\workspace\Source\RunActivity\Viewer3D\Proce sses\LoaderProcess.cs:line 160
    at Orts.Viewer3D.Processes.LoaderProcess.DoLoad() in C:\Jenkins\jobs\Open Rails Stable\workspace\Source\RunActivity\Viewer3D\Proce sses\LoaderProcess.cs:line 140
    at Orts.Viewer3D.Processes.LoaderProcess.LoaderThread () in C:\Jenkins\jobs\Open Rails Stable\workspace\Source\RunActivity\Viewer3D\Proce sses\LoaderProcess.cs:line 111
    at System.Threading.ThreadHelper.ThreadStart_Context( Object state)
    at System.Threading.ExecutionContext.RunInternal(Exec utionContext executionContext, ContextCallback callback, Object state, Boolean preserveSyncCtx)
    at System.Threading.ExecutionContext.Run(ExecutionCon text executionContext, ContextCallback callback, Object state, Boolean preserveSyncCtx)
    at System.Threading.ExecutionContext.Run(ExecutionCon text executionContext, ContextCallback callback, Object state)
    at System.Threading.ThreadHelper.ThreadStart()


    Loader: Time = 00:00:07.4698058 ms
    Loader: Expected = 16,32,07,004 bytes
    Loader: Actual = 16,32,07,680 bytes
    Loader: Difference = 676 bytes (0.0%)

    Information: Game.PopState()

  2. #2

    Default

    "C:\Users\anshd\Desktop\OpenRailsLog.zip"

  3. #3
    Join Date
    Aug 2003
    Location
    Chalmette, Louisiana
    Posts
    228

    Default

    Warning: Invalid path C:\Program Files (x86)\Microsoft Games\Train Simulator\ROUTES\Western Railways V2\PATHS\12192 Shridham Superfast.PAT for AI train : 12192 Shridham Superfast ; train not started.

    I am not too experienced with the rail log but when I get that message, I check to see if the PATH is OK. It appears your PATH "SUPERFAST.pat" is invalid so I would try to correct that first.

    AJ

  4. #4
    Join Date
    Sep 2006
    Location
    .
    Posts
    2,878

    Default

    Evidently there is even less discipline over in India when it comes to avoiding the installation of everything in the protected program files folder. And thats before you factor in all the trouble related to unauthorized freeware mods to another person's freeware content that is becoming a growing problem over there.

    It is hard enough helping corral all the newbies and returnees over here into making the right installation decisions, with our stale cache of freeware, even as we slowly transition away from all the amateur loosie-looo freeware designs into a more disciplined and professionally developed payware landscape here.

  5. #5
    Join Date
    Sep 2005
    Location
    Gandangara Estate, Sutherland Shire. N.S.W, Australia.
    Posts
    1,746

    Default

    Quote Originally Posted by geepster775 View Post
    Evidently there is even less discipline over in India when it comes to avoiding the installation of everything in the protected program files folder. And thats before you factor in all the trouble related to unauthorized freeware mods to another person's freeware content that is becoming a growing problem over there.

    It is hard enough helping corral all the newbies and returnees over here into making the right installation decisions, with our stale cache of freeware, even as we slowly transition away from all the amateur loosie-looo freeware designs into a more disciplined and professionally developed payware landscape here.
    I agree, also, the India Trainsim community do good stuff but when you try to download and pay for it
    there is no working option... Foreign Credit Cards are not accepted.
    Daniel - Sydney (Glad I'm not in Townsville)
    It used to be my favourite place in the world.

  6. #6
    Join Date
    Jan 2011
    Location
    New York
    Posts
    408

    Default

    I attempted to run CN Blackfoot-Vegreville 2 after a long time and got the same Exception message for ALL Paths. I think I will try to customize the PATHs and see if that works. I dont remember if any problems came up when I ran this in MSTS,back in the days of steam! Anyway, I'll try it and see what happens. Brian

  7. #7
    Join Date
    Jan 2011
    Location
    New York
    Posts
    408

    Default

    Quote Originally Posted by Anshul07 View Post
    i am facing null reference exception which says object reference not set to an instance of an object.
    here is my log

    This is a log file for Open Rails. Please include this file in bug reports.
    --------------------------------------------------------------------------------
    -----------------------------------------------
    Mode = activity
    Route = Western Railways V2
    Activity = 12192 Shridham Superfast (C:\Program Files (x86)\Microsoft Games\Train Simulator\ROUTES\Western Railways V2\ACTIVITIES\12192 Shridham Superfast.act)
    --------------------------------------------------------------------------------
    Loading TRK TDB

    Warning: Track node 2992 pin 0 has invalid link to track node 0 in C:\Program Files (x86)\Microsoft Games\Train Simulator\ROUTES\Western Railways V2\Western Railways V2.tdb:line 33451

    Warning: Track node 6075 pin 0 has invalid link to track node 0 in C:\Program Files (x86)\Microsoft Games\Train Simulator\ROUTES\Western Railways V2\Western Railways V2.tdb:line 67008

    Warning: Track node 6079 pin 0 has invalid link to track node 0 in C:\Program Files (x86)\Microsoft Games\Train Simulator\ROUTES\Western Railways V2\Western Railways V2.tdb:line 67044

    SIGCFG DAT ACT RDB CARSPAWN SIGSCR WWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWW WWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWW WWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWW WWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWW WWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWW WWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWW WWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWW WWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWW WWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWW WWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWW WWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWW WWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWW WWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWW WWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWW WWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWW WWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWW WWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWW WWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWW WWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWW WWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWW WWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWW WWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWW WWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWW WWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWW WWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWW WWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWW

    Warning: Incomplete crossover : indices 12417 and 12416

    Warning: Incomplete crossover : indices 12418 and 12416

    Warning: Ignored invalid track node 2992 pin [0,0] link to track node 0

    Warning: Ignored invalid track node 6075 pin [0,0] link to track node 0

    Warning: Ignored invalid track node 6079 pin [0,0] link to track node 0

    Information: Signal 4865 ; TC : 12838 ; NextTC : -1 ; TN : 5265 ; TDB (0) : 10376

    Information: Signal 4866 ; TC : 12838 ; NextTC : -1 ; TN : 5265 ; TDB (0) : 10377

    Information: Signal 4867 ; TC : 12838 ; NextTC : -1 ; TN : 5265 ; TDB (0) : 10378

    Information: Signal 4868 ; TC : 12838 ; NextTC : -1 ; TN : 5265 ; TDB (0) : 10381

    Information: Signal 4869 ; TC : 12838 ; NextTC : -1 ; TN : 5265 ; TDB (0) : 10379

    Information: Signal 4880 ; TC : 12843 ; NextTC : -1 ; TN : 5265 ; TDB (0) : 10215

    Information: Signal 6950 ; TC : 14600 ; NextTC : -1 ; TN : 8166 ; TDB (0) : 12721

    Information: Signal 6951 ; TC : 14600 ; NextTC : -1 ; TN : 8166 ; TDB (0) : 12720

    Warning: Cannot find main track for node 113 in path C:\Program Files (x86)\Microsoft Games\Train Simulator\ROUTES\Western Railways V2\PATHS\12192 Shridham Superfast.PAT

    Warning: Cannot find main track for node 114 in path C:\Program Files (x86)\Microsoft Games\Train Simulator\ROUTES\Western Railways V2\PATHS\12192 Shridham Superfast.PAT

    Warning: Cannot find main track for node 115 in path C:\Program Files (x86)\Microsoft Games\Train Simulator\ROUTES\Western Railways V2\PATHS\12192 Shridham Superfast.PAT

    Warning: Cannot find main track for node 116 in path C:\Program Files (x86)\Microsoft Games\Train Simulator\ROUTES\Western Railways V2\PATHS\12192 Shridham Superfast.PAT

    Warning: Cannot find main track for node 117 in path C:\Program Files (x86)\Microsoft Games\Train Simulator\ROUTES\Western Railways V2\PATHS\12192 Shridham Superfast.PAT

    Warning: Invalid path C:\Program Files (x86)\Microsoft Games\Train Simulator\ROUTES\Western Railways V2\PATHS\12192 Shridham Superfast.PAT for AI train : 12192 Shridham Superfast ; train not started


    Error: System.NullReferenceException: Object reference not set to an instance of an object.
    at Orts.Simulation.Simulator.InitializeAPPlayerTrain( ) in C:\Jenkins\jobs\Open Rails Stable\workspace\Source\Orts.Simulation\Simulation \Simulator.cs:line 1238
    at Orts.Simulation.Simulator.InitializeAPTrains(Cance llationToken cancellation) in C:\Jenkins\jobs\Open Rails Stable\workspace\Source\Orts.Simulation\Simulation \Simulator.cs:line 575
    at Orts.Simulation.Simulator.Start(CancellationToken cancellation) in C:\Jenkins\jobs\Open Rails Stable\workspace\Source\Orts.Simulation\Simulation \Simulator.cs:line 442
    at Orts.Viewer3D.Processes.GameStateRunActivity.Start (UserSettings settings, String acttype, String[] args) in C:\Jenkins\jobs\Open Rails Stable\workspace\Source\RunActivity\Viewer3D\Proce sses\GameStateRunActivity.cs:line 289
    at Orts.Viewer3D.Processes.GameStateRunActivity.<>c__ DisplayClass35_0.<Load>b__3() in C:\Jenkins\jobs\Open Rails Stable\workspace\Source\RunActivity\Viewer3D\Proce sses\GameStateRunActivity.cs:line 160
    at Orts.Viewer3D.Processes.GameStateRunActivity.Load( ) in C:\Jenkins\jobs\Open Rails Stable\workspace\Source\RunActivity\Viewer3D\Proce sses\GameStateRunActivity.cs:line 201
    at Orts.Viewer3D.Processes.LoaderProcess.Load() in C:\Jenkins\jobs\Open Rails Stable\workspace\Source\RunActivity\Viewer3D\Proce sses\LoaderProcess.cs:line 160
    at Orts.Viewer3D.Processes.LoaderProcess.DoLoad() in C:\Jenkins\jobs\Open Rails Stable\workspace\Source\RunActivity\Viewer3D\Proce sses\LoaderProcess.cs:line 140
    at Orts.Viewer3D.Processes.LoaderProcess.LoaderThread () in C:\Jenkins\jobs\Open Rails Stable\workspace\Source\RunActivity\Viewer3D\Proce sses\LoaderProcess.cs:line 111
    at System.Threading.ThreadHelper.ThreadStart_Context( Object state)
    at System.Threading.ExecutionContext.RunInternal(Exec utionContext executionContext, ContextCallback callback, Object state, Boolean preserveSyncCtx)
    at System.Threading.ExecutionContext.Run(ExecutionCon text executionContext, ContextCallback callback, Object state, Boolean preserveSyncCtx)
    at System.Threading.ExecutionContext.Run(ExecutionCon text executionContext, ContextCallback callback, Object state)
    at System.Threading.ThreadHelper.ThreadStart()


    Loader: Time = 00:00:07.4698058 ms
    Loader: Expected = 16,32,07,004 bytes
    Loader: Actual = 16,32,07,680 bytes
    Loader: Difference = 676 bytes (0.0%)

    Information: Game.PopState()
    Part,if not most of your problem is that you installed in"Program Files". You should install in an independent Folder. Mine is simply "Train Simulator1" and I install the Folder DIRECTLY to whatever Drive I desire. Just too many problems in "Program Files". Take Care and hope this helps. Brian

Tags for this Thread

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •