[Mono-bugs] [Bug 73598][Nor] New - prj2make crashes with the FileNotFoundException

bugzilla-daemon@bugzilla.ximian.com bugzilla-daemon@bugzilla.ximian.com
Fri, 11 Mar 2005 10:36:57 -0500 (EST)


Please do not reply to this email- if you want to comment on the bug, go to the
URL shown below and enter your comments there.

Changed by dezelin@gmail.com.

http://bugzilla.ximian.com/show_bug.cgi?id=73598

--- shadow/73598	2005-03-11 10:36:57.000000000 -0500
+++ shadow/73598.tmp.29943	2005-03-11 10:36:57.000000000 -0500
@@ -0,0 +1,90 @@
+Bug#: 73598
+Product: Mono: Tools
+Version: 1.1
+OS: 
+OS Details: Fedora Core 3 - built from the latest SVN
+Status: NEW   
+Resolution: 
+Severity: 
+Priority: Normal
+Component: tools
+AssignedTo: mono-bugs@ximian.com                            
+ReportedBy: dezelin@gmail.com               
+QAContact: mono-bugs@ximian.com
+TargetMilestone: ---
+URL: 
+Cc: 
+Summary: prj2make crashes with the FileNotFoundException
+
+Description of Problem:
+prj2make crashes with the FileNotFoundException
+
+Steps to reproduce the problem:
+1. Just check the additional info section.
+
+
+Actual Results:
+Crash
+
+Expected Results:
+Error reported.
+
+How often does this happen? 
+Always
+
+Additional Information:
+
+This is the exception stacktrace. Note that prj2make crashed becouse some
+project files cannot be found:
+/MonoFramework/System.Data/System.Data.csproj for example.
+
+prj2make Jugodrvo.sln
+CurrentDirectory=/home/skynet/work/c#/Jugodrvo
+Could not load the file ../MonoFramework/System.Data/System.Data.csproj
+FileNotFoundException: Could not find file
+"../MonoFramework/System.Data/System.Data.csproj"
+in <0x0055f> System.IO.FileStream:.ctor (System.String name, FileMode mode,
+FileAccess access, FileShare share, Int32 bufferSize, Boolean isAsync,
+Boolean anonymous)
+in <0x00053> System.IO.FileStream:.ctor (System.String name, FileMode mode)
+in (wrapper remoting-invoke-with-check) System.IO.FileStream:.ctor
+(string,System.IO.FileMode)
+in <0x00032> Mfconsulting.General.Prj2Make.CsprojInfo:LoadPrjFromFile
+(System.String strIn)
+in <0x00148> Mfconsulting.General.Prj2Make.CsprojInfo:.ctor (Boolean
+isUnixMode, Boolean isMcsMode, System.String name, System.String guid,
+System.String csprojpath)
+CurrentDirectory=/home/skynet/work/c#/Jugodrvo
+Could not load the file ../MonoFramework/Mono.Data.Tds/Mono.Data.Tds.csproj
+FileNotFoundException: Could not find file
+"../MonoFramework/Mono.Data.Tds/Mono.Data.Tds.csproj"
+in <0x0055f> System.IO.FileStream:.ctor (System.String name, FileMode mode,
+FileAccess access, FileShare share, Int32 bufferSize, Boolean isAsync,
+Boolean anonymous)
+in <0x00053> System.IO.FileStream:.ctor (System.String name, FileMode mode)
+in (wrapper remoting-invoke-with-check) System.IO.FileStream:.ctor
+(string,System.IO.FileMode)
+in <0x00032> Mfconsulting.General.Prj2Make.CsprojInfo:LoadPrjFromFile
+(System.String strIn)
+in <0x00148> Mfconsulting.General.Prj2Make.CsprojInfo:.ctor (Boolean
+isUnixMode, Boolean isMcsMode, System.String name, System.String guid,
+System.String csprojpath)
+CurrentDirectory=/home/skynet/work/c#/Jugodrvo
+Could not load the file ../MonoFramework/Mono.Security/Mono.Security.csproj
+FileNotFoundException: Could not find file
+"../MonoFramework/Mono.Security/Mono.Security.csproj"
+in <0x0055f> System.IO.FileStream:.ctor (System.String name, FileMode mode,
+FileAccess access, FileShare share, Int32 bufferSize, Boolean isAsync,
+Boolean anonymous)
+in <0x00053> System.IO.FileStream:.ctor (System.String name, FileMode mode)
+in (wrapper remoting-invoke-with-check) System.IO.FileStream:.ctor
+(string,System.IO.FileMode)
+in <0x00032> Mfconsulting.General.Prj2Make.CsprojInfo:LoadPrjFromFile
+(System.String strIn)
+in <0x00148> Mfconsulting.General.Prj2Make.CsprojInfo:.ctor (Boolean
+isUnixMode, Boolean isMcsMode, System.String name, System.String guid,
+System.String csprojpath)
+EXCEPTION: System.NullReferenceException: Object reference not set to an
+instance of an object
+in <0x00797> Mfconsulting.General.Prj2Make.SlnMaker:MsSlnHelper (Boolean
+isUnixMode, Boolean isMcsMode, Boolean isSln, System.String slnFile)