Bugzilla – Bug 312793
Swedish characters(åäö) in directory names causes a System.NullReferenceException.
Last modified: 2007-09-15 21:24:46 UTC
---- Reported by chaos@badf00d.org 2003-08-30 18:59:44 MST ---- Description of Problem: Swedish characters in directory names causes DirectoryInfo:GetFiles() to throw an System.NullReferenceException. Steps to reproduce the problem: 1. Create a directory that containes directories/files with swedish characters(åäö) in them. 2. Try to get a file listing using GetFiles() Actual Results: An System.NullReferenceException is throw, the following call stack is reported: in (unmanaged) /usr/lib/libmono.so.0 [0x4010a409] in (unmanaged) /usr/lib/libmono.so.0 [0x400cfe68] in <0x0002e> 06 System.IO.MonoIO:FindNextFile (intptr,System.IO. MonoIOStat&,System.IO.MonoIOError&) in <0x002f4> 00 System.IO.Directory:GetFileSystemEntries (string,string, System.IO.FileAttributes,System.IO.FileAttributes) in <0x0001a> 00 System.IO.Directory:GetFiles (string,string) in <0x00037> 00 System.IO.DirectoryInfo:GetFiles (string) in <0x00063> 08 System.IO.DirectoryInfo:GetFiles (string) How often does this happen? Every time. Additional Information: mono 0.26-1 The Mono .NET development environment mono-assemblies 0.26-1 the Mono .NET class libraries mono-common 0.26-1 common files for the Mono CLI runtimes mono-jit 0.26-1 a .NET runtime environment mono-mcs 0.26-1 the Mono C# compiler mono-utils 0.26-1 Mono utilities ---- Additional Comments From gonzalo@ximian.com 2003-08-31 07:25:15 MST ---- *** This bug has been marked as a duplicate of https://bugzilla.novell.com/show_bug.cgi?id=MONO30781 *** This bug was marked DUPLICATE in the database it was moved from. Changing resolution to "MOVED"