cached element pointer failed to retrieve any element. Pointer is psi:range=(2015,3061),type=ByType{class=class com.jetbrains.python.psi.impl.PyFunctionImpl, elementType=Py:FUNCTION_DECLARATION, fileLanguage=Language: Python},stubId=-1
java.lang.IllegalStateException: cached element pointer failed to retrieve any element. Pointer is psi:range=(2015,3061),type=ByType{class=class com.jetbrains.python.psi.impl.PyFunctionImpl, elementType=Py:FUNCTION_DECLARATION, fileLanguage=Language: Python},stubId=-1
at sk.tuke.kpi.connotator.elements.CachedSmartPsiElementPointer.getElement(CachedSmartPsiElementPointer.kt:31)
at sk.tuke.kpi.connotator.elements.CachedSmartPsiElementPointer.getValue(CachedSmartPsiElementPointer.kt:19)
at sk.tuke.kpi.connotator.elements.TrackedCodeElement.getPsi(TrackedCodeElement.kt)
at sk.tuke.kpi.connotator.fragments.CodeFragmentKt.getPsiElements(CodeFragment.kt:121)
at sk.tuke.kpi.connotator.highlighting.FragmentsInFocusCollector$collectCodeToHighlight$fragmentsInFocus$2.invoke(FragmentsInFocusCollector.kt:37)
at sk.tuke.kpi.connotator.highlighting.FragmentsInFocusCollector$collectCodeToHighlight$fragmentsInFocus$2.invoke(FragmentsInFocusCollector.kt:19)
at kotlin.sequences.FilteringSequence$iterator$1.calcNext(Sequences.kt:110)
at kotlin.sequences.FilteringSequence$iterator$1.hasNext(Sequences.kt:133)
at kotlin.sequences.SequencesKt___SequencesKt.toCollection(_Sequences.kt:654)
at kotlin.sequences.SequencesKt___SequencesKt.toMutableList(_Sequences.kt:684)
at sk.tuke.kpi.connotator.highlighting.FragmentsInFocusCollector.collectCodeToHighlight(FragmentsInFocusCollector.kt:40)
at sk.tuke.kpi.connotator.highlighting.CoreHighlightingPass.doCollectInformation(CoreHighlightingPass.kt:34)
at com.intellij.codeHighlighting.TextEditorHighlightingPass.collectInformation(TextEditorHighlightingPass.java:70)
at com.intellij.codeInsight.daemon.impl.PassExecutorService$ScheduledPass.c(PassExecutorService.java:437)
at com.intellij.openapi.application.impl.ApplicationImpl.tryRunReadAction(ApplicationImpl.java:1134)
at com.intellij.codeInsight.daemon.impl.PassExecutorService$ScheduledPass.d(PassExecutorService.java:430)
at com.intellij.openapi.progress.impl.CoreProgressManager.a(CoreProgressManager.java:580)
at com.intellij.openapi.progress.impl.CoreProgressManager.executeProcessUnderProgress(CoreProgressManager.java:525)
at com.intellij.openapi.progress.impl.ProgressManagerImpl.executeProcessUnderProgress(ProgressManagerImpl.java:85)
at com.intellij.codeInsight.daemon.impl.PassExecutorService$ScheduledPass.a(PassExecutorService.java:429)
at com.intellij.codeInsight.daemon.impl.PassExecutorService$ScheduledPass.b(PassExecutorService.java:405)
at com.intellij.openapi.application.impl.ReadMostlyRWLock.executeByImpatientReader(ReadMostlyRWLock.java:143)
at com.intellij.openapi.application.impl.ApplicationImpl.executeByImpatientReader(ApplicationImpl.java:218)
at com.intellij.codeInsight.daemon.impl.PassExecutorService$ScheduledPass.run(PassExecutorService.java:403)
at com.intellij.concurrency.JobLauncherImpl$VoidForkJoinTask$1.exec(JobLauncherImpl.java:170)
at java.util.concurrent.ForkJoinTask.doExec(ForkJoinTask.java:289)
at java.util.concurrent.ForkJoinPool$WorkQueue.runTask(ForkJoinPool.java:1056)
at java.util.concurrent.ForkJoinPool.runWorker(ForkJoinPool.java:1692)
at java.util.concurrent.ForkJoinWorkerThread.run(ForkJoinWorkerThread.java:157)
Connotator version: SNAPSHOT_12632+28f1a522 | IDE version: PY-181.4445.28 | Java version: 1.8.0_152-release | OS: Linux (4.15.12-301.fc27.x86_64)