[Mono-bugs] [Bug 673068] New: Calling ToolStripManager.RevertMerge on an unmerged toolstip throws exception. .NET difference.
bugzilla_noreply at novell.com
bugzilla_noreply at novell.com
Thu Feb 17 11:39:21 EST 2011
https://bugzilla.novell.com/show_bug.cgi?id=673068
https://bugzilla.novell.com/show_bug.cgi?id=673068#c0
Summary: Calling ToolStripManager.RevertMerge on an unmerged
toolstip throws exception. .NET difference.
Classification: Mono
Product: Mono: Class Libraries
Version: 2.8.x
Platform: Other
OS/Version: Other
Status: NEW
Severity: Normal
Priority: P5 - None
Component: Windows.Forms
AssignedTo: mono-bugs at lists.ximian.com
ReportedBy: tom_hindle at sil.org
QAContact: mono-bugs at lists.ximian.com
Found By: ---
Blocker: ---
Created an attachment (id=414755)
--> (http://bugzilla.novell.com/attachment.cgi?id=414755)
Simple test cases showing ArgumentNullException thrown.
User-Agent: Mozilla/5.0 (X11; U; Linux x86_64; en-US) AppleWebKit/532.5
(KHTML, like Gecko) Chrome/4.0.249.43 Safari/532.5
Attached simple test case.
Reproducible: Always
Steps to Reproduce:
1. Compile and run attached test case.
Actual Results:
Unhandled Exception: System.ArgumentNullException: Argument cannot be null.
Parameter name: sourceToolStrip
at System.Windows.Forms.ToolStripManager.RevertMerge
(System.Windows.Forms.ToolStrip targetToolStrip, System.Windows.Forms.ToolStrip
sourceToolStrip) [0x00000] in <filename unknown>:0
at System.Windows.Forms.ToolStripManager.RevertMerge
(System.Windows.Forms.ToolStrip targetToolStrip) [0x00000] in <filename
unknown>:0
at ToolStripManagerRevertMergeTest.MainClass.Main (System.String[] args)
[0x00006] in
/home/hindlet/Projects/ToolStripManagerRevertMergeTest/ToolStripManagerRevertMergeTest/Main.cs:11
Expected Results:
No Exception should be thrown.
--
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