BUG: ArgumentOutOfRangeException Error Occurs in PerfMon Sample (326281)
The information in this article applies to:
- Microsoft Visual J# .NET (2002)
This article was previously published under Q326281 SYMPTOMS When you click the context menus on the graphic display
panels of the multiple-document interface (MDI) child windows in the PerfMon
sample, the menus do not work. When you run the PerfMon sample in
the debugger, an unhandled exception error occurs, and you receive the
following error message: An unhandled exception of type
'System.ArgumentOutOfRangeException' occurred in mscorlib.dll
Additional information: Length cannot be less than zero. When you
run the PerfMon sample outside the debugger, an unhandled exception error
occurs, and you receive the following error message: An
unhandled exception has occurred in your application. If you click Continue,
the application will ignore this error and attempt to continue. If you click
Quit, the application will be shut down immediately.
Length cannot be
less than zero. Parameter name: length. CAUSE A bug exists in the event handler code for these context
menus. RESOLUTION To resolve this problem, edit the sample code so that the
string argument that causes the error contains no space characters.
STATUSMicrosoft has confirmed that this is a bug in the Microsoft
products that are listed at the beginning of this article.
REFERENCES For more information about Java language support on .NET,
visit the following Microsoft Developer Network (MSDN) Web site:
Modification Type: | Major | Last Reviewed: | 1/19/2004 |
---|
Keywords: | kbbug kbpending KB326281 |
---|
|