enriquepiatti / Magicento

PHPStorm plugin for Magento developers
115 stars 35 forks source link

After Installation the plugin Shows Fatal Error #207

Closed vy-shmal closed 7 years ago

vy-shmal commented 7 years ago

Hi , i just installed the plugin and got this error

Error Message com.jetbrains.php.lang.psi.elements.ExtendsList.getReferenceElement()Lcom/jetbrains/php/lang/psi/elements/ClassReference;

`com.jetbrains.php.lang.psi.elements.ExtendsList.getReferenceElement()Lcom/jetbrains/php/lang/psi/elements/ClassReference; java.lang.NoSuchMethodError: com.jetbrains.php.lang.psi.elements.ExtendsList.getReferenceElement()Lcom/jetbrains/php/lang/psi/elements/ClassReference; at com.magicento.models.xml.config.MagentoConfigXml.checkRewriteConflicts(MagentoConfigXml.java:189) at com.magicento.models.xml.config.MagentoConfigXml.checkConfigXml(MagentoConfigXml.java:80) at com.magicento.models.xml.config.MagentoConfigXml.getMergedXml(MagentoConfigXml.java:70) at com.magicento.models.xml.MagentoXml.getMergedXmlFile(MagentoXml.java:277) at com.magicento.MagicentoProjectComponent.getCachedXml(MagicentoProjectComponent.java:229) at com.magicento.MagicentoProjectComponent.getCachedConfigXml(MagicentoProjectComponent.java:177) at com.magicento.models.xml.layout.MagentoLayoutXml.getAllActiveXmlLayoutNames(MagentoLayoutXml.java:128) at com.magicento.models.xml.layout.MagentoLayoutXml.getMergedXml(MagentoLayoutXml.java:99) at com.magicento.models.xml.MagentoXml.getMergedXmlFile(MagentoXml.java:277) at com.magicento.models.xml.layout.MagentoLayoutXml.getMergedXmlDocument(MagentoLayoutXml.java:506) at com.magicento.MagicentoProjectComponent.getCachedLayoutXmlDocument(MagicentoProjectComponent.java:206) at com.magicento.models.layout.Template.getBlockElements(Template.java:66) at com.magicento.models.layout.Template.getBlocksClasses(Template.java:130) at com.magicento.extensions.BlockTypeProvider2.getBySignature(BlockTypeProvider2.java:77) at com.jetbrains.php.PhpIndexImpl.getBySignatureInternal(PhpIndexImpl.java:469) at com.jetbrains.php.PhpIndexImpl.getBySignature(PhpIndexImpl.java:313) at com.jetbrains.php.PhpIndexImpl.completeType(PhpIndexImpl.java:79) at com.jetbrains.php.lang.psi.resolve.types.PhpType.globalLocationAware(PhpType.java:410) at com.jetbrains.php.lang.psi.elements.impl.MemberReferenceImpl.resolveGlobal(MemberReferenceImpl.java:147) at com.jetbrains.php.lang.psi.elements.impl.PhpReferenceImpl$1.resolve(PhpReferenceImpl.java:143) at com.jetbrains.php.lang.psi.elements.impl.PhpReferenceImpl$1.resolve(PhpReferenceImpl.java:140) at com.intellij.psi.impl.source.resolve.ResolveCache$3.compute(ResolveCache.java:142) at com.intellij.openapi.util.RecursionManager$2.doPreventingRecursion(RecursionManager.java:112) at com.intellij.psi.impl.source.resolve.ResolveCache.a(ResolveCache.java:139) at com.intellij.psi.impl.source.resolve.ResolveCache.resolveWithCaching(ResolveCache.java:167) at com.intellij.psi.impl.source.resolve.ResolveCache.resolveWithCaching(ResolveCache.java:159) at com.jetbrains.php.lang.psi.elements.impl.PhpReferenceImpl.multiResolve(PhpReferenceImpl.java:135) at com.jetbrains.php.lang.psi.elements.impl.PhpReferenceImpl.resolve(PhpReferenceImpl.java:121) at com.jetbrains.php.lang.annotator.PhpAnnotatorVisitor.checkAccessModifiers(PhpAnnotatorVisitor.java:418) at com.jetbrains.php.lang.annotator.PhpAnnotatorVisitor.visitPhpMethodReference(PhpAnnotatorVisitor.java:400) at com.jetbrains.php.lang.psi.elements.impl.MethodReferenceImpl.accept(MethodReferenceImpl.java:29) at com.jetbrains.php.lang.annotator.PhpAnnotator.annotate(PhpAnnotator.java:19) at com.intellij.codeInsight.daemon.impl.DefaultHighlightVisitor.a(DefaultHighlightVisitor.java:139) at com.intellij.codeInsight.daemon.impl.DefaultHighlightVisitor.visit(DefaultHighlightVisitor.java:102) at com.intellij.codeInsight.daemon.impl.GeneralHighlightingPass.a(GeneralHighlightingPass.java:363) at com.intellij.codeInsight.daemon.impl.GeneralHighlightingPass.a(GeneralHighlightingPass.java:298) at com.intellij.codeInsight.daemon.impl.GeneralHighlightingPass.a(GeneralHighlightingPass.java:322) at com.intellij.codeInsight.daemon.impl.GeneralHighlightingPass.a(GeneralHighlightingPass.java:325) at com.intellij.codeInsight.daemon.impl.analysis.XmlHighlightVisitor.analyze(XmlHighlightVisitor.java:748) at com.intellij.codeInsight.daemon.impl.GeneralHighlightingPass.a(GeneralHighlightingPass.java:325) at com.intellij.codeInsight.daemon.impl.GeneralHighlightingPass.a(GeneralHighlightingPass.java:325) at com.intellij.codeInsight.daemon.impl.DefaultHighlightVisitor.analyze(DefaultHighlightVisitor.java:86) at com.intellij.codeInsight.daemon.impl.GeneralHighlightingPass.a(GeneralHighlightingPass.java:325) at com.intellij.codeInsight.daemon.impl.GeneralHighlightingPass.a(GeneralHighlightingPass.java:297) at com.intellij.codeInsight.daemon.impl.GeneralHighlightingPass.collectInformationWithProgress(GeneralHighlightingPass.java:237) at com.intellij.codeInsight.daemon.impl.ProgressableTextEditorHighlightingPass.doCollectInformation(ProgressableTextEditorHighlightingPass.java:82) at com.intellij.codeHighlighting.TextEditorHighlightingPass.collectInformation(TextEditorHighlightingPass.java:70) at com.intellij.codeInsight.daemon.impl.PassExecutorService$ScheduledPass.c(PassExecutorService.java:433) at com.intellij.openapi.application.impl.ApplicationImpl.tryRunReadAction(ApplicationImpl.java:1054) at com.intellij.codeInsight.daemon.impl.PassExecutorService$ScheduledPass.b(PassExecutorService.java:426) at com.intellij.openapi.progress.impl.CoreProgressManager.a(CoreProgressManager.java:568) at com.intellij.openapi.progress.impl.CoreProgressManager.executeProcessUnderProgress(CoreProgressManager.java:519) at com.intellij.openapi.progress.impl.ProgressManagerImpl.executeProcessUnderProgress(ProgressManagerImpl.java:54) at com.intellij.codeInsight.daemon.impl.PassExecutorService$ScheduledPass.a(PassExecutorService.java:425) at com.intellij.codeInsight.daemon.impl.PassExecutorService$ScheduledPass.run(PassExecutorService.java:405) at com.intellij.concurrency.JobLauncherImpl$VoidForkJoinTask$1.exec(JobLauncherImpl.java:155) at java.util.concurrent.ForkJoinTask.doExec(ForkJoinTask.java:289) at java.util.concurrent.ForkJoinPool$WorkQueue.runTask(ForkJoinPool.java:1056) at java.util.concurrent.ForkJoinPool.runWorker(ForkJoinPool.java:1692) at java.util.concurrent.ForkJoinWorkerThread.run(ForkJoinWorkerThread.java:157)

java.lang.NoSuchMethodError: com.jetbrains.php.lang.psi.elements.ExtendsList.getReferenceElement()Lcom/jetbrains/php/lang/psi/elements/ClassReference; at com.magicento.models.xml.config.MagentoConfigXml.checkRewriteConflicts(MagentoConfigXml.java:189) at com.magicento.models.xml.config.MagentoConfigXml.checkConfigXml(MagentoConfigXml.java:80) at com.magicento.models.xml.config.MagentoConfigXml.getMergedXml(MagentoConfigXml.java:70) at com.magicento.models.xml.MagentoXml.getMergedXmlFile(MagentoXml.java:277) at com.magicento.MagicentoProjectComponent.getCachedXml(MagicentoProjectComponent.java:229) at com.magicento.MagicentoProjectComponent.getCachedConfigXml(MagicentoProjectComponent.java:177) at com.magicento.models.xml.layout.MagentoLayoutXml.getAllActiveXmlLayoutNames(MagentoLayoutXml.java:128) at com.magicento.models.xml.layout.MagentoLayoutXml.getMergedXml(MagentoLayoutXml.java:99) at com.magicento.models.xml.MagentoXml.getMergedXmlFile(MagentoXml.java:277) at com.magicento.models.xml.layout.MagentoLayoutXml.getMergedXmlDocument(MagentoLayoutXml.java:506) at com.magicento.MagicentoProjectComponent.getCachedLayoutXmlDocument(MagicentoProjectComponent.java:206) at com.magicento.models.layout.Template.getBlockElements(Template.java:66) at com.magicento.models.layout.Template.getBlocksClasses(Template.java:130) at com.magicento.extensions.BlockTypeProvider2.getBySignature(BlockTypeProvider2.java:77) at com.jetbrains.php.PhpIndexImpl.getBySignatureInternal(PhpIndexImpl.java:469) at com.jetbrains.php.PhpIndexImpl.getBySignature(PhpIndexImpl.java:313) at com.jetbrains.php.PhpIndexImpl.completeType(PhpIndexImpl.java:79) at com.jetbrains.php.lang.psi.resolve.types.PhpType.globalLocationAware(PhpType.java:410) at com.jetbrains.php.lang.psi.elements.impl.MemberReferenceImpl.resolveGlobal(MemberReferenceImpl.java:147) at com.jetbrains.php.lang.psi.elements.impl.PhpReferenceImpl$1.resolve(PhpReferenceImpl.java:143) at com.jetbrains.php.lang.psi.elements.impl.PhpReferenceImpl$1.resolve(PhpReferenceImpl.java:140) at com.intellij.psi.impl.source.resolve.ResolveCache$3.compute(ResolveCache.java:142) at com.intellij.openapi.util.RecursionManager$2.doPreventingRecursion(RecursionManager.java:112) at com.intellij.psi.impl.source.resolve.ResolveCache.a(ResolveCache.java:139) at com.intellij.psi.impl.source.resolve.ResolveCache.resolveWithCaching(ResolveCache.java:167) at com.intellij.psi.impl.source.resolve.ResolveCache.resolveWithCaching(ResolveCache.java:159) at com.jetbrains.php.lang.psi.elements.impl.PhpReferenceImpl.multiResolve(PhpReferenceImpl.java:135) at com.jetbrains.php.lang.psi.elements.impl.PhpReferenceImpl.resolve(PhpReferenceImpl.java:121) at com.jetbrains.php.lang.annotator.PhpAnnotatorVisitor.checkAccessModifiers(PhpAnnotatorVisitor.java:418) at com.jetbrains.php.lang.annotator.PhpAnnotatorVisitor.visitPhpMethodReference(PhpAnnotatorVisitor.java:400) at com.jetbrains.php.lang.psi.elements.impl.MethodReferenceImpl.accept(MethodReferenceImpl.java:29) at com.jetbrains.php.lang.annotator.PhpAnnotator.annotate(PhpAnnotator.java:19) at com.intellij.codeInsight.daemon.impl.DefaultHighlightVisitor.a(DefaultHighlightVisitor.java:139) at com.intellij.codeInsight.daemon.impl.DefaultHighlightVisitor.visit(DefaultHighlightVisitor.java:102) at com.intellij.codeInsight.daemon.impl.GeneralHighlightingPass.a(GeneralHighlightingPass.java:363) at com.intellij.codeInsight.daemon.impl.GeneralHighlightingPass.a(GeneralHighlightingPass.java:298) at com.intellij.codeInsight.daemon.impl.GeneralHighlightingPass.a(GeneralHighlightingPass.java:322) at com.intellij.codeInsight.daemon.impl.GeneralHighlightingPass.a(GeneralHighlightingPass.java:325) at com.intellij.codeInsight.daemon.impl.analysis.XmlHighlightVisitor.analyze(XmlHighlightVisitor.java:748) at com.intellij.codeInsight.daemon.impl.GeneralHighlightingPass.a(GeneralHighlightingPass.java:325) at com.intellij.codeInsight.daemon.impl.GeneralHighlightingPass.a(GeneralHighlightingPass.java:325) at com.intellij.codeInsight.daemon.impl.DefaultHighlightVisitor.analyze(DefaultHighlightVisitor.java:86) at com.intellij.codeInsight.daemon.impl.GeneralHighlightingPass.a(GeneralHighlightingPass.java:325) at com.intellij.codeInsight.daemon.impl.GeneralHighlightingPass.a(GeneralHighlightingPass.java:297) at com.intellij.codeInsight.daemon.impl.GeneralHighlightingPass.collectInformationWithProgress(GeneralHighlightingPass.java:237) at com.intellij.codeInsight.daemon.impl.ProgressableTextEditorHighlightingPass.doCollectInformation(ProgressableTextEditorHighlightingPass.java:82) at com.intellij.codeHighlighting.TextEditorHighlightingPass.collectInformation(TextEditorHighlightingPass.java:70) at com.intellij.codeInsight.daemon.impl.PassExecutorService$ScheduledPass.c(PassExecutorService.java:433) at com.intellij.openapi.application.impl.ApplicationImpl.tryRunReadAction(ApplicationImpl.java:1054) at com.intellij.codeInsight.daemon.impl.PassExecutorService$ScheduledPass.b(PassExecutorService.java:426) at com.intellij.openapi.progress.impl.CoreProgressManager.a(CoreProgressManager.java:568) at com.intellij.openapi.progress.impl.CoreProgressManager.executeProcessUnderProgress(CoreProgressManager.java:519) at com.intellij.openapi.progress.impl.ProgressManagerImpl.executeProcessUnderProgress(ProgressManagerImpl.java:54) at com.intellij.codeInsight.daemon.impl.PassExecutorService$ScheduledPass.a(PassExecutorService.java:425) at com.intellij.codeInsight.daemon.impl.PassExecutorService$ScheduledPass.run(PassExecutorService.java:405) at com.intellij.concurrency.JobLauncherImpl$VoidForkJoinTask$1.exec(JobLauncherImpl.java:155) at java.util.concurrent.ForkJoinTask.doExec(ForkJoinTask.java:289) at java.util.concurrent.ForkJoinPool$WorkQueue.runTask(ForkJoinPool.java:1056) at java.util.concurrent.ForkJoinPool.runWorker(ForkJoinPool.java:1692) at java.util.concurrent.ForkJoinWorkerThread.run(ForkJoinWorkerThread.java:157)

`

enriquepiatti commented 7 years ago

Hi @W3akness if you are using EAP that's the reason for the error, please change to the lastest stable version: https://github.com/enriquepiatti/Magicento/issues/202

vy-shmal commented 7 years ago

Perfect, after installing 2016.2.2 , it works correctly. Thank you