TeXiFy-IDEA
TeXiFy-IDEA copied to clipboard
java.lang.Throwable: Do not call `getChildren(null)`. Do not expand action groups manually. Reuse `AnActionEvent.updateSession` by composing, wrapping, and postprocessing action groups. Otherwise, use `getChildActionsOrStubs()` or `getChildren(ActionManage
Type of JetBrains IDE (IntelliJ, PyCharm, etc.) and version
IntelliJ IDEA 2025.1.1.1 (build IU-251.25410.129)
Operating System
Mac OS X 15.4.1 (x86_64)
TeXiFy IDEA version
0.10.3
Description
Stacktrace
java.lang.Throwable: Do not call `getChildren(null)`. Do not expand action groups manually. Reuse `AnActionEvent.updateSession` by composing, wrapping, and postprocessing action groups. Otherwise, use `getChildActionsOrStubs()` or `getChildren(ActionManager)`
at com.intellij.openapi.diagnostic.Logger.error(Logger.java:375)
at com.intellij.openapi.actionSystem.DefaultActionGroup.reportGetChildrenForNullEvent(DefaultActionGroup.java:373)
at com.intellij.openapi.actionSystem.DefaultActionGroup.getChildren(DefaultActionGroup.java:367)
at com.intellij.ui.mac.touchbar.CtxDialogs.isCrossEscGroup(CtxDialogs.java:136)
at com.intellij.ui.mac.touchbar.CtxDialogs.showWindowActions(CtxDialogs.java:61)
at com.intellij.ui.mac.touchbar.TouchbarSupport.showWindowActions(TouchbarSupport.java:196)
at com.intellij.openapi.ui.impl.DialogWrapperPeerImpl.show(DialogWrapperPeerImpl.java:440)
at com.intellij.openapi.ui.DialogWrapper.doShow(DialogWrapper.java:1815)
at com.intellij.openapi.ui.DialogWrapper.show(DialogWrapper.java:1764)
at com.intellij.openapi.progress.util.ProgressDialog.show(ProgressDialog.kt:213)
at com.intellij.openapi.progress.util.ProgressWindow.showDialog(ProgressWindow.java:261)
at com.intellij.openapi.progress.util.PotemkinProgress.updateUI(PotemkinProgress.java:127)
at com.intellij.openapi.progress.util.PotemkinProgress.interact(PotemkinProgress.java:101)
at com.intellij.openapi.progress.impl.ProgressManagerImpl.lambda$executeProcessUnderProgress$0(ProgressManagerImpl.java:68)
at com.intellij.openapi.progress.impl.ProgressManagerImpl.lambda$runCheckCanceledHooks$2(ProgressManagerImpl.java:216)
at java.base/java.util.concurrent.ConcurrentHashMap$KeySetView.forEach(ConcurrentHashMap.java:4709)
at com.intellij.openapi.progress.impl.ProgressManagerImpl.runCheckCanceledHooks(ProgressManagerImpl.java:215)
at com.intellij.openapi.progress.impl.CoreProgressManager.doCheckCanceled(CoreProgressManager.java:177)
at com.intellij.openapi.progress.ProgressManager.checkCanceled(ProgressManager.java:336)
at com.intellij.openapi.progress.ProgressIndicatorProvider.checkCanceled(ProgressIndicatorProvider.java:41)
at com.intellij.psi.impl.source.tree.AstBufferUtil$BufferVisitor.visitLeaf(AstBufferUtil.java:72)
at com.intellij.psi.impl.source.tree.LeafElement.acceptTree(LeafElement.java:169)
at com.intellij.psi.impl.source.tree.RecursiveTreeElementWalkingVisitor$1.visit(RecursiveTreeElementWalkingVisitor.java:66)
at com.intellij.psi.impl.source.tree.RecursiveTreeElementWalkingVisitor$1.visit(RecursiveTreeElementWalkingVisitor.java:58)
at com.intellij.util.WalkingState.walkChildren(WalkingState.java:63)
at com.intellij.util.WalkingState.elementStarted(WalkingState.java:40)
at com.intellij.psi.impl.source.tree.RecursiveTreeElementWalkingVisitor.visitNode(RecursiveTreeElementWalkingVisitor.java:85)
at com.intellij.psi.impl.source.tree.RecursiveTreeElementWalkingVisitor.visitComposite(RecursiveTreeElementWalkingVisitor.java:80)
at com.intellij.psi.impl.source.tree.AstBufferUtil$BufferVisitor.visitComposite(AstBufferUtil.java:96)
at com.intellij.psi.impl.source.tree.CompositeElement.acceptTree(CompositeElement.java:115)
at com.intellij.psi.impl.source.tree.AstBufferUtil.toBuffer(AstBufferUtil.java:22)
at com.intellij.psi.impl.source.tree.AstBufferUtil.toBuffer(AstBufferUtil.java:17)
at com.intellij.psi.impl.source.tree.CompositeElement.textToCharArray(CompositeElement.java:243)
at com.intellij.psi.impl.source.tree.CompositeElement.getText(CompositeElement.java:220)
at com.intellij.extapi.psi.ASTDelegatePsiElement.getText(ASTDelegatePsiElement.java:135)
at nl.hannahsten.texifyidea.util.parser.LatexCommandsImplMixinUtilKt.getRequiredParameters(LatexCommandsImplMixinUtil.kt:171)
at nl.hannahsten.texifyidea.psi.impl.LatexCommandsImplMixin.getRequiredParameters(LatexCommandsImplMixin.kt:127)
at nl.hannahsten.texifyidea.reference.CommandDefinitionReference.multiResolve(CommandDefinitionReference.kt:38)
at nl.hannahsten.texifyidea.psi.impl.LatexCommandsImplMixin.getReferences(LatexCommandsImplMixin.kt:107)
at com.intellij.refactoring.move.FileReferenceContextUtil$1.visitElement(FileReferenceContextUtil.java:38)
at com.intellij.psi.impl.PsiElementBase.accept(PsiElementBase.java:270)
at nl.hannahsten.texifyidea.psi.impl.LatexCommandsImplMixin.accept(LatexCommandsImplMixin.kt:55)
at nl.hannahsten.texifyidea.psi.impl.LatexCommandsImpl.accept(LatexCommandsImpl.java:32)
at com.intellij.psi.PsiWalkingState.visit(PsiWalkingState.java:58)
at com.intellij.psi.PsiWalkingState.visit(PsiWalkingState.java:11)
at com.intellij.util.WalkingState.walkChildren(WalkingState.java:63)
at com.intellij.util.WalkingState.elementStarted(WalkingState.java:40)
at com.intellij.psi.PsiWalkingState.elementStarted(PsiWalkingState.java:67)
at com.intellij.psi.PsiRecursiveElementWalkingVisitor.visitElement(PsiRecursiveElementWalkingVisitor.java:34)
at com.intellij.refactoring.move.FileReferenceContextUtil$1.visitElement(FileReferenceContextUtil.java:46)
at com.intellij.psi.PsiElementVisitor.visitFile(PsiElementVisitor.java:51)
at com.intellij.psi.PsiRecursiveElementWalkingVisitor.visitFile(PsiRecursiveElementWalkingVisitor.java:56)
at com.intellij.extapi.psi.PsiFileBase.accept(PsiFileBase.java:59)
at com.intellij.refactoring.move.FileReferenceContextUtil.encodeFileReferences(FileReferenceContextUtil.java:30)
at com.intellij.refactoring.move.moveFilesOrDirectories.MoveFilesOrDirectoriesProcessor.performRefactoring(MoveFilesOrDirectoriesProcessor.java:171)
at com.intellij.refactoring.BaseRefactoringProcessor.lambda$doRefactoring$10(BaseRefactoringProcessor.java:536)
at com.intellij.openapi.application.impl.ApplicationImpl.lambda$runEdtProgressWriteAction$8(ApplicationImpl.java:980)
at com.intellij.openapi.progress.impl.CoreProgressManager.lambda$runProcess$1(CoreProgressManager.java:229)
at com.intellij.platform.diagnostic.telemetry.helpers.TraceKt.use(trace.kt:43)
at com.intellij.openapi.progress
I moved a file from my desktop into the file tree in intellij, and I got this error. It does not impact my work, but intellij prompted me to post this here.
Thanks for reporting this, it is a Mac specific UI issue already reported at https://youtrack.jetbrains.com/issue/IJPL-173272/java.lang.Throwable-Do-not-call-getChildrennull-is-thrown-when-requesting-the-list-of-tasks since it is a platform issue, so I'll close this one.