idea-php-symfony2-plugin icon indicating copy to clipboard operation
idea-php-symfony2-plugin copied to clipboard

Exception in plugin Symfony Support (0.23.213) - The method designed for fully qualified names only

Open mk-conn opened this issue 2 years ago • 1 comments

java.lang.Throwable: The method designed for fully qualified names only. Got "Shopware\Core\Framework\DataAbstractionLayer\Event\EntityLoadedEvent". at com.intellij.openapi.diagnostic.Logger.error(Logger.java:182) at com.jetbrains.php.util.PhpContractUtil.assertFqn(PhpContractUtil.java:19) at com.jetbrains.php.codeInsight.PhpCodeInsightUtil.doCreateQualifiedName(PhpCodeInsightUtil.java:1426) at com.jetbrains.php.codeInsight.PhpCodeInsightUtil.lambda$createQualifiedName$2(PhpCodeInsightUtil.java:1418) at com.jetbrains.php.lang.psi.resolve.types.PhpType.applyIntersectionTypesAware(PhpType.java:205) at com.jetbrains.php.codeInsight.PhpCodeInsightUtil.createQualifiedName(PhpCodeInsightUtil.java:1417) at com.jetbrains.php.codeInsight.PhpCodeInsightUtil.createQualifiedName(PhpCodeInsightUtil.java:1496) at com.jetbrains.php.codeInsight.PhpCodeInsightUtil.createQualifiedName(PhpCodeInsightUtil.java:1481) at fr.adrienbrault.idea.symfony2plugin.util.AnnotationBackportUtil.getQualifiedName(AnnotationBackportUtil.java:157) at fr.adrienbrault.idea.symfony2plugin.config.yaml.inspection.EventMethodCallInspection$MyCreateMethodQuickFix.importIfNecessary(EventMethodCallInspection.java:216) at fr.adrienbrault.idea.symfony2plugin.config.yaml.inspection.EventMethodCallInspection$MyCreateMethodQuickFix.lambda$getEventTypeHint$0(EventMethodCallInspection.java:211) at java.base/java.util.stream.ReferencePipeline$3$1.accept(ReferencePipeline.java:195) at java.base/java.util.Collections$2.tryAdvance(Collections.java:4747) at java.base/java.util.Collections$2.forEachRemaining(Collections.java:4755) at java.base/java.util.stream.AbstractPipeline.copyInto(AbstractPipeline.java:484) at java.base/java.util.stream.AbstractPipeline.wrapAndCopyInto(AbstractPipeline.java:474) at java.base/java.util.stream.ReduceOps$ReduceOp.evaluateSequential(ReduceOps.java:913) at java.base/java.util.stream.AbstractPipeline.evaluate(AbstractPipeline.java:234) at java.base/java.util.stream.ReferencePipeline.collect(ReferencePipeline.java:578) at fr.adrienbrault.idea.symfony2plugin.config.yaml.inspection.EventMethodCallInspection$MyCreateMethodQuickFix.getEventTypeHint(EventMethodCallInspection.java:212) at fr.adrienbrault.idea.symfony2plugin.config.yaml.inspection.EventMethodCallInspection$MyCreateMethodQuickFix.getStringBuilder(EventMethodCallInspection.java:183) at fr.adrienbrault.idea.symfony2plugin.codeInspection.quickfix.CreateMethodQuickFix.applyFix(CreateMethodQuickFix.java:61) at fr.adrienbrault.idea.symfony2plugin.codeInspection.quickfix.CreateMethodQuickFix.applyFix(CreateMethodQuickFix.java:25) at com.intellij.codeInspection.ex.QuickFixWrapper.invoke(QuickFixWrapper.java:74) at com.intellij.codeInsight.intention.impl.IntentionActionWithTextCaching$MyIntentionAction.lambda$invoke$0(IntentionActionWithTextCaching.java:229) at com.intellij.util.SlowOperations.allowSlowOperations(SlowOperations.java:147) at com.intellij.codeInsight.intention.impl.IntentionActionWithTextCaching$MyIntentionAction.invoke(IntentionActionWithTextCaching.java:229) at com.intellij.codeInsight.intention.impl.ShowIntentionActionsHandler.lambda$invokeIntention$4(ShowIntentionActionsHandler.java:263) at com.intellij.openapi.application.WriteAction.lambda$run$1(WriteAction.java:86) at com.intellij.openapi.application.impl.ApplicationImpl.runWriteActionWithClass(ApplicationImpl.java:935) at com.intellij.openapi.application.impl.ApplicationImpl.runWriteAction(ApplicationImpl.java:961) at com.intellij.openapi.application.WriteAction.run(WriteAction.java:85) at com.intellij.codeInsight.intention.impl.ShowIntentionActionsHandler.invokeIntention(ShowIntentionActionsHandler.java:263) at com.intellij.codeInsight.intention.impl.ShowIntentionActionsHandler.lambda$chooseActionAndInvoke$3(ShowIntentionActionsHandler.java:239) at com.intellij.openapi.command.impl.CoreCommandProcessor.executeCommand(CoreCommandProcessor.java:219) 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.intention.impl.ShowIntentionActionsHandler.chooseActionAndInvoke(ShowIntentionActionsHandler.java:238) at com.intellij.codeInsight.intention.impl.IntentionListStep.chooseActionAndInvoke(IntentionListStep.java:134) at com.intellij.codeInsight.intention.impl.IntentionListStep.lambda$applyAction$3(IntentionListStep.java:126) at com.intellij.openapi.application.TransactionGuardImpl.performUserActivity(TransactionGuardImpl.java:94) at com.intellij.ui.popup.AbstractPopup.lambda$dispose$18(AbstractPopup.java:1508) at com.intellij.util.ui.EdtInvocationManager.invokeLaterIfNeeded(EdtInvocationManager.java:101) at com.intellij.ide.IdeEventQueue.ifFocusEventsInTheQueue(IdeEventQueue.java:186) at com.intellij.ide.IdeEventQueue.executeWhenAllFocusEventsLeftTheQueue(IdeEventQueue.java:140) at com.intellij.openapi.wm.impl.FocusManagerImpl.doWhenFocusSettlesDown(FocusManagerImpl.java:175) at com.intellij.openapi.wm.impl.IdeFocusManagerImpl.doWhenFocusSettlesDown(IdeFocusManagerImpl.java:36) at com.intellij.ui.popup.AbstractPopup.dispose(AbstractPopup.java:1505) at com.intellij.ui.popup.WizardPopup.dispose(WizardPopup.java:164) at com.intellij.ui.popup.list.ListPopupImpl.dispose(ListPopupImpl.java:326) at com.intellij.openapi.util.ObjectTree.runWithTrace(ObjectTree.java:139) at com.intellij.openapi.util.ObjectTree.executeAll(ObjectTree.java:169) at com.intellij.openapi.util.Disposer.dispose(Disposer.java:217) at com.intellij.openapi.util.Disposer.dispose(Disposer.java:205) at com.intellij.ui.popup.WizardPopup.disposeAllParents(WizardPopup.java:268) at com.intellij.ui.popup.list.ListPopupImpl.handleNextStep(ListPopupImpl.java:433) at com.intellij.ui.popup.list.ListPopupImpl._handleSelect(ListPopupImpl.java:405) at com.intellij.ui.popup.list.ListPopupImpl.handleSelect(ListPopupImpl.java:356) at com.intellij.ui.popup.list.ListPopupImpl$1.actionPerformed(ListPopupImpl.java:270) at com.intellij.ui.popup.WizardPopup.proceedKeyEvent(WizardPopup.java:380) at com.intellij.ui.popup.WizardPopup.dispatch(WizardPopup.java:356) at com.intellij.ui.popup.PopupDispatcher.dispatchKeyEvent(PopupDispatcher.java:112) at com.intellij.ui.popup.PopupDispatcher.dispatch(PopupDispatcher.java:148) at com.intellij.ide.IdePopupManager.dispatch(IdePopupManager.java:101) at com.intellij.ide.IdeEventQueue._dispatchEvent(IdeEventQueue.java:724) 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)

mk-conn avatar Jan 10 '22 15:01 mk-conn

Exception was thrown when the method 'onProductLoadedEvent' was created using the PHPStorm action: image

mk-conn avatar Jan 10 '22 15:01 mk-conn