ZusiDisplay.64 3.05.9.0 NullReferenceException in GetNewGivenTrainNumberTextMTRS

Die Anzeigesoftware von Jens Haupert.

Moderator: Jens Haupert

Antworten
Nachricht
Autor
HaraldB
Beiträge: 49
Registriert: 01.10.2020 22:10:15

ZusiDisplay.64 3.05.9.0 NullReferenceException in GetNewGivenTrainNumberTextMTRS

#1 Beitrag von HaraldB »

Beim Starten von Hamburg_Kassel\Muehlbach-HEBG-Veddel_2020_06Uhr-10Uhr\DGZ52648.trn (Vectron DM) gibt es gelegentlich einen Crash (unbehandelte NullReferenceException) von ZusiDisplay während des Ladevorgangs.
Nach dem Ladevorgang sind aber 6 weitere Instanzen von ZusiDisplay ohne sichtbare Fehler gestartet.
Das Meldungsfenster vom Fahrsimulator ist leer.
Das Zugfunk-Display ist dann in beiden Führerstandsansichten mit Displays dunkel.
Ein neues, externes Zugfunk-Display lässt sich starten und per ZN fehlerfrei anmelden.

ZusiSim.64.exe: 3.5.4.0
_Tools\ZusiDisplay.64.exe: 3.5.9.0

Bild

Code: Alles auswählen

   at MMI.Zugfunk.Zugfunk.GetNewGivenTrainNumberTextMTRS()
   at MMI.Zugfunk.Zugfunk.SwitchToMainScreen(Boolean networkingChange, Boolean registerTrainNumber, Boolean showHourGlass)
   at MMI.Zugfunk.Zugfunk.<>c__DisplayClass118_0.<ConnManager_StateChanged>b__14()
   at System.Windows.Forms.Control.InvokeMarshaledCallbackDo(ThreadMethodEntry tme)
   at System.Windows.Forms.Control.InvokeMarshaledCallbackHelper(Object obj)
   at System.Threading.ExecutionContext.RunInternal(ExecutionContext executionContext, ContextCallback callback, Object state)
--- End of stack trace from previous location ---
   at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
   at System.Threading.ExecutionContext.RunInternal(ExecutionContext executionContext, ContextCallback callback, Object state)
   at System.Threading.ExecutionContext.Run(ExecutionContext executionContext, ContextCallback callback, Object state)
   at System.Windows.Forms.Control.InvokeMarshaledCallback(ThreadMethodEntry tme)
   at System.Windows.Forms.Control.InvokeMarshaledCallbacks()
--- End of stack trace from previous location ---
   at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
   at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw(Exception source)
   at System.Windows.Forms.Control.MarshaledInvoke(Control caller, Delegate method, Object[] args, Boolean synchronous)
   at System.Windows.Forms.Control.Invoke(Delegate method, Object[] args)
   at System.Windows.Forms.Control.Invoke(Delegate method)
   at MMI.Zugfunk.Zugfunk.ConnManager_StateChanged(Boolean withInputDelay)
   at MMI.Zugfunk.ConnectionManager.DeRegister(Boolean withSimNumber, Boolean deleteTrainnumber)
   at MMI.Zugfunk.Zugfunk.<>c__DisplayClass247_0.<RegisterTrainNumber>b__0(Object _)
   at System.Threading.QueueUserWorkItemCallback.<>c.<.cctor>b__6_0(QueueUserWorkItemCallback quwi)
   at System.Threading.ExecutionContext.RunForThreadPoolUnsafe[TState](ExecutionContext executionContext, Action`1 callback, TState& state)
   at System.Threading.QueueUserWorkItemCallback.Execute()
   at System.Threading.ThreadPoolWorkQueue.Dispatch()
   at System.Threading.PortableThreadPool.WorkerThread.WorkerThreadStart()
   at System.Threading.Thread.StartCallback()

Benutzeravatar
Jens Haupert
Beiträge: 4920
Registriert: 23.03.2004 14:44:34
Aktuelle Projekte: http://www.zusidisplay.de
Wohnort: Berlin
Kontaktdaten:

Re: ZusiDisplay.64 3.05.9.0 NullReferenceException in GetNewGivenTrainNumberTextMTRS

#2 Beitrag von Jens Haupert »

Hallo Harald,

besten Dank für die Meldung. Bitte mit dem nächsten Update mal prüfen, ob sich das Verhalten "verbessert" hat.

Viele Grüße
Jens

Antworten