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

AssertionError when using keyboard shortcut for refresh button #258

Closed
welkinbai opened this issue Jan 4, 2017 · 4 comments
Closed

AssertionError when using keyboard shortcut for refresh button #258

welkinbai opened this issue Jan 4, 2017 · 4 comments
Labels

Comments

@welkinbai
Copy link

welkinbai commented Jan 4, 2017

I met exception when I pressed refresh shortcut key.
And I can not click review in gerrit tab.It is gray.However,I can use review in web browser when click Open in Gerrit

null
java.lang.AssertionError
	at com.intellij.openapi.actionSystem.AnActionEvent.getRequiredData(AnActionEvent.java:194)
	at com.urswolfer.intellij.plugin.gerrit.ui.action.RefreshAction.actionPerformed(RefreshAction.java:46)
	at com.urswolfer.intellij.plugin.gerrit.ui.action.RefreshAction$Proxy.actionPerformed(RefreshAction.java:60)
	at com.intellij.openapi.keymap.impl.IdeKeyEventDispatcher$3.performAction(IdeKeyEventDispatcher.java:595)
	at com.intellij.openapi.keymap.impl.IdeKeyEventDispatcher.processAction(IdeKeyEventDispatcher.java:646)
	at com.intellij.openapi.keymap.impl.IdeKeyEventDispatcher.d(IdeKeyEventDispatcher.java:361)
	at com.intellij.openapi.keymap.impl.IdeKeyEventDispatcher.e(IdeKeyEventDispatcher.java:297)
	at com.intellij.openapi.keymap.impl.IdeKeyEventDispatcher.dispatchKeyEvent(IdeKeyEventDispatcher.java:221)
	at com.intellij.ide.IdeEventQueue._dispatchEvent(IdeEventQueue.java:631)
	at com.intellij.ide.IdeEventQueue.dispatchEvent(IdeEventQueue.java:386)
	at java.awt.EventDispatchThread.pumpOneEventForFilters(EventDispatchThread.java:201)
	at java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:116)
	at java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:105)
	at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:101)
	at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:93)
	at java.awt.EventDispatchThread.run(EventDispatchThread.java:82)
@uwolfer
Copy link
Owner

uwolfer commented Jan 4, 2017

@welkinbai: Does this happen when you press a keyboard shortcut? Or does it happen when you press the button in the Gerrit toolwindow toolbar?

@welkinbai
Copy link
Author

press a keyboard shortcut.
my keymap:
image

@uwolfer
Copy link
Owner

uwolfer commented Jan 6, 2017

Does it work when you press the button instead of using the keyboard shortcut?

@welkinbai
Copy link
Author

yes,just press keyboard shortcut will meet exception. press button works well.

@uwolfer uwolfer changed the title exception AssertionError when using keyboard shortcut for refresh button Jan 9, 2017
@uwolfer uwolfer added the bug label Jan 9, 2017
uwolfer added a commit that referenced this issue Aug 10, 2017
- reloading failed when invoked outside of tool window

fixes issue #258
@uwolfer uwolfer closed this as completed Aug 10, 2017
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

2 participants