KronicDeth / intellij-elixir

Elixir plugin for JetBrain's IntelliJ Platform (including Rubymine)
Other
1.84k stars 153 forks source link

No decompiled source function with name/arity (VelocityPortal.Payments.Payment.__struct__/1) at org.elixir_lang.beam.psi.impl.ModuleImpl.setMirror(ModuleImpl.kt:100) #3423

Open hasithadkr7 opened 1 year ago

hasithadkr7 commented 1 year ago

System

Plugin Version: 16.0.0-pre+20230912181500 Application: IntelliJ IDEA Community Edition (2023.2.4) Operating System: Linux (5.15.0-87-generic)

Event

Exception

Stacktrace

java.lang.Throwable: No decompiled source function with name/arity (VelocityPortal.Payments.Payment.__struct__/1) ``` java.lang.Throwable: No decompiled source function with name/arity (VelocityPortal.Payments.Payment.__struct__/1) at com.intellij.openapi.diagnostic.Logger.error(Logger.java:370) at org.elixir_lang.beam.psi.impl.ModuleImpl.setMirror(ModuleImpl.kt:100) at org.elixir_lang.beam.psi.impl.ModuleElementImpl.setMirror(ModuleElementImpl.java:55) at org.elixir_lang.beam.psi.impl.ModuleElementImpl.setMirrors(ModuleElementImpl.java:46) at org.elixir_lang.beam.psi.impl.ModuleElementImpl.setMirrors(ModuleElementImpl.java:37) at org.elixir_lang.beam.psi.BeamFileImpl.setMirror(BeamFileImpl.kt:409) at org.elixir_lang.beam.psi.BeamFileImpl.getMirror$lambda$6$lambda$5(BeamFileImpl.kt:389) at com.intellij.openapi.progress.impl.CoreProgressManager.lambda$executeNonCancelableSection$3(CoreProgressManager.java:222) at com.intellij.openapi.progress.impl.CoreProgressManager.registerIndicatorAndRun(CoreProgressManager.java:679) at com.intellij.openapi.progress.impl.CoreProgressManager.computeUnderProgress(CoreProgressManager.java:635) at com.intellij.openapi.progress.impl.CoreProgressManager.lambda$computeInNonCancelableSection$4(CoreProgressManager.java:230) at com.intellij.openapi.progress.Cancellation.computeInNonCancelableSection(Cancellation.java:64) at com.intellij.openapi.progress.impl.CoreProgressManager.computeInNonCancelableSection(CoreProgressManager.java:230) at com.intellij.openapi.progress.impl.CoreProgressManager.executeNonCancelableSection(CoreProgressManager.java:221) at org.elixir_lang.beam.psi.BeamFileImpl.getMirror(BeamFileImpl.kt:388) at org.elixir_lang.beam.psi.impl.ModuleElementImpl.getMirror(ModuleElementImpl.java:115) at org.elixir_lang.beam.psi.impl.CallDefinitionImpl.getNavigationElement(CallDefinitionImpl.kt:70) at com.intellij.ide.util.EditSourceUtil.canNavigate(EditSourceUtil.java:67) at com.intellij.codeInsight.TargetElementUtil.isNavigatableSource(TargetElementUtil.java:232) at com.intellij.codeInsight.TargetElementUtil.getTargetCandidates(TargetElementUtil.java:215) at com.intellij.model.psi.impl.TargetsKt.fromTargetEvaluator(targets.kt:178) at com.intellij.model.psi.impl.TargetsKt.declarationsOrReferences(targets.kt:136) at com.intellij.model.psi.impl.TargetsKt.declaredReferencedData(targets.kt:42) at com.intellij.codeInsight.navigation.impl.GtduKt.fromTargetData(gtdu.kt:58) at com.intellij.codeInsight.navigation.impl.GtduKt.gotoDeclarationOrUsagesInner(gtdu.kt:54) at com.intellij.codeInsight.navigation.impl.GtduKt.access$gotoDeclarationOrUsagesInner(gtdu.kt:1) ```
KronicDeth commented 1 year ago

Please zip the Elixir.VelocityPortal.Payments.Payment.beam file and attach the zip to this issue so that I can decompile it locally to reproduce your issue.