objects error

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • Anshul07
    New Member
    • Apr 2022
    • 2

    #1

    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 W(repeats) W(repeats) W(repeats) W(repeats) W(repeats) W(repeats) W(repeats) W(repeats) W(repeats) W(repeats) W(repeats) W(repeats) W(repeats) W(repeats) W(repeats) W(repeats) W(repeats) W(repeats) W(repeats) W(repeats) W(repeats) W(repeats) W(repeats) W(repeats) W(repeats) W(repeats) W(repeats) W(repeats) W(repeats) W(repeats) W(repeats) W(repeats) W(repeats) W(repeats) W(repeats) W(repeats) W(repeats) W(repeats) W(repeats) W(repeats) W(repeats) W(repeats) W(repeats) W(repeats) W(repeats) W(repeats) W(repeats) W(repeats) W(repeats) W(repeats) W(repeats) W(repeats) W(repeats) W(repeats) W(repeats) W(repeats) W(repeats) W(repeats) W(repeats) W(repeats) W(repeats) W(repeats) W(repeats) W(repeats) W(repeats) W(repeats) W(repeats) W(repeats) W(repeats) W(repeats) W(repeats) W(repeats) W(repeats) W(repeats) W(repeats) W(repeats) W(repeats) W(repeats) W(repeats) W(repeats) W(repeats) WW

    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()
  • Anshul07
    New Member
    • Apr 2022
    • 2

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

    Comment

    • asteph627
      Senior Member
      • Aug 2003
      • 261
      • Chalmette, Louisiana

      #3
      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

      Comment

      • geepster775
        2500 Post Veteran


        • Sep 2006
        • 2846
        • .
        • General

        #4
        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.
        My Open Rails videos https://www.youtube.com/@lakecities3663/videos

        Comment

        • daniellouwrens
          1500 Post Veteran

          • Sep 2005
          • 1730
          • Gandangara Estate, Sutherland Shire. N.S.W, Australia.

          #5
          Originally posted by geepster775
          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.

          Comment

          • motormaster532
            Senior Member
            • Jan 2011
            • 465
            • New York

            #6
            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

            Comment

            • motormaster532
              Senior Member
              • Jan 2011
              • 465
              • New York

              #7
              Originally posted by Anshul07
              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 W(repeats) W(repeats) W(repeats) W(repeats) W(repeats) W(repeats) W(repeats) W(repeats) W(repeats) W(repeats) W(repeats) W(repeats) W(repeats) W(repeats) W(repeats) W(repeats) W(repeats) W(repeats) W(repeats) W(repeats) W(repeats) W(repeats) W(repeats) W(repeats) W(repeats) W(repeats) W(repeats) W(repeats) W(repeats) W(repeats) W(repeats) W(repeats) W(repeats) W(repeats) W(repeats) W(repeats) W(repeats) W(repeats) W(repeats) W(repeats) W(repeats) W(repeats) W(repeats) W(repeats) W(repeats) W(repeats) W(repeats) W(repeats) W(repeats) W(repeats) W(repeats) W(repeats) W(repeats) W(repeats) W(repeats) W(repeats) W(repeats) W(repeats) W(repeats) W(repeats) W(repeats) W(repeats) W(repeats) W(repeats) W(repeats) W(repeats) W(repeats) W(repeats) W(repeats) W(repeats) W(repeats) W(repeats) W(repeats) W(repeats) W(repeats) W(repeats) W(repeats) W(repeats) W(repeats) W(repeats) W(repeats) WW

              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

              Comment

              Working...