System.ArgumentNullException at ORTS.InputSettings.DrawKeyboardMap

Bug #1196165 reported by Captain Y
8
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Open Rails
Fix Released
High
James Ross

Bug Description

fatal error has occured.

OpenRailslog.txt as follows;

by captain Y

Open Rails is starting...
Argument 0 = -start
Argument 1 = C:\Program Files\Microsoft Games\Train Simulator\ROUTES\EUROPE2\PATHS\sainnwn.pat
Argument 2 = C:\Program Files\Microsoft Games\Train Simulator\TRAINS\CONSISTS\2000std.con
Argument 3 = 12:0
Argument 4 = 0
Argument 5 = 0
Version = 0.9.0.1648
Build = 0.0.4915.25550 (2013-06-16 14:11:40Z)
Logfile = C:\Documents and Settings\Owner\デスクトップ\OpenRailsLog.txt
--------------------------------------------------------------------------------
Alerter = False
AvatarURL = (registry) http://www.openrails.org/images/ICONmediumOD.jpg
BrakePipeChargingRate = 21
BreakCouplers = False
Cab2DStretch = 0
CarVibratingLevel = 0
DataLogger = False
DistantMountains = False
DistantMountainsLoweringValue = 5
DistantMountainsViewingTiles = 20
DoubleWire = False
DynamicShadows = (registry) True
FullScreen = (registry) True
GraduatedRelease = (registry) True
LODViewingExtention = False
Logging = True
LoggingFilename = OpenRailsLog.txt
LoggingPath = C:\Documents and Settings\Owner\デスクトップ
Menu_Selection = (registry) C:\Program Files\Microsoft Games\Train Simulator, C:\Program Files\Microsoft Games\Train Simulator\ROUTES\EUROPE2,
MSTSBINSound = (registry) True
Multiplayer = False
Multiplayer_Host = (registry)
Multiplayer_Port = 30000
Multiplayer_UpdateInterval = 10
Multiplayer_User = (registry)
MultiplayerClient = False
MultiplayerServer = False
Precipitation = (registry) True
Profiling = False
ProfilingFrameCount = 0
ProfilingTime = 0
ReplayPauseBeforeEnd = True
ReplayPauseBeforeEndS = 0
ScreenshotPath = C:\Documents and Settings\Owner\My Documents\My Pictures\Open Rails
ShaderModel = 0
ShadowAllShapes = False
ShadowMapBlur = True
ShadowMapCount = 4
ShadowMapDistance = 0
ShadowMapResolution = 1024
ShowAvatar = False
ShowErrorDialogs = True
SoundDetailLevel = 5
SoundVolumePercent = 100
SuperElevationGauge = 1435
SuperElevationMinLen = 50
SuppressConfirmations = False
TrainLights = (registry) True
UseAdvancedAdhesion = True
UseSuperElevation = 0
VerticalSync = False
ViewDispatcher = False
ViewingDistance = 2000
ViewingFOV = 45
WindowGlass = (registry) True
WindowPosition_Activity = 50, 50
WindowPosition_Compass = 50, 0
WindowPosition_ComposeMessage = 50, 50
WindowPosition_DriverAid = 100, 100
WindowPosition_Help = 50, 50
WindowPosition_NextStation = 0, 100
WindowPosition_Quit = 50, 50
WindowPosition_Switch = 0, 50
WindowPosition_TrackMonitor = 100, 0
WindowPosition_TrainOperations = 50, 50
WindowSize = (registry) 1920x1080
Wire = (registry) True
WorldObjectDensity = 10
--------------------------------------------------------------------------------
Mode = Explore
Path = C:\Program Files\Microsoft Games\Train Simulator\ROUTES\EUROPE2\PATHS\sainnwn.pat
Consist = C:\Program Files\Microsoft Games\Train Simulator\TRAINS\CONSISTS\2000std.con
Time = 12:0
Season = 0
Weather = 0
--------------------------------------------------------------------------------
Loading TRK TDB SIGCFG

Warning: 2 missing SignalType(s) in C:\Program Files\Microsoft Games\Train Simulator\ROUTES\EUROPE2\sigcfg.dat:line 103

 DAT ACT RDB CARSPAWN SIGSCR
WWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWW

Warning: Found an empty block ( ) where a string ( "<string>" ) was expected. in C:\Program Files\Microsoft Games\Train Simulator\ROUTES\EUROPE2\PATHS\sainnwn.pat:line 107

Warning: Found an empty block ( ) where a string ( "<string>" ) was expected. in C:\Program Files\Microsoft Games\Train Simulator\ROUTES\EUROPE2\PATHS\sainnwn.pat:line 108

Warning: Found an empty block ( ) where a string ( "<string>" ) was expected. in C:\Program Files\Microsoft Games\Train Simulator\ROUTES\EUROPE2\PATHS\sainnwn.pat:line 107

Warning: Found an empty block ( ) where a string ( "<string>" ) was expected. in C:\Program Files\Microsoft Games\Train Simulator\ROUTES\EUROPE2\PATHS\sainnwn.pat:line 108

 ENV SIGCFG

Warning: 2 missing SignalType(s) in C:\Program Files\Microsoft Games\Train Simulator\ROUTES\EUROPE2\sigcfg.dat:line 103

 TTYPE

Error: System.ArgumentNullException: A value cannot be set to Null.
Name Parametor: value

ORTS.InputSettings.DrawKeyboardMap(Action`1 drawRow, Action`3 drawKey)
   in ORTS.Popups.HelpWindow.<.ctor>b__0(ControlLayout cl)
   in ORTS.Popups.HelpWindow.Layout(ControlLayout layout)
   in ORTS.Popups.Window.Layout()
   in ORTS.Popups.Window.SizeChanged()
   in ORTS.Popups.Window.Initialize()
   in ORTS.Popups.WindowManager.Initialize()
   in ORTS.Viewer3D.Initialize()
   in ORTS.RenderProcess.Initialize()
   in Microsoft.Xna.Framework.Game.Run()
   in ORTS.Viewer3D.Run(BinaryReader inf)
   in ORTS.Program.Start(UserSettings settings, String[] args)
   in ORTS.Program.<>c__DisplayClass6.<Main>b__3()
   in ORTS.Program.Main(String[] args)

Tags: crash
James Ross (twpol)
summary: - System.ArgumentNullException
+ System.ArgumentNullException at ORTS.InputSettings.DrawKeyboardMap
tags: added: crash
Changed in or:
status: New → Triaged
importance: Undecided → High
Revision history for this message
James Ross (twpol) wrote :

Am I right in thinking you are running Open Rails on a Japanese language system?

Captain Y (captain-k)
Changed in or:
assignee: nobody → Captain Y (captain-k)
Revision history for this message
Captain Y (captain-k) wrote :

Yes. I'm running Open Rails on Japanese Language system.

James Ross (twpol)
Changed in or:
assignee: Captain Y (captain-k) → James Ross (twpol)
Revision history for this message
James Ross (twpol) wrote :

I'm really having trouble finding where this error could occur in DrawKeyboardMap. It seems to be a bit involved to fake a Japanese keyboard layout in Windows 8 too. I'll keep looking.

Revision history for this message
James Ross (twpol) wrote :

Possibly fixed in X.1784, please let us know.

Changed in or:
status: Triaged → Fix Committed
milestone: none → 1.0
James Ross (twpol)
Changed in or:
status: Fix Committed → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.