SharpDevelop Community

Get your problems solved!
Welcome to SharpDevelop Community Sign in | Join | Help
in Search

Unexpected exception

Last post 12-30-2008 10:27 PM by DanielGrunwald. 1 replies.
Page 1 of 1 (2 items)
Sort Posts: Previous Next
  • 12-30-2008 10:21 PM

    • svk
    • Not Ranked
    • Joined on 09-24-2008
    • Posts 1

    Unexpected exception

    When typing in the editor the following code I got this exception after hitting ( after base:

    public SurveyEventArgs(Guid instanceId, string employee, string surveyResponse) : base(

    {

     

     SharpDevelop Version : 3.0.0.3683
    .NET Version         : 2.0.50727.3053
    OS Version           : Microsoft Windows NT 6.0.6001 Service Pack 1
    Current culture      : Icelandic (Iceland) (is-IS)
    Current UI language  : en-US
    Working Set Memory   : 112400kb
    GC Heap Memory       : 32154kb


    Exception thrown:
    System.NullReferenceException: Object reference not set to an instance of an object.
       at ICSharpCode.SharpDevelop.DefaultEditor.Gui.Editor.MethodInsightDataProvider.SetupDataProvider(String fileName, IDocument document, ExpressionResult expressionResult, Int32 caretLineNumber, Int32 caretColumn)
       at ICSharpCode.SharpDevelop.DefaultEditor.Gui.Editor.MethodInsightDataProvider.SetupDataProvider(String fileName, TextArea textArea)
       at ICSharpCode.TextEditor.Gui.InsightWindow.InsightWindow.AddInsightDataProvider(IInsightDataProvider provider, String fileName)
       at ICSharpCode.SharpDevelop.DefaultEditor.Gui.Editor.SharpDevelopTextAreaControl.ShowInsightWindow(IInsightDataProvider insightDataProvider)
       at CSharpBinding.CSharpCompletionBinding.HandleKeyPress(SharpDevelopTextAreaControl editor, Char ch)
       at ICSharpCode.SharpDevelop.DefaultEditor.Gui.Editor.LazyCodeCompletionBinding.HandleKeyPress(SharpDevelopTextAreaControl editor, Char ch)
       at ICSharpCode.SharpDevelop.DefaultEditor.Gui.Editor.SharpDevelopTextAreaControl.HandleKeyPress(Char ch)

    ---- Recent log messages:
    21:20:01.367 [1] DEBUG - CC: Beginning to type a word, result=<> ([NonStaticTypeExpressionContext TypeDeclaration])
    21:20:02.365 [1] DEBUG - CC: Beginning to type a word, result=<> ([NonStaticTypeExpressionContext TypeDeclaration])
    21:20:05.251 [1] DEBUG - CC: Beginning to type a word, result=<string
            > ([DefaultExpressionContext: IdentifierExpected])
    21:20:23.035 [1] DEBUG - CC: Beginning to type a word, result=<> ([NonStaticTypeExpressionContext TypeDeclaration])
    21:20:24.190 [1] DEBUG - CC: Beginning to type a word, result=<> ([NonStaticTypeExpressionContext TypeDeclaration])
    21:20:25.765 [1] DEBUG - CC: Beginning to type a word, result=<string
        > ([DefaultExpressionContext: IdentifierExpected])
    21:20:36.405 [1] DEBUG - CC: Beginning to type a word, result=<> ([DefaultExpressionContext: PropertyDeclaration])
    21:20:39.088 [1] DEBUG - CC: Beginning to type a word, result=<> ([DefaultExpressionContext: MethodBody])
    21:20:39.977 [1] DEBUG - CC: Beginning to type a word, result=<> ([DefaultExpressionContext: MethodBody])
    21:20:53.097 [1] DEBUG - CC: Beginning to type a word, result=<> ([DefaultExpressionContext: PropertyDeclaration])
    21:20:55.920 [1] DEBUG - CC: Beginning to type a word, result=<> ([DefaultExpressionContext: MethodBody])
    21:21:04.095 [1] DEBUG - CC: Beginning to type a word, result=<> ([DefaultExpressionContext: MethodBody])
    21:21:20.365 [1] DEBUG - CC: Beginning to type a word, result=<> ([NonStaticTypeExpressionContext TypeDeclaration])
    21:21:24.655 [1] DEBUG - CC: Beginning to type a word, result=<> ([NonStaticTypeExpressionContext TypeDeclaration])
    21:21:33.079 [1] DEBUG - ShowInsight for >>SurveyEventArgs<<, context=[DefaultExpressionContext: IdentifierExpected]
    21:21:35.825 [1] DEBUG - CC: Beginning to type a word, result=<> ([NonStaticTypeExpressionContext FirstParameterType])
    21:21:38.508 [1] DEBUG - CC: Beginning to type a word, result=<Guid
                   
        > ([DefaultExpressionContext: IdentifierExpected])
    21:21:44.311 [1] DEBUG - CC: Beginning to type a word, result=<> ([NonStaticTypeExpressionContext ParameterType])
    21:21:45.294 [1] DEBUG - CC: Beginning to type a word, result=<string
                   
        > ([DefaultExpressionContext: IdentifierExpected])
    21:21:51.846 [1] DEBUG - CC: Beginning to type a word, result=<> ([NonStaticTypeExpressionContext ParameterType])
    21:21:52.985 [1] DEBUG - CC: Beginning to type a word, result=<string
                   
        > ([DefaultExpressionContext: IdentifierExpected])
    21:22:13.686 [1] DEBUG - CC: Beginning to type a word, result=<> ([DefaultExpressionContext: BaseConstructorCall])
    21:22:14.513 [1] DEBUG - ShowInsight for >>base<<, context=[DefaultExpressionContext: BaseConstructorCall]
    21:22:14.529 [1] ERROR -
    --> Exception:
    System.NullReferenceException: Object reference not set to an instance of an object.
       at ICSharpCode.SharpDevelop.DefaultEditor.Gui.Editor.MethodInsightDataProvider.SetupDataProvider(String fileName, IDocument document, ExpressionResult expressionResult, Int32 caretLineNumber, Int32 caretColumn)
       at ICSharpCode.SharpDevelop.DefaultEditor.Gui.Editor.MethodInsightDataProvider.SetupDataProvider(String fileName, TextArea textArea)
       at ICSharpCode.TextEditor.Gui.InsightWindow.InsightWindow.AddInsightDataProvider(IInsightDataProvider provider, String fileName)
       at ICSharpCode.SharpDevelop.DefaultEditor.Gui.Editor.SharpDevelopTextAreaControl.ShowInsightWindow(IInsightDataProvider insightDataProvider)
       at CSharpBinding.CSharpCompletionBinding.HandleKeyPress(SharpDevelopTextAreaControl editor, Char ch)
       at ICSharpCode.SharpDevelop.DefaultEditor.Gui.Editor.LazyCodeCompletionBinding.HandleKeyPress(SharpDevelopTextAreaControl editor, Char ch)
       at ICSharpCode.SharpDevelop.DefaultEditor.Gui.Editor.SharpDevelopTextAreaControl.HandleKeyPress(Char ch)
    21:22:14.575 [1] WARN - Stack trace of last error log:
       at System.Environment.GetStackTrace(Exception e, Boolean needFileInfo)
       at System.Environment.get_StackTrace()
       at ICSharpCode.Core.MessageService.ShowError(Exception ex, String message)
       at ICSharpCode.Core.MessageService.ShowError(Exception ex)
       at ICSharpCode.SharpDevelop.DefaultEditor.Gui.Editor.SharpDevelopTextAreaControl.LogException(Exception ex)
       at ICSharpCode.SharpDevelop.DefaultEditor.Gui.Editor.SharpDevelopTextAreaControl.HandleKeyPress(Char ch)
       at ICSharpCode.TextEditor.TextArea.HandleKeyPress(Char ch)
       at ICSharpCode.TextEditor.TextArea.SimulateKeyPress(Char ch)
       at ICSharpCode.TextEditor.TextArea.OnKeyPress(KeyPressEventArgs e)
       at System.Windows.Forms.Control.ProcessKeyEventArgs(Message& m)
       at System.Windows.Forms.Control.ProcessKeyMessage(Message& m)
       at System.Windows.Forms.Control.WmKeyChar(Message& m)
       at System.Windows.Forms.Control.WndProc(Message& m)
       at System.Windows.Forms.Control.ControlNativeWindow.OnMessage(Message& m)
       at System.Windows.Forms.Control.ControlNativeWindow.WndProc(Message& m)
       at System.Windows.Forms.NativeWindow.Callback(IntPtr hWnd, Int32 msg, IntPtr wparam, IntPtr lparam)
       at System.Windows.Forms.UnsafeNativeMethods.DispatchMessageW(MSG& msg)
       at System.Windows.Forms.Application.ComponentManager.System.Windows.Forms.UnsafeNativeMethods.IMsoComponentManager.FPushMessageLoop(Int32 dwComponentID, Int32 reason, Int32 pvLoopData)
       at System.Windows.Forms.Application.ThreadContext.RunMessageLoopInner(Int32 reason, ApplicationContext context)
       at System.Windows.Forms.Application.ThreadContext.RunMessageLoop(Int32 reason, ApplicationContext context)
       at System.Windows.Forms.Application.Run(Form mainForm)
       at ICSharpCode.SharpDevelop.Commands.StartWorkbenchCommand.Run(IList`1 fileList)
       at ICSharpCode.SharpDevelop.Sda.CallHelper.RunWorkbenchInternal(Object settings)
       at ICSharpCode.SharpDevelop.Sda.CallHelper.RunWorkbench(WorkbenchSettings settings)
       at ICSharpCode.SharpDevelop.Sda.SharpDevelopHost.RunWorkbench(WorkbenchSettings settings)
       at ICSharpCode.SharpDevelop.SharpDevelopMain.RunApplication()
       at ICSharpCode.SharpDevelop.SharpDevelopMain.Run(String[ args)
       at ICSharpCode.SharpDevelop.SharpDevelopMain.Main(String[ args)

    ---- Post-error application state information:
    Installed 3rd party AddIns:
    Workbench.ActiveContent: [TextEditorDisplayBindingWrapper G:\Work\SharpDevelop\Workflow\Workflow\ISurveyResponseService.cs]
    ProjectService.OpenSolution: [Solution: FileName=G:\Work\SharpDevelop\Workflow\Workflow.sln, HasProjects=True, ReadOnly=False]
    ProjectService.CurrentProject: [CSharpProject: Workflow]

  • 12-30-2008 10:27 PM In reply to

    Re: Unexpected exception

     This bug was already fixed in revision 3692. You can find new builds at http://build.sharpdevelop.net/BuildArtefacts/

Page 1 of 1 (2 items)
Powered by Community Server (Commercial Edition), by Telligent Systems
Don't contact us via this (fleischfalle@alphasierrapapa.com) email address.