[Mono-bugs] [Bug 565194] New: csharp auto-completion crashes on "System."

bugzilla_noreply at novell.com bugzilla_noreply at novell.com
Wed Dec 16 11:43:40 EST 2009


http://bugzilla.novell.com/show_bug.cgi?id=565194

http://bugzilla.novell.com/show_bug.cgi?id=565194#c0


           Summary: csharp auto-completion crashes on "System."
    Classification: Mono
           Product: Mono: Tools
           Version: 2.6.x
          Platform: x86-64
        OS/Version: openSUSE 11.2
            Status: NEW
          Severity: Normal
          Priority: P5 - None
         Component: tools
        AssignedTo: mono-bugs at lists.ximian.com
        ReportedBy: dok at dok-net.net
         QAContact: mono-bugs at lists.ximian.com
          Found By: ---
           Blocker: ---


User-Agent:       Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.9.0.15)
Gecko/2009102100 SUSE/3.0.15-0.1 Firefox/3.0.15

Pressing the TAB-key twice to show completions on "System." causes the
interactive csharp command line utility to crash.

Reproducible: Always

Steps to Reproduce:
1. Start csharp in a shell window.
2. Enter System. (System followed by a period, nothing else)
3. Press the TAB-key twice.
Actual Results:  
Unhandled Exception: System.ArgumentNullException: Argument cannot be null.
Parameter name: value
  at System.String.StartsWith (System.String value) [0x00000] in <filename
unknown>:0 
  at Mono.CSharp.CompletionSimpleName.AppendResults
(System.Collections.ArrayList results, System.String prefix, IEnumerable names)
[0x00000] in <filename unknown>:0 
  at Mono.CSharp.CompletionMemberAccess.DoResolve (Mono.CSharp.ResolveContext
ec) [0x00000] in <filename unknown>:0 
  at Mono.CSharp.Expression.Resolve (Mono.CSharp.ResolveContext ec,
ResolveFlags flags) [0x00000] in <filename unknown>:0 
  at Mono.CSharp.Expression.Resolve (Mono.CSharp.ResolveContext ec) [0x00000]
in <filename unknown>:0 
  at Mono.CSharp.OptionalAssign.DoResolve (Mono.CSharp.ResolveContext ec)
[0x00000] in <filename unknown>:0 
  at Mono.CSharp.Expression.Resolve (Mono.CSharp.ResolveContext ec,
ResolveFlags flags) [0x00000] in <filename unknown>:0 
  at Mono.CSharp.Expression.Resolve (Mono.CSharp.ResolveContext ec) [0x00000]
in <filename unknown>:0 
  at Mono.CSharp.ExpressionStatement.ResolveStatement (Mono.CSharp.BlockContext
ec) [0x00000] in <filename unknown>:0 
  at Mono.CSharp.StatementExpression.Resolve (Mono.CSharp.BlockContext ec)
[0x00000] in <filename unknown>:0 
  at Mono.CSharp.Block.Resolve (Mono.CSharp.BlockContext ec) [0x00000] in
<filename unknown>:0 
  at Mono.CSharp.ToplevelBlock.Resolve (Mono.CSharp.FlowBranching parent,
Mono.CSharp.BlockContext rc, Mono.CSharp.ParametersCompiled ip, IMethodData md)
[0x00000] in <filename unknown>:0 


Expected Results:  
List of available completions :-)

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