Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

NullReferenceException when renaming C# file #4

Open
mrward opened this issue Jan 5, 2015 · 0 comments
Open

NullReferenceException when renaming C# file #4

mrward opened this issue Jan 5, 2015 · 0 comments
Labels

Comments

@mrward
Copy link
Owner

mrward commented Jan 5, 2015

With the MonoDevelop Main.sln open and a C# file open in the text editor when F2 is pressed to rename a C# method the TypeScript addin is being run and an exception is thrown:

ERROR [2015-01-05 12:17:00Z]: Error while executing command: Rename
System.NullReferenceException: Object reference not set to an instance of an object.
   at ICSharpCode.TypeScriptBinding.TypeScriptCodeCompletionTextEditorExtension.UpdateContext(TypeScriptContext context, TextEditorData editor)
   at ICSharpCode.TypeScriptBinding.TypeScriptCodeCompletionTextEditorExtension.GetReferences(TextEditorData editor)
   at ICSharpCode.TypeScriptBinding.RenameTypeScriptReferenceCommandHandler.Run(Document document)
   at ICSharpCode.TypeScriptBinding.TypeScriptCommandHandler.Run()
   at MonoDevelop.Components.Commands.CommandHandler.Run(Object dataItem)
   at MonoDevelop.Components.Commands.CommandHandler.InternalRun(Object dataItem)
   at MonoDevelop.Components.Commands.CommandManager.DefaultDispatchCommand(ActionCommand cmd, CommandInfo info, Object dataItem, Object target, CommandSource source)
   at MonoDevelop.Components.Commands.CommandManager.DispatchCommand(Object commandId, Object dataItem, Object initialTarget, CommandSource source)
@mrward mrward added the bug label Jan 5, 2015
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

1 participant