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

Exception: Unexpected caret move request #121

Closed
pedrosland opened this issue Feb 3, 2017 · 0 comments
Closed

Exception: Unexpected caret move request #121

pedrosland opened this issue Feb 3, 2017 · 0 comments

Comments

@pedrosland
Copy link

pedrosland commented Feb 3, 2017

Unfortunately I'm not quite sure what I did to get this issue. I tried a few things but I was unable to preproduce. Feel free to close.

I wasn't intending to use ace jump at the time but I did see the dark blue of the ace jump prompt. I may have pressed ctrl+left arrow at the time where I would usually enter a letter but I'm unsure as I didn't mean to press anything.

Intellij version:
IntelliJ IDEA 2016.3.4
Build #IU-163.12024.16, built on January 31, 2017
JRE: 1.8.0_112-release-408-b6 amd64
JVM: OpenJDK 64-Bit Server VM by JetBrains s.r.o

AceJump version: 3.1.6

OS: Fedora 25

Here are the last couple of lines from the log:

2017-02-03 11:51:41,437 [5738803]  ERROR - .openapi.editor.impl.CaretImpl - IdeaLoggingEvent[message=Unexpected caret move request, throwable=java.lang.Throwable
	at com.intellij.diagnostic.LogMessageEx.error(LogMessageEx.java:116)
	at com.intellij.openapi.editor.impl.CaretImpl.moveToLogicalPosition(CaretImpl.java:707)
	at com.intellij.openapi.editor.impl.CaretImpl.a(CaretImpl.java:214)
	at com.intellij.openapi.editor.impl.CaretModelImpl.doWithCaretMerging(CaretModelImpl.java:439)
	at com.intellij.openapi.editor.impl.CaretImpl.moveToOffset(CaretImpl.java:212)
	at com.intellij.openapi.editor.impl.CaretImpl.moveToOffset(CaretImpl.java:202)
	at com.intellij.openapi.editor.impl.EditorImpl.reinitSettings(EditorImpl.java:882)
	at com.intellij.openapi.editor.impl.SettingsImpl.b(SettingsImpl.java:667)
	at com.intellij.openapi.editor.impl.SettingsImpl.setBlinkCaret(SettingsImpl.java:534)
	at com.johnlindquist.acejump.ui.AceUI.restoreEditorSettings(AceUI.kt:99)
	at com.johnlindquist.acejump.KeyboardHandler.resetUIState(KeyboardHandler.kt:157)
	at com.johnlindquist.acejump.KeyboardHandler.reset(KeyboardHandler.kt:136)
	at com.johnlindquist.acejump.KeyboardHandler$resetIfCaretPositionChanged$1.caretPositionChanged(KeyboardHandler.kt:71)
	at sun.reflect.GeneratedMethodAccessor34.invoke(Unknown Source)
	at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
	at java.lang.reflect.Method.invoke(Method.java:498)
	at com.intellij.util.EventDispatcher.dispatch(EventDispatcher.java:99)
	at com.intellij.util.EventDispatcher.access$200(EventDispatcher.java:35)
	at com.intellij.util.EventDispatcher$2.invoke(EventDispatcher.java:79)
	at com.sun.proxy.$Proxy27.caretPositionChanged(Unknown Source)
	at com.intellij.openapi.editor.impl.CaretModelImpl.fireCaretPositionChanged(CaretModelImpl.java:524)
	at com.intellij.openapi.editor.impl.CaretImpl.a(CaretImpl.java:588)
	at com.intellij.openapi.editor.impl.CaretImpl.moveToLogicalPosition(CaretImpl.java:715)
	at com.intellij.openapi.editor.impl.CaretImpl.c(CaretImpl.java:431)
	at com.intellij.openapi.editor.impl.CaretModelImpl.doWithCaretMerging(CaretModelImpl.java:439)
	at com.intellij.openapi.editor.impl.CaretImpl.moveToLogicalPosition(CaretImpl.java:431)
	at com.intellij.openapi.editor.impl.CaretModelImpl.moveToLogicalPosition(CaretModelImpl.java:132)
	at com.intellij.openapi.editor.actions.EditorActionUtil.moveCaretToPreviousWord(EditorActionUtil.java:773)
	at com.intellij.openapi.editor.actions.NextPrevWordHandler.doExecute(NextPrevWordHandler.java:61)
	at com.intellij.openapi.editor.actionSystem.EditorActionHandler$3$1.perform(EditorActionHandler.java:206)
	at com.intellij.openapi.editor.actionSystem.EditorActionHandler.doIfEnabled(EditorActionHandler.java:109)
	at com.intellij.openapi.editor.actionSystem.EditorActionHandler.access$000(EditorActionHandler.java:38)
	at com.intellij.openapi.editor.actionSystem.EditorActionHandler$3.perform(EditorActionHandler.java:203)
	at com.intellij.openapi.editor.impl.CaretModelImpl.a(CaretModelImpl.java:355)
	at com.intellij.openapi.editor.impl.CaretModelImpl.doWithCaretMerging(CaretModelImpl.java:444)
	at com.intellij.openapi.editor.impl.CaretModelImpl.runForEachCaret(CaretModelImpl.java:347)
	at com.intellij.openapi.editor.impl.CaretModelImpl.runForEachCaret(CaretModelImpl.java:338)
	at com.intellij.openapi.editor.actionSystem.EditorActionHandler.execute(EditorActionHandler.java:200)
	at com.intellij.openapi.editor.actionSystem.EditorAction.lambda$actionPerformed$0(EditorAction.java:95)
	at com.intellij.openapi.command.impl.CoreCommandProcessor.a(CoreCommandProcessor.java:149)
	at com.intellij.openapi.command.impl.CoreCommandProcessor.executeCommand(CoreCommandProcessor.java:109)
	at com.intellij.openapi.editor.actionSystem.EditorAction.actionPerformed(EditorAction.java:104)
	at com.intellij.openapi.editor.actionSystem.EditorAction.actionPerformed(EditorAction.java:83)
	at com.intellij.openapi.actionSystem.ex.ActionUtil$1.run(ActionUtil.java:199)
	at com.intellij.openapi.actionSystem.ex.ActionUtil.performActionDumbAware(ActionUtil.java:215)
	at com.intellij.openapi.keymap.impl.IdeKeyEventDispatcher$1.performAction(IdeKeyEventDispatcher.java:587)
	at com.intellij.openapi.keymap.impl.IdeKeyEventDispatcher.a(IdeKeyEventDispatcher.java:634)
	at com.intellij.openapi.application.TransactionGuardImpl.performUserActivity(TransactionGuardImpl.java:204)
	at com.intellij.openapi.keymap.impl.IdeKeyEventDispatcher.processAction(IdeKeyEventDispatcher.java:633)
	at com.intellij.openapi.keymap.impl.IdeKeyEventDispatcher.e(IdeKeyEventDispatcher.java:477)
	at com.intellij.openapi.keymap.impl.IdeKeyEventDispatcher.dispatchKeyEvent(IdeKeyEventDispatcher.java:211)
	at com.intellij.ide.IdeEventQueue._dispatchEvent(IdeEventQueue.java:657)
	at com.intellij.ide.IdeEventQueue.dispatchEvent(IdeEventQueue.java:391)
	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)
] 
2017-02-03 11:52:39,114 [5796480]  ERROR - .openapi.editor.impl.CaretImpl - IdeaLoggingEvent[message=Unexpected caret move request, throwable=java.lang.Throwable
	at com.intellij.diagnostic.LogMessageEx.error(LogMessageEx.java:116)
	at com.intellij.openapi.editor.impl.CaretImpl.moveToLogicalPosition(CaretImpl.java:707)
	at com.intellij.openapi.editor.impl.CaretImpl.a(CaretImpl.java:214)
	at com.intellij.openapi.editor.impl.CaretModelImpl.doWithCaretMerging(CaretModelImpl.java:439)
	at com.intellij.openapi.editor.impl.CaretImpl.moveToOffset(CaretImpl.java:212)
	at com.intellij.openapi.editor.impl.CaretImpl.moveToOffset(CaretImpl.java:202)
	at com.intellij.openapi.editor.impl.EditorImpl.reinitSettings(EditorImpl.java:882)
	at com.intellij.openapi.editor.impl.SettingsImpl.b(SettingsImpl.java:667)
	at com.intellij.openapi.editor.impl.SettingsImpl.setBlinkCaret(SettingsImpl.java:534)
	at com.johnlindquist.acejump.ui.AceUI.restoreEditorSettings(AceUI.kt:99)
	at com.johnlindquist.acejump.KeyboardHandler.resetUIState(KeyboardHandler.kt:157)
	at com.johnlindquist.acejump.KeyboardHandler.reset(KeyboardHandler.kt:136)
	at com.johnlindquist.acejump.KeyboardHandler$resetIfCaretPositionChanged$1.caretPositionChanged(KeyboardHandler.kt:71)
	at sun.reflect.GeneratedMethodAccessor34.invoke(Unknown Source)
	at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
	at java.lang.reflect.Method.invoke(Method.java:498)
	at com.intellij.util.EventDispatcher.dispatch(EventDispatcher.java:99)
	at com.intellij.util.EventDispatcher.access$200(EventDispatcher.java:35)
	at com.intellij.util.EventDispatcher$2.invoke(EventDispatcher.java:79)
	at com.sun.proxy.$Proxy27.caretPositionChanged(Unknown Source)
	at com.intellij.openapi.editor.impl.CaretModelImpl.fireCaretPositionChanged(CaretModelImpl.java:524)
	at com.intellij.openapi.editor.impl.CaretImpl.a(CaretImpl.java:588)
	at com.intellij.openapi.editor.impl.CaretImpl.moveToLogicalPosition(CaretImpl.java:715)
	at com.intellij.openapi.editor.impl.CaretImpl.c(CaretImpl.java:431)
	at com.intellij.openapi.editor.impl.CaretModelImpl.doWithCaretMerging(CaretModelImpl.java:439)
	at com.intellij.openapi.editor.impl.CaretImpl.moveToLogicalPosition(CaretImpl.java:431)
	at com.intellij.openapi.editor.impl.CaretModelImpl.moveToLogicalPosition(CaretModelImpl.java:132)
	at com.intellij.openapi.editor.actions.EditorActionUtil.moveCaretToPreviousWord(EditorActionUtil.java:773)
	at com.intellij.openapi.editor.actions.NextPrevWordHandler.doExecute(NextPrevWordHandler.java:61)
	at com.intellij.openapi.editor.actionSystem.EditorActionHandler$3$1.perform(EditorActionHandler.java:206)
	at com.intellij.openapi.editor.actionSystem.EditorActionHandler.doIfEnabled(EditorActionHandler.java:109)
	at com.intellij.openapi.editor.actionSystem.EditorActionHandler.access$000(EditorActionHandler.java:38)
	at com.intellij.openapi.editor.actionSystem.EditorActionHandler$3.perform(EditorActionHandler.java:203)
	at com.intellij.openapi.editor.impl.CaretModelImpl.a(CaretModelImpl.java:355)
	at com.intellij.openapi.editor.impl.CaretModelImpl.doWithCaretMerging(CaretModelImpl.java:444)
	at com.intellij.openapi.editor.impl.CaretModelImpl.runForEachCaret(CaretModelImpl.java:347)
	at com.intellij.openapi.editor.impl.CaretModelImpl.runForEachCaret(CaretModelImpl.java:338)
	at com.intellij.openapi.editor.actionSystem.EditorActionHandler.execute(EditorActionHandler.java:200)
	at com.intellij.openapi.editor.actionSystem.EditorAction.lambda$actionPerformed$0(EditorAction.java:95)
	at com.intellij.openapi.command.impl.CoreCommandProcessor.a(CoreCommandProcessor.java:149)
	at com.intellij.openapi.command.impl.CoreCommandProcessor.executeCommand(CoreCommandProcessor.java:109)
	at com.intellij.openapi.editor.actionSystem.EditorAction.actionPerformed(EditorAction.java:104)
	at com.intellij.openapi.editor.actionSystem.EditorAction.actionPerformed(EditorAction.java:83)
	at com.intellij.openapi.actionSystem.ex.ActionUtil$1.run(ActionUtil.java:199)
	at com.intellij.openapi.actionSystem.ex.ActionUtil.performActionDumbAware(ActionUtil.java:215)
	at com.intellij.openapi.keymap.impl.IdeKeyEventDispatcher$1.performAction(IdeKeyEventDispatcher.java:587)
	at com.intellij.openapi.keymap.impl.IdeKeyEventDispatcher.a(IdeKeyEventDispatcher.java:634)
	at com.intellij.openapi.application.TransactionGuardImpl.performUserActivity(TransactionGuardImpl.java:204)
	at com.intellij.openapi.keymap.impl.IdeKeyEventDispatcher.processAction(IdeKeyEventDispatcher.java:633)
	at com.intellij.openapi.keymap.impl.IdeKeyEventDispatcher.e(IdeKeyEventDispatcher.java:477)
	at com.intellij.openapi.keymap.impl.IdeKeyEventDispatcher.dispatchKeyEvent(IdeKeyEventDispatcher.java:211)
	at com.intellij.ide.IdeEventQueue._dispatchEvent(IdeEventQueue.java:657)
	at com.intellij.ide.IdeEventQueue.dispatchEvent(IdeEventQueue.java:391)
	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)
] 
2017-02-03 11:52:45,070 [5802436]   WARN - om.intellij.util.ProfilingUtil - Profiling agent is not enabled. Add -agentlib:yjpagent to idea.vmoptions if necessary to profile IDEA. 
2017-02-03 11:52:45,805 [5803171]   INFO - .script.IdeScriptEngineManager - javax.script.ScriptEngineManager initialized in 738 ms 

Thanks for the great plugin.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant