WCM Forum

WCM Forum (http://www.wcm.at/forum/index.php)
-   Simulationen (http://www.wcm.at/forum/forumdisplay.php?f=27)
-   -   MRAIGen - unverrständliche Fehlermeldung (http://www.wcm.at/forum/showthread.php?t=176418)

scandic 20.10.2005 19:02

MRAIGen - unverrständliche Fehlermeldung
 
Hallo!

Ich nutze MRAIGen um mir aus den einzelnen Dateien ein *.zip File zu bauen, dass der MRAI-Installer lesen kann. Nur die Dateien aus dem Austrian-Paket von Martin Schuster laufen nicht durch. Es kommt folgende Fehlermeldung:

See the end of this message for details on invoking
just-in-time (JIT) debugging instead of this dialog box.

************** Exception Text **************
System.ArgumentOutOfRangeException: Index and length must refer to a location within the string.
Parameter name: length
at System.String.Substring(Int32 startIndex, Int32 length)
at a.b()
at a.f(Object A_0, EventArgs A_1)
at System.Windows.Forms.Control.OnClick(EventArgs e)
at System.Windows.Forms.Button.OnClick(EventArgs e)
at System.Windows.Forms.Button.WndProc(Message& m)
at System.Windows.Forms.ControlNativeWindow.OnMessage (Message& m)
at System.Windows.Forms.ControlNativeWindow.WndProc(M essage& m)
at System.Windows.Forms.NativeWindow.Callback(IntPtr hWnd, Int32 msg, IntPtr wparam, IntPtr lparam)


************** Loaded Assemblies **************
mscorlib
Assembly Version: 1.0.5000.0
Win32 Version: 1.1.4322.573
CodeBase: file:///c:/windows/microsoft.net/framework/v1.1.4322/mscorlib.dll
----------------------------------------
MRAIGen
Assembly Version: 0.1.1608.22208
Win32 Version: 0.1.1608.22208
CodeBase: file:///E:/MRAI-Gen/MRAIGen.exe
----------------------------------------
System.Windows.Forms
Assembly Version: 1.0.5000.0
Win32 Version: 1.1.4322.573
CodeBase: file:///c:/windows/assembly/gac/system.windows.forms/1.0.5000.0__b77a5c561934e089/system.windows.forms.dll
----------------------------------------
System
Assembly Version: 1.0.5000.0
Win32 Version: 1.1.4322.573
CodeBase: file:///c:/windows/assembly/gac/system/1.0.5000.0__b77a5c561934e089/system.dll
----------------------------------------
System.Drawing
Assembly Version: 1.0.5000.0
Win32 Version: 1.1.4322.573
CodeBase: file:///c:/windows/assembly/gac/system.drawing/1.0.5000.0__b03f5f7f11d50a3a/system.drawing.dll
----------------------------------------
System.Data
Assembly Version: 1.0.5000.0
Win32 Version: 1.1.4322.573
CodeBase: file:///c:/windows/assembly/gac/system.data/1.0.5000.0__b77a5c561934e089/system.data.dll
----------------------------------------
System.Xml
Assembly Version: 1.0.5000.0
Win32 Version: 1.1.4322.573
CodeBase: file:///c:/windows/assembly/gac/system.xml/1.0.5000.0__b77a5c561934e089/system.xml.dll
----------------------------------------

************** JIT Debugging **************
To enable just in time (JIT) debugging, the config file for this
application or machine (machine.config) must have the
jitDebugging value set in the system.windows.forms section.
The application must also be compiled with debugging
enabled.

For example:

<configuration>
<system.windows.forms jitDebugging="true" />
</configuration>

When JIT debugging is enabled, any unhandled exception
will be sent to the JIT debugger registered on the machine
rather than being handled by this dialog.


Leider bekomme ich vom Autor und von Martin Schuster selbst auch keine Antwort, da selbst das von Avsim heruntergeladene Paket sich nicht kompilieren lässt. Bin dankbar für jegliche sachdienliche Hinweise, damit der Flughafen Schwechat endlich Abfertigungsgebühren kassieren kann ;-)?

Das Originalpaket von Martin Schuster:
Klickst du hier

Und von mir neu zusammengestellt für eigene Zwecke:
Klickst du hier

scandic 21.10.2005 22:23

Konnte das Problem mittlerweile selbst lösen. Für's Archiv ;)

Der Fehler tritt u.a. dann auf, wenn in der Flugplandatei ein Syntaxfehler enthalten ist. In meinem Fall wie folgt:

"[...].LIEE,[...]" -> muss richtig lauten "[...],LIEE,[...]"

Ohne Korrektur versteht das Programm darunter einen Flughafencode mit mehr als 4 Zeichen und dass ist nicht zulässig und provoziert die Fehlermeldung "length".

Nur falls es nochmal jemand brauchen sollte ;)

Petruz 21.10.2005 22:45

scandic, ich suche schon ganze zeit den mrai installer, könntest du ihn uppen oder mir schicken? Wäre lieb,

Peter
hier is meine mailaddy: lanumisu@gmail.com


Alle Zeitangaben in WEZ +2. Es ist jetzt 16:45 Uhr.

Powered by vBulletin® Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
© 2009 FSL Verlag