Bug 312793 (MONO48057) - Swedish characters(åäö) in directory names causes a System.NullReferenceException.
Summary: Swedish characters(åäö) in directory names causes a System.NullReferenceExcep...
Status: RESOLVED MOVED
Alias: MONO48057
Product: Mono: Runtime
Classification: Mono
Component: misc (show other bugs)
Version: unspecified
Hardware: Other Debian Woody
: P3 - Medium : Normal
Target Milestone: ---
Assignee: Mono Bugs
QA Contact: Mono Bugs
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2003-08-31 01:59 UTC by Patrik Färnlöf
Modified: 2007-09-15 21:24 UTC (History)
0 users

See Also:
Found By: ---
Services Priority:
Business Priority:
Blocker: ---
Marketing QA Status: ---
IT Deployment: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Thomas Wiest 2007-09-15 18:15:09 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"