Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Don't know how to prepend qualifier at org.elixir_lang.psi.impl.QualifiableAliasImpl.prependQualifiers(QualifiableAliasImpl.kt:221) #3278

Closed
StragaSevera opened this issue Jun 20, 2023 · 0 comments · Fixed by #3288
Labels
Milestone

Comments

@StragaSevera
Copy link

System

Plugin Version: 15.0.1
Application: IntelliJ IDEA Ultimate Edition (2023.1.2)
Operating System: Linux (6.3.8-arch1-1)

Event

Message

Element

<%=api_client.IntellijIdeaRulezzz </td>
        <td><%=api_client.name%>

From: /home/ought/Coding/Work/TDM/subs-buffer/web/templates/admin_v2/api_clients/index.html.eex:13-14

Context

        <th scope="col">key</th>
      </tr>
      </thead>
      <tbody>
      <tr>
        <td><%=api_client.IntellijIdeaRulezzz </td>
        <td><%=api_client.name%></td>
        <td><%=api_client.key%></td>
      </tr>
      </tbody>
    </table>
  </div>

From: /home/ought/Coding/Work/TDM/subs-buffer/web/templates/admin_v2/api_clients/index.html.eex:8-19

Element Class Name

org.elixir_lang.psi.impl.ElixirEexTagImpl

Exception

Stacktrace

java.lang.Throwable: Don't know how to prepend qualifier
java.lang.Throwable: Don't know how to prepend qualifier
	at org.elixir_lang.errorreport.Logger.error(Logger.kt:45)
	at org.elixir_lang.errorreport.Logger.error(Logger.kt:25)
	at org.elixir_lang.psi.impl.QualifiableAliasImpl.prependQualifiers(QualifiableAliasImpl.kt:221)
	at org.elixir_lang.psi.impl.QualifiableAliasImpl.fullyQualifiedName(QualifiableAliasImpl.kt:127)
	at org.elixir_lang.psi.impl.ElixirPsiImplUtil.fullyQualifiedName(ElixirPsiImplUtil.java:834)
	at org.elixir_lang.psi.impl.ElixirUnmatchedQualifiedAliasImpl.fullyQualifiedName(ElixirUnmatchedQualifiedAliasImpl.java:55)
	at org.elixir_lang.psi.impl.QualifiableAliasImplKt.computeReference(QualifiableAliasImpl.kt:40)
	at org.elixir_lang.psi.impl.QualifiableAliasImplKt.getReference$lambda$0(QualifiableAliasImpl.kt:57)
	at com.intellij.psi.util.CachedValuesManager$1.compute(CachedValuesManager.java:158)
	at com.intellij.psi.impl.PsiCachedValueImpl.doCompute(PsiCachedValueImpl.java:39)
	at com.intellij.util.CachedValueBase.lambda$getValueWithLock$3(CachedValueBase.java:244)
	at com.intellij.util.CachedValueBase.computeData(CachedValueBase.java:42)
	at com.intellij.util.CachedValueBase.lambda$getValueWithLock$4(CachedValueBase.java:244)
	at com.intellij.openapi.util.RecursionManager$1.computePreventingRecursion(RecursionManager.java:112)
	at com.intellij.openapi.util.RecursionGuard.doPreventingRecursion(RecursionGuard.java:42)
	at com.intellij.openapi.util.RecursionManager.doPreventingRecursion(RecursionManager.java:66)
	at com.intellij.util.CachedValueBase.getValueWithLock(CachedValueBase.java:245)
	at com.intellij.psi.impl.PsiCachedValueImpl.getValue(PsiCachedValueImpl.java:28)
	at com.intellij.util.CachedValuesManagerImpl.getCachedValue(CachedValuesManagerImpl.java:69)
	at com.intellij.psi.util.CachedValuesManager.getCachedValue(CachedValuesManager.java:155)
	at com.intellij.psi.util.CachedValuesManager.getCachedValue(CachedValuesManager.java:121)
	at org.elixir_lang.psi.impl.QualifiableAliasImplKt.getReference(QualifiableAliasImpl.kt:56)
	at org.elixir_lang.psi.impl.ElixirPsiImplUtil.getReference(ElixirPsiImplUtil.java:1083)
	at org.elixir_lang.psi.impl.ElixirUnmatchedQualifiedAliasImpl.getReference(ElixirUnmatchedQualifiedAliasImpl.java:75)
	at org.elixir_lang.psi.impl.ElixirUnmatchedQualifiedAliasImpl.getReference(ElixirUnmatchedQualifiedAliasImpl.java:18)
	at com.intellij.psi.impl.SharedPsiElementImplUtil.getReferences(SharedPsiElementImplUtil.java:77)
	at com.intellij.psi.impl.PsiElementBase.getReferences(PsiElementBase.java:70)
	at com.intellij.psi.impl.SharedPsiElementImplUtil.addReferences(SharedPsiElementImplUtil.java:60)
	at com.intellij.psi.impl.SharedPsiElementImplUtil.findReferenceAt(SharedPsiElementImplUtil.java:34)
	at com.intellij.psi.MultiplePsiFilesPerDocumentFileViewProvider.findReferenceAt(MultiplePsiFilesPerDocumentFileViewProvider.java:184)
	at com.intellij.psi.impl.source.PsiFileImpl.findReferenceAt(PsiFileImpl.java:536)
	at com.intellij.codeInsight.completion.CompletionUtil.findReferencePrefix(CompletionUtil.java:157)
	at com.intellij.codeInsight.completion.CompletionData.findPrefixStatic(CompletionData.java:129)
	at com.intellij.codeInsight.completion.CompletionData.findPrefixStatic(CompletionData.java:144)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants