intellij-elixir
intellij-elixir copied to clipboard
com.intellij.psi.PsiInvalidElementAccessException: Element class com.intellij.psi.impl.source.tree.CompositeElement of type UNMATCHED_UNQUALIFIED_NO_ARGUMENTS_CALL (class org.elixir_lang.psi.stub.type.UnmatchedUnqualifiedNoArgumentsCall) at com.intellij.psi.PsiInvalidElementAccessException.createByNode(PsiInvalidElementAccessException.java:80)
Occurred when rename variable like below with Shift + F7, but not always. From:
defp foo(%{foo_id: foo_id}, %{foo_id: foo_id}), do: :ok
To:
defp foo(%{foo_id: id}, %{foo_id: id}), do: :ok
System
Plugin Version: 12.2.0 Application: IntelliJ IDEA Ultimate Edition (2021.3.1) Operating System: Mac OS X (11.6.3)
Event
Exception
Stacktrace
com.intellij.psi.PsiInvalidElementAccessException: Element class com.intellij.psi.impl.source.tree.CompositeElement of type UNMATCHED_UNQUALIFIED_NO_ARGUMENTS_CALL (class org.elixir_lang.psi.stub.type.UnmatchedUnqualifiedNoArgumentsCall)
at com.intellij.psi.PsiInvalidElementAccessException.createByNode(PsiInvalidElementAccessException.java:80)
at com.intellij.psi.impl.source.SubstrateRef$2.getContainingFile(SubstrateRef.java:101)
at com.intellij.extapi.psi.StubBasedPsiElementBase.getContainingFile(StubBasedPsiElementBase.java:239)
at com.intellij.extapi.psi.StubBasedPsiElementBase.getProject(StubBasedPsiElementBase.java:276)
at com.intellij.refactoring.rename.inplace.VariableInplaceRenamer.<init>(VariableInplaceRenamer.java:67)
at org.elixir_lang.refactoring.variable.rename.Inplace.<init>(Inplace.java:32)
at org.elixir_lang.refactoring.variable.rename.Handler.createRenamer(Handler.kt:73)
at org.elixir_lang.refactoring.variable.rename.Handler.invoke(Handler.kt:77)
at org.elixir_lang.refactoring.variable.rename.Handler.invoke(Handler.kt:87)
at org.elixir_lang.refactoring.variable.rename.Handler.invoke(Handler.kt:54)
Attachments
invalidation.trace
Please copy the contents of the above path into this report: files are too long to include in the URL when opening the browser. You can get the exact contents of that path when the error occurred from the Attachments tab of the IDE Fatal Errors dialog that you had open before clicking the button to submit this issue.