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

AssertionError: QuickFix-es with the same family name (Insert label) should be the same class instances but actually are LatexMissingLabelInspection$InsertLabelInEnvironmentFix and LatexMissingLabelInspection$InsertLabelAfterCommandFix instances. #1267

Closed
PHPirates opened this issue Feb 18, 2020 · 0 comments · Fixed by #1269
Labels
crash-report Reports of crashes that popped up in IDEA.
Milestone

Comments

@PHPirates
Copy link
Collaborator

Description

Please assign reported exception for the inspection "class nl.hannahsten.texifyidea.inspections.latex.LatexMissingLabelInspection" ("LatexMissingLabel") developer.

Stacktrace

java.lang.AssertionError: QuickFix-es with the same family name (Insert label) should be the same class instances but actually are nl.hannahsten.texifyidea.inspections.latex.LatexMissingLabelInspection$InsertLabelInEnvironmentFix and nl.hannahsten.texifyidea.inspections.latex.LatexMissingLabelInspection$InsertLabelAfterCommandFix instances. Please assign reported exception for the inspection "class nl.hannahsten.texifyidea.inspections.latex.LatexMissingLabelInspection" ("LatexMissingLabel") developer.
	at nl.hannahsten.texifyidea.inspections.latex.LatexMissingLabelInspection.addCommandDescriptor(LatexMissingLabelInspection.kt:72)
	at nl.hannahsten.texifyidea.inspections.latex.LatexMissingLabelInspection.inspectFile(LatexMissingLabelInspection.kt:46)
	at nl.hannahsten.texifyidea.inspections.TexifyInspectionBase.checkFile(TexifyInspectionBase.kt:136)
	at com.intellij.codeInspection.LocalInspectionTool$1.visitFile(LocalInspectionTool.java:143)
	at com.intellij.extapi.psi.PsiFileBase.accept(PsiFileBase.java:60)
	at com.intellij.codeInspection.InspectionEngine.acceptElements(InspectionEngine.java:77)
	at com.intellij.codeInsight.daemon.impl.LocalInspectionsPass.lambda$null$6(LocalInspectionsPass.java:332)
	at com.intellij.util.AstLoadingFilter.lambda$toComputable$2(AstLoadingFilter.java:167)
	at com.intellij.util.AstLoadingFilter.disallowTreeLoading(AstLoadingFilter.java:125)
	at com.intellij.util.AstLoadingFilter.disallowTreeLoading(AstLoadingFilter.java:114)
	at com.intellij.util.AstLoadingFilter.disallowTreeLoading(AstLoadingFilter.java:109)
	at com.intellij.codeInsight.daemon.impl.LocalInspectionsPass.lambda$visitRestElementsAndCleanup$7(LocalInspectionsPass.java:331)
	at com.intellij.concurrency.ApplierCompleter.execAndForkSubTasks(ApplierCompleter.java:149)
	at com.intellij.openapi.application.impl.ApplicationImpl.tryRunReadAction(ApplicationImpl.java:1088)
	at com.intellij.concurrency.ApplierCompleter.lambda$wrapInReadActionAndIndicator$1(ApplierCompleter.java:105)
	at com.intellij.openapi.progress.impl.CoreProgressManager.registerIndicatorAndRun(CoreProgressManager.java:626)
	at com.intellij.openapi.progress.impl.CoreProgressManager.executeProcessUnderProgress(CoreProgressManager.java:571)
	at com.intellij.openapi.progress.impl.ProgressManagerImpl.executeProcessUnderProgress(ProgressManagerImpl.java:61)
	at com.intellij.concurrency.ApplierCompleter.wrapInReadActionAndIndicator(ApplierCompleter.java:117)
	at com.intellij.concurrency.ApplierCompleter.compute(ApplierCompleter.java:99)
	at java.base/java.util.concurrent.CountedCompleter.exec(CountedCompleter.java:746)
	at java.base/java.util.concurrent.ForkJoinTask.doExec(ForkJoinTask.java:290)
	at java.base/java.util.concurrent.ForkJoinPool$WorkQueue.topLevelExec(ForkJoinPool.java:1020)
	at java.base/java.util.concurrent.ForkJoinPool.scan(ForkJoinPool.java:1656)
	at java.base/java.util.concurrent.ForkJoinPool.runWorker(ForkJoinPool.java:1594)
	at java.base/java.util.concurrent.ForkJoinWorkerThread.run(ForkJoinWorkerThread.java:177)
@PHPirates PHPirates added the crash-report Reports of crashes that popped up in IDEA. label Feb 18, 2020
@PHPirates PHPirates added this to the b0.6.9 milestone Feb 18, 2020
PHPirates added a commit that referenced this issue Feb 19, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
crash-report Reports of crashes that popped up in IDEA.
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant