[Mono-bugs] [Bug 669314] New: System.ArgumentOutOfRangeException running moma

bugzilla_noreply at novell.com bugzilla_noreply at novell.com
Thu Feb 3 14:24:18 EST 2011


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

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


           Summary: System.ArgumentOutOfRangeException running moma
    Classification: Mono
           Product: Mono: Class Libraries
           Version: unspecified
          Platform: Other
        OS/Version: openSUSE 11.3
            Status: NEW
          Severity: Major
          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: ---


Mono 2.10 rc2
openSUSE 11.3 rc2

Description of Problem:
Moma throws a System.ArgumentOutOfRangeException when attempting to inspect an
application.

Steps to reproduce the problem:
The example executables come from the wf-apps package.
1. Start 'moma', click 'Next'
2. Add Assembly by selecting '/mnt/mtester/tests/manual/moma/PaintDotNet.exe',
3. Click 'Open' then 'Next'  (PolygonTriangulation can work too)

Actual Results:
An exception is thrown and the application crashes.

Expected Results:
Moma should inspect the application.

How often does this happen? 
Always.

Additional Information:

Stack trace:

rupert at c5121:~> moma
System.ArgumentOutOfRangeException: Argument is out of range.
Parameter name: index
  at System.Windows.Forms.ListView+ListViewItemCollection.get_Item (Int32
index) [0x00000] in <filename unknown>:0 
  at System.Windows.Forms.ListView.GetItemAtDisplayIndex (Int32 display_index)
[0x00000] in <filename unknown>:0 
  at System.Windows.Forms.ListView.get_FocusedItem () [0x00000] in <filename
unknown>:0 
  at (wrapper remoting-invoke-with-check)
System.Windows.Forms.ListView:get_FocusedItem ()
  at System.Windows.Forms.ListViewItem.get_Focused () [0x00000] in <filename
unknown>:0 
  at System.Windows.Forms.ThemeWin32Classic.DrawListViewItem
(System.Drawing.Graphics dc, System.Windows.Forms.ListView control,
System.Windows.Forms.ListViewItem item) [0x00000] in <filename unknown>:0 
  at System.Windows.Forms.ThemeWin32Classic.DrawListViewItems
(System.Drawing.Graphics dc, Rectangle clip, System.Windows.Forms.ListView
control) [0x00000] in <filename unknown>:0 
  at System.Windows.Forms.ListView+ItemControl.OnPaintInternal
(System.Windows.Forms.PaintEventArgs pe) [0x00000] in <filename unknown>:0 
  at System.Windows.Forms.Control.WmPaint (System.Windows.Forms.Message& m)
[0x00000] in <filename unknown>:0 
  at System.Windows.Forms.Control.WndProc (System.Windows.Forms.Message& m)
[0x00000] in <filename unknown>:0 
  at System.Windows.Forms.ListView+ItemControl.WndProc
(System.Windows.Forms.Message& m) [0x00000] in <filename unknown>:0 
  at System.Windows.Forms.Control+ControlWindowTarget.OnMessage
(System.Windows.Forms.Message& m) [0x00000] in <filename unknown>:0 
  at System.Windows.Forms.Control+ControlNativeWindow.WndProc
(System.Windows.Forms.Message& m) [0x00000] in <filename unknown>:0 
  at System.Windows.Forms.NativeWindow.WndProc (IntPtr hWnd, Msg msg, IntPtr
wParam, IntPtr lParam) [0x00000] in <filename unknown>:0 
rupert at c5121:~> moma
Missing method GetAssembly in assembly /usr/lib/moma/MoMA.Analyzer.dll, type
Mono.Cecil.AssemblyFactory
System.IO.FileNotFoundException: Could not load file or assembly 'Mono.Cecil,
Version=0.6.9.0, Culture=neutral, PublicKeyToken=0738eb9f132ed756' or one of
its dependencies.
File name: 'Mono.Cecil, Version=0.6.9.0, Culture=neutral,
PublicKeyToken=0738eb9f132ed756'
  at MoMA.MainForm.VerifyValidAssemblies () [0x00000] in <filename unknown>:0 
  at MoMA.MainForm.NextButton_Click (System.Object sender, System.EventArgs e)
[0x00000] in <filename unknown>:0 
  at System.Windows.Forms.Control.OnClick (System.EventArgs e) [0x00000] in
<filename unknown>:0 
  at System.Windows.Forms.Button.OnClick (System.EventArgs e) [0x00000] in
<filename unknown>:0 
  at System.Windows.Forms.ButtonBase.OnMouseUp
(System.Windows.Forms.MouseEventArgs mevent) [0x00000] in <filename unknown>:0 
  at System.Windows.Forms.Button.OnMouseUp (System.Windows.Forms.MouseEventArgs
mevent) [0x00000] in <filename unknown>:0 
  at System.Windows.Forms.Control.WmLButtonUp (System.Windows.Forms.Message& m)
[0x00000] in <filename unknown>:0 
  at System.Windows.Forms.Control.WndProc (System.Windows.Forms.Message& m)
[0x00000] in <filename unknown>:0 
  at System.Windows.Forms.ButtonBase.WndProc (System.Windows.Forms.Message& m)
[0x00000] in <filename unknown>:0 
  at System.Windows.Forms.Button.WndProc (System.Windows.Forms.Message& m)
[0x00000] in <filename unknown>:0 
  at System.Windows.Forms.Control+ControlWindowTarget.OnMessage
(System.Windows.Forms.Message& m) [0x00000] in <filename unknown>:0 
  at System.Windows.Forms.Control+ControlNativeWindow.WndProc
(System.Windows.Forms.Message& m) [0x00000] in <filename unknown>:0 
  at System.Windows.Forms.NativeWindow.WndProc (IntPtr hWnd, Msg msg, IntPtr
wParam, IntPtr lParam) [0x00000] in <filename unknown>:0

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