java.lang.NullPointerException
at com.intellij.openapi.actionSystem.ActionManager.getInstance(ActionManager.java:28)
at com.intellij.ide.IdeEventQueue.isActionPopupShown(IdeEventQueue.java:1284)
at com.intellij.ide.IdeEventQueue.doPostEvent(IdeEventQueue.java:1179)
at com.intellij.ide.IdeEventQueue.postEvent(IdeEventQueue.java:1051)
at sun.awt.PostEventQueue.flush(SunToolkit.java:2190)
at sun.awt.SunToolkit.flushPendingEvents(SunToolkit.java:546)
at java.awt.EventQueue.getNextEvent(EventQueue.java:552)
at com.intellij.ide.IdeEventQueue.getNextEvent(IdeEventQueue.java:489)
at java.awt.EventDispatchThread.pumpOneEventForFilters(EventDispatchThread.java:187)
at java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:116)
at java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:109)
at java.awt.WaitDispatchSupport$2.run(WaitDispatchSupport.java:190)
at java.awt.WaitDispatchSupport$4.run(WaitDispatchSupport.java:235)
at java.awt.WaitDispatchSupport$4.run(WaitDispatchSupport.java:233)
at java.security.AccessController.doPrivileged(Native Method)
at java.awt.WaitDispatchSupport.enter(WaitDispatchSupport.java:233)
at java.awt.Dialog.show(Dialog.java:1077)
at com.intellij.openapi.ui.impl.DialogWrapperPeerImpl$MyDialog.show(DialogWrapperPeerImpl.java:688)
at com.intellij.openapi.ui.impl.DialogWrapperPeerImpl.show(DialogWrapperPeerImpl.java:427)
at com.intellij.openapi.ui.DialogWrapper.invokeShow(DialogWrapper.java:1703)
at com.intellij.openapi.ui.DialogWrapper.show(DialogWrapper.java:1657)
at com.intellij.idea.StartupUtil.runStartupWizard(StartupUtil.java:548)
at com.intellij.idea.MainImpl.lambda$null$0(MainImpl.java:25)
at java.awt.event.InvocationEvent.dispatch$$$capture(InvocationEvent.java:311)
at java.awt.event.InvocationEvent.dispatch(InvocationEvent.java)
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:74)
at java.awt.EventQueue.dispatchEvent(EventQueue.java:734)
at java.awt.EventDispatchThread.pumpOneEventForFilters(EventDispatchThread.java:205)
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)
The dependency on performanceTesting from platform.commercial is required to make sure that captureMemorySnapshot available in the same tests as before
stopCPUProfiling couldn't work anyway and other methods in case required can be replaced by ProfilingUtil.startCPUProfiling or ProfilingUtil.stopCPUProfiling
When Java plugin is installed into a non-java IDE (IDEA-195719) the both NewProjectCheckoutListener and PlatformProjectCheckoutListener extensions will be available, so we need to allow users to choose whether they want to run a Java-specific "create from sources" wizard or just open a directory.
Currently all IDEs except IntelliJ IDEA include PlatformProjectCheckoutListener (registered in PlatformLangPlugin.xml) which suggest to open the checked out directory as a project. In order to reuse PlatformLangPlugin.xml in IntelliJ IDEA and extract Java support as a separate plugin (IDEA-195719) we need to register PlatformProjectCheckoutListener in IntelliJ IDEA as well and disable it there.
* add `projectPostStartupActivities`.
* add `thread` (thread name) to activity.
* remove information about default project initialization (because default project initialization is not a sequential activity).
Several tests rely on the identity equals for MockVirtualFile, and for now, there is no infrastructure to support equals & hashCode, as it is done for regular VirtualFiles. Therefore it is better to mark explicitly that equals & hashCode shouldn't be defined here.
The previous solution for closing heavyweight hints caused VIM-1589 issue (`esc` action was not fired
while autocompletion popup is open). This is also a root cause for IDEA-203019 and 0951ab6a as a workaround.
Extracting `if (myCancelKeyEnabled)` out of the action handler has the same functionality, but passes `esc` action
to further handlers. This solves VIM-1589 and IDEA-203019 (and 0951ab6a is no more needed).
Additionally, I did the following:
* re-generated lists of supported/unsupported interpreter modules
* updated test data wherever Python versions appear in warnings
Still need to figure out, though, why _bz2/bz2 modules were not found
for some old versions of Python, hence information about their presense
should be updated by hand in versions.xml.