RC2 hang on Mac when pasting in editor
I get the following exception in 11.0 RC2 when copying and pasting in the editor and IDEA hangs with spinning beachball:
06/12/11 09:12:03,517 [0x0-0x457457].com.jetbrains.intellij: [10012415] ERROR - .history.utils.LocalHistoryLog - Assertion failed: current changes won't be saved: [ContentChange: /MyProject/src/main/java/MyClass.java]
06/12/11 09:12:03,517 [0x0-0x457457].com.jetbrains.intellij: java.lang.Throwable
06/12/11 09:12:03,517 [0x0-0x457457].com.jetbrains.intellij: at com.intellij.openapi.diagnostic.Logger.assertTrue(Logger.java:98)
06/12/11 09:12:03,517 [0x0-0x457457].com.jetbrains.intellij: at com.intellij.history.core.ChangeList.close(ChangeList.java:47)
06/12/11 09:12:03,517 [0x0-0x457457].com.jetbrains.intellij: at com.intellij.history.integration.LocalHistoryImpl.disposeComponent(LocalHistoryImpl.java:138)
06/12/11 09:12:03,517 [0x0-0x457457].com.jetbrains.intellij: at com.intellij.history.integration.LocalHistoryImpl$1.run(LocalHistoryImpl.java:61)
06/12/11 09:12:03,517 [0x0-0x457457].com.jetbrains.intellij: at com.intellij.openapi.util.ShutDownTracker.run(ShutDownTracker.java:60)
06/12/11 09:12:03,517 [0x0-0x457457].com.jetbrains.intellij: at java.lang.Thread.run(Thread.java:680)
06/12/11 09:12:03,517 [0x0-0x457457].com.jetbrains.intellij: [10012457] ERROR - .history.utils.LocalHistoryLog - IntelliJ IDEA 11.0 RC2 Build #IU-111.54
06/12/11 09:12:03,518 [0x0-0x457457].com.jetbrains.intellij: [10012457] ERROR - .history.utils.LocalHistoryLog - JDK: 1.6.0_29
06/12/11 09:12:03,518 [0x0-0x457457].com.jetbrains.intellij: [10012457] ERROR - .history.utils.LocalHistoryLog - VM: Java HotSpot(TM) 64-Bit Server VM
06/12/11 09:12:03,518 [0x0-0x457457].com.jetbrains.intellij: [10012457] ERROR - .history.utils.LocalHistoryLog - Vendor: Apple Inc.
06/12/11 09:12:03,518 [0x0-0x457457].com.jetbrains.intellij: [10012457] ERROR - .history.utils.LocalHistoryLog - OS: Mac OS X
06/12/11 09:12:03,518 [0x0-0x457457].com.jetbrains.intellij: [10012457] ERROR - .history.utils.LocalHistoryLog - Last Action: EditorPaste
06/12/11 09:12:03,518 [0x0-0x457457].com.jetbrains.intellij: [10012457] ERROR - .history.utils.LocalHistoryLog - Current Command: Paste
Please sign in to leave a comment.
Phill,
next time this happens, please take a thread dump with jstack and attach it.
Thanks
thread dump attached
Attachment(s):
osx_hang.txt.zip
To avoid this you should disable native clipboard handling: Go to Registry (Command+Alt+Shift+/, choose Registry), find "ide.mac.useNativeClipboard" and uncheck the checkbox.
Is this necessary in the final relase or has it been fixed?
Hello Phill,
There are no changes in this regard between RC2 and the final release.
--
Dmitry Jemerov
Development Lead
JetBrains, Inc.
http://www.jetbrains.com/
"Develop with Pleasure!"
I can confirm that it's still breaking on OSX Lion with the 11 CE release. Going to try out disabling native clipboard handling now.