[Mono-bugs] [Bug 409351] New: Could not load type 'System.Windows.Forms. ListViewItem+ListViewSubItem+SubItemStyle in

bugzilla_noreply at novell.com bugzilla_noreply at novell.com
Tue Jul 15 16:04:15 EDT 2008


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


           Summary: Could not load type
                    'System.Windows.Forms.ListViewItem+ListViewSubItem+SubIt
                    emStyle in
           Product: Mono: Class Libraries
           Version: unspecified
          Platform: i386
        OS/Version: Ubuntu
            Status: NEW
          Severity: Normal
          Priority: P5 - None
         Component: Windows.Forms
        AssignedTo: mono-bugs at lists.ximian.com
        ReportedBy: christoffer at curo.dk
         QAContact: mono-bugs at lists.ximian.com
          Found By: ---


Using Mono 1.9.1 on Ubuntu 8.04

from this repository:

deb http://directhex.mfgames.com/ hardy main

Binaries for the app I tried with:

http://drop.io/dwsim13b

Source:

http://drop.io/dwsim13bsrc1

when I run the app with 'mono DWSIM.exe', choose US English and "Create New
Simulation", I get this stack trace:

mono DWSIM.exe

Unhandled Exception: System.TypeLoadException: Could not load type
'System.Windows.Forms.ListViewItem+ListViewSubItem+SubItemStyle'.
  at (wrapper managed-to-native) System.Reflection.Assembly:InternalGetType
(System.Reflection.Module,string,bool,bool)
  at System.Reflection.Assembly.GetType (System.String name, Boolean
throwOnError, Boolean ignoreCase) [0x00000] 
  at System.Reflection.Assembly.GetType (System.String name, Boolean
throwOnError) [0x00000] 
  at
System.Runtime.Serialization.Formatters.Binary.ObjectReader.GetDeserializationType
(Int64 assemblyId, System.String className) [0x00000] 
  at System.Runtime.Serialization.Formatters.Binary.ObjectReader.ReadType
(System.IO.BinaryReader reader, TypeTag code) [0x00000] 
  at
System.Runtime.Serialization.Formatters.Binary.ObjectReader.ReadTypeMetadata
(System.IO.BinaryReader reader, Boolean isRuntimeObject, Boolean hasTypeInfo)
[0x00000] 
  at
System.Runtime.Serialization.Formatters.Binary.ObjectReader.ReadObjectInstance
(System.IO.BinaryReader reader, Boolean isRuntimeObject, Boolean hasTypeInfo,
System.Int64& objectId, System.Object& value,
System.Runtime.Serialization.SerializationInfo& info) [0x00000] 
  at System.Runtime.Serialization.Formatters.Binary.ObjectReader.ReadObject
(BinaryElement element, System.IO.BinaryReader reader, System.Int64& objectId,
System.Object& value, System.Runtime.Serialization.SerializationInfo& info)
[0x00000] 
  at System.Runtime.Serialization.Formatters.Binary.ObjectReader.ReadNextObject
(System.IO.BinaryReader reader) [0x00000] 
  at
System.Runtime.Serialization.Formatters.Binary.ObjectReader.ReadObjectGraph
(System.IO.BinaryReader reader, Boolean readHeaders, System.Object& result,
System.Runtime.Remoting.Messaging.Header[]& headers) [0x00000] 
  at
System.Runtime.Serialization.Formatters.Binary.BinaryFormatter.NoCheckDeserialize
(System.IO.Stream serializationStream,
System.Runtime.Remoting.Messaging.HeaderHandler handler) [0x00000] 
  at System.Runtime.Serialization.Formatters.Binary.BinaryFormatter.Deserialize
(System.IO.Stream serializationStream) [0x00000] 
  at System.Resources.ResourceReader.ReadNonPredefinedValue (System.Type
exp_type) [0x00000] 
  at System.Resources.ResourceReader.ReadValueVer2 (Int32 type_index) [0x00000] 
  at System.Resources.ResourceReader.ResourceValue (Int32 index) [0x00000] 
  at System.Resources.ResourceReader+ResourceEnumerator.get_Value () [0x00000] 
  at System.Resources.ResourceSet.ReadResources () [0x00000] 
  at System.Resources.ResourceSet.GetEnumerator () [0x00000] 
  at System.ComponentModel.ComponentResourceManager.BuildResources
(System.Globalization.CultureInfo culture, System.Collections.Hashtable
resources) [0x00000] 
  at System.ComponentModel.ComponentResourceManager.ApplyResources
(System.Object value, System.String objectName,
System.Globalization.CultureInfo culture) [0x00000] 
  at System.ComponentModel.ComponentResourceManager.ApplyResources
(System.Object value, System.String objectName) [0x00000] 
  at DWSIM.FormStSim.InitializeComponent () [0x00000] 
  at (wrapper remoting-invoke-with-check) DWSIM.FormStSim:InitializeComponent
()
  at DWSIM.FormStSim..ctor () [0x00000] 
  at (wrapper remoting-invoke-with-check) DWSIM.FormStSim:.ctor ()
  at DWSIM.FormChild..ctor () [0x00000] 
  at (wrapper remoting-invoke-with-check) DWSIM.FormChild:.ctor ()
  at DWSIM.FormTips.KryptonButton5_Click (System.Object sender,
System.EventArgs e) [0x00000] 
  at System.Windows.Forms.Control.OnClick (System.EventArgs e) [0x00000] 
  at System.Windows.Forms.Button.OnClick (System.EventArgs e) [0x00000] 
  at System.Windows.Forms.ButtonBase.OnMouseUp
(System.Windows.Forms.MouseEventArgs mevent) [0x00000] 
  at System.Windows.Forms.Button.OnMouseUp (System.Windows.Forms.MouseEventArgs
mevent) [0x00000] 
  at System.Windows.Forms.Control.WmLButtonUp (System.Windows.Forms.Message& m)
[0x00000] 
  at System.Windows.Forms.Control.WndProc (System.Windows.Forms.Message& m)
[0x00000] 
  at System.Windows.Forms.ButtonBase.WndProc (System.Windows.Forms.Message& m)
[0x00000] 
  at System.Windows.Forms.Button.WndProc (System.Windows.Forms.Message& m)
[0x00000] 
  at System.Windows.Forms.Control+ControlWindowTarget.OnMessage
(System.Windows.Forms.Message& m) [0x00000] 
  at System.Windows.Forms.Control+ControlNativeWindow.WndProc
(System.Windows.Forms.Message& m) [0x00000] 
  at System.Windows.Forms.NativeWindow.WndProc (IntPtr hWnd, Msg msg, IntPtr
wParam, IntPtr lParam) [0x00000] 
  at System.Windows.Forms.XplatUIX11.DispatchMessage (System.Windows.Forms.MSG&
msg) [0x00000] 
  at System.Windows.Forms.XplatUI.DispatchMessage (System.Windows.Forms.MSG&
msg) [0x00000] 
  at System.Windows.Forms.Application.RunLoop (Boolean Modal,
System.Windows.Forms.ApplicationContext context) [0x00000] 
  at System.Windows.Forms.Form.ShowDialog (IWin32Window ownerWin32) [0x00000] 
  at (wrapper remoting-invoke-with-check) System.Windows.Forms.Form:ShowDialog
(System.Windows.Forms.IWin32Window)
  at DWSIM.FormParent.FormParent_Shown (System.Object sender, System.EventArgs
e) [0x00000] 
  at System.Windows.Forms.Form.OnShown (System.EventArgs e) [0x00000] 
  at System.Windows.Forms.Form.SetVisibleCore (Boolean value) [0x00000] 
  at System.Windows.Forms.Control.set_Visible (Boolean value) [0x00000] 
  at (wrapper remoting-invoke-with-check)
System.Windows.Forms.Control:set_Visible (bool)
  at System.Windows.Forms.Application.RunLoop (Boolean Modal,
System.Windows.Forms.ApplicationContext context) [0x00000] 
  at System.Windows.Forms.Application.Run
(System.Windows.Forms.ApplicationContext context) [0x00000] 
  at System.Windows.Forms.Application.Run (System.Windows.Forms.Form mainForm)
[0x00000] 
  at
Microsoft.VisualBasic.ApplicationServices.WindowsFormsApplicationBase.OnRun ()
[0x00000] 
  at Microsoft.VisualBasic.ApplicationServices.WindowsFormsApplicationBase.Run
(System.String[] commandLine) [0x00000] 
  at DWSIM.My.MyApplication.Main (System.String[] Args) [0x00000] 

I don't understand it, since Portuguese crashes somewhere else.


-- 
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