[301] Context menu on method

I just submitted 31641 to JIRA. Any time I right click to activate the context menu, ReSharper throws an exception and the Refactor item is not in the context menu. Perhaps this is an installation issue since I seem to be the only one reporting the issue? I also notice that I have both ReSharperAddIn2005... and ReSharperAddIn25... items in the Tools | Options keyboard shortcuts dialog.

JetBrains.ReSharper.Util.InternalErrorException: Field not found: 'JetBrains.ReSharper.DataConstants.TEXT_CONTROL'.
An exception has occurred during action 'AccessibilityAnalayzer.AnalyzeAccessibilityAction' update ---> System.MissingFieldException: Field not found: 'JetBrains.ReSharper.DataConstants.TEXT_CONTROL'.
at AccessibilityAnalayzer.AnalyzeAccessibilityAction.Update(IDataContext context, ActionPresentation presentation, DelegateUpdate nextUpdate)
at JetBrains.ReSharper.ActionManagement.UpdatableAction.Update(IDataContext context) in c:\Agent\work\ReSharper-Main\src\ActionManagement\src\Action\UpdatableAction.cs:line 66
--- End of inner exception stack trace ---

at JetBrains.ReSharper.Util.Logger.LogExceptionEx(Exception, String, Boolean) in c:\Agent\work\ReSharper-Main\src\Util\src\Logger.cs:line 350 column 9
at JetBrains.ReSharper.Util.Logger.LogException(String, Exception) in c:\Agent\work\ReSharper-Main\src\Util\src\Logger.cs:line 367 column 5
at JetBrains.ReSharper.ActionManagement.UpdatableAction.Update(IDataContext) in c:\Agent\work\ReSharper-Main\src\ActionManagement\src\Action\UpdatableAction.cs:line 71 column 11
at JetBrains.ReSharper.ActionManagement.ActionManagerBase.UpdateAction(IUpdatableAction) in c:\Agent\work\ReSharper-Main\src\ActionManagement\src\ActionManager\ActionManagerBase.cs:line 549 column 7
at JetBrains.VSAddin.ActionManagement.VSActionManager.QueryStatus(String, vsCommandStatusTextWanted, vsCommandStatus&, Object&) in c:\Agent\work\ReSharper-Main\src\VSAddin\src\ActionManagement\VSActionManager.cs:line 514 column 9
at JetBrains.VSAddin.AbstractAddIn.QueryStatus(String, vsCommandStatusTextWanted, vsCommandStatus&, Object&) in c:\Agent\work\ReSharper-Main\src\VSAddin\src\Connect.cs:line 267 column 7
at Microsoft.VisualStudio.OLE.Interop.IOleCommandTarget.Exec(Guid&, UInt32, UInt32, IntPtr, IntPtr)
at JetBrains.VSAddin.TextControl.MyCommandFilter.Exec(Guid&, UInt32, UInt32, IntPtr, IntPtr) in c:\Agent\work\ReSharper-Main\src\VSAddin\src\TextControl\VSTextControl.cs:line 591 column 13
at System.Windows.Forms.UnsafeNativeMethods.CallWindowProc(IntPtr, IntPtr, Int32, IntPtr, IntPtr)
at System.Windows.Forms.NativeWindow.DefWndProc(Message&)
at System.Windows.Forms.NativeWindow.WndProc(Message&)
at JetBrains.VSAddin.TextControl.VsEditorParentWindow.WndProc(Message&) in c:\Agent\work\ReSharper-Main\src\VSAddin\src\TextControl\Windows\VsEditorParentWindow.cs:line 225 column 11
at System.Windows.Forms.NativeWindow.DebuggableCallback(IntPtr, Int32, IntPtr, IntPtr)

1 comment
Comment actions Permalink

I seem to have resolved this issue. I first uninstalled ReSharper 2.5 build 301, went back into Visual Studio 2005, and confirmed that both ReSharperAddIn2005 and ReSharperAddIn25 stuff still existed.

I then installed ReSharper 2.0.2, and ran Visual Studio 2005 to confirm that 2.0.2 is working. When I uninstalled 2.0.2, all of the ReSharperAddIn2005 entries disappeared from the keyboard shortcuts, ReSharper disappeared from the list of plug-ins, but the ReSharper menu still existed.

I manually deleted the menu, closed Visual Studio, and reinstalled ReSharper 2.5. build 301. At this point, ReSharper seems to be working and the context menus are no longer causing an exception.

--


"Lothan" <lothan@newsguy.com> wrote in message news:ej68i9$7hj$1@is.intellij.net...
I just submitted 31641 to JIRA. Any time I right click to activate the context menu, ReSharper throws an exception and the Refactor item is not in the context menu. Perhaps this is an installation issue since I seem to be the only one reporting the issue? I also notice that I have both ReSharperAddIn2005... and ReSharperAddIn25... items in the Tools | Options keyboard shortcuts dialog.

JetBrains.ReSharper.Util.InternalErrorException: Field not found: 'JetBrains.ReSharper.DataConstants.TEXT_CONTROL'.
An exception has occurred during action 'AccessibilityAnalayzer.AnalyzeAccessibilityAction' update ---> System.MissingFieldException: Field not found: 'JetBrains.ReSharper.DataConstants.TEXT_CONTROL'.
at AccessibilityAnalayzer.AnalyzeAccessibilityAction.Update(IDataContext context, ActionPresentation presentation, DelegateUpdate nextUpdate)
at JetBrains.ReSharper.ActionManagement.UpdatableAction.Update(IDataContext context) in c:\Agent\work\ReSharper-Main\src\ActionManagement\src\Action\UpdatableAction.cs:line 66
--- End of inner exception stack trace ---

at JetBrains.ReSharper.Util.Logger.LogExceptionEx(Exception, String, Boolean) in c:\Agent\work\ReSharper-Main\src\Util\src\Logger.cs:line 350 column 9
at JetBrains.ReSharper.Util.Logger.LogException(String, Exception) in c:\Agent\work\ReSharper-Main\src\Util\src\Logger.cs:line 367 column 5
at JetBrains.ReSharper.ActionManagement.UpdatableAction.Update(IDataContext) in c:\Agent\work\ReSharper-Main\src\ActionManagement\src\Action\UpdatableAction.cs:line 71 column 11
at JetBrains.ReSharper.ActionManagement.ActionManagerBase.UpdateAction(IUpdatableAction) in c:\Agent\work\ReSharper-Main\src\ActionManagement\src\ActionManager\ActionManagerBase.cs:line 549 column 7
at JetBrains.VSAddin.ActionManagement.VSActionManager.QueryStatus(String, vsCommandStatusTextWanted, vsCommandStatus&, Object&) in c:\Agent\work\ReSharper-Main\src\VSAddin\src\ActionManagement\VSActionManager.cs:line 514 column 9
at JetBrains.VSAddin.AbstractAddIn.QueryStatus(String, vsCommandStatusTextWanted, vsCommandStatus&, Object&) in c:\Agent\work\ReSharper-Main\src\VSAddin\src\Connect.cs:line 267 column 7
at Microsoft.VisualStudio.OLE.Interop.IOleCommandTarget.Exec(Guid&, UInt32, UInt32, IntPtr, IntPtr)
at JetBrains.VSAddin.TextControl.MyCommandFilter.Exec(Guid&, UInt32, UInt32, IntPtr, IntPtr) in c:\Agent\work\ReSharper-Main\src\VSAddin\src\TextControl\VSTextControl.cs:line 591 column 13
at System.Windows.Forms.UnsafeNativeMethods.CallWindowProc(IntPtr, IntPtr, Int32, IntPtr, IntPtr)
at System.Windows.Forms.NativeWindow.DefWndProc(Message&)
at System.Windows.Forms.NativeWindow.WndProc(Message&)
at JetBrains.VSAddin.TextControl.VsEditorParentWindow.WndProc(Message&) in c:\Agent\work\ReSharper-Main\src\VSAddin\src\TextControl\Windows\VsEditorParentWindow.cs:line 225 column 11
at System.Windows.Forms.NativeWindow.DebuggableCallback(IntPtr, Int32, IntPtr, IntPtr)

0

Please sign in to leave a comment.