IntelliJ crash

Maurizio Cimadamore maurizio.cimadamore at oracle.com
Tue Nov 26 00:49:56 UTC 2019


Glad you got it working!

Maurizio

On 26/11/2019 00:31, Jonathan Gibbons wrote:
> Yeah, it seems I was a couple of versions out of date.   I was using 
> 1.7 instead of the latest 1.9 bits.
>
> Thanks for the help.
>
> -- Jon
>
>
> On 11/25/2019 01:15 PM, Maurizio Cimadamore wrote:
>> Hi Jon,
>> and I take this email as an opportunity to welcome everyone to the 
>> new ide-support OpenJDK group/mailing list!
>>
>> I have never seen an instance of this, and I run with the plugin 
>> enabled all the time - the stack trace seems to suggest that 
>> something is broken in your .idea configuration. More specifically, 
>> it looks like the IDE is trying to read a 'run configuration' from 
>> one of its files, and failing to update the properties of the 
>> associated jtreg configuration.
>>
>> I would suggest to get rid of all your existing 'run configurations' 
>> and see if that helps?
>>
>> Failing that, I would also try to get rid of the .idea folder and 
>> recreate from scratch (if you have not done it).
>>
>> Also, what version of plugin do you have installed? Is it possible 
>> it's not a recent one?
>>
>> Maurizio
>>
>> On 25/11/2019 19:25, Jonathan Gibbons wrote:
>>> As context, I create my projects for IntelliJ using the OPenJDK 
>>> idea.sh script.
>>>
>>> Some time subsequently, I typically see the following mostly-benign 
>>> ILA error message and crash.
>>>
>>> Is this a known problem?
>>>
>>> -- Jon
>>>
>>>
>>> update failed for 
>>> AnAction(com.intellij.execution.actions.RunContextAction) with 
>>> ID=RunClass
>>>
>>> com.intellij.serialization.SerializationException: 
>>> java.lang.IllegalArgumentException: Argument for @NotNull parameter 
>>> 'map' of 
>>> com/oracle/plugin/jtreg/configuration/JTRegConfiguration.setEnvs 
>>> must not be null
>>>     at 
>>> com.intellij.serialization.PropertyAccessor.set(PropertyAccessor.java:117)
>>>     at 
>>> com.intellij.util.xmlb.OptionTagBinding.deserialize(OptionTagBinding.java:102)
>>>     at 
>>> com.intellij.util.xmlb.BasePrimitiveBinding.deserializeUnsafe(BasePrimitiveBinding.java:60)
>>>     at 
>>> com.intellij.util.xmlb.BeanBinding.deserializeInto(BeanBinding.java:227) 
>>>
>>>     at 
>>> com.intellij.util.xmlb.BeanBinding.deserializeInto(BeanBinding.java:181) 
>>>
>>>     at 
>>> com.intellij.util.xmlb.XmlSerializer.deserializeInto(XmlSerializer.java:80)
>>>     at 
>>> com.oracle.plugin.jtreg.configuration.JTRegConfiguration.readExternal(JTRegConfiguration.java:124)
>>>     at 
>>> com.intellij.execution.configurations.ModuleBasedConfiguration.clone(ModuleBasedConfiguration.java:171)
>>>     at 
>>> com.intellij.execution.configurations.ModuleBasedConfiguration.clone(ModuleBasedConfiguration.java:27)
>>>     at 
>>> com.intellij.execution.configurations.ConfigurationFactory.createConfiguration(ConfigurationFactory.java:39)
>>>     at 
>>> com.intellij.execution.impl.RunManagerImpl.createConfiguration(RunManagerImpl.kt:216)
>>>     at 
>>> com.intellij.execution.actions.RunConfigurationProducer.cloneTemplateConfigurationStatic(RunConfigurationProducer.java:257)
>>>     at 
>>> com.intellij.execution.actions.RunConfigurationProducer.cloneTemplateConfiguration(RunConfigurationProducer.java:247)
>>>     at 
>>> com.intellij.execution.actions.RunConfigurationProducer.createConfigurationFromContext(RunConfigurationProducer.java:96)
>>>     at 
>>> com.intellij.execution.junit.JavaRunConfigurationProducerBase.createConfigurationFromContext(JavaRunConfigurationProducerBase.java:81)
>>>     at 
>>> com.intellij.execution.actions.RunConfigurationProducer.findOrCreateConfigurationFromContext(RunConfigurationProducer.java:197)
>>>     at 
>>> com.intellij.execution.actions.PreferredProducerFind.doGetConfigurationsFromContext(PreferredProducerFind.java:110)
>>>     at 
>>> com.intellij.execution.actions.PreferredProducerFind.getConfigurationsFromContext(PreferredProducerFind.java:93)
>>>     at 
>>> com.intellij.execution.actions.PreferredProducerFind.findConfigurationFromContext(PreferredProducerFind.java:135)
>>>     at 
>>> com.intellij.execution.actions.PreferredProducerFind.createConfiguration(PreferredProducerFind.java:32)
>>>     at 
>>> com.intellij.execution.actions.ConfigurationContext.createConfiguration(ConfigurationContext.java:147)
>>>     at 
>>> com.intellij.execution.actions.ConfigurationContext.getConfiguration(ConfigurationContext.java:138)
>>>     at 
>>> com.intellij.execution.actions.BaseRunConfigurationAction.update(BaseRunConfigurationAction.java:179)
>>>     at 
>>> com.intellij.openapi.actionSystem.ex.ActionUtil.performDumbAwareUpdate(ActionUtil.java:176)
>>>     at 
>>> com.intellij.openapi.actionSystem.impl.ActionUpdater.doUpdate(ActionUpdater.java:378)
>>>     at 
>>> com.intellij.openapi.actionSystem.impl.ActionUpdater.lambda$null$1(ActionUpdater.java:78)
>>>     at 
>>> com.intellij.openapi.actionSystem.impl.ActionUpdater.callAction(ActionUpdater.java:106)
>>>     at 
>>> com.intellij.openapi.actionSystem.impl.ActionUpdater.lambda$new$2(ActionUpdater.java:79)
>>>     at 
>>> com.intellij.openapi.actionSystem.impl.ActionUpdater.update(ActionUpdater.java:364)
>>>     at 
>>> com.intellij.openapi.actionSystem.impl.ActionUpdater.expandGroupChild(ActionUpdater.java:231)
>>>     at 
>>> com.intellij.openapi.actionSystem.impl.ActionUpdater.lambda$doExpandActionGroup$19(ActionUpdater.java:215)
>>>     at 
>>> com.intellij.util.containers.ContainerUtil.concat(ContainerUtil.java:1609)
>>>     at 
>>> com.intellij.openapi.actionSystem.impl.ActionUpdater.doExpandActionGroup(ActionUpdater.java:215)
>>>     at 
>>> com.intellij.openapi.actionSystem.impl.ActionUpdater.expandGroupChild(ActionUpdater.java:258)
>>>     at 
>>> com.intellij.openapi.actionSystem.impl.ActionUpdater.lambda$doExpandActionGroup$19(ActionUpdater.java:215)
>>>     at 
>>> com.intellij.util.containers.ContainerUtil.concat(ContainerUtil.java:1609)
>>>     at 
>>> com.intellij.openapi.actionSystem.impl.ActionUpdater.doExpandActionGroup(ActionUpdater.java:215)
>>>     at 
>>> com.intellij.openapi.actionSystem.impl.ActionUpdater.expandGroupChild(ActionUpdater.java:258)
>>>     at 
>>> com.intellij.openapi.actionSystem.impl.ActionUpdater.lambda$doExpandActionGroup$19(ActionUpdater.java:215)
>>>     at 
>>> com.intellij.util.containers.ContainerUtil.concat(ContainerUtil.java:1609)
>>>     at 
>>> com.intellij.openapi.actionSystem.impl.ActionUpdater.doExpandActionGroup(ActionUpdater.java:215)
>>>     at 
>>> com.intellij.openapi.actionSystem.impl.ActionUpdater.expandGroupChild(ActionUpdater.java:258)
>>>     at 
>>> com.intellij.openapi.actionSystem.impl.ActionUpdater.lambda$doExpandActionGroup$19(ActionUpdater.java:215)
>>>     at 
>>> com.intellij.util.containers.ContainerUtil.concat(ContainerUtil.java:1609)
>>>     at 
>>> com.intellij.openapi.actionSystem.impl.ActionUpdater.doExpandActionGroup(ActionUpdater.java:215)
>>>     at 
>>> com.intellij.openapi.actionSystem.impl.ActionUpdater.expandGroupChild(ActionUpdater.java:258)
>>>     at 
>>> com.intellij.openapi.actionSystem.impl.ActionUpdater.lambda$doExpandActionGroup$19(ActionUpdater.java:215)
>>>     at 
>>> com.intellij.util.containers.ContainerUtil.concat(ContainerUtil.java:1609)
>>>     at 
>>> com.intellij.openapi.actionSystem.impl.ActionUpdater.doExpandActionGroup(ActionUpdater.java:215)
>>>     at 
>>> com.intellij.openapi.actionSystem.impl.ActionUpdater.expandGroupChild(ActionUpdater.java:258)
>>>     at 
>>> com.intellij.openapi.actionSystem.impl.ActionUpdater.lambda$doExpandActionGroup$19(ActionUpdater.java:215)
>>>     at 
>>> com.intellij.util.containers.ContainerUtil.concat(ContainerUtil.java:1609)
>>>     at 
>>> com.intellij.openapi.actionSystem.impl.ActionUpdater.doExpandActionGroup(ActionUpdater.java:215)
>>>     at 
>>> com.intellij.openapi.actionSystem.impl.ActionUpdater.expandActionGroup(ActionUpdater.java:139)
>>>     at 
>>> com.intellij.openapi.actionSystem.impl.ActionUpdater.expandActionGroup(ActionUpdater.java:131)
>>>     at 
>>> com.intellij.openapi.actionSystem.impl.ActionUpdater.lambda$expandActionGroupWithTimeout$11(ActionUpdater.java:148)
>>>     at 
>>> com.intellij.openapi.progress.impl.CoreProgressManager.lambda$runProcess$3(CoreProgressManager.java:185)
>>>     at 
>>> com.intellij.openapi.progress.impl.CoreProgressManager.lambda$runProcess$2(CoreProgressManager.java:169)
>>>     at 
>>> com.intellij.openapi.progress.impl.CoreProgressManager.registerIndicatorAndRun(CoreProgressManager.java:591)
>>>     at 
>>> com.intellij.openapi.progress.impl.CoreProgressManager.executeProcessUnderProgress(CoreProgressManager.java:537)
>>>     at 
>>> com.intellij.openapi.progress.impl.ProgressManagerImpl.executeProcessUnderProgress(ProgressManagerImpl.java:59)
>>>     at 
>>> com.intellij.openapi.progress.impl.CoreProgressManager.runProcess(CoreProgressManager.java:156)
>>>     at 
>>> com.intellij.openapi.progress.impl.CoreProgressManager.runProcess(CoreProgressManager.java:185)
>>>     at 
>>> com.intellij.openapi.progress.util.ProgressIndicatorUtils.withTimeout(ProgressIndicatorUtils.java:260)
>>>     at 
>>> com.intellij.openapi.actionSystem.impl.ActionUpdater.expandActionGroupWithTimeout(ActionUpdater.java:147)
>>>     at 
>>> com.intellij.openapi.actionSystem.impl.Utils.fillMenu(Utils.java:66)
>>>     at 
>>> com.intellij.openapi.actionSystem.impl.ActionPopupMenuImpl$MyMenu.show(ActionPopupMenuImpl.java:114)
>>>     at 
>>> com.intellij.openapi.editor.impl.ContextMenuPopupHandler.handlePopup(ContextMenuPopupHandler.java:38)
>>>     at 
>>> com.intellij.openapi.editor.impl.EditorImpl.invokePopupIfNeeded(EditorImpl.java:4697)
>>>     at 
>>> com.intellij.openapi.editor.impl.EditorImpl.access$9600(EditorImpl.java:122)
>>>     at 
>>> com.intellij.openapi.editor.impl.EditorImpl$MyMouseAdapter.runMousePressedCommand(EditorImpl.java:3774)
>>>     at 
>>> com.intellij.openapi.editor.impl.EditorImpl$MyMouseAdapter.mousePressed(EditorImpl.java:3696)
>>>     at 
>>> java.desktop/java.awt.Component.processMouseEvent(Component.java:6648)
>>>     at 
>>> java.desktop/javax.swing.JComponent.processMouseEvent(JComponent.java:3342)
>>>     at 
>>> java.desktop/java.awt.Component.processEvent(Component.java:6416)
>>>     at 
>>> java.desktop/java.awt.Container.processEvent(Container.java:2263)
>>>     at 
>>> java.desktop/java.awt.Component.dispatchEventImpl(Component.java:5026)
>>>     at 
>>> java.desktop/java.awt.Container.dispatchEventImpl(Container.java:2321)
>>>     at 
>>> java.desktop/java.awt.Component.dispatchEvent(Component.java:4858)
>>>     at 
>>> java.desktop/java.awt.LightweightDispatcher.retargetMouseEvent(Container.java:4918)
>>>     at 
>>> java.desktop/java.awt.LightweightDispatcher.processMouseEvent(Container.java:4544)
>>>     at 
>>> java.desktop/java.awt.LightweightDispatcher.dispatchEvent(Container.java:4488)
>>>     at 
>>> java.desktop/java.awt.Container.dispatchEventImpl(Container.java:2307)
>>>     at java.desktop/java.awt.Window.dispatchEventImpl(Window.java:2773)
>>>     at 
>>> java.desktop/java.awt.Component.dispatchEvent(Component.java:4858)
>>>     at 
>>> java.desktop/java.awt.EventQueue.dispatchEventImpl(EventQueue.java:778)
>>>     at java.desktop/java.awt.EventQueue$4.run(EventQueue.java:727)
>>>     at java.desktop/java.awt.EventQueue$4.run(EventQueue.java:721)
>>>     at java.base/java.security.AccessController.doPrivileged(Native 
>>> Method)
>>>     at 
>>> java.base/java.security.ProtectionDomain$JavaSecurityAccessImpl.doIntersectionPrivilege(ProtectionDomain.java:85)
>>>     at 
>>> java.base/java.security.ProtectionDomain$JavaSecurityAccessImpl.doIntersectionPrivilege(ProtectionDomain.java:95)
>>>     at java.desktop/java.awt.EventQueue$5.run(EventQueue.java:751)
>>>     at java.desktop/java.awt.EventQueue$5.run(EventQueue.java:749)
>>>     at java.base/java.security.AccessController.doPrivileged(Native 
>>> Method)
>>>     at 
>>> java.base/java.security.ProtectionDomain$JavaSecurityAccessImpl.doIntersectionPrivilege(ProtectionDomain.java:85)
>>>     at 
>>> java.desktop/java.awt.EventQueue.dispatchEvent(EventQueue.java:748)
>>>     at 
>>> com.intellij.ide.IdeEventQueue.defaultDispatchEvent(IdeEventQueue.java:824)
>>>     at 
>>> com.intellij.ide.IdeEventQueue._dispatchEvent(IdeEventQueue.java:769)
>>>     at 
>>> com.intellij.ide.IdeEventQueue.lambda$dispatchEvent$8(IdeEventQueue.java:412)
>>>     at 
>>> com.intellij.openapi.progress.impl.CoreProgressManager.computePrioritized(CoreProgressManager.java:704)
>>>     at 
>>> com.intellij.ide.IdeEventQueue.dispatchEvent(IdeEventQueue.java:411)
>>>     at 
>>> java.desktop/java.awt.EventDispatchThread.pumpOneEventForFilters(EventDispatchThread.java:203)
>>>     at 
>>> java.desktop/java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:124)
>>>     at 
>>> java.desktop/java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:113)
>>>     at 
>>> java.desktop/java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:109)
>>>     at 
>>> java.desktop/java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:101)
>>>     at 
>>> java.desktop/java.awt.EventDispatchThread.run(EventDispatchThread.java:90)
>>> Caused by: java.lang.IllegalArgumentException: Argument for @NotNull 
>>> parameter 'map' of 
>>> com/oracle/plugin/jtreg/configuration/JTRegConfiguration.setEnvs 
>>> must not be null
>>>     at 
>>> com.oracle.plugin.jtreg.configuration.JTRegConfiguration.$$$reportNull$$$0(JTRegConfiguration.java)
>>>     at 
>>> com.oracle.plugin.jtreg.configuration.JTRegConfiguration.setEnvs(JTRegConfiguration.java)
>>>     at 
>>> jdk.internal.reflect.GeneratedMethodAccessor164.invoke(Unknown Source)
>>>     at 
>>> java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
>>>     at java.base/java.lang.reflect.Method.invoke(Method.java:566)
>>>     at 
>>> com.intellij.serialization.PropertyAccessor.set(PropertyAccessor.java:95)
>>>     ... 106 more
>


More information about the ide-support-dev mailing list