system.nullreferenceexception in Open Rails

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • Diptendu83
    New Member
    • Oct 2016
    • 1

    #1

    system.nullreferenceexception in Open Rails

    I have tried to run some AI traffic, but I have faced this error. Please help me
    Open Rails Log File as Follows:
    This is a log file for Open Rails. Please include this file in bug reports.
    Mode = activity
    Route = Western Railways V2
    Activity = 19116 Sayaji Nagri Express (E:\NEWMSTS\ROUTES\Western Railways V2\ACTIVITIES\19116 Sayaji Nagri Express.act)
    ------------ ---------- ------------ ---------- ------------ ---------- --------
    Loading TRK TDB SIGCFG DAT ACT RDB CARSPAWN SIGSCR sssssssssssssss 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 2989

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

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

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

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

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

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

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

    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

    Information: Car and Locomotive Brake System Types Incompatible on Car 0 - 3 - Car brakesystem type changed to air_single_pipe

    Information: Car and Locomotive Brake System Types Incompatible on Car 0 - 7 - Car brakesystem type changed to air_single_pipe

    Information: Car and Locomotive Brake System Types Incompatible on Car 0 - 10 - Car brakesystem type changed to air_single_pipe

    Information: Car and Locomotive Brake System Types Incompatible on Car 0 - 11 - Car brakesystem type changed to air_single_pipe

    Information: Car and Locomotive Brake System Types Incompatible on Car 0 - 12 - Car brakesystem type changed to air_single_pipe

    Information: Car and Locomotive Brake System Types Incompatible on Car 0 - 18 - Car brakesystem type changed to air_single_pipe

    Information: Car and Locomotive Brake System Types Incompatible on Car 0 - 22 - Car brakesystem type changed to air_single_pipe

    Warning: E:\NEWMSTS\trains\trainset\M_ALW_D\NATRAJ_WDG4_LHF .eng locomotive's CabView references non-existent wdp4_LHF.cvf

    Information: Some NumPositions entries refer to non-exisiting frames, trying to renumber in E:\NEWMSTS\trains\trainset\M_ALW_D\CABVIEW\WDM.cvf :line 174

    Information: Some NumPositions entries refer to non-exisiting frames, trying to renumber in E:\NEWMSTS\trains\trainset\M_ALW_D\CABVIEW\WDM_rv. cvf:line 174

    Information: Some NumPositions entries refer to non-exisiting frames, trying to renumber in E:\NEWMSTS\trains\trainset\M_ALW_E\CABVIEW\wap4.cv f:line 60

    Information: Some NumPositions entries refer to non-exisiting frames, trying to renumber in E:\NEWMSTS\trains\trainset\M_ALW_E\CABVIEW\wap4_rv .cvf:line 60

    Warning: E:\NEWMSTS\trains\trainset\LHB NEW\LHB_SC_WW.wag references non-existent shape E:\NEWMSTS\trains\trainset\LHB NEW\NETRAVATI_LHB_SC_WW.s

    Error: System.NullReferenceException: Object reference not set to an instance of an object.
    at Orts.Formats.Msts.ConsistFile..ctor(String filePath) in F:\ADRIANA\Carlo\OR_Work\Git_ORTS_source_mio\Sourc e\Orts.Formats.Msts\ConsistFile.cs:line 39
    at Orts.Simulation.AIs.AI.CreateAITrainDetail(Service _Definition sd, Traffic_Service_Definition trfDef, ServiceFile srvFile, Boolean isTimetableMode, Boolean isInitialPlayerTrain) in F:\ADRIANA\Carlo\OR_Work\Git_ORTS_source_mio\Sourc e\Orts.Simulation\Simulation\AIs\AI.cs:line 849
    at Orts.Simulation.AIs.AI.CreateAITrain(Service_Defin ition sd, Traffic_Traffic_Definition trd, Boolean isTimetableMode) in F:\ADRIANA\Carlo\OR_Work\Git_ORTS_source_mio\Sourc e\Orts.Simulation\Simulation\AIs\AI.cs:line 828
    at Orts.Simulation.AIs.AI..ctor(Simulator simulator, CancellationToken cancellation, Double activityStartTime) in F:\ADRIANA\Carlo\OR_Work\Git_ORTS_source_mio\Sourc e\Orts.Simulation\Simulation\AIs\AI.cs:line 84
    at Orts.Simulation.Simulator.InitializeAPTrains(Cance llationToken cancellation) in F:\ADRIANA\Carlo\OR_Work\Git_ORTS_source_mio\Sourc e\Orts.Simulation\Simulation\Simulator.cs:line 574
    at Orts.Simulation.Simulator.Start(CancellationToken cancellation) in F:\ADRIANA\Carlo\OR_Work\Git_ORTS_source_mio\Sourc e\Orts.Simulation\Simulation\Simulator.cs:line 439
    at Orts.Viewer3D.Processes.GameStateRunActivity.Start (UserSettings settings, String acttype, String[] args) in F:\ADRIANA\Carlo\OR_Work\Git_ORTS_source_mio\Sourc e\RunActivity\Viewer3D\Processes\GameStateRunActiv ity.cs:line 305
    at Orts.Viewer3D.Processes.GameStateRunActivity.<>c__ DisplayClass36_0.<Load>b__3() in F:\ADRIANA\Carlo\OR_Work\Git_ORTS_source_mio\Sourc e\RunActivity\Viewer3D\Processes\GameStateRunActiv ity.cs:line 167
    at Orts.Viewer3D.Processes.GameStateRunActivity.Load( ) in F:\ADRIANA\Carlo\OR_Work\Git_ORTS_source_mio\Sourc e\RunActivity\Viewer3D\Processes\GameStateRunActiv ity.cs:line 208
    at Orts.Viewer3D.Processes.LoaderProcess.Load() in F:\ADRIANA\Carlo\OR_Work\Git_ORTS_source_mio\Sourc e\RunActivity\Viewer3D\Processes\LoaderProcess.cs: line 159
    at Orts.Viewer3D.Processes.LoaderProcess.DoLoad() in F:\ADRIANA\Carlo\OR_Work\Git_ORTS_source_mio\Sourc e\RunActivity\Viewer3D\Processes\LoaderProcess.cs: line 138
    at Orts.Viewer3D.Processes.LoaderProcess.LoaderThread () in F:\ADRIANA\Carlo\OR_Work\Git_ORTS_source_mio\Sourc e\RunActivity\Viewer3D\Processes\LoaderProcess.cs: line 109
    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:21.3073847 ms
    Loader: Expected = 20,78,31,455 bytes
    Loader: Actual = 16,41,07,873 bytes
    Loader: Difference = -4,37,23,582 bytes (-21.0%)

    Information: Game.PopState()
  • Vince
    6500 Post Veteran

    • Nov 1999
    • 6961
    • Mohave

    #2
    Need the complete log please. Zip it if too large for attachment.
    ............Vince ..............
    ...... Author NECv4 .......
    .... LIRR BUILD PHOTOS ....
    ...... Eschew Obsfucation ......

    On the The Statue of Liberty in New York Harbor there is a Tablet. On it is written:
    "Give me your tired, your poor, your huddled masses yearning to breathe free,
    the wretched refuse of your teeming shore, send these, the homeless, tempest-tossed to me,
    I lift my lamp beside the golden door!"

    Comment

    • derekmorton
      5500 Post Veteran



      • Nov 1999
      • 5699
      • Eltham, Victoria, Australia.
      • ORTS

      #3
      >Warning: E:\NEWMSTS\trains\trainset\LHB NEW\LHB_SC_WW.wag references non-existent shape E:\NEWMSTS\trains\trainset\LHB NEW\NETRAVATI_LHB_SC_WW.s

      Fix this shape file and see how it goes.

      Comment

      Working...