http://bugzilla.novell.com/show_bug.cgi?id=589856
http://bugzilla.novell.com/show_bug.cgi?id=589856#c0 Summary: Null reference when accessing resources Classification: Mono Product: Mono: Compilers Version: 2.6.x Platform: i686 OS/Version: Mac OS X 10.5 Status: NEW Severity: Major Priority: P5 - None Component: C# AssignedTo: [email protected] ReportedBy: [email protected] QAContact: [email protected] Found By: DeveloperNet Blocker: Yes Description of Problem: Project builds without errors but will not run because it cannot find resources. Steps to reproduce the problem: 1. Build attached project 2. Attempt to run Actual Results: Null reference exception Expected Results: Project runs How often does this happen? Every time Additional Information: Below is application output System.Reflection.TargetInvocationException: Exception has been thrown by the target of an invocation. ---> System.ArgumentException: A null reference or invalid value was found [GDI+ status: InvalidParameter] at System.Drawing.GDIPlus.CheckStatus (Status status) [0x0009d] in /private/tmp/monobuild/build/BUILD/mono-2.6.1/mcs/class/System.Drawing/System.Drawing/gdipFunctions.cs:219 at System.Drawing.Image.InitFromStream (System.IO.Stream stream) [0x000cf] in /private/tmp/monobuild/build/BUILD/mono-2.6.1/mcs/class/System.Drawing/System.Drawing/Image.cs:303 at System.Drawing.Image..ctor (System.Runtime.Serialization.SerializationInfo info, StreamingContext context) [0x00055] in /private/tmp/monobuild/build/BUILD/mono-2.6.1/mcs/class/System.Drawing/System.Drawing/Image.cs:76 at System.Drawing.Bitmap..ctor (System.Runtime.Serialization.SerializationInfo info, StreamingContext context) [0x00000] in <filename unknown>:0 at (wrapper managed-to-native) System.Reflection.MonoCMethod:InternalInvoke (object,object[],System.Exception&) at System.Reflection.MonoCMethod.Invoke (System.Object obj, BindingFlags invokeAttr, System.Reflection.Binder binder, System.Object[] parameters, System.Globalization.CultureInfo culture) [0x00000] in <filename unknown>:0 --- End of inner exception stack trace --- at System.Reflection.MonoCMethod.Invoke (System.Object obj, BindingFlags invokeAttr, System.Reflection.Binder binder, System.Object[] parameters, System.Globalization.CultureInfo culture) [0x00000] in <filename unknown>:0 at System.Reflection.MethodBase.Invoke (System.Object obj, System.Object[] parameters) [0x00000] in <filename unknown>:0 at System.Runtime.Serialization.ObjectRecord.LoadData (System.Runtime.Serialization.ObjectManager manager, ISurrogateSelector selector, StreamingContext context) [0x00000] in <filename unknown>:0 at System.Runtime.Serialization.ObjectManager.DoFixups () [0x00000] in <filename unknown>:0 at System.Runtime.Serialization.Formatters.Binary.ObjectReader.ReadNextObject (System.IO.BinaryReader reader) [0x00000] in <filename unknown>:0 at System.Runtime.Serialization.Formatters.Binary.ObjectReader.ReadObjectGraph (BinaryElement elem, System.IO.BinaryReader reader, Boolean readHeaders, System.Object& result, System.Runtime.Remoting.Messaging.Header[]& headers) [0x00000] in <filename unknown>:0 at System.Runtime.Serialization.Formatters.Binary.BinaryFormatter.NoCheckDeserialize (System.IO.Stream serializationStream, System.Runtime.Remoting.Messaging.HeaderHandler handler) [0x00000] in <filename unknown>:0 at System.Runtime.Serialization.Formatters.Binary.BinaryFormatter.Deserialize (System.IO.Stream serializationStream) [0x00000] in <filename unknown>:0 at System.Resources.ResourceReader.ReadNonPredefinedValue (System.Type exp_type) [0x00000] in <filename unknown>:0 at System.Resources.ResourceReader.ReadValueVer2 (Int32 type_index) [0x00000] in <filename unknown>:0 at System.Resources.ResourceReader.LoadResourceValues (.ResourceCacheItem[] store) [0x00000] in <filename unknown>:0 at System.Resources.ResourceReader+ResourceEnumerator.FillCache () [0x00000] in <filename unknown>:0 at System.Resources.ResourceReader+ResourceEnumerator..ctor (System.Resources.ResourceReader readerToEnumerate) [0x00000] in <filename unknown>:0 at System.Resources.ResourceReader.GetEnumerator () [0x00000] in <filename unknown>:0 at System.Resources.ResourceSet.ReadResources () [0x00000] in <filename unknown>:0 at System.Resources.ResourceSet.GetObjectInternal (System.String name, Boolean ignoreCase) [0x00000] in <filename unknown>:0 at System.Resources.ResourceSet.GetObject (System.String name, Boolean ignoreCase) [0x00000] in <filename unknown>:0 at System.Resources.RuntimeResourceSet.GetObject (System.String name, Boolean ignoreCase) [0x00000] in <filename unknown>:0 at System.Resources.ResourceManager.GetObject (System.String name, System.Globalization.CultureInfo culture) [0x00000] in <filename unknown>:0 at VengeoPiPe.Properties.Resources.get_pipe_splash () [0x00000] in /Development/Mono.ForTest/PiPe Modules/pipe/Properties/Resources.Designer.cs:79 at PiPe.SplashScreen.InitializeComponent () [0x00042] in /Development/Mono.ForTest/PiPe Modules/pipe/PiPe/source/SplashScreen.cs:68 at PiPe.SplashScreen..ctor () [0x0000d] in /Development/Mono.ForTest/PiPe Modules/pipe/PiPe/source/SplashScreen.cs:31 at (wrapper remoting-invoke-with-check) PiPe.SplashScreen:.ctor () at PiPe.DisplayManager..ctor (System.String filename) [0x0017d] in /Development/Mono.ForTest/PiPe Modules/pipe/PiPe/source/DisplayManager.cs:186 at (wrapper remoting-invoke-with-check) PiPe.DisplayManager:.ctor (string) at PiPe.DisplayManager.Main (System.String[] args) [0x00060] in /Development/Mono.ForTest/PiPe Modules/pipe/PiPe/source/DisplayManager.cs:1149 -- Configure bugmail: http://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are the QA contact for the bug. You are the assignee for the bug. _______________________________________________ mono-bugs maillist - [email protected] http://lists.ximian.com/mailman/listinfo/mono-bugs
