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 check if parameter for [id] #338

Closed
Donavan opened this issue Jul 6, 2016 · 2 comments
Closed

Don't know how to check if parameter for [id] #338

Donavan opened this issue Jul 6, 2016 · 2 comments

Comments

@Donavan
Copy link

Donavan commented Jul 6, 2016

Version

4.0.0

Exception

Message

Don't know how to check if parameter

Excerpt

[id]

Line(s) 18-18

Stacktrace

org.elixir_lang.errorreport.Logger.error(Logger.java:48)
org.elixir_lang.errorreport.Logger.error(Logger.java:31)
org.elixir_lang.reference.Callable.isParameter(Callable.java:256)
org.elixir_lang.psi.impl.ElixirPsiImplUtil.getUseScope(ElixirPsiImplUtil.java:2162)
org.elixir_lang.psi.impl.ElixirUnmatchedUnqualifiedNoArgumentsCallImpl.getUseScope(ElixirUnmatchedUnqualifiedNoArgumentsCallImpl.java:83)
com.intellij.psi.impl.search.PsiSearchHelperImpl.getUseScope(PsiSearchHelperImpl.java:79)
com.intellij.psi.search.searches.ReferencesSearch$SearchParameters.getEffectiveSearchScope(ReferencesSearch.java:107)
com.intellij.psi.impl.search.CachesBasedRefSearcher.processQuery(CachesBasedRefSearcher.java:55)
com.intellij.psi.impl.search.CachesBasedRefSearcher.processQuery(CachesBasedRefSearcher.java:21)
com.intellij.openapi.application.QueryExecutorBase.execute(QueryExecutorBase.java:79)
com.intellij.util.ExecutorsQuery.processResults(ExecutorsQuery.java:45)
com.intellij.util.AbstractQuery.forEach(AbstractQuery.java:75)
com.intellij.util.MergeQuery.processSubQuery(MergeQuery.java:84)
com.intellij.util.MergeQuery.forEach(MergeQuery.java:56)
com.intellij.util.UniqueResultsQuery.process(UniqueResultsQuery.java:66)
com.intellij.util.UniqueResultsQuery.forEach(UniqueResultsQuery.java:56)
com.intellij.util.UniqueResultsQuery.findAll(UniqueResultsQuery.java:78)
com.intellij.find.findUsages.FindUsagesHandler.findReferencesToHighlight(FindUsagesHandler.java:174)
com.intellij.codeInsight.daemon.impl.IdentifierHighlighterPass.a(IdentifierHighlighterPass.java:156)
com.intellij.codeInsight.daemon.impl.IdentifierHighlighterPass.getHighlightUsages(IdentifierHighlighterPass.java:133)
com.intellij.codeInsight.daemon.impl.IdentifierHighlighterPass.a(IdentifierHighlighterPass.java:189)
com.intellij.codeInsight.daemon.impl.IdentifierHighlighterPass.doCollectInformation(IdentifierHighlighterPass.java:106)
com.intellij.codeHighlighting.TextEditorHighlightingPass.collectInformation(TextEditorHighlightingPass.java:70)
com.intellij.codeInsight.daemon.impl.PassExecutorService$ScheduledPass$1$1.run(PassExecutorService.java:444)
com.intellij.openapi.application.impl.ApplicationImpl.tryRunReadAction(ApplicationImpl.java:1178)
com.intellij.codeInsight.daemon.impl.PassExecutorService$ScheduledPass$1.run(PassExecutorService.java:435)
com.intellij.openapi.progress.impl.CoreProgressManager.registerIndicatorAndRun(CoreProgressManager.java:446)
com.intellij.openapi.progress.impl.CoreProgressManager.executeProcessUnderProgress(CoreProgressManager.java:392)
com.intellij.openapi.progress.impl.ProgressManagerImpl.executeProcessUnderProgress(ProgressManagerImpl.java:54)
com.intellij.codeInsight.daemon.impl.PassExecutorService$ScheduledPass.a(PassExecutorService.java:432)
com.intellij.codeInsight.daemon.impl.PassExecutorService$ScheduledPass.run(PassExecutorService.java:408)
com.intellij.concurrency.JobLauncherImpl$VoidForkJoinTask$1.exec(JobLauncherImpl.java:206)
jsr166e.ForkJoinTask.doExec(ForkJoinTask.java:260)
jsr166e.ForkJoinPool$WorkQueue.runTask(ForkJoinPool.java:858)
jsr166e.ForkJoinPool.scan(ForkJoinPool.java:1687)
jsr166e.ForkJoinPool.runWorker(ForkJoinPool.java:1642)
jsr166e.ForkJoinWorkerThread.run(ForkJoinWorkerThread.java:108)
@KronicDeth
Copy link
Owner

Do you have the large context for where [id] appears in the code? That won't be enough to reproduce the problem. The report generator may have Attachements with the code in question.

@KronicDeth KronicDeth added this to the v4.0.1 milestone Jul 7, 2016
@KronicDeth KronicDeth changed the title [auto-generated] Don't know how to check if parameter for [id] Jul 11, 2016
@KronicDeth KronicDeth removed this from the v4.0.1 milestone Jul 12, 2016
@KronicDeth
Copy link
Owner

I can't reproduce with the given excerpt. If you have a large code sample that you can post, please leave it as a comment and I'll reopen.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants