JetBrains / ideolog

Interactive viewer for '.log' files.
MIT License
251 stars 54 forks source link

Exception in ideolog #176

Closed mfilippov closed 5 months ago

mfilippov commented 5 months ago
java.lang.IndexOutOfBoundsException: Wrong line: 59. Available lines count: 56
    at com.intellij.openapi.editor.impl.LineSet.checkLineIndex([LineSet.java:197](https://engine.exa.aws.intellij.net/jbRedirect/idea/navigate/reference?project=intellij&fqn=com.intellij.openapi.editor.impl.LineSet:196))
    at com.intellij.openapi.editor.impl.LineSet.getLineEnd([LineSet.java:191](https://engine.exa.aws.intellij.net/jbRedirect/idea/navigate/reference?project=intellij&fqn=com.intellij.openapi.editor.impl.LineSet:190))
    at com.intellij.openapi.editor.impl.DocumentImpl.getLineEndOffset([DocumentImpl.java:1018](https://engine.exa.aws.intellij.net/jbRedirect/idea/navigate/reference?project=intellij&fqn=com.intellij.openapi.editor.impl.DocumentImpl:1017))
    at com.intellij.ideolog.highlighting.LogHighlightingIterator.linesSubSequence([LogHighlightingIterator.kt:105](https://engine.exa.aws.intellij.net/jbRedirect/idea/navigate/reference?project=intellij&fqn=com.intellij.ideolog.highlighting.LogHighlightingIterator:104))
    at com.intellij.ideolog.highlighting.LogHighlightingIterator.reparsePiecesLines([LogHighlightingIterator.kt:110](https://engine.exa.aws.intellij.net/jbRedirect/idea/navigate/reference?project=intellij&fqn=com.intellij.ideolog.highlighting.LogHighlightingIterator:109))
    at com.intellij.ideolog.highlighting.LogHighlightingIterator.<init>([LogHighlightingIterator.kt:52](https://engine.exa.aws.intellij.net/jbRedirect/idea/navigate/reference?project=intellij&fqn=com.intellij.ideolog.highlighting.LogHighlightingIterator:51))
    at com.intellij.ideolog.highlighting.LogEditorHighlighter.createIterator([LogFileHighlighterFactory.kt:45](https://engine.exa.aws.intellij.net/jbRedirect/idea/navigate/reference?project=intellij&fqn=com.intellij.ideolog.highlighting.LogEditorHighlighter:44))
    at com.intellij.openapi.editor.impl.view.IterationState.<init>([IterationState.java:130](https://engine.exa.aws.intellij.net/jbRedirect/idea/navigate/reference?project=intellij&fqn=com.intellij.openapi.editor.impl.view.IterationState:129))
    at com.intellij.openapi.editor.impl.view.LineLayout$Chunk.ensureLayout([LineLayout.java:646](https://engine.exa.aws.intellij.net/jbRedirect/idea/navigate/reference?project=intellij&fqn=com.intellij.openapi.editor.impl.view.LineLayout$Chunk:645))
    at com.intellij.openapi.editor.impl.view.LineLayout$VisualOrderIterator.hasNext([LineLayout.java:764](https://engine.exa.aws.intellij.net/jbRedirect/idea/navigate/reference?project=intellij&fqn=com.intellij.openapi.editor.impl.view.LineLayout$VisualOrderIterator:763))
    at com.intellij.openapi.editor.impl.view.VisualLineFragmentsIterator.hasNext([VisualLineFragmentsIterator.java:229](https://engine.exa.aws.intellij.net/jbRedirect/idea/navigate/reference?project=intellij&fqn=com.intellij.openapi.editor.impl.view.VisualLineFragmentsIterator:228))
    at com.intellij.openapi.editor.impl.view.EditorSizeManager.calculateLineWidth([EditorSizeManager.java:454](https://engine.exa.aws.intellij.net/jbRedirect/idea/navigate/reference?project=intellij&fqn=com.intellij.openapi.editor.impl.view.EditorSizeManager:453))
    at com.intellij.openapi.editor.impl.view.EditorSizeManager.getVisualLineWidth([EditorSizeManager.java:427](https://engine.exa.aws.intellij.net/jbRedirect/idea/navigate/reference?project=intellij&fqn=com.intellij.openapi.editor.impl.view.EditorSizeManager:426))
    at com.intellij.openapi.editor.impl.view.EditorSizeManager.calculateTextPreferredWidth([EditorSizeManager.java:407](https://engine.exa.aws.intellij.net/jbRedirect/idea/navigate/reference?project=intellij&fqn=com.intellij.openapi.editor.impl.view.EditorSizeManager:406))
    at com.intellij.openapi.editor.impl.view.EditorSizeManager.getTextPreferredWidth([EditorSizeManager.java:358](https://engine.exa.aws.intellij.net/jbRedirect/idea/navigate/reference?project=intellij&fqn=com.intellij.openapi.editor.impl.view.EditorSizeManager:357))
    at com.intellij.openapi.editor.impl.view.EditorSizeManager.getPreferredSize([EditorSizeManager.java:269](https://engine.exa.aws.intellij.net/jbRedirect/idea/navigate/reference?project=intellij&fqn=com.intellij.openapi.editor.impl.view.EditorSizeManager:268))
    at com.intellij.openapi.editor.impl.view.EditorView.lambda$getPreferredSize$0([EditorView.java:295](https://engine.exa.aws.intellij.net/jbRedirect/idea/navigate/reference?project=intellij&fqn=com.intellij.openapi.editor.impl.view.EditorView:294))
    at com.intellij.openapi.application.impl.ApplicationImpl.runReadAction([ApplicationImpl.java:909](https://engine.exa.aws.intellij.net/jbRedirect/idea/navigate/reference?project=intellij&fqn=com.intellij.openapi.application.impl.ApplicationImpl:908))
    at com.intellij.openapi.application.ReadAction.compute([ReadAction.java:65](https://engine.exa.aws.intellij.net/jbRedirect/idea/navigate/reference?project=intellij&fqn=com.intellij.openapi.application.ReadAction:64))
    at com.intellij.openapi.editor.impl.view.EditorView.getPreferredSize([EditorView.java:293](https://engine.exa.aws.intellij.net/jbRedirect/idea/navigate/reference?project=intellij&fqn=com.intellij.openapi.editor.impl.view.EditorView:292))
    at com.intellij.openapi.editor.impl.EditorImpl.lambda$getPreferredSize$54([EditorImpl.java:2243](https://engine.exa.aws.intellij.net/jbRedirect/idea/navigate/reference?project=intellij&fqn=com.intellij.openapi.editor.impl.EditorImpl:2242))
    at com.intellij.openapi.application.impl.ApplicationImpl.runReadAction([ApplicationImpl.java:909](https://engine.exa.aws.intellij.net/jbRedirect/idea/navigate/reference?project=intellij&fqn=com.intellij.openapi.application.impl.ApplicationImpl:908))
    at com.intellij.openapi.application.ReadAction.compute([ReadAction.java:65](https://engine.exa.aws.intellij.net/jbRedirect/idea/navigate/reference?project=intellij&fqn=com.intellij.openapi.application.ReadAction:64))
    at com.intellij.openapi.editor.impl.EditorImpl.getPreferredSize([EditorImpl.java:2240](https://engine.exa.aws.intellij.net/jbRedirect/idea/navigate/reference?project=intellij&fqn=com.intellij.openapi.editor.impl.EditorImpl:2239))
    at com.intellij.openapi.editor.impl.EditorComponentImpl.getPreferredSize([EditorComponentImpl.java:201](https://engine.exa.aws.intellij.net/jbRedirect/idea/navigate/reference?project=intellij&fqn=com.intellij.openapi.editor.impl.EditorComponentImpl:200))
    at java.desktop,javax.swing.JViewport.getViewSize([JViewport.java:1118](https://engine.exa.aws.intellij.net/jbRedirect/idea/navigate/reference?project=intellij&fqn=javax.swing.JViewport:1117))
    at java.desktop,javax.swing.plaf.basic.BasicScrollPaneUI.syncScrollPaneWithViewport([BasicScrollPaneUI.java:335](https://engine.exa.aws.intellij.net/jbRedirect/idea/navigate/reference?project=intellij&fqn=javax.swing.plaf.basic.BasicScrollPaneUI:334))
    at java.desktop,javax.swing.plaf.basic.BasicScrollPaneUI$Handler.stateChanged([BasicScrollPaneUI.java:1168](https://engine.exa.aws.intellij.net/jbRedirect/idea/navigate/reference?project=intellij&fqn=javax.swing.plaf.basic.BasicScrollPaneUI$Handler:1167))
    at java.desktop,javax.swing.JViewport.fireStateChanged([JViewport.java:1494](https://engine.exa.aws.intellij.net/jbRedirect/idea/navigate/reference?project=intellij&fqn=javax.swing.JViewport:1493))
    at java.desktop,javax.swing.JViewport$ViewListener.componentResized([JViewport.java:1413](https://engine.exa.aws.intellij.net/jbRedirect/idea/navigate/reference?project=intellij&fqn=javax.swing.JViewport$ViewListener:1412))
    at java.desktop,java.awt.Component.processComponentEvent([Component.java:6483](https://engine.exa.aws.intellij.net/jbRedirect/idea/navigate/reference?project=intellij&fqn=java.awt.Component:6482))
    at java.desktop,java.awt.Component.processEvent([Component.java:6437](https://engine.exa.aws.intellij.net/jbRedirect/idea/navigate/reference?project=intellij&fqn=java.awt.Component:6436))
    at java.desktop,java.awt.Container.processEvent([Container.java:2266](https://engine.exa.aws.intellij.net/jbRedirect/idea/navigate/reference?project=intellij&fqn=java.awt.Container:2265))
    at java.desktop,java.awt.Component.dispatchEventImpl([Component.java:5027](https://engine.exa.aws.intellij.net/jbRedirect/idea/navigate/reference?project=intellij&fqn=java.awt.Component:5026))
    at java.desktop,java.awt.Container.dispatchEventImpl([Container.java:2324](https://engine.exa.aws.intellij.net/jbRedirect/idea/navigate/reference?project=intellij&fqn=java.awt.Container:2323))
    at java.desktop,java.awt.Component.dispatchEvent([Component.java:4855](https://engine.exa.aws.intellij.net/jbRedirect/idea/navigate/reference?project=intellij&fqn=java.awt.Component:4854))
    at java.desktop,java.awt.EventQueue.dispatchEventImpl([EventQueue.java:794](https://engine.exa.aws.intellij.net/jbRedirect/idea/navigate/reference?project=intellij&fqn=java.awt.EventQueue:793))
    at java.desktop,java.awt.EventQueue$3.run([EventQueue.java:739](https://engine.exa.aws.intellij.net/jbRedirect/idea/navigate/reference?project=intellij&fqn=java.awt.EventQueue$3:738))
    at java.desktop,java.awt.EventQueue$3.run([EventQueue.java:733](https://engine.exa.aws.intellij.net/jbRedirect/idea/navigate/reference?project=intellij&fqn=java.awt.EventQueue$3:732))
    at java.base,java.security.AccessController.doPrivileged([AccessController.java:399](https://engine.exa.aws.intellij.net/jbRedirect/idea/navigate/reference?project=intellij&fqn=java.security.AccessController:398))
    at java.base,java.security.ProtectionDomain$JavaSecurityAccessImpl.doIntersectionPrivilege([ProtectionDomain.java:86](https://engine.exa.aws.intellij.net/jbRedirect/idea/navigate/reference?project=intellij&fqn=java.security.ProtectionDomain$JavaSecurityAccessImpl:85))
    at java.base,java.security.ProtectionDomain$JavaSecurityAccessImpl.doIntersectionPrivilege([ProtectionDomain.java:97](https://engine.exa.aws.intellij.net/jbRedirect/idea/navigate/reference?project=intellij&fqn=java.security.ProtectionDomain$JavaSecurityAccessImpl:96))
    at java.desktop,java.awt.EventQueue$4.run([EventQueue.java:766](https://engine.exa.aws.intellij.net/jbRedirect/idea/navigate/reference?project=intellij&fqn=java.awt.EventQueue$4:765))
    at java.desktop,java.awt.EventQueue$4.run([EventQueue.java:764](https://engine.exa.aws.intellij.net/jbRedirect/idea/navigate/reference?project=intellij&fqn=java.awt.EventQueue$4:763))
    at java.base,java.security.AccessController.doPrivileged([AccessController.java:399](https://engine.exa.aws.intellij.net/jbRedirect/idea/navigate/reference?project=intellij&fqn=java.security.AccessController:398))
    at java.base,java.security.ProtectionDomain$JavaSecurityAccessImpl.doIntersectionPrivilege([ProtectionDomain.java:86](https://engine.exa.aws.intellij.net/jbRedirect/idea/navigate/reference?project=intellij&fqn=java.security.ProtectionDomain$JavaSecurityAccessImpl:85))
    at java.desktop,java.awt.EventQueue.dispatchEvent([EventQueue.java:763](https://engine.exa.aws.intellij.net/jbRedirect/idea/navigate/reference?project=intellij&fqn=java.awt.EventQueue:762))
    at com.intellij.ide.IdeEventQueue.defaultDispatchEvent([IdeEventQueue.kt:695](https://engine.exa.aws.intellij.net/jbRedirect/idea/navigate/reference?project=intellij&fqn=com.intellij.ide.IdeEventQueue:694))
    at com.intellij.ide.IdeEventQueue._dispatchEvent$lambda$12([IdeEventQueue.kt:589](https://engine.exa.aws.intellij.net/jbRedirect/idea/navigate/reference?project=intellij&fqn=com.intellij.ide.IdeEventQueue:588))
    at com.intellij.openapi.application.impl.RwLockHolder.runWithoutImplicitRead([RwLockHolder.kt:44](https://engine.exa.aws.intellij.net/jbRedirect/idea/navigate/reference?project=intellij&fqn=com.intellij.openapi.application.impl.RwLockHolder:43))
    at com.intellij.ide.IdeEventQueue._dispatchEvent([IdeEventQueue.kt:589](https://engine.exa.aws.intellij.net/jbRedirect/idea/navigate/reference?project=intellij&fqn=com.intellij.ide.IdeEventQueue:588))
    at com.intellij.ide.IdeEventQueue.access$_dispatchEvent([IdeEventQueue.kt:72](https://engine.exa.aws.intellij.net/jbRedirect/idea/navigate/reference?project=intellij&fqn=com.intellij.ide.IdeEventQueue:71))
    at com.intellij.ide.IdeEventQueue$dispatchEvent$processEventRunnable$1$1$1.compute([IdeEventQueue.kt:355](https://engine.exa.aws.intellij.net/jbRedirect/idea/navigate/reference?project=intellij&fqn=com.intellij.ide.IdeEventQueue$dispatchEvent$processEventRunnable$1$1$1:354))
    at com.intellij.ide.IdeEventQueue$dispatchEvent$processEventRunnable$1$1$1.compute([IdeEventQueue.kt:354](https://engine.exa.aws.intellij.net/jbRedirect/idea/navigate/reference?project=intellij&fqn=com.intellij.ide.IdeEventQueue$dispatchEvent$processEventRunnable$1$1$1:353))
    at com.intellij.openapi.progress.impl.CoreProgressManager.computePrioritized([CoreProgressManager.java:793](https://engine.exa.aws.intellij.net/jbRedirect/idea/navigate/reference?project=intellij&fqn=com.intellij.openapi.progress.impl.CoreProgressManager:792))
    at com.intellij.ide.IdeEventQueue$dispatchEvent$processEventRunnable$1$1.invoke([IdeEventQueue.kt:354](https://engine.exa.aws.intellij.net/jbRedirect/idea/navigate/reference?project=intellij&fqn=com.intellij.ide.IdeEventQueue$dispatchEvent$processEventRunnable$1$1:353))
    at com.intellij.ide.IdeEventQueue$dispatchEvent$processEventRunnable$1$1.invoke([IdeEventQueue.kt:349](https://engine.exa.aws.intellij.net/jbRedirect/idea/navigate/reference?project=intellij&fqn=com.intellij.ide.IdeEventQueue$dispatchEvent$processEventRunnable$1$1:348))
    at com.intellij.ide.IdeEventQueueKt.performActivity$lambda$1([IdeEventQueue.kt:1014](https://engine.exa.aws.intellij.net/jbRedirect/idea/navigate/reference?project=intellij&fqn=com.intellij.ide.IdeEventQueueKt:1013))
    at com.intellij.openapi.application.TransactionGuardImpl.performActivity([TransactionGuardImpl.java:106](https://engine.exa.aws.intellij.net/jbRedirect/idea/navigate/reference?project=intellij&fqn=com.intellij.openapi.application.TransactionGuardImpl:105))
    at com.intellij.ide.IdeEventQueueKt.performActivity([IdeEventQueue.kt:1014](https://engine.exa.aws.intellij.net/jbRedirect/idea/navigate/reference?project=intellij&fqn=com.intellij.ide.IdeEventQueueKt:1013))
    at com.intellij.ide.IdeEventQueue.dispatchEvent$lambda$7([IdeEventQueue.kt:349](https://engine.exa.aws.intellij.net/jbRedirect/idea/navigate/reference?project=intellij&fqn=com.intellij.ide.IdeEventQueue:348))
    at com.intellij.openapi.application.impl.ApplicationImpl.runIntendedWriteActionOnCurrentThread([ApplicationImpl.java:848](https://engine.exa.aws.intellij.net/jbRedirect/idea/navigate/reference?project=intellij&fqn=com.intellij.openapi.application.impl.ApplicationImpl:847))
    at com.intellij.ide.IdeEventQueue.dispatchEvent([IdeEventQueue.kt:391](https://engine.exa.aws.intellij.net/jbRedirect/idea/navigate/reference?project=intellij&fqn=com.intellij.ide.IdeEventQueue:390))
    at java.desktop,java.awt.EventDispatchThread.pumpOneEventForFilters([EventDispatchThread.java:207](https://engine.exa.aws.intellij.net/jbRedirect/idea/navigate/reference?project=intellij&fqn=java.awt.EventDispatchThread:206))
    at java.desktop,java.awt.EventDispatchThread.pumpEventsForFilter([EventDispatchThread.java:128](https://engine.exa.aws.intellij.net/jbRedirect/idea/navigate/reference?project=intellij&fqn=java.awt.EventDispatchThread:127))
    at java.desktop,java.awt.EventDispatchThread.pumpEventsForHierarchy([EventDispatchThread.java:117](https://engine.exa.aws.intellij.net/jbRedirect/idea/navigate/reference?project=intellij&fqn=java.awt.EventDispatchThread:116))
    at java.desktop,java.awt.EventDispatchThread.pumpEvents([EventDispatchThread.java:113](https://engine.exa.aws.intellij.net/jbRedirect/idea/navigate/reference?project=intellij&fqn=java.awt.EventDispatchThread:112))
    at java.desktop,java.awt.EventDispatchThread.pumpEvents([EventDispatchThread.java:105](https://engine.exa.aws.intellij.net/jbRedirect/idea/navigate/reference?project=intellij&fqn=java.awt.EventDispatchThread:104))
    at java.desktop,java.awt.EventDispatchThread.run([EventDispatchThread.java:92](https://engine.exa.aws.intellij.net/jbRedirect/idea/navigate/reference?project=intellij&fqn=java.awt.EventDispatchThread:91))
ArtemKar123 commented 5 months ago

Fixed in https://github.com/JetBrains/ideolog/commit/87aabc8b261c4937b1a06038d392ba5f485d4e2c