Quantcast
Channel: SharpDevelop Community
Viewing all articles
Browse latest Browse all 1764

when click on line of code

$
0
0

SharpDevelop Version : 5.0.0.3845-Beta 1-91422309
.NET Version         : 4.0.30319.17929
OS Version           : Microsoft Windows NT 6.1.7600.0
Current culture      : Russian (Russia) (ru-RU)
Current UI language  : en
Running under WOW6432, processor architecture: x86-64
Working Set Memory   : 198500kb
GC Heap Memory       : 69725kb

Unhandled WPF exception
Exception thrown:
System.ApplicationException: Error highlighting line 18 ---> System.InvalidOperationException: Cannot add annotations to the null node
   at ICSharpCode.NRefactory.CSharp.AstNode.AddAnnotation(Object annotation)
   at CSharpBinding.CSharpSemanticHighlighter.Colorize(AstNode node, HighlightingColor color)
   at ICSharpCode.NRefactory.CSharp.Analysis.SemanticHighlightingVisitor`1.VisitEventDeclaration(EventDeclaration eventDeclaration)
   at ICSharpCode.NRefactory.CSharp.EventDeclaration.AcceptVisitor(IAstVisitor visitor)
   at ICSharpCode.NRefactory.CSharp.Analysis.SemanticHighlightingVisitor`1.VisitChildrenAfter(AstNode node, AstNode start)
   at ICSharpCode.NRefactory.CSharp.Analysis.SemanticHighlightingVisitor`1.VisitTypeDeclaration(TypeDeclaration typeDeclaration)
   at ICSharpCode.NRefactory.CSharp.TypeDeclaration.AcceptVisitor(IAstVisitor visitor)
   at ICSharpCode.NRefactory.CSharp.Analysis.SemanticHighlightingVisitor`1.VisitChildren(AstNode node)
   at ICSharpCode.NRefactory.CSharp.DepthFirstAstVisitor.VisitNamespaceDeclaration(NamespaceDeclaration namespaceDeclaration)
   at ICSharpCode.NRefactory.CSharp.NamespaceDeclaration.AcceptVisitor(IAstVisitor visitor)
   at ICSharpCode.NRefactory.CSharp.Analysis.SemanticHighlightingVisitor`1.VisitChildren(AstNode node)
   at ICSharpCode.NRefactory.CSharp.DepthFirstAstVisitor.VisitSyntaxTree(SyntaxTree syntaxTree)
   at ICSharpCode.NRefactory.CSharp.SyntaxTree.AcceptVisitor(IAstVisitor visitor)
   at CSharpBinding.CSharpSemanticHighlighter.DoHighlightLine(Int32 lineNumber, IDocumentLine documentLine, CachedLine cachedLine, ITextSourceVersion newVersion)
   --- End of inner exception stack trace ---
   at CSharpBinding.CSharpSemanticHighlighter.DoHighlightLine(Int32 lineNumber, IDocumentLine documentLine, CachedLine cachedLine, ITextSourceVersion newVersion)
   at CSharpBinding.CSharpSemanticHighlighter.HighlightLine(Int32 lineNumber)
   at ICSharpCode.AvalonEdit.AddIn.MultiHighlighter.HighlightLine(Int32 lineNumber)
   at ICSharpCode.AvalonEdit.AddIn.CustomizingHighlighter.HighlightLine(Int32 lineNumber)
   at ICSharpCode.AvalonEdit.Highlighting.HighlightingColorizer.ColorizeLine(DocumentLine line)
   at ICSharpCode.AvalonEdit.Rendering.DocumentColorizingTransformer.Colorize(ITextRunConstructionContext context)
   at ICSharpCode.AvalonEdit.Highlighting.HighlightingColorizer.Colorize(ITextRunConstructionContext context)
   at ICSharpCode.AvalonEdit.Rendering.ColorizingTransformer.Transform(ITextRunConstructionContext context, IList`1 elements)
   at ICSharpCode.AvalonEdit.Rendering.VisualLine.RunTransformers(ITextRunConstructionContext context, IVisualLineTransformer[ transformers)
   at ICSharpCode.AvalonEdit.Rendering.TextView.BuildVisualLine(DocumentLine documentLine, TextRunProperties globalTextRunProperties, VisualLineTextParagraphProperties paragraphProperties, VisualLineElementGenerator[ elementGeneratorsArray, IVisualLineTransformer[ lineTransformersArray, Size availableSize)
   at ICSharpCode.AvalonEdit.Rendering.TextView.GetOrConstructVisualLine(DocumentLine documentLine)
   at ICSharpCode.AvalonEdit.Editing.Caret.ValidateVisualColumn()
   at ICSharpCode.AvalonEdit.Editing.SelectionMouseHandler.ExtendSelectionToMouse(MouseEventArgs e)
   at ICSharpCode.AvalonEdit.Editing.SelectionMouseHandler.textArea_MouseMove(Object sender, MouseEventArgs e)
   at System.Windows.Input.MouseEventArgs.InvokeEventHandler(Delegate genericHandler, Object genericTarget)
   at System.Windows.RoutedEventArgs.InvokeHandler(Delegate handler, Object target)
   at System.Windows.RoutedEventHandlerInfo.InvokeHandler(Object target, RoutedEventArgs routedEventArgs)
   at System.Windows.EventRoute.InvokeHandlersImpl(Object source, RoutedEventArgs args, Boolean reRaised)
   at System.Windows.UIElement.RaiseEventImpl(DependencyObject sender, RoutedEventArgs args)
   at System.Windows.UIElement.RaiseTrustedEvent(RoutedEventArgs args)
   at System.Windows.UIElement.RaiseEvent(RoutedEventArgs args, Boolean trusted)
   at System.Windows.Input.InputManager.ProcessStagingArea()
   at System.Windows.Input.InputManager.ProcessInput(InputEventArgs input)
   at System.Windows.Input.InputProviderSite.ReportInput(InputReport inputReport)
   at System.Windows.Interop.HwndMouseInputProvider.ReportInput(IntPtr hwnd, InputMode mode, Int32 timestamp, RawMouseActions actions, Int32 x, Int32 y, Int32 wheel)
   at System.Windows.Interop.HwndMouseInputProvider.FilterMessage(IntPtr hwnd, WindowMessage msg, IntPtr wParam, IntPtr lParam, Boolean& handled)
   at System.Windows.Interop.HwndSource.InputFilterMessage(IntPtr hwnd, Int32 msg, IntPtr wParam, IntPtr lParam, Boolean& handled)
   at MS.Win32.HwndWrapper.WndProc(IntPtr hwnd, Int32 msg, IntPtr wParam, IntPtr lParam, Boolean& handled)
   at MS.Win32.HwndSubclass.DispatcherCallbackOperation(Object o)
   at System.Windows.Threading.ExceptionWrapper.InternalRealCall(Delegate callback, Object args, Int32 numArgs)
   at MS.Internal.Threading.ExceptionFilterHelper.TryCatchWhen(Object source, Delegate method, Object args, Int32 numArgs, Delegate catchHandler)

---- Recent log messages:
13:22:42.791 [1] DEBUG - ParseInformationUpdated F:\My dotNet Projects\MyGameRessurection\EventHanding.cs (updated)
13:22:42.791 [1] DEBUG - ParseInformationUpdated F:\My dotNet Projects\MyGameRessurection\EntityCloner.cs (updated)
13:22:42.816 [1] DEBUG - ParseInformationUpdated F:\My dotNet Projects\MyGameRessurection\EntityCloner.cs (updated)
13:22:42.856 [1] DEBUG - Update Foldings
13:22:42.856 [1] DEBUG - ParseInformationUpdated F:\My dotNet Projects\MyGameRessurection\OpenTkGameWindow.cs (updated)
13:22:42.878 [1] DEBUG - Update Foldings
13:22:42.879 [1] DEBUG - ParseInformationUpdated F:\My dotNet Projects\MyGameRessurection\MyGameScene.cs (updated)
13:22:42.961 [1] DEBUG - Update Foldings
13:22:42.961 [1] DEBUG - ParseInformationUpdated F:\My dotNet Projects\MyGameRessurection\MyGame.cs (updated)
13:22:42.979 [1] DEBUG - Update Foldings
13:22:42.980 [1] DEBUG - ParseInformationUpdated F:\My dotNet Projects\MyGameRessurection\GameLogic\TransformComponent.cs (updated)
13:22:43.047 [1] DEBUG - Update Foldings
13:22:43.047 [1] DEBUG - ParseInformationUpdated F:\My dotNet Projects\MyGameRessurection\EventHanding.cs (updated)
13:22:43.060 [1] DEBUG - Update Foldings
13:22:43.065 [1] DEBUG - Update Foldings
13:22:43.066 [1] DEBUG - Update Foldings
13:22:43.080 [1] DEBUG - Update Foldings
13:22:43.082 [1] DEBUG - Update Foldings
13:22:43.083 [1] DEBUG - Update Foldings
13:22:52.550 [1] DEBUG - Resolved (Line 18, Col 65) to
13:22:52.553 [1] DEBUG - ParseInformationUpdated F:\My dotNet Projects\MyGameRessurection\EntityCloner.cs (updated)
13:22:52.609 [1] DEBUG - Resolved (Line 18, Col 65) to
13:22:52.629 [1] DEBUG - Update Foldings
13:22:52.692 [1] DEBUG - Resolved (Line 18, Col 63) to [MemberResolveResult [Event MyGameRessurection.EntityCloner.EntityCloned]]
13:22:52.696 [1] ERROR - Unhandled WPF exception
--> Exception:
System.ApplicationException: Error highlighting line 18 ---> System.InvalidOperationException: Cannot add annotations to the null node
   at ICSharpCode.NRefactory.CSharp.AstNode.AddAnnotation(Object annotation)
   at CSharpBinding.CSharpSemanticHighlighter.Colorize(AstNode node, HighlightingColor color)
   at ICSharpCode.NRefactory.CSharp.Analysis.SemanticHighlightingVisitor`1.VisitEventDeclaration(EventDeclaration eventDeclaration)
   at ICSharpCode.NRefactory.CSharp.EventDeclaration.AcceptVisitor(IAstVisitor visitor)
   at ICSharpCode.NRefactory.CSharp.Analysis.SemanticHighlightingVisitor`1.VisitChildrenAfter(AstNode node, AstNode start)
   at ICSharpCode.NRefactory.CSharp.Analysis.SemanticHighlightingVisitor`1.VisitTypeDeclaration(TypeDeclaration typeDeclaration)
   at ICSharpCode.NRefactory.CSharp.TypeDeclaration.AcceptVisitor(IAstVisitor visitor)
   at ICSharpCode.NRefactory.CSharp.Analysis.SemanticHighlightingVisitor`1.VisitChildren(AstNode node)
   at ICSharpCode.NRefactory.CSharp.DepthFirstAstVisitor.VisitNamespaceDeclaration(NamespaceDeclaration namespaceDeclaration)
   at ICSharpCode.NRefactory.CSharp.NamespaceDeclaration.AcceptVisitor(IAstVisitor visitor)
   at ICSharpCode.NRefactory.CSharp.Analysis.SemanticHighlightingVisitor`1.VisitChildren(AstNode node)
   at ICSharpCode.NRefactory.CSharp.DepthFirstAstVisitor.VisitSyntaxTree(SyntaxTree syntaxTree)
   at ICSharpCode.NRefactory.CSharp.SyntaxTree.AcceptVisitor(IAstVisitor visitor)
   at CSharpBinding.CSharpSemanticHighlighter.DoHighlightLine(Int32 lineNumber, IDocumentLine documentLine, CachedLine cachedLine, ITextSourceVersion newVersion)
   --- End of inner exception stack trace ---
   at CSharpBinding.CSharpSemanticHighlighter.DoHighlightLine(Int32 lineNumber, IDocumentLine documentLine, CachedLine cachedLine, ITextSourceVersion newVersion)
   at CSharpBinding.CSharpSemanticHighlighter.HighlightLine(Int32 lineNumber)
   at ICSharpCode.AvalonEdit.AddIn.MultiHighlighter.HighlightLine(Int32 lineNumber)
   at ICSharpCode.AvalonEdit.AddIn.CustomizingHighlighter.HighlightLine(Int32 lineNumber)
   at ICSharpCode.AvalonEdit.Highlighting.HighlightingColorizer.ColorizeLine(DocumentLine line)
   at ICSharpCode.AvalonEdit.Rendering.DocumentColorizingTransformer.Colorize(ITextRunConstructionContext context)
   at ICSharpCode.AvalonEdit.Highlighting.HighlightingColorizer.Colorize(ITextRunConstructionContext context)
   at ICSharpCode.AvalonEdit.Rendering.ColorizingTransformer.Transform(ITextRunConstructionContext context, IList`1 elements)
   at ICSharpCode.AvalonEdit.Rendering.VisualLine.RunTransformers(ITextRunConstructionContext context, IVisualLineTransformer[ transformers)
   at ICSharpCode.AvalonEdit.Rendering.TextView.BuildVisualLine(DocumentLine documentLine, TextRunProperties globalTextRunProperties, VisualLineTextParagraphProperties paragraphProperties, VisualLineElementGenerator[ elementGeneratorsArray, IVisualLineTransformer[ lineTransformersArray, Size availableSize)
   at ICSharpCode.AvalonEdit.Rendering.TextView.GetOrConstructVisualLine(DocumentLine documentLine)
   at ICSharpCode.AvalonEdit.Editing.Caret.ValidateVisualColumn()
   at ICSharpCode.AvalonEdit.Editing.SelectionMouseHandler.ExtendSelectionToMouse(MouseEventArgs e)
   at ICSharpCode.AvalonEdit.Editing.SelectionMouseHandler.textArea_MouseMove(Object sender, MouseEventArgs e)
   at System.Windows.Input.MouseEventArgs.InvokeEventHandler(Delegate genericHandler, Object genericTarget)
   at System.Windows.RoutedEventArgs.InvokeHandler(Delegate handler, Object target)
   at System.Windows.RoutedEventHandlerInfo.InvokeHandler(Object target, RoutedEventArgs routedEventArgs)
   at System.Windows.EventRoute.InvokeHandlersImpl(Object source, RoutedEventArgs args, Boolean reRaised)
   at System.Windows.UIElement.RaiseEventImpl(DependencyObject sender, RoutedEventArgs args)
   at System.Windows.UIElement.RaiseTrustedEvent(RoutedEventArgs args)
   at System.Windows.UIElement.RaiseEvent(RoutedEventArgs args, Boolean trusted)
   at System.Windows.Input.InputManager.ProcessStagingArea()
   at System.Windows.Input.InputManager.ProcessInput(InputEventArgs input)
   at System.Windows.Input.InputProviderSite.ReportInput(InputReport inputReport)
   at System.Windows.Interop.HwndMouseInputProvider.ReportInput(IntPtr hwnd, InputMode mode, Int32 timestamp, RawMouseActions actions, Int32 x, Int32 y, Int32 wheel)
   at System.Windows.Interop.HwndMouseInputProvider.FilterMessage(IntPtr hwnd, WindowMessage msg, IntPtr wParam, IntPtr lParam, Boolean& handled)
   at System.Windows.Interop.HwndSource.InputFilterMessage(IntPtr hwnd, Int32 msg, IntPtr wParam, IntPtr lParam, Boolean& handled)
   at MS.Win32.HwndWrapper.WndProc(IntPtr hwnd, Int32 msg, IntPtr wParam, IntPtr lParam, Boolean& handled)
   at MS.Win32.HwndSubclass.DispatcherCallbackOperation(Object o)
   at System.Windows.Threading.ExceptionWrapper.InternalRealCall(Delegate callback, Object args, Int32 numArgs)
   at MS.Internal.Threading.ExceptionFilterHelper.TryCatchWhen(Object source, Delegate method, Object args, Int32 numArgs, Delegate catchHandler)

---- Post-error application state information:
Installed 3rd party AddIns:
ProjectService.CurrentSolution: [Solution F:\My dotNet Projects\MyGameRessurection\MyGameRessurection.sln with 12 projects]
ProjectService.CurrentProject: [CSharpProject: MyGameRessurection]
Workbench.ActiveContent: [AvalonEditViewContent F:\My dotNet Projects\MyGameRessurection\EntityCloner.cs]


Viewing all articles
Browse latest Browse all 1764

Trending Articles