lpflpf / redis4idea

feedback 4 redis plugin
Other
0 stars 0 forks source link

The default implementation of method 'getFile' is deprecated #2

Closed mirocle closed 2 years ago

mirocle commented 2 years ago

com.intellij.diagnostic.PluginException: The default implementation of method 'getFile' is deprecated, you need to override it in 'class org.lpflpf.tools.redis.view.redisstring.RedisStringDataEditor'. A proper @NotNull implementation required [Plugin: Redis] at com.intellij.ide.plugins.PluginManagerCore.createPluginException(PluginManagerCore.java:270) at com.intellij.diagnostic.PluginProblemReporterImpl.createPluginExceptionByClass(PluginProblemReporterImpl.java:12) at com.intellij.diagnostic.PluginException.createByClass(PluginException.java:83) at com.intellij.diagnostic.PluginException.reportDeprecatedDefault(PluginException.java:110) at com.intellij.openapi.fileEditor.FileEditor.getFile(FileEditor.java:127) at com.intellij.openapi.fileEditor.impl.IdeDocumentHistoryImpl.createPlaceInfo(IdeDocumentHistoryImpl.java:608) at com.intellij.openapi.fileEditor.impl.IdeDocumentHistoryImpl.getCurrentPlaceInfo(IdeDocumentHistoryImpl.java:291) at com.intellij.openapi.fileEditor.impl.IdeDocumentHistoryImpl.onCommandStarted(IdeDocumentHistoryImpl.java:279) at com.intellij.openapi.fileEditor.impl.IdeDocumentHistoryImpl$3.commandStarted(IdeDocumentHistoryImpl.java:121) at com.intellij.util.messages.impl.MessageBusImpl.invokeMethod(MessageBusImpl.java:645) at com.intellij.util.messages.impl.MessageBusImpl.invokeListener(MessageBusImpl.java:620) at com.intellij.util.messages.impl.MessageBusImpl.access$300(MessageBusImpl.java:33) at com.intellij.util.messages.impl.MessageBusImpl$MessagePublisher.executeOrAddToQueue(MessageBusImpl.java:208) at com.intellij.util.messages.impl.CompositeMessageBus$ToDirectChildrenMessagePublisher.publish(CompositeMessageBus.java:125) at com.intellij.util.messages.impl.MessageBusImpl$MessagePublisher.invoke(MessageBusImpl.java:166) at com.sun.proxy.$Proxy58.commandStarted(Unknown Source) at com.intellij.openapi.command.impl.CoreCommandProcessor.fireCommandStarted(CoreCommandProcessor.java:428) at com.intellij.openapi.command.impl.CoreCommandProcessor.executeCommand(CoreCommandProcessor.java:218) at com.intellij.openapi.command.impl.CoreCommandProcessor.executeCommand(CoreCommandProcessor.java:174) at com.intellij.openapi.command.impl.CoreCommandProcessor.executeCommand(CoreCommandProcessor.java:164) at com.intellij.openapi.command.impl.CoreCommandProcessor.executeCommand(CoreCommandProcessor.java:150) at com.intellij.codeInsight.navigation.NavigationUtil.openFileWithPsiElement(NavigationUtil.java:170) at com.intellij.ide.projectView.impl.nodes.AbstractPsiBasedNode.navigate(AbstractPsiBasedNode.java:276) at com.intellij.ide.projectView.impl.nodes.AbstractPsiBasedNode.navigate(AbstractPsiBasedNode.java:286) at com.intellij.ide.projectView.impl.nodes.PsiFileNode.navigate(PsiFileNode.java:116) at com.intellij.util.OpenSourceUtil.navigateToSource(OpenSourceUtil.java:119) at com.intellij.util.OpenSourceUtil.navigate(OpenSourceUtil.java:74) at com.intellij.util.OpenSourceUtil.navigate(OpenSourceUtil.java:58) at com.intellij.util.OpenSourceUtil.navigate(OpenSourceUtil.java:51) at com.intellij.util.OpenSourceUtil.openSourcesFrom(OpenSourceUtil.java:19) at com.intellij.util.EditSourceOnDoubleClickHandler$TreeMouseListener.processDoubleClick(EditSourceOnDoubleClickHandler.java:172) at com.intellij.util.EditSourceOnDoubleClickHandler$TreeMouseListener.onDoubleClick(EditSourceOnDoubleClickHandler.java:166) at com.intellij.ui.DoubleClickListener.onClick(DoubleClickListener.java:30) at com.intellij.ui.ClickListener$1.mouseReleased(ClickListener.java:59) at java.desktop/java.awt.AWTEventMulticaster.mouseReleased(AWTEventMulticaster.java:298) at java.desktop/java.awt.AWTEventMulticaster.mouseReleased(AWTEventMulticaster.java:297) at java.desktop/java.awt.AWTEventMulticaster.mouseReleased(AWTEventMulticaster.java:297) at java.desktop/java.awt.AWTEventMulticaster.mouseReleased(AWTEventMulticaster.java:297) at java.desktop/java.awt.Component.processMouseEvent(Component.java:6654) at java.desktop/javax.swing.JComponent.processMouseEvent(JComponent.java:3345) at com.intellij.ui.treeStructure.Tree.processMouseEvent(Tree.java:394) at com.intellij.ide.dnd.aware.DnDAwareTree.processMouseEvent(DnDAwareTree.java:44) at java.desktop/java.awt.Component.processEvent(Component.java:6419) at java.desktop/java.awt.Container.processEvent(Container.java:2263) at java.desktop/java.awt.Component.dispatchEventImpl(Component.java:5029) at java.desktop/java.awt.Container.dispatchEventImpl(Container.java:2321) at java.desktop/java.awt.Component.dispatchEvent(Component.java:4861) at java.desktop/java.awt.LightweightDispatcher.retargetMouseEvent(Container.java:4918) at java.desktop/java.awt.LightweightDispatcher.processMouseEvent(Container.java:4547) at java.desktop/java.awt.LightweightDispatcher.dispatchEvent(Container.java:4488) at java.desktop/java.awt.Container.dispatchEventImpl(Container.java:2307) at java.desktop/java.awt.Window.dispatchEventImpl(Window.java:2790) at java.desktop/java.awt.Component.dispatchEvent(Component.java:4861) at java.desktop/java.awt.EventQueue.dispatchEventImpl(EventQueue.java:778) at java.desktop/java.awt.EventQueue$4.run(EventQueue.java:727) at java.desktop/java.awt.EventQueue$4.run(EventQueue.java:721) at java.base/java.security.AccessController.doPrivileged(Native Method) at java.base/java.security.ProtectionDomain$JavaSecurityAccessImpl.doIntersectionPrivilege(ProtectionDomain.java:85) at java.base/java.security.ProtectionDomain$JavaSecurityAccessImpl.doIntersectionPrivilege(ProtectionDomain.java:95) at java.desktop/java.awt.EventQueue$5.run(EventQueue.java:751) at java.desktop/java.awt.EventQueue$5.run(EventQueue.java:749) at java.base/java.security.AccessController.doPrivileged(Native Method) at java.base/java.security.ProtectionDomain$JavaSecurityAccessImpl.doIntersectionPrivilege(ProtectionDomain.java:85) at java.desktop/java.awt.EventQueue.dispatchEvent(EventQueue.java:748) at com.intellij.ide.IdeEventQueue.defaultDispatchEvent(IdeEventQueue.java:891) at com.intellij.ide.IdeEventQueue.dispatchMouseEvent(IdeEventQueue.java:820) at com.intellij.ide.IdeEventQueue._dispatchEvent(IdeEventQueue.java:757) at com.intellij.ide.IdeEventQueue.lambda$dispatchEvent$6(IdeEventQueue.java:447) at com.intellij.openapi.progress.impl.CoreProgressManager.computePrioritized(CoreProgressManager.java:818) at com.intellij.ide.IdeEventQueue.lambda$dispatchEvent$7(IdeEventQueue.java:446) at com.intellij.openapi.application.impl.ApplicationImpl.runIntendedWriteActionOnCurrentThread(ApplicationImpl.java:805) at com.intellij.ide.IdeEventQueue.dispatchEvent(IdeEventQueue.java:498) at java.desktop/java.awt.EventDispatchThread.pumpOneEventForFilters(EventDispatchThread.java:203) at java.desktop/java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:124) at java.desktop/java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:113) at java.desktop/java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:109) at java.desktop/java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:101) at java.desktop/java.awt.EventDispatchThread.run(EventDispatchThread.java:90)

elison22 commented 2 years ago

Yeah I get this from time to time also. Pops up probably once every 15-30 minutes.

lpflpf commented 2 years ago

Which jetbrains product did you use?

like this:

PhpStorm 2022.1.2 Build #PS-221.5787.33, built on June 1, 2022

elison22 commented 2 years ago

Rider 2022.1.2 Build #RD-221.5787.36, build on June 1, 2022

lpflpf commented 2 years ago

thanks.

it will fix in 1.1.3 after two days.

elison22 commented 2 years ago

Awesome thank you! Again I appreciate your responsiveness 👍🏻

On Tue, Jun 28, 2022, 7:50 PM huber @.***> wrote:

thanks.

it will fix in 1.1.3 after two days.

— Reply to this email directly, view it on GitHub https://github.com/lpflpf/redis4idea/issues/2#issuecomment-1169447394, or unsubscribe https://github.com/notifications/unsubscribe-auth/ACHFVAV2XLPDFZS3WWUMMCTVROTWLANCNFSM5LYJVJIA . You are receiving this because you commented.Message ID: @.***>