DataGrip hangs after import file with relative path
Completed
Input anywhere with this line:
.import ..
DataGrip hangs.
log here:
2018-04-09 14:13:43,858 [ 45376] ERROR - enapi.editor.impl.DocumentImpl - com.intellij.openapi.editor.ex.util.LexerEditorHighlighter(com.intellij.sql.highlighting.SqlSyntaxHighlighter$MyLayeredLexer): Error updating after DocumentEventImpl[myOffset=300, myOldLength=0, myNewLength=1, myOldString='', myNewString='.'].
com.intellij.openapi.editor.ex.util.LexerEditorHighlighter$InvalidStateException: com.intellij.openapi.editor.ex.util.LexerEditorHighlighter(com.intellij.sql.highlighting.SqlSyntaxHighlighter$MyLayeredLexer): Error updating after DocumentEventImpl[myOffset=300, myOldLength=0, myNewLength=1, myOldString='', myNewString='.'].
at com.intellij.openapi.editor.ex.util.LexerEditorHighlighter.documentChanged(LexerEditorHighlighter.java:329)
at com.intellij.openapi.editor.impl.DocumentImpl.a(DocumentImpl.java:810)
at com.intellij.openapi.editor.impl.DocumentImpl.a(DocumentImpl.java:716)
at com.intellij.openapi.editor.impl.DocumentImpl.insertString(DocumentImpl.java:471)
at com.intellij.openapi.editor.EditorModificationUtil.insertStringAtCaretNoScrolling(EditorModificationUtil.java:107)
at com.intellij.openapi.editor.EditorModificationUtil.insertStringAtCaret(EditorModificationUtil.java:83)
at com.intellij.openapi.editor.EditorModificationUtil.insertStringAtCaret(EditorModificationUtil.java:75)
at com.intellij.codeInsight.editorActions.TypedHandler.a(TypedHandler.java:272)
at com.intellij.codeInsight.editorActions.TypedHandler.a(TypedHandler.java:233)
at com.intellij.openapi.editor.impl.CaretModelImpl.a(CaretModelImpl.java:363)
at com.intellij.openapi.editor.impl.CaretModelImpl.doWithCaretMerging(CaretModelImpl.java:452)
at com.intellij.openapi.editor.impl.CaretModelImpl.runForEachCaret(CaretModelImpl.java:355)
at com.intellij.openapi.editor.impl.CaretModelImpl.runForEachCaret(CaretModelImpl.java:346)
at com.intellij.codeInsight.editorActions.TypedHandler.execute(TypedHandler.java:167)
at com.intellij.codeInsight.lookup.impl.LookupTypedHandler.execute(LookupTypedHandler.java:89)
at com.intellij.codeInsight.template.emmet.EmmetPreviewTypedHandler.execute(EmmetPreviewTypedHandler.java:39)
at com.intellij.openapi.editor.actionSystem.TypedAction$DefaultRawHandler$1.run(TypedAction.java:171)
at com.intellij.openapi.application.impl.ApplicationImpl.runWriteAction(ApplicationImpl.java:1010)
at com.intellij.openapi.editor.actionSystem.TypedAction$DefaultRawHandler.lambda$execute$0(TypedAction.java:165)
at com.intellij.openapi.command.impl.CoreCommandProcessor.a(CoreCommandProcessor.java:141)
at com.intellij.openapi.command.impl.CoreCommandProcessor.executeCommand(CoreCommandProcessor.java:109)
at com.intellij.openapi.editor.actionSystem.TypedAction$DefaultRawHandler.execute(TypedAction.java:159)
at com.intellij.openapi.editor.impl.EditorFactoryImpl$MyTypedHandler.execute(EditorFactoryImpl.java:297)
at com.maddyhome.idea.vim.group.ChangeGroup$2$1.run(ChangeGroup.java:644)
at com.intellij.openapi.application.impl.ApplicationImpl.runWriteAction(ApplicationImpl.java:1010)
at com.maddyhome.idea.vim.group.ChangeGroup$2.run(ChangeGroup.java:642)
at com.intellij.openapi.command.impl.CoreCommandProcessor.a(CoreCommandProcessor.java:149)
at com.intellij.openapi.command.impl.CoreCommandProcessor.executeCommand(CoreCommandProcessor.java:109)
at com.maddyhome.idea.vim.group.ChangeGroup.processKey(ChangeGroup.java:639)
at com.maddyhome.idea.vim.KeyHandler.handleKey(KeyHandler.java:199)
at com.maddyhome.idea.vim.KeyHandler.handleKey(KeyHandler.java:125)
at com.maddyhome.idea.vim.VimTypedActionHandler.execute(VimTypedActionHandler.java:68)
at com.intellij.openapi.editor.actionSystem.TypedAction.lambda$actionPerformed$0(TypedAction.java:142)
at com.intellij.reporting.FreezeLoggerImpl.runUnderPerformanceMonitor(FreezeLoggerImpl.java:42)
at com.intellij.openapi.editor.actionSystem.TypedAction.actionPerformed(TypedAction.java:142)
at com.intellij.openapi.editor.impl.EditorImpl.processKeyTypedNormally(EditorImpl.java:1193)
at com.intellij.openapi.editor.impl.EditorImpl.a(EditorImpl.java:1181)
at com.intellij.openapi.editor.impl.EditorImpl.processKeyTyped(EditorImpl.java:3211)
at com.intellij.openapi.editor.impl.EditorImpl$7.keyTyped(EditorImpl.java:1012)
at java.awt.Component.processKeyEvent(Component.java:6496)
at javax.swing.JComponent.processKeyEvent(JComponent.java:2833)
at java.awt.Component.processEvent(Component.java:6318)
at java.awt.Container.processEvent(Container.java:2237)
at java.awt.Component.dispatchEventImpl(Component.java:4897)
at java.awt.Container.dispatchEventImpl(Container.java:2295)
at java.awt.Component.dispatchEvent(Component.java:4719)
at java.awt.KeyboardFocusManager.redispatchEvent(KeyboardFocusManager.java:1954)
at java.awt.DefaultKeyboardFocusManager.dispatchKeyEvent(DefaultKeyboardFocusManager.java:806)
at java.awt.DefaultKeyboardFocusManager.preDispatchKeyEvent(DefaultKeyboardFocusManager.java:1074)
at java.awt.DefaultKeyboardFocusManager.typeAheadAssertions(DefaultKeyboardFocusManager.java:945)
at java.awt.DefaultKeyboardFocusManager.dispatchEvent(DefaultKeyboardFocusManager.java:771)
at com.intellij.ide.IdeKeyboardFocusManager.dispatchEvent(IdeKeyboardFocusManager.java:27)
at java.awt.Component.dispatchEventImpl(Component.java:4768)
at java.awt.Container.dispatchEventImpl(Container.java:2295)
at java.awt.Window.dispatchEventImpl(Window.java:2746)
at java.awt.Component.dispatchEvent(Component.java:4719)
at java.awt.EventQueue.dispatchEventImpl(EventQueue.java:764)
at java.awt.EventQueue.access$500(EventQueue.java:98)
at java.awt.EventQueue$3.run(EventQueue.java:715)
at java.awt.EventQueue$3.run(EventQueue.java:709)
at java.security.AccessController.doPrivileged(Native Method)
at java.security.ProtectionDomain$JavaSecurityAccessImpl.doIntersectionPrivilege(ProtectionDomain.java:80)
at java.security.ProtectionDomain$JavaSecurityAccessImpl.doIntersectionPrivilege(ProtectionDomain.java:90)
at java.awt.EventQueue$4.run(EventQueue.java:737)
at java.awt.EventQueue$4.run(EventQueue.java:735)
at java.security.AccessController.doPrivileged(Native Method)
at java.security.ProtectionDomain$JavaSecurityAccessImpl.doIntersectionPrivilege(ProtectionDomain.java:80)
at java.awt.EventQueue.dispatchEvent(EventQueue.java:734)
at com.intellij.ide.IdeEventQueue.r(IdeEventQueue.java:837)
at com.intellij.ide.IdeEventQueue._dispatchEvent(IdeEventQueue.java:739)
at com.intellij.ide.IdeEventQueue.dispatchEvent(IdeEventQueue.java:434)
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)
Caused by: java.lang.IllegalStateException: Lexer is not progressing after calling advance()
at com.intellij.openapi.editor.ex.util.LexerEditorHighlighter.documentChanged(LexerEditorHighlighter.java:269)
... 76 more
2018-04-09 14:13:43,860 [ 45378] ERROR - enapi.editor.impl.DocumentImpl - DataGrip 2018.1 Build #DB-181.4203.585
2018-04-09 14:13:43,860 [ 45378] ERROR - enapi.editor.impl.DocumentImpl - JDK: 1.8.0_152-release
2018-04-09 14:13:43,860 [ 45378] ERROR - enapi.editor.impl.DocumentImpl - VM: OpenJDK 64-Bit Server VM
2018-04-09 14:13:43,860 [ 45378] ERROR - enapi.editor.impl.DocumentImpl - Vendor: JetBrains s.r.o
2018-04-09 14:13:43,860 [ 45378] ERROR - enapi.editor.impl.DocumentImpl - OS: Mac OS X
2018-04-09 14:13:43,860 [ 45378] ERROR - enapi.editor.impl.DocumentImpl - Current Command: Typing
2018-04-09 14:14:06,924 [ 68442] INFO - il.indexing.FileBasedIndexImpl - START INDEX SHUTDOWN
2018-04-09 14:14:06,979 [ 68497] INFO - il.indexing.FileBasedIndexImpl - END INDEX SHUTDOWN
2018-04-09 14:14:06,979 [ 68497] INFO - stubs.SerializationManagerImpl - START StubSerializationManager SHUTDOWN
2018-04-09 14:14:06,979 [ 68497] INFO - stubs.SerializationManagerImpl - END StubSerializationManager SHUTDOWN
2018-04-09 14:14:06,982 [ 68500] INFO - newvfs.persistent.PersistentFS - VFS dispose started
2018-04-09 14:14:06,983 [ 68501] INFO - newvfs.persistent.PersistentFS - VFS dispose completed
2018-04-09 14:14:06,983 [ 68501] INFO - #com.intellij.idea.Main - ------------------------------------------------------ IDE SHUTDOWN ------------------------------------------------------
2018-04-09 14:14:06,986 [ 68504] INFO - org.jetbrains.io.BuiltInServer - web server stopped
Please sign in to leave a comment.
It will be fixed in 2018.1.1 update
fixed: https://youtrack.jetbrains.com/issue/DBE-6206