java.lang.IllegalStateException: @NotNull method mobi/hsz/idea/gitignore/util/CacheMap.getParentStatus must not return null

Searched on Google with the first line of a JAVA stack trace?

We can recommend more relevant solutions and speed up debugging when you paste your entire stack trace with the exception message. Try a sample exception.

Recommended solutions based on your search

Solutions on the web

via GitHub by Eh2406
, 1 year ago
@NotNull method mobi/hsz/idea/gitignore/util/CacheMap.getParentStatus must not return null
via GitHub by jwhonce
, 2 years ago
@NotNull method mobi/hsz/idea/gitignore/util/CacheMap.getParentStatus must not return null
java.lang.IllegalStateException: @NotNull method mobi/hsz/idea/gitignore/util/CacheMap.getParentStatus must not return null
at mobi.hsz.idea.gitignore.util.CacheMap.getParentStatus(CacheMap.java:231)
at mobi.hsz.idea.gitignore.util.CacheMap.isFileIgnored(CacheMap.java:174)
at mobi.hsz.idea.gitignore.IgnoreManager.isFileIgnored(IgnoreManager.java:315)
at mobi.hsz.idea.gitignore.vcs.IgnoreFileStatusProvider.getFileStatus(IgnoreFileStatusProvider.java:69)
at com.intellij.openapi.vcs.impl.FileStatusManagerImpl.calcStatus(FileStatusManagerImpl.java:144)
at com.intellij.openapi.vcs.impl.FileStatusManagerImpl.getStatus(FileStatusManagerImpl.java:279)
at com.intellij.ide.projectView.impl.nodes.AbstractPsiBasedNode.getFileStatus(AbstractPsiBasedNode.java:121)
at com.intellij.ide.util.treeView.AbstractTreeNode.setForcedForeground(AbstractTreeNode.java:81)
at com.intellij.ide.util.treeView.AbstractTreeNode.postprocess(AbstractTreeNode.java:77)
at com.intellij.ide.util.treeView.PresentableNodeDescriptor.getUpdatedPresentation(PresentableNodeDescriptor.java:91)
at com.intellij.ide.util.treeView.PresentableNodeDescriptor.update(PresentableNodeDescriptor.java:41)
at com.intellij.ide.util.treeView.AbstractTreeBuilder.updateNodeDescriptor(AbstractTreeBuilder.java:577)
at com.intellij.ide.util.treeView.AbstractTreeUi$22.perform(AbstractTreeUi.java:937)
at com.intellij.ide.util.treeView.TreeRunnable.run(TreeRunnable.java:34)
at com.intellij.ide.util.treeView.AbstractTreeUi.execute(AbstractTreeUi.java:1838)
at com.intellij.ide.util.treeView.AbstractTreeUi.update(AbstractTreeUi.java:933)
at com.intellij.ide.util.treeView.AbstractTreeUi.update(AbstractTreeUi.java:885)
at com.intellij.ide.util.treeView.AbstractTreeUi.access$1600(AbstractTreeUi.java:66)
at com.intellij.ide.util.treeView.AbstractTreeUi$24$1.run(AbstractTreeUi.java:1095)
at com.intellij.ide.util.treeView.AbstractTreeUi.execute(AbstractTreeUi.java:1817)
at com.intellij.ide.util.treeView.AbstractTreeUi.access$5400(AbstractTreeUi.java:66)
at com.intellij.ide.util.treeView.AbstractTreeUi$34.perform(AbstractTreeUi.java:1783)
at com.intellij.ide.util.treeView.TreeRunnable.run(TreeRunnable.java:34)
at com.intellij.ide.util.treeView.AbstractTreeUi.executeYieldingRequest(AbstractTreeUi.java:2092)
at com.intellij.ide.util.treeView.AbstractTreeUi.access$6000(AbstractTreeUi.java:66)
at com.intellij.ide.util.treeView.AbstractTreeUi$37$1.perform(AbstractTreeUi.java:1984)
at com.intellij.ide.util.treeView.TreeRunnable.run(TreeRunnable.java:34)
at com.intellij.ide.util.treeView.AbstractTreeBuilder.runOnYeildingDone(AbstractTreeBuilder.java:433)
at com.intellij.ide.util.treeView.AbstractTreeUi.runOnYieldingDone(AbstractTreeUi.java:2187)
at com.intellij.ide.util.treeView.AbstractTreeUi$37.perform(AbstractTreeUi.java:1979)
at com.intellij.ide.util.treeView.TreeRunnable.run(TreeRunnable.java:34)
at com.intellij.ide.util.treeView.AbstractTreeBuilder$1.process(AbstractTreeBuilder.java:53)
at com.intellij.ide.util.treeView.AbstractTreeBuilder$1.process(AbstractTreeBuilder.java:50)
at com.intellij.util.containers.TransferToEDTQueue.processNext(TransferToEDTQueue.java:99)
at com.intellij.util.containers.TransferToEDTQueue.access$300(TransferToEDTQueue.java:37)
at java.awt.event.InvocationEvent.dispatch(InvocationEvent.java:311)
at java.awt.EventQueue.dispatchEventImpl(EventQueue.java:756)
at java.awt.EventQueue.access$500(EventQueue.java:97)
at java.awt.EventQueue$3.run(EventQueue.java:709)
at java.awt.EventQueue$3.run(EventQueue.java:703)
at java.security.AccessController.doPrivileged(Native Method)
at java.security.ProtectionDomain$JavaSecurityAccessImpl.doIntersectionPrivilege(ProtectionDomain.java:76)
at java.awt.EventQueue.dispatchEvent(EventQueue.java:726)
at com.intellij.ide.IdeEventQueue.g(IdeEventQueue.java:857)
at com.intellij.ide.IdeEventQueue._dispatchEvent(IdeEventQueue.java:658)
at java.awt.EventDispatchThread.pumpOneEventForFilters(EventDispatchThread.java:201)
at java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:116)
at java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:105)
at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:101)
at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:93)
at java.awt.EventDispatchThread.run(EventDispatchThread.java:82)

Users with the same issue

You are the first who have seen this exception.

Write tip

Know the solutions? Share your knowledge to help other developers to debug faster.