defrac / defrac-plugin-intellij

defrac Plug-In for IntellJ IDEA
Apache License 2.0
5 stars 1 forks source link

Qualified name of PsiAnonymousClass must not be null #24

Open joa opened 8 years ago

joa commented 8 years ago

Creating an anonymous class with IntelliJ IDEA (Community Edition) IC-144.2608.2 Build #IC-144.2608.2

java.lang.NullPointerException: Qualified name of PsiAnonymousClass must not be null
    at com.google.common.base.Preconditions.checkNotNull(Preconditions.java:253)
    at defrac.intellij.findUsages.MultiPlatformClassReferencesSearchBase.getSearchString(MultiPlatformClassReferencesSearchBase.java:52)
    at defrac.intellij.findUsages.ReferencesSearchBase.processQuery(ReferencesSearchBase.java:95)
    at com.intellij.openapi.application.QueryExecutorBase.execute(QueryExecutorBase.java:79)
    at com.intellij.util.ExecutorsQuery.processResults(ExecutorsQuery.java:45)
    at com.intellij.util.AbstractQuery.forEach(AbstractQuery.java:75)
    at com.intellij.util.UniqueResultsQuery.process(UniqueResultsQuery.java:66)
    at com.intellij.util.UniqueResultsQuery.forEach(UniqueResultsQuery.java:56)
    at com.intellij.psi.search.QuerySearchRequest.runQuery(QuerySearchRequest.java:58)