GenerateToString plugin esception as reported by IntelliJ

Assertion failed
java.lang.Throwable
at com.intellij.openapi.diagnostic.Logger.assertTrue(Logger.java:64)
at com.intellij.openapi.diagnostic.Logger.assertTrue(Logger.java:72)
at
com.intellij.psi.impl.file.impl.FileManagerImpl.findClass(FileManagerImpl.java:64)
at
com.intellij.psi.impl.PsiManagerImpl$PsiElementFinderImpl.findClass(PsiManagerImpl.java:15)
at
com.intellij.psi.impl.PsiManagerImpl.findClass(PsiManagerImpl.java:349)
at
com.intellij.psi.impl.light.LightClassReference.resolve(LightClassReference.java:85)
at
com.intellij.psi.impl.light.LightClassReference.advancedResolve(LightClassReference.java:77)
at
com.intellij.psi.impl.source.PsiClassReferenceType.resolveGenerics(PsiClassReferenceType.java:1)
at
com.intellij.psi.util.PsiUtil.resolveGenericsClassInType(PsiUtil.java:542)
at
com.intellij.psi.util.TypeConversionUtil.isAssignable(TypeConversionUtil.java:582)
at
com.intellij.psi.util.TypeConversionUtil.isAssignable(TypeConversionUtil.java:498)
at com.intellij.psi.PsiType.isAssignableFrom(PsiType.java:49)
at
org.intellij.idea.plugin.tostring.psi.idea4.PsiAdapterIdea4.isTypeOf(PsiAdapterIdea4.java:54)
at
org.intellij.idea.plugin.tostring.psi.PsiAdapter.isCollectionType(PsiAdapter.java:227)
at
org.intellij.idea.plugin.tostring.element.ElementFactory.setElementInfo(ElementFactory.java:146)
at
org.intellij.idea.plugin.tostring.element.ElementFactory.newFieldElement(ElementFactory.java:68)
at
org.intellij.idea.plugin.tostring.GenerateToStringUtils.filterAvailableFields(GenerateToStringUtils.java:50)
at
org.intellij.idea.plugin.tostring.inspection.ClassHasNoToStringMethodInspection.checkClass(ClassHasNoToStringMethodInspection.java:77)
at
com.intellij.codeInsight.daemon.impl.LocalInspectionsPass$1.run(LocalInspectionsPass.java:36)
at
com.intellij.psi.impl.PsiManagerImpl.performActionWithFormatterDisabled(PsiManagerImpl.java:41)
at
com.intellij.codeInsight.daemon.impl.LocalInspectionsPass.doCollectInformation(LocalInspectionsPass.java:137)
at
com.intellij.codeInsight.daemon.impl.TextEditorHighlightingPass.collectInformation(TextEditorHighlightingPass.java:3)
at
com.intellij.codeInsight.daemon.impl.UpdateThread$2.run(UpdateThread.java:9)
at
com.intellij.openapi.application.impl.ApplicationImpl.runReadAction(ApplicationImpl.java:381)
at
com.intellij.codeInsight.daemon.impl.UpdateThread.a(UpdateThread.java:26)
at
com.intellij.codeInsight.daemon.impl.UpdateThread.access$100(UpdateThread.java:36)
at
com.intellij.codeInsight.daemon.impl.UpdateThread$1.run(UpdateThread.java:0)
at
com.intellij.openapi.progress.impl.ProgressManagerImpl.runProcess(ProgressManagerImpl.java:14)
at
com.intellij.codeInsight.daemon.impl.UpdateThread.run(UpdateThread.java:1)



java.lang.Throwable
at com.intellij.openapi.diagnostic.Logger.assertTrue(Logger.java:64)
at com.intellij.openapi.diagnostic.Logger.assertTrue(Logger.java:72)
at
com.intellij.psi.impl.PsiManagerImpl.getRepositoryManager(PsiManagerImpl.java:91)
at
com.intellij.psi.impl.file.impl.FileManagerImpl.a(FileManagerImpl.java:162)
at
com.intellij.psi.impl.file.impl.FileManagerImpl.findClass(FileManagerImpl.java:133)
at
com.intellij.psi.impl.PsiManagerImpl$PsiElementFinderImpl.findClass(PsiManagerImpl.java:15)
at
com.intellij.psi.impl.PsiManagerImpl.findClass(PsiManagerImpl.java:349)
at
com.intellij.psi.impl.light.LightClassReference.resolve(LightClassReference.java:85)
at
com.intellij.psi.impl.light.LightClassReference.advancedResolve(LightClassReference.java:77)
at
com.intellij.psi.impl.source.PsiClassReferenceType.resolveGenerics(PsiClassReferenceType.java:1)
at
com.intellij.psi.util.PsiUtil.resolveGenericsClassInType(PsiUtil.java:542)
at
com.intellij.psi.util.TypeConversionUtil.isAssignable(TypeConversionUtil.java:582)
at
com.intellij.psi.util.TypeConversionUtil.isAssignable(TypeConversionUtil.java:498)
at com.intellij.psi.PsiType.isAssignableFrom(PsiType.java:49)
at
org.intellij.idea.plugin.tostring.psi.idea4.PsiAdapterIdea4.isTypeOf(PsiAdapterIdea4.java:54)
at
org.intellij.idea.plugin.tostring.psi.PsiAdapter.isCollectionType(PsiAdapter.java:227)
at
org.intellij.idea.plugin.tostring.element.ElementFactory.setElementInfo(ElementFactory.java:146)
at
org.intellij.idea.plugin.tostring.element.ElementFactory.newFieldElement(ElementFactory.java:68)
at
org.intellij.idea.plugin.tostring.GenerateToStringUtils.filterAvailableFields(GenerateToStringUtils.java:50)
at
org.intellij.idea.plugin.tostring.inspection.ClassHasNoToStringMethodInspection.checkClass(ClassHasNoToStringMethodInspection.java:77)
at
com.intellij.codeInsight.daemon.impl.LocalInspectionsPass$1.run(LocalInspectionsPass.java:36)
at
com.intellij.psi.impl.PsiManagerImpl.performActionWithFormatterDisabled(PsiManagerImpl.java:41)
at
com.intellij.codeInsight.daemon.impl.LocalInspectionsPass.doCollectInformation(LocalInspectionsPass.java:137)
at
com.intellij.codeInsight.daemon.impl.TextEditorHighlightingPass.collectInformation(TextEditorHighlightingPass.java:3)
at
com.intellij.codeInsight.daemon.impl.UpdateThread$2.run(UpdateThread.java:9)
at
com.intellij.openapi.application.impl.ApplicationImpl.runReadAction(ApplicationImpl.java:381)
at
com.intellij.codeInsight.daemon.impl.UpdateThread.a(UpdateThread.java:26)
at
com.intellij.codeInsight.daemon.impl.UpdateThread.access$100(UpdateThread.java:36)
at
com.intellij.codeInsight.daemon.impl.UpdateThread$1.run(UpdateThread.java:0)
at
com.intellij.openapi.progress.impl.ProgressManagerImpl.runProcess(ProgressManagerImpl.java:14)
at
com.intellij.codeInsight.daemon.impl.UpdateThread.run(UpdateThread.java:1)



java.lang.NullPointerException
at
com.intellij.psi.impl.cache.impl.repositoryCache.PersistentIndexMap.get(PersistentIndexMap.java:37)
at
com.intellij.psi.impl.cache.impl.repositoryCache.LocalRepositoryIndex.query(LocalRepositoryIndex.java:115)
at
com.intellij.psi.impl.cache.impl.RepositoryIndexImpl.a(RepositoryIndexImpl.java:69)
at
com.intellij.psi.impl.cache.impl.RepositoryIndexImpl.getClassesByQualifiedName(RepositoryIndexImpl.java:56)
at
com.intellij.psi.impl.file.impl.FileManagerImpl.a(FileManagerImpl.java:145)
at
com.intellij.psi.impl.file.impl.FileManagerImpl.findClass(FileManagerImpl.java:133)
at
com.intellij.psi.impl.PsiManagerImpl$PsiElementFinderImpl.findClass(PsiManagerImpl.java:15)
at
com.intellij.psi.impl.PsiManagerImpl.findClass(PsiManagerImpl.java:349)
at
com.intellij.psi.impl.light.LightClassReference.resolve(LightClassReference.java:85)
at
com.intellij.psi.impl.light.LightClassReference.advancedResolve(LightClassReference.java:77)
at
com.intellij.psi.impl.source.PsiClassReferenceType.resolveGenerics(PsiClassReferenceType.java:1)
at
com.intellij.psi.util.PsiUtil.resolveGenericsClassInType(PsiUtil.java:542)
at
com.intellij.psi.util.TypeConversionUtil.isAssignable(TypeConversionUtil.java:582)
at
com.intellij.psi.util.TypeConversionUtil.isAssignable(TypeConversionUtil.java:498)
at com.intellij.psi.PsiType.isAssignableFrom(PsiType.java:49)
at
org.intellij.idea.plugin.tostring.psi.idea4.PsiAdapterIdea4.isTypeOf(PsiAdapterIdea4.java:54)
at
org.intellij.idea.plugin.tostring.psi.PsiAdapter.isCollectionType(PsiAdapter.java:227)
at
org.intellij.idea.plugin.tostring.element.ElementFactory.setElementInfo(ElementFactory.java:146)
at
org.intellij.idea.plugin.tostring.element.ElementFactory.newFieldElement(ElementFactory.java:68)
at
org.intellij.idea.plugin.tostring.GenerateToStringUtils.filterAvailableFields(GenerateToStringUtils.java:50)
at
org.intellij.idea.plugin.tostring.inspection.ClassHasNoToStringMethodInspection.checkClass(ClassHasNoToStringMethodInspection.java:77)
at
com.intellij.codeInsight.daemon.impl.LocalInspectionsPass$1.run(LocalInspectionsPass.java:36)
at
com.intellij.psi.impl.PsiManagerImpl.performActionWithFormatterDisabled(PsiManagerImpl.java:41)
at
com.intellij.codeInsight.daemon.impl.LocalInspectionsPass.doCollectInformation(LocalInspectionsPass.java:137)
at
com.intellij.codeInsight.daemon.impl.TextEditorHighlightingPass.collectInformation(TextEditorHighlightingPass.java:3)
at
com.intellij.codeInsight.daemon.impl.UpdateThread$2.run(UpdateThread.java:9)
at
com.intellij.openapi.application.impl.ApplicationImpl.runReadAction(ApplicationImpl.java:381)
at
com.intellij.codeInsight.daemon.impl.UpdateThread.a(UpdateThread.java:26)
at
com.intellij.codeInsight.daemon.impl.UpdateThread.access$100(UpdateThread.java:36)
at
com.intellij.codeInsight.daemon.impl.UpdateThread$1.run(UpdateThread.java:0)
at
com.intellij.openapi.progress.impl.ProgressManagerImpl.runProcess(ProgressManagerImpl.java:14)
at
com.intellij.codeInsight.daemon.impl.UpdateThread.run(UpdateThread.java:1)


Please sign in to leave a comment.