krasa / MavenHelper

IntelliJ plugin - https://plugins.jetbrains.com/plugin/7179
Apache License 2.0
254 stars 92 forks source link

A proper @NotNull implementation required #102

Closed sabeerAbdulKhadir closed 1 year ago

sabeerAbdulKhadir commented 1 year ago

Don't remember what was the trigger, but I noticed this in the IDE error cpnsole. Thought of letting the creator know.

com.intellij.diagnostic.PluginException: The default implementation of method 'getFile' is deprecated, you need to override it in 'class krasa.mavenhelper.analyzer.UIFormEditor'. A proper @NotNull implementation required [Plugin: MavenRunHelper] at com.intellij.diagnostic.PluginProblemReporterImpl.createPluginExceptionByClass(PluginProblemReporterImpl.java:23) 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:136) at com.intellij.docker.composeFile.ComposeFileRunLineMarkerProvider$Refresher.lambda$restartDaemon$0(ComposeFileRunLineMarkerProvider.java:374) at java.base/java.util.Spliterators$ArraySpliterator.forEachRemaining(Spliterators.java:992) at java.base/java.util.stream.ReferencePipeline$Head.forEach(ReferencePipeline.java:762) at com.intellij.docker.composeFile.ComposeFileRunLineMarkerProvider$Refresher.lambda$restartDaemon$1(ComposeFileRunLineMarkerProvider.java:373) at com.intellij.openapi.application.ActionsKt.runInEdt(actions.kt:51) at com.intellij.docker.composeFile.ComposeFileRunLineMarkerProvider$Refresher.lambda$restartDaemon$2(ComposeFileRunLineMarkerProvider.java:372) at com.intellij.util.ui.update.Update$1.run(Update.java:109) at com.intellij.util.ui.update.MergingUpdateQueue.execute(MergingUpdateQueue.java:334) at com.intellij.util.ui.update.MergingUpdateQueue.execute(MergingUpdateQueue.java:324) at com.intellij.util.ui.update.MergingUpdateQueue.doExecute(MergingUpdateQueue.java:281) at com.intellij.util.ui.update.MergingUpdateQueue.lambda$flush$1(MergingUpdateQueue.java:261) at com.intellij.util.ui.EdtInvocationManager.invokeAndWaitIfNeeded(EdtInvocationManager.java:80) at com.intellij.util.ui.update.MergingUpdateQueue.flush(MergingUpdateQueue.java:261) at com.intellij.util.ui.update.MergingUpdateQueue.run(MergingUpdateQueue.java:238) at com.intellij.util.concurrency.QueueProcessor.runSafely(QueueProcessor.java:241) at com.intellij.util.Alarm$Request.runSafely(Alarm.java:377) at com.intellij.util.Alarm$Request.run(Alarm.java:366) at java.base/java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:539) at java.base/java.util.concurrent.FutureTask.run(FutureTask.java:264) at com.intellij.util.concurrency.SchedulingWrapper$MyScheduledFutureTask.run(SchedulingWrapper.java:272) at com.intellij.openapi.application.TransactionGuardImpl.runWithWritingAllowed(TransactionGuardImpl.java:209) at com.intellij.openapi.application.TransactionGuardImpl.access$100(TransactionGuardImpl.java:21) at com.intellij.openapi.application.TransactionGuardImpl$1.run(TransactionGuardImpl.java:191) at com.intellij.openapi.application.impl.ApplicationImpl.runIntendedWriteActionOnCurrentThread(ApplicationImpl.java:838) at com.intellij.openapi.application.impl.ApplicationImpl$3.run(ApplicationImpl.java:454) at com.intellij.openapi.application.impl.FlushQueue.doRun(FlushQueue.java:74) at com.intellij.openapi.application.impl.FlushQueue.runNextEvent(FlushQueue.java:114) at com.intellij.openapi.application.impl.FlushQueue.flushNow(FlushQueue.java:36) at java.desktop/java.awt.event.InvocationEvent.dispatch(InvocationEvent.java:318) at java.desktop/java.awt.EventQueue.dispatchEventImpl(EventQueue.java:779) at java.desktop/java.awt.EventQueue$4.run(EventQueue.java:730) at java.desktop/java.awt.EventQueue$4.run(EventQueue.java:724) at java.base/java.security.AccessController.doPrivileged(AccessController.java:399) at java.base/java.security.ProtectionDomain$JavaSecurityAccessImpl.doIntersectionPrivilege(ProtectionDomain.java:86) at java.desktop/java.awt.EventQueue.dispatchEvent(EventQueue.java:749) at com.intellij.ide.IdeEventQueue.defaultDispatchEvent(IdeEventQueue.java:909) at com.intellij.ide.IdeEventQueue._dispatchEvent(IdeEventQueue.java:756) at com.intellij.ide.IdeEventQueue.lambda$dispatchEvent$5(IdeEventQueue.java:437) at com.intellij.openapi.progress.impl.CoreProgressManager.computePrioritized(CoreProgressManager.java:787) at com.intellij.ide.IdeEventQueue.lambda$dispatchEvent$6(IdeEventQueue.java:436) at com.intellij.openapi.application.TransactionGuardImpl.performActivity(TransactionGuardImpl.java:105) at com.intellij.ide.IdeEventQueue.performActivity(IdeEventQueue.java:615) at com.intellij.ide.IdeEventQueue.lambda$dispatchEvent$7(IdeEventQueue.java:434) at com.intellij.openapi.application.impl.ApplicationImpl.runIntendedWriteActionOnCurrentThread(ApplicationImpl.java:838) at com.intellij.ide.IdeEventQueue.dispatchEvent(IdeEventQueue.java:480) at java.desktop/java.awt.EventDispatchThread.pumpOneEventForFilters(EventDispatchThread.java:207) at java.desktop/java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:128) at java.desktop/java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:117) at java.desktop/java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:113) at java.desktop/java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:105) at java.desktop/java.awt.EventDispatchThread.run(EventDispatchThread.java:92)

krasa commented 1 year ago

Already been fixed, please update.