[Mono-bugs] [Bug 666248] New: System.Reflection.TargetInvocationException Loading of the ImageList did not succeed.

bugzilla_noreply at novell.com bugzilla_noreply at novell.com
Fri Jan 21 13:38:48 EST 2011


https://bugzilla.novell.com/show_bug.cgi?id=666248

https://bugzilla.novell.com/show_bug.cgi?id=666248#c0


           Summary: System.Reflection.TargetInvocationException Loading of
                    the ImageList did not succeed.
    Classification: Mono
           Product: Mono: Class Libraries
           Version: 2.10.x
          Platform: Other
        OS/Version: Windows Vista
            Status: NEW
          Severity: Normal
          Priority: P5 - None
         Component: Windows.Forms
        AssignedTo: mono-bugs at lists.ximian.com
        ReportedBy: dmulder at novell.com
         QAContact: mono-bugs at lists.ximian.com
          Found By: ---
           Blocker: ---


Windows Vista 64bit
Mono 2.10 rc1

Description of Problem:
Loading myUML test cases from wf-apps package on Windows throws a
System.Reflection.TargetInvocationException.

Steps to reproduce the problem:
1. Download the wf-apps package and extract it in Windows.
2. Open myUML.exe and click 'Test Use Cases'.


Actual Results:
An Exception is thrown.

Expected Results:
A dialog should open.

How often does this happen? 
Always.

Additional Information:
System.Reflection.TargetInvocationException: Exception has been thrown by the
target of an invocation. ---> System.InvalidOperationException: Loading of the
ImageList did not succeed.
   at System.Windows.Forms.ImageListStreamer..ctor(SerializationInfo info,
StreamingContext context)
   --- End of inner exception stack trace ---
   at System.RuntimeMethodHandle._SerializationInvoke(Object target,
SignatureStruct& declaringTypeSig, SerializationInfo info, StreamingContext
context)
   at
System.Runtime.Serialization.ObjectManager.CompleteISerializableObject(Object
obj, SerializationInfo info, StreamingContext context)
   at
System.Runtime.Serialization.ObjectManager.FixupSpecialObject(ObjectHolder
holder)
   at System.Runtime.Serialization.ObjectManager.DoFixups()
   at
System.Runtime.Serialization.Formatters.Binary.ObjectReader.Deserialize(HeaderHandler
handler, __BinaryParser serParser, Boolean fCheck, Boolean isCrossAppDomain,
IMethodCallMessage methodCallMessage)
   at
System.Runtime.Serialization.Formatters.Binary.BinaryFormatter.Deserialize(Stream
serializationStream, HeaderHandler handler, Boolean fCheck, Boolean
isCrossAppDomain, IMethodCallMessage methodCallMessage)
   at System.Resources.ResourceReader.DeserializeObject(Int32 typeIndex)
   at System.Resources.ResourceReader.LoadObjectV2(Int32 pos, ResourceTypeCode&
typeCode)
   at System.Resources.RuntimeResourceSet.GetObject(String key, Boolean
ignoreCase, Boolean isString)
   at System.Resources.ResourceManager.GetObject(String name, CultureInfo
culture, Boolean wrapUnmanagedMemStream)
   at myUML.TestUseCases.InitializeComponent()
   at myUML.TestUseCases..ctor()
   at myUML.TestEntry.btn_TestUseCases_Click(Object sender, EventArgs e)
   at System.Windows.Forms.Control.OnClick(EventArgs e)
   at System.Windows.Forms.Button.OnMouseUp(MouseEventArgs mevent)
   at System.Windows.Forms.Control.WmMouseUp(Message& m, MouseButtons button,
Int32 clicks)
   at System.Windows.Forms.Control.WndProc(Message& m)
   at System.Windows.Forms.ButtonBase.WndProc(Message& m)
   at System.Windows.Forms.Button.WndProc(Message& m)
   at System.Windows.Forms.Control.ControlNativeWindow.WndProc(Message& m)
   at System.Windows.Forms.NativeWindow.Callback(IntPtr hWnd, Int32 msg, IntPtr
wparam, IntPtr lparam)


************** Loaded Assemblies **************
mscorlib
    Assembly Version: 2.0.0.0
    Win32 Version: 2.0.50727.3615 (GDR.050727-3600)
    CodeBase:
file:///C:/Windows/Microsoft.NET/Framework64/v2.0.50727/mscorlib.dll
----------------------------------------
myUML
    Assembly Version: 1.0.3838.35885
    Win32 Version: 1.0.3838.35885
    CodeBase: file:///C:/Users/rupert/Desktop/wf-apps/usr/lib/myUML/myUML.exe
----------------------------------------
System.Windows.Forms
    Assembly Version: 2.0.0.0
    Win32 Version: 2.0.50727.3053 (netfxsp.050727-3000)
    CodeBase:
file:///C:/Windows/assembly/GAC_MSIL/System.Windows.Forms/2.0.0.0__b77a5c561934e089/System.Windows.Forms.dll
----------------------------------------
System
    Assembly Version: 2.0.0.0
    Win32 Version: 2.0.50727.3614 (GDR.050727-3600)
    CodeBase:
file:///C:/Windows/assembly/GAC_MSIL/System/2.0.0.0__b77a5c561934e089/System.dll
----------------------------------------
System.Drawing
    Assembly Version: 2.0.0.0
    Win32 Version: 2.0.50727.3053 (netfxsp.050727-3000)
    CodeBase:
file:///C:/Windows/assembly/GAC_MSIL/System.Drawing/2.0.0.0__b03f5f7f11d50a3a/System.Drawing.dll
----------------------------------------

-- 
Configure bugmail: https://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.


More information about the mono-bugs mailing list