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

MySelectInContext.getFileEditorProvider must not return null #10

Open
Mpdreamz opened this issue Mar 20, 2017 · 1 comment
Open

MySelectInContext.getFileEditorProvider must not return null #10

Mpdreamz opened this issue Mar 20, 2017 · 1 comment

Comments

@Mpdreamz
Copy link

@NotNull method luonq/MySelectInContext.getFileEditorProvider must not return null
java.lang.IllegalStateException: @NotNull method luonq/MySelectInContext.getFileEditorProvider must not return null
at luonq.MySelectInContext.getFileEditorProvider(MySelectInContext.java:45)
at com.jetbrains.resharper.projectView.solutionExplorer.SolutionExplorerSelectInTarget.selectIn(SolutionExplorerSelectInTarget.kt:41)
at luonq.ScrollFromSource.scrollFromFile(ScrollFromSource.java:52)
at luonq.ScrollFromSource.selectElementAtCaret(ScrollFromSource.java:41)
at luonq.ScrollFromSource.actionPerformed(ScrollFromSource.java:33)
at com.intellij.openapi.actionSystem.ex.ActionUtil$1.run(ActionUtil.java:208)
at com.intellij.openapi.actionSystem.ex.ActionUtil.performActionDumbAware(ActionUtil.java:224)
at com.intellij.openapi.keymap.impl.IdeKeyEventDispatcher$1.performAction(IdeKeyEventDispatcher.java:570)
at com.intellij.openapi.keymap.impl.IdeKeyEventDispatcher.lambda$processAction$2(IdeKeyEventDispatcher.java:619)
at com.intellij.openapi.application.TransactionGuardImpl.performUserActivity(TransactionGuardImpl.java:202)
at com.intellij.openapi.keymap.impl.IdeKeyEventDispatcher.processAction(IdeKeyEventDispatcher.java:618)
at com.intellij.openapi.keymap.impl.IdeKeyEventDispatcher.inInitState(IdeKeyEventDispatcher.java:477)
at com.intellij.openapi.keymap.impl.IdeKeyEventDispatcher.dispatchKeyEvent(IdeKeyEventDispatcher.java:211)
at com.intellij.ide.IdeEventQueue._dispatchEvent(IdeEventQueue.java:633)
at com.intellij.ide.IdeEventQueue.dispatchEvent(IdeEventQueue.java:365)
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)

@SugoiDev
Copy link

To fix, you need to remove the @NotNull attribute from the getFileEditorProvider() method.
I'm attaching a fixed version here.

ScrollFromSource-1.1.4 (CUSTOM SUGOI).zip

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

2 participants