Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Updating to Release 1.9.0+2019.3 of save actions breaks Intellij IDEA 2019.3 #289

Closed
arjenw opened this issue Dec 19, 2019 · 12 comments
Closed

Comments

@arjenw
Copy link

arjenw commented Dec 19, 2019

Describe the bug
When starting intellij, toolbars are not visible and windows can not be opened anymore. Appears to have NullPointerExceptions in the log:

2019-12-19 11:09:05,113 [ 125602]  ERROR - .impl.MessageBusConnectionImpl - null 
java.lang.NullPointerException
	at java.desktop/javax.swing.text.html.StyleSheet.createResolvedStyle(StyleSheet.java:1483)
	at java.desktop/javax.swing.text.html.StyleSheet.createResolvedStyle(StyleSheet.java:1704)
	at java.desktop/javax.swing.text.html.StyleSheet.getResolvedStyle(StyleSheet.java:1330)
	at java.desktop/javax.swing.text.html.StyleSheet.getRule(StyleSheet.java:281)
	at java.desktop/javax.swing.text.html.StyleSheet.createResolvedStyle(StyleSheet.java:1483)
	at java.desktop/javax.swing.text.html.StyleSheet.createResolvedStyle(StyleSheet.java:1562)
	at java.desktop/javax.swing.text.html.StyleSheet.getResolvedStyle(StyleSheet.java:1318)
	at java.desktop/javax.swing.text.html.StyleSheet.getRule(StyleSheet.java:255)
	at java.desktop/javax.swing.text.html.StyleSheet$ViewAttributeSet.<init>(StyleSheet.java:2745)
	at java.desktop/javax.swing.text.html.StyleSheet.getViewAttributes(StyleSheet.java:362)
	at java.desktop/javax.swing.text.html.BlockView.setPropertiesFromAttributes(BlockView.java:404)
	at java.desktop/javax.swing.text.html.BlockView.setParent(BlockView.java:74)
	at java.desktop/javax.swing.text.CompositeView.replace(CompositeView.java:219)
	at java.desktop/javax.swing.text.BoxView.replace(BoxView.java:182)
	at java.desktop/javax.swing.text.CompositeView.loadChildren(CompositeView.java:114)
	at java.desktop/javax.swing.text.CompositeView.setParent(CompositeView.java:139)
	at java.desktop/javax.swing.text.html.BlockView.setParent(BlockView.java:72)
	at java.desktop/javax.swing.plaf.basic.BasicHTML$Renderer.<init>(BasicHTML.java:411)
	at java.desktop/javax.swing.plaf.basic.BasicHTML.createHTMLView(BasicHTML.java:84)
	at java.desktop/javax.swing.plaf.basic.BasicHTML.updateRenderer(BasicHTML.java:231)
	at java.desktop/javax.swing.plaf.basic.BasicLabelUI.installComponents(BasicLabelUI.java:381)
	at java.desktop/javax.swing.plaf.basic.BasicLabelUI.installUI(BasicLabelUI.java:343)
	at java.desktop/javax.swing.JComponent.setUI(JComponent.java:685)
	at java.desktop/javax.swing.JLabel.setUI(JLabel.java:256)
	at java.desktop/javax.swing.JLabel.updateUI(JLabel.java:270)
	at java.desktop/javax.swing.JLabel.<init>(JLabel.java:162)
	at java.desktop/javax.swing.JLabel.<init>(JLabel.java:192)
	at com.intellij.notification.impl.NotificationsManagerImpl.createBalloon(NotificationsManagerImpl.java:380)
	at com.intellij.notification.impl.NotificationsManagerImpl.createBalloon(NotificationsManagerImpl.java:319)
	at com.intellij.notification.impl.NotificationsManagerImpl.notifyByBalloon(NotificationsManagerImpl.java:250)
	at com.intellij.notification.impl.NotificationsManagerImpl.showNotification(NotificationsManagerImpl.java:165)
	at com.intellij.notification.impl.NotificationsManagerImpl.lambda$doNotify$1(NotificationsManagerImpl.java:130)
	at com.intellij.ide.startup.impl.StartupManagerImpl.lambda$runWhenProjectIsInitialized$6(StartupManagerImpl.java:486)
	at com.intellij.ui.GuiUtils.invokeLaterIfNeeded(GuiUtils.java:324)
	at com.intellij.ide.startup.impl.StartupManagerImpl.runWhenProjectIsInitialized(StartupManagerImpl.java:472)
	at com.intellij.notification.impl.NotificationsManagerImpl.doNotify(NotificationsManagerImpl.java:135)
	at com.intellij.notification.impl.NotificationsManagerImpl.access$900(NotificationsManagerImpl.java:73)
	at com.intellij.notification.impl.NotificationsManagerImpl$MyNotificationListener.notify(NotificationsManagerImpl.java:1058)
	at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
	at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
	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.util.messages.impl.MessageBusImpl.invokeListener(MessageBusImpl.java:513)
	at com.intellij.util.messages.impl.MessageBusConnectionImpl.deliverMessage(MessageBusConnectionImpl.java:142)
	at com.intellij.util.messages.impl.MessageBusImpl.doPumpMessages(MessageBusImpl.java:438)
	at com.intellij.util.messages.impl.MessageBusImpl.pumpWaitingBuses(MessageBusImpl.java:398)
	at com.intellij.util.messages.impl.MessageBusImpl.pumpMessages(MessageBusImpl.java:388)
	at com.intellij.util.messages.impl.MessageBusImpl.sendMessage(MessageBusImpl.java:370)
	at com.intellij.util.messages.impl.MessageBusImpl.lambda$createTopicHandler$1(MessageBusImpl.java:241)
	at com.sun.proxy.$Proxy123.setInfo(Unknown Source)
	at com.intellij.openapi.wm.StatusBar$Info.set(StatusBar.java:48)
	at com.intellij.notification.LogModel.setStatusMessage(LogModel.java:77)
	at com.intellij.notification.LogModel.addNotification(LogModel.java:51)
	at com.intellij.notification.EventLog$ProjectTracker.printNotification(EventLog.java:488)
	at com.intellij.notification.EventLog$ProjectTracker.access$400(EventLog.java:442)
	at com.intellij.notification.EventLog$ProjectTracker$1.notify(EventLog.java:463)
	at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
	at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
	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.util.messages.impl.MessageBusImpl.invokeListener(MessageBusImpl.java:513)
	at com.intellij.util.messages.impl.MessageBusConnectionImpl.deliverMessage(MessageBusConnectionImpl.java:142)
	at com.intellij.util.messages.impl.MessageBusImpl.doPumpMessages(MessageBusImpl.java:438)
	at com.intellij.util.messages.impl.MessageBusImpl.pumpWaitingBuses(MessageBusImpl.java:398)
	at com.intellij.util.messages.impl.MessageBusImpl.pumpMessages(MessageBusImpl.java:388)
	at com.intellij.util.messages.impl.MessageBusImpl.sendMessage(MessageBusImpl.java:372)
	at com.intellij.util.messages.impl.MessageBusImpl.lambda$createTopicHandler$1(MessageBusImpl.java:241)
	at com.sun.proxy.$Proxy79.notify(Unknown Source)
	at com.intellij.notification.Notifications$Bus.doNotify(Notifications.java:71)
	at com.intellij.notification.Notifications$Bus.lambda$notify$1(Notifications.java:65)
	at java.desktop/java.awt.event.InvocationEvent.dispatch(InvocationEvent.java:313)
	at java.desktop/java.awt.EventQueue.dispatchEventImpl(EventQueue.java:776)
	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.desktop/java.awt.EventQueue.dispatchEvent(EventQueue.java:746)
	at com.intellij.ide.IdeEventQueue.defaultDispatchEvent(IdeEventQueue.java:908)
	at com.intellij.ide.IdeEventQueue._dispatchEvent(IdeEventQueue.java:781)
	at com.intellij.ide.IdeEventQueue.lambda$dispatchEvent$8(IdeEventQueue.java:424)
	at com.intellij.openapi.progress.impl.CoreProgressManager.computePrioritized(CoreProgressManager.java:698)
	at com.intellij.ide.IdeEventQueue.dispatchEvent(IdeEventQueue.java:423)
	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)

This appears after updating the Save Actions plugin. Removing the plugin jar file (intellij-plugin-save-actions-1.9.0+2019.3.jar) from .IdeaIC2019.3/config/plugins solves the problem.

Versions
IntelliJ IDEA 2019.3.1 (Community Edition)
Build #IC-193.5662.53, built on December 18, 2019
Runtime version: 11.0.5+10-b520.17 amd64
VM: OpenJDK 64-Bit Server VM by JetBrains s.r.o
Linux 5.4.2-050402-generic
GC: ParNew, ConcurrentMarkSweep
Memory: 1979M
Cores: 12
Registry:
Non-Bundled Plugins: ANTLRWorks, CheckStyle-IDEA, Docker, com.vladsch.idea.multimarkdown, org.intellij.scala, org.scalafmt.ScalaFmt, training

(note I captured the above mentioned version info after removing the save actions plugin, hence it is not listed here).

@dubreuia
Copy link
Owner

I cannot reproduce on Windows, I'll try Linux in a sec (I tried on Ultimate Edition though).

@dubreuia dubreuia added the bug label Dec 19, 2019
@mgilbertnz
Copy link

Seems I'm getting the same issue even without this plugin installed.

2019-12-27 09:51:42,659 [   3390]  ERROR - pplication.impl.LaterInvocator - null 
java.lang.NullPointerException
        at java.desktop/javax.swing.text.html.StyleSheet.createResolvedStyle(StyleSheet.java:1483)
        at java.desktop/javax.swing.text.html.StyleSheet.createResolvedStyle(StyleSheet.java:1704)
        at java.desktop/javax.swing.text.html.StyleSheet.getResolvedStyle(StyleSheet.java:1330)
        at java.desktop/javax.swing.text.html.StyleSheet.getRule(StyleSheet.java:281)
        at java.desktop/javax.swing.text.html.StyleSheet.createResolvedStyle(StyleSheet.java:1483)
        at java.desktop/javax.swing.text.html.StyleSheet.createResolvedStyle(StyleSheet.java:1562)
        at java.desktop/javax.swing.text.html.StyleSheet.getResolvedStyle(StyleSheet.java:1318)
        at java.desktop/javax.swing.text.html.StyleSheet.getRule(StyleSheet.java:255)
        at java.desktop/javax.swing.text.html.StyleSheet$ViewAttributeSet.<init>(StyleSheet.java:2745)
        at java.desktop/javax.swing.text.html.StyleSheet.getViewAttributes(StyleSheet.java:362)
        at java.desktop/javax.swing.text.html.BlockView.setPropertiesFromAttributes(BlockView.java:404)
        at java.desktop/javax.swing.text.html.BlockView.setParent(BlockView.java:74)
        at java.desktop/javax.swing.text.CompositeView.replace(CompositeView.java:219)
        at java.desktop/javax.swing.text.BoxView.replace(BoxView.java:182)
        at java.desktop/javax.swing.text.CompositeView.loadChildren(CompositeView.java:114)
        at java.desktop/javax.swing.text.CompositeView.setParent(CompositeView.java:139)
        at java.desktop/javax.swing.text.html.BlockView.setParent(BlockView.java:72)
        at java.desktop/javax.swing.plaf.basic.BasicHTML$Renderer.<init>(BasicHTML.java:411)
        at java.desktop/javax.swing.plaf.basic.BasicHTML.createHTMLView(BasicHTML.java:84)
        at java.desktop/javax.swing.plaf.basic.BasicHTML.updateRenderer(BasicHTML.java:231)
        at java.desktop/javax.swing.plaf.basic.BasicLabelUI.propertyChange(BasicLabelUI.java:482)
        at java.desktop/java.beans.PropertyChangeSupport.fire(PropertyChangeSupport.java:341)
        at java.desktop/java.beans.PropertyChangeSupport.firePropertyChange(PropertyChangeSupport.java:333)
        at java.desktop/java.beans.PropertyChangeSupport.firePropertyChange(PropertyChangeSupport.java:266)
        at java.desktop/java.awt.Component.firePropertyChange(Component.java:8747)
        at java.desktop/javax.swing.JLabel.setText(JLabel.java:324)
        at com.intellij.ide.HelpTooltip$Header.<init>(HelpTooltip.java:529)
        at com.intellij.ide.HelpTooltip$Header.<init>(HelpTooltip.java:513)
        at com.intellij.ide.HelpTooltip.createTipPanel(HelpTooltip.java:325)
        at com.intellij.ide.HelpTooltip.initPopupBuilder(HelpTooltip.java:289)
        at com.intellij.ide.HelpTooltip.installOn(HelpTooltip.java:257)
        at com.intellij.openapi.actionSystem.impl.ActionButton.updateToolTipText(ActionButton.java:362)
        at com.intellij.openapi.actionSystem.impl.ActionButton.addNotify(ActionButton.java:250)
        at java.desktop/java.awt.Container.addImpl(Container.java:1146)
        at java.desktop/java.awt.Container.add(Container.java:436)
        at com.intellij.openapi.actionSystem.impl.ActionToolbarImpl.fillToolBar(ActionToolbarImpl.java:319)
        at com.intellij.openapi.actionSystem.impl.ActionToolbarImpl.actionsUpdated(ActionToolbarImpl.java:1115)
        at com.intellij.openapi.actionSystem.impl.ActionToolbarImpl.updateActionsImpl(ActionToolbarImpl.java:1098)
        at com.intellij.openapi.actionSystem.impl.ActionToolbarImpl.access$000(ActionToolbarImpl.java:53)
        at com.intellij.openapi.actionSystem.impl.ActionToolbarImpl$1.updateActionsImpl(ActionToolbarImpl.java:166)
        at com.intellij.openapi.actionSystem.impl.ToolbarUpdater$MyUpdateRunnable.run(ToolbarUpdater.java:172)
        at com.intellij.openapi.actionSystem.impl.ToolbarUpdater.updateActions(ToolbarUpdater.java:87)
        at com.intellij.openapi.actionSystem.impl.ToolbarUpdater.updateActions(ToolbarUpdater.java:79)
        at com.intellij.openapi.actionSystem.impl.ActionToolbarImpl.updateActionsImmediately(ActionToolbarImpl.java:1080)
        at com.intellij.openapi.actionSystem.impl.ActionToolbarImpl.addNotify(ActionToolbarImpl.java:206)
        at java.desktop/java.awt.Container.addNotify(Container.java:2800)
        at java.desktop/javax.swing.JComponent.addNotify(JComponent.java:4783)
        at java.desktop/java.awt.Container.addNotify(Container.java:2800)
        at java.desktop/javax.swing.JComponent.addNotify(JComponent.java:4783)
        at java.desktop/java.awt.Container.addImpl(Container.java:1146)
        at java.desktop/java.awt.Container.add(Container.java:436)
        at com.intellij.openapi.wm.impl.IdeRootPane.installNorthComponents(IdeRootPane.java:325)
        at com.intellij.openapi.wm.impl.ProjectFrameHelper.setProject(ProjectFrameHelper.java:419)
        at com.intellij.openapi.wm.impl.WindowManagerImpl.assignFrame(WindowManagerImpl.java:518)
        at com.intellij.platform.ProjectUiFrameAllocator$projectLoaded$1.run(ProjectFrameAllocator.kt:176)
        at com.intellij.openapi.application.TransactionGuardImpl$2.run(TransactionGuardImpl.java:309)
        at com.intellij.openapi.application.impl.LaterInvocator$FlushQueue.doRun(LaterInvocator.java:441)
        at com.intellij.openapi.application.impl.LaterInvocator$FlushQueue.runNextEvent(LaterInvocator.java:424)
        at com.intellij.openapi.application.impl.LaterInvocator$FlushQueue.run(LaterInvocator.java:407)
        at java.desktop/java.awt.event.InvocationEvent.dispatch(InvocationEvent.java:313)
        at java.desktop/java.awt.EventQueue.dispatchEventImpl(EventQueue.java:776)
        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.desktop/java.awt.EventQueue.dispatchEvent(EventQueue.java:746)
        at com.intellij.ide.IdeEventQueue.defaultDispatchEvent(IdeEventQueue.java:908)
        at com.intellij.ide.IdeEventQueue._dispatchEvent(IdeEventQueue.java:781)
        at com.intellij.ide.IdeEventQueue.lambda$dispatchEvent$8(IdeEventQueue.java:424)
        at com.intellij.openapi.progress.impl.CoreProgressManager.computePrioritized(CoreProgressManager.java:687)
        at com.intellij.ide.IdeEventQueue.dispatchEvent(IdeEventQueue.java:423)
        at com.intellij.ide.IdeEventQueue.pumpEventsForHierarchy(IdeEventQueue.java:965)
        at com.intellij.openapi.progress.util.ProgressWindow.startBlocking(ProgressWindow.java:186)
        at com.intellij.openapi.progress.util.ProgressWindow.startBlocking(ProgressWindow.java:172)
        at com.intellij.openapi.application.impl.ApplicationImpl.runProcessWithProgressSynchronously(ApplicationImpl.java:455)
        at com.intellij.openapi.progress.impl.CoreProgressManager.runProcessWithProgressSynchronously(CoreProgressManager.java:453)
        at com.intellij.openapi.progress.impl.ProgressManagerImpl.runProcessWithProgressSynchronously(ProgressManagerImpl.java:82)
        at com.intellij.openapi.progress.impl.CoreProgressManager.runProcessWithProgressSynchronously(CoreProgressManager.java:250)
        at com.intellij.platform.ProjectUiFrameAllocator$run$1.run(ProjectFrameAllocator.kt:64)
        at com.intellij.openapi.application.TransactionGuardImpl.runSyncTransaction(TransactionGuardImpl.java:83)
        at com.intellij.openapi.application.TransactionGuardImpl.submitTransactionAndWait(TransactionGuardImpl.java:149)
        at com.intellij.platform.ProjectUiFrameAllocator.run(ProjectFrameAllocator.kt:62)
        at com.intellij.platform.PlatformProjectOpenProcessor.openExistingProject(PlatformProjectOpenProcessor.java:234)
        at com.intellij.ide.RecentProjectsManagerBase.openProject(RecentProjectsManagerBase.kt:281)
        at com.intellij.ide.RecentProjectsManagerBase.reopenLastProjectsOnStart(RecentProjectsManagerBase.kt:382)
        at com.intellij.idea.IdeStarter$main$4.run(ApplicationLoader.kt:533)
        at com.intellij.openapi.application.TransactionGuardImpl.runSyncTransaction(TransactionGuardImpl.java:83)
        at com.intellij.openapi.application.TransactionGuardImpl.lambda$submitTransaction$1(TransactionGuardImpl.java:107)
        at com.intellij.openapi.application.TransactionGuardImpl.submitTransaction(TransactionGuardImpl.java:116)
        at com.intellij.openapi.application.TransactionGuard.submitTransaction(TransactionGuard.java:121)
        at com.intellij.idea.IdeStarter.main(ApplicationLoader.kt:523)
        at com.intellij.idea.ApplicationLoader$startApp$8$1.run(ApplicationLoader.kt:242)
        at com.intellij.openapi.application.TransactionGuardImpl.performUserActivity(TransactionGuardImpl.java:193)
        at com.intellij.idea.ApplicationLoader$startApp$8.run(ApplicationLoader.kt:241)
        at java.base/java.util.concurrent.CompletableFuture$UniRun.tryFire(CompletableFuture.java:783)
        at java.base/java.util.concurrent.CompletableFuture$Completion.run(CompletableFuture.java:478)
        at java.desktop/java.awt.event.InvocationEvent.dispatch(InvocationEvent.java:313)
        at java.desktop/java.awt.EventQueue.dispatchEventImpl(EventQueue.java:776)
        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.desktop/java.awt.EventQueue.dispatchEvent(EventQueue.java:746)
        at com.intellij.ide.IdeEventQueue.defaultDispatchEvent(IdeEventQueue.java:908)
        at com.intellij.ide.IdeEventQueue._dispatchEvent(IdeEventQueue.java:781)
        at com.intellij.ide.IdeEventQueue.lambda$dispatchEvent$8(IdeEventQueue.java:424)
        at com.intellij.openapi.progress.impl.CoreProgressManager.computePrioritized(CoreProgressManager.java:698)
        at com.intellij.ide.IdeEventQueue.dispatchEvent(IdeEventQueue.java:423)
        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)
2019-12-27 09:51:42,663 [   3394]  ERROR - pplication.impl.LaterInvocator - IntelliJ IDEA 2019.3.1  Build #IC-193.5662.53 
2019-12-27 09:51:42,663 [   3394]  ERROR - pplication.impl.LaterInvocator - JDK: 11.0.5; VM: OpenJDK 64-Bit Server VM; Vendor: JetBrains s.r.o 
2019-12-27 09:51:42,663 [   3394]  ERROR - pplication.impl.LaterInvocator - OS: Linux 
2019-12-27 09:51:42,666 [   3397]  ERROR - pplication.impl.LaterInvocator - Last Action:  
2019-12-27 09:51:42,743 [   3474]  ERROR - .impl.MessageBusConnectionImpl - null 
java.lang.NullPointerException
        at java.desktop/javax.swing.text.html.StyleSheet.createResolvedStyle(StyleSheet.java:1483)
        at java.desktop/javax.swing.text.html.StyleSheet.createResolvedStyle(StyleSheet.java:1704)
        at java.desktop/javax.swing.text.html.StyleSheet.getResolvedStyle(StyleSheet.java:1330)
        at java.desktop/javax.swing.text.html.StyleSheet.getRule(StyleSheet.java:281)
        at java.desktop/javax.swing.text.html.StyleSheet.createResolvedStyle(StyleSheet.java:1483)
        at java.desktop/javax.swing.text.html.StyleSheet.createResolvedStyle(StyleSheet.java:1562)
        at java.desktop/javax.swing.text.html.StyleSheet.getResolvedStyle(StyleSheet.java:1318)
        at java.desktop/javax.swing.text.html.StyleSheet.getRule(StyleSheet.java:255)
        at java.desktop/javax.swing.text.html.StyleSheet$ViewAttributeSet.<init>(StyleSheet.java:2745)
        at java.desktop/javax.swing.text.html.StyleSheet.getViewAttributes(StyleSheet.java:362)
        at java.desktop/javax.swing.text.html.BlockView.setPropertiesFromAttributes(BlockView.java:404)
        at java.desktop/javax.swing.text.html.BlockView.setParent(BlockView.java:74)
        at java.desktop/javax.swing.text.CompositeView.replace(CompositeView.java:219)
        at java.desktop/javax.swing.text.BoxView.replace(BoxView.java:182)
        at java.desktop/javax.swing.text.CompositeView.loadChildren(CompositeView.java:114)
        at java.desktop/javax.swing.text.CompositeView.setParent(CompositeView.java:139)
        at java.desktop/javax.swing.text.html.BlockView.setParent(BlockView.java:72)
        at java.desktop/javax.swing.plaf.basic.BasicHTML$Renderer.<init>(BasicHTML.java:411)
        at java.desktop/javax.swing.plaf.basic.BasicHTML.createHTMLView(BasicHTML.java:84)
        at java.desktop/javax.swing.plaf.basic.BasicHTML.updateRenderer(BasicHTML.java:231)
        at java.desktop/javax.swing.plaf.basic.BasicLabelUI.propertyChange(BasicLabelUI.java:482)
        at java.desktop/java.beans.PropertyChangeSupport.fire(PropertyChangeSupport.java:341)
        at java.desktop/java.beans.PropertyChangeSupport.firePropertyChange(PropertyChangeSupport.java:333)
        at java.desktop/java.beans.PropertyChangeSupport.firePropertyChange(PropertyChangeSupport.java:266)
        at java.desktop/java.awt.Component.firePropertyChange(Component.java:8747)
        at java.desktop/javax.swing.JLabel.setText(JLabel.java:324)
        at com.intellij.ide.HelpTooltip$Header.<init>(HelpTooltip.java:529)
        at com.intellij.ide.HelpTooltip$Header.<init>(HelpTooltip.java:513)
        at com.intellij.ide.HelpTooltip.createTipPanel(HelpTooltip.java:325)
        at com.intellij.ide.HelpTooltip.initPopupBuilder(HelpTooltip.java:289)
        at com.intellij.ide.HelpTooltip.installOn(HelpTooltip.java:257)
        at com.intellij.openapi.actionSystem.impl.ActionButton.updateToolTipText(ActionButton.java:362)
        at com.intellij.openapi.actionSystem.impl.ActionButton.addNotify(ActionButton.java:250)
        at java.desktop/java.awt.Container.addNotify(Container.java:2800)
        at java.desktop/javax.swing.JComponent.addNotify(JComponent.java:4783)
        at com.intellij.openapi.actionSystem.impl.ActionToolbarImpl.addNotify(ActionToolbarImpl.java:201)
        at java.desktop/java.awt.Container.addNotify(Container.java:2800)
        at java.desktop/javax.swing.JComponent.addNotify(JComponent.java:4783)
        at java.desktop/java.awt.Container.addNotify(Container.java:2800)
        at java.desktop/javax.swing.JComponent.addNotify(JComponent.java:4783)
        at java.desktop/java.awt.Container.addNotify(Container.java:2800)
        at java.desktop/javax.swing.JComponent.addNotify(JComponent.java:4783)
        at java.desktop/java.awt.Container.addNotify(Container.java:2800)
        at java.desktop/javax.swing.JComponent.addNotify(JComponent.java:4783)
        at java.desktop/java.awt.Container.addNotify(Container.java:2800)
        at java.desktop/javax.swing.JComponent.addNotify(JComponent.java:4783)
        at java.desktop/java.awt.Container.addNotify(Container.java:2800)
        at java.desktop/javax.swing.JComponent.addNotify(JComponent.java:4783)
        at java.desktop/javax.swing.JRootPane.addNotify(JRootPane.java:733)
        at com.intellij.openapi.wm.impl.IdeRootPane.addNotify(IdeRootPane.java:161)
        at java.desktop/java.awt.Container.addNotify(Container.java:2800)
        at java.desktop/java.awt.Window.addNotify(Window.java:786)
        at java.desktop/java.awt.Frame.addNotify(Frame.java:490)
        at java.desktop/java.awt.Window.show(Window.java:1048)
        at com.intellij.openapi.wm.impl.IdeFrameImpl.show(IdeFrameImpl.java:127)
        at java.desktop/java.awt.Component.show(Component.java:1734)
        at java.desktop/java.awt.Component.setVisible(Component.java:1681)
        at java.desktop/java.awt.Window.setVisible(Window.java:1031)
        at com.intellij.openapi.wm.impl.WindowManagerImpl.allocateFrame(WindowManagerImpl.java:574)
        at com.intellij.openapi.wm.impl.ToolWindowManagerImpl.init(ToolWindowManagerImpl.java:400)
        at com.intellij.openapi.wm.impl.ToolWindowManagerImpl$3.projectOpened(ToolWindowManagerImpl.java:174)
        at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
        at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
        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.util.messages.impl.MessageBusImpl.invokeListener(MessageBusImpl.java:518)
        at com.intellij.util.messages.impl.MessageBusConnectionImpl.deliverMessage(MessageBusConnectionImpl.java:142)
        at com.intellij.util.messages.impl.MessageBusImpl.doPumpMessages(MessageBusImpl.java:438)
        at com.intellij.util.messages.impl.MessageBusImpl.pumpWaitingBuses(MessageBusImpl.java:398)
        at com.intellij.util.messages.impl.MessageBusImpl.pumpMessages(MessageBusImpl.java:388)
        at com.intellij.util.messages.impl.MessageBusImpl.sendMessage(MessageBusImpl.java:372)
        at com.intellij.util.messages.impl.MessageBusImpl.lambda$createTopicHandler$1(MessageBusImpl.java:241)
        at com.sun.proxy.$Proxy73.projectOpened(Unknown Source)
        at com.intellij.openapi.project.impl.ProjectManagerImpl.fireProjectOpened(ProjectManagerImpl.java:845)
        at com.intellij.openapi.project.impl.ProjectManagerImpl.lambda$doLoadProject$9(ProjectManagerImpl.java:453)
        at com.intellij.openapi.application.TransactionGuardImpl.lambda$submitTransactionAndWait$2(TransactionGuardImpl.java:162)
        at com.intellij.openapi.application.TransactionGuardImpl.runSyncTransaction(TransactionGuardImpl.java:83)
        at com.intellij.openapi.application.TransactionGuardImpl.lambda$submitTransaction$1(TransactionGuardImpl.java:107)
        at com.intellij.openapi.application.impl.LaterInvocator$FlushQueue.doRun(LaterInvocator.java:441)
        at com.intellij.openapi.application.impl.LaterInvocator$FlushQueue.runNextEvent(LaterInvocator.java:424)
        at com.intellij.openapi.application.impl.LaterInvocator$FlushQueue.run(LaterInvocator.java:407)
        at java.desktop/java.awt.event.InvocationEvent.dispatch(InvocationEvent.java:313)
        at java.desktop/java.awt.EventQueue.dispatchEventImpl(EventQueue.java:776)
        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.desktop/java.awt.EventQueue.dispatchEvent(EventQueue.java:746)
        at com.intellij.ide.IdeEventQueue.defaultDispatchEvent(IdeEventQueue.java:908)
        at com.intellij.ide.IdeEventQueue._dispatchEvent(IdeEventQueue.java:781)
        at com.intellij.ide.IdeEventQueue.lambda$dispatchEvent$8(IdeEventQueue.java:424)
        at com.intellij.openapi.progress.impl.CoreProgressManager.computePrioritized(CoreProgressManager.java:687)
        at com.intellij.ide.IdeEventQueue.dispatchEvent(IdeEventQueue.java:423)
        at com.intellij.ide.IdeEventQueue.pumpEventsForHierarchy(IdeEventQueue.java:965)
        at com.intellij.openapi.progress.util.ProgressWindow.startBlocking(ProgressWindow.java:186)
        at com.intellij.openapi.progress.util.ProgressWindow.startBlocking(ProgressWindow.java:172)
        at com.intellij.openapi.application.impl.ApplicationImpl.runProcessWithProgressSynchronously(ApplicationImpl.java:455)
        at com.intellij.openapi.progress.impl.CoreProgressManager.runProcessWithProgressSynchronously(CoreProgressManager.java:453)
        at com.intellij.openapi.progress.impl.ProgressManagerImpl.runProcessWithProgressSynchronously(ProgressManagerImpl.java:82)
        at com.intellij.openapi.progress.impl.CoreProgressManager.runProcessWithProgressSynchronously(CoreProgressManager.java:250)
        at com.intellij.platform.ProjectUiFrameAllocator$run$1.run(ProjectFrameAllocator.kt:64)
        at com.intellij.openapi.application.TransactionGuardImpl.runSyncTransaction(TransactionGuardImpl.java:83)
        at com.intellij.openapi.application.TransactionGuardImpl.submitTransactionAndWait(TransactionGuardImpl.java:149)
        at com.intellij.platform.ProjectUiFrameAllocator.run(ProjectFrameAllocator.kt:62)
        at com.intellij.platform.PlatformProjectOpenProcessor.openExistingProject(PlatformProjectOpenProcessor.java:234)
        at com.intellij.ide.RecentProjectsManagerBase.openProject(RecentProjectsManagerBase.kt:281)
        at com.intellij.ide.RecentProjectsManagerBase.reopenLastProjectsOnStart(RecentProjectsManagerBase.kt:382)
        at com.intellij.idea.IdeStarter$main$4.run(ApplicationLoader.kt:533)
        at com.intellij.openapi.application.TransactionGuardImpl.runSyncTransaction(TransactionGuardImpl.java:83)
        at com.intellij.openapi.application.TransactionGuardImpl.lambda$submitTransaction$1(TransactionGuardImpl.java:107)
        at com.intellij.openapi.application.TransactionGuardImpl.submitTransaction(TransactionGuardImpl.java:116)
        at com.intellij.openapi.application.TransactionGuard.submitTransaction(TransactionGuard.java:121)
        at com.intellij.idea.IdeStarter.main(ApplicationLoader.kt:523)
        at com.intellij.idea.ApplicationLoader$startApp$8$1.run(ApplicationLoader.kt:242)
        at com.intellij.openapi.application.TransactionGuardImpl.performUserActivity(TransactionGuardImpl.java:193)
        at com.intellij.idea.ApplicationLoader$startApp$8.run(ApplicationLoader.kt:241)
        at java.base/java.util.concurrent.CompletableFuture$UniRun.tryFire(CompletableFuture.java:783)
        at java.base/java.util.concurrent.CompletableFuture$Completion.run(CompletableFuture.java:478)
        at java.desktop/java.awt.event.InvocationEvent.dispatch(InvocationEvent.java:313)
        at java.desktop/java.awt.EventQueue.dispatchEventImpl(EventQueue.java:776)
        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.desktop/java.awt.EventQueue.dispatchEvent(EventQueue.java:746)
        at com.intellij.ide.IdeEventQueue.defaultDispatchEvent(IdeEventQueue.java:908)
        at com.intellij.ide.IdeEventQueue._dispatchEvent(IdeEventQueue.java:781)
        at com.intellij.ide.IdeEventQueue.lambda$dispatchEvent$8(IdeEventQueue.java:424)
        at com.intellij.openapi.progress.impl.CoreProgressManager.computePrioritized(CoreProgressManager.java:698)
        at com.intellij.ide.IdeEventQueue.dispatchEvent(IdeEventQueue.java:423)
        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)
2019-12-27 09:51:42,744 [   3475]  ERROR - .impl.MessageBusConnectionImpl - IntelliJ IDEA 2019.3.1  Build #IC-193.5662.53 
2019-12-27 09:51:42,744 [   3475]  ERROR - .impl.MessageBusConnectionImpl - JDK: 11.0.5; VM: OpenJDK 64-Bit Server VM; Vendor: JetBrains s.r.o 
2019-12-27 09:51:42,744 [   3475]  ERROR - .impl.MessageBusConnectionImpl - OS: Linux 
2019-12-27 09:51:42,745 [   3476]  ERROR - .impl.MessageBusConnectionImpl - Last Action:  
2019-12-27 09:51:42,996 [   3727]  ERROR - tartup.impl.StartupManagerImpl - null 
java.lang.NullPointerException
        at com.intellij.openapi.wm.impl.ToolWindowManagerImpl.appendUpdateToolWindowsPaneCmd(ToolWindowManagerImpl.java:1697)
        at com.intellij.openapi.wm.impl.ToolWindowManagerImpl.initAll(ToolWindowManagerImpl.java:435)
        at com.intellij.openapi.wm.impl.ToolWindowManagerImpl.access$3000(ToolWindowManagerImpl.java:74)
        at com.intellij.openapi.wm.impl.ToolWindowManagerImpl$InitToolWindowsActivity.runActivity(ToolWindowManagerImpl.java:2286)
        at com.intellij.ide.startup.impl.StartupManagerImpl.runActivity(StartupManagerImpl.java:216)
        at com.intellij.ide.startup.impl.StartupManagerImpl.lambda$runPostStartupActivitiesFromExtensions$2(StartupManagerImpl.java:168)
        at com.intellij.openapi.extensions.impl.ExtensionPointImpl.processWithPluginDescriptor(ExtensionPointImpl.java:292)
        at com.intellij.openapi.extensions.ExtensionPointName.processWithPluginDescriptor(ExtensionPointName.java:157)
        at com.intellij.ide.startup.impl.StartupManagerImpl.runPostStartupActivitiesFromExtensions(StartupManagerImpl.java:166)
        at com.intellij.openapi.project.impl.ProjectManagerImpl.doLoadProject(ProjectManagerImpl.java:457)
        at com.intellij.openapi.project.impl.ProjectManagerImpl.loadProjectUnderProgress(ProjectManagerImpl.java:443)
        at com.intellij.openapi.project.impl.ProjectManagerImpl.openProject(ProjectManagerImpl.java:419)
        at com.intellij.platform.PlatformProjectOpenProcessor.lambda$openExistingProject$0(PlatformProjectOpenProcessor.java:268)
        at com.intellij.platform.ProjectUiFrameAllocator$run$1$1.run(ProjectFrameAllocator.kt:77)
        at com.intellij.openapi.progress.impl.CoreProgressManager$2.run(CoreProgressManager.java:247)
        at com.intellij.openapi.progress.impl.CoreProgressManager$TaskRunnable.run(CoreProgressManager.java:888)
        at com.intellij.openapi.progress.impl.CoreProgressManager$5.run(CoreProgressManager.java:441)
        at com.intellij.openapi.progress.impl.CoreProgressManager.lambda$runProcess$2(CoreProgressManager.java:163)
        at com.intellij.openapi.progress.impl.CoreProgressManager.registerIndicatorAndRun(CoreProgressManager.java:585)
        at com.intellij.openapi.progress.impl.CoreProgressManager.executeProcessUnderProgress(CoreProgressManager.java:531)
        at com.intellij.openapi.progress.impl.ProgressManagerImpl.executeProcessUnderProgress(ProgressManagerImpl.java:59)
        at com.intellij.openapi.progress.impl.CoreProgressManager.runProcess(CoreProgressManager.java:150)
        at com.intellij.openapi.application.impl.ApplicationImpl.lambda$null$4(ApplicationImpl.java:441)
        at com.intellij.util.ConcurrencyUtil.runUnderThreadName(ConcurrencyUtil.java:221)
        at com.intellij.util.ConcurrencyUtil.lambda$underThreadNameRunnable$3(ConcurrencyUtil.java:209)
        at com.intellij.openapi.application.impl.ApplicationImpl$1.run(ApplicationImpl.java:238)
        at java.base/java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:515)
        at java.base/java.util.concurrent.FutureTask.run(FutureTask.java:264)
        at java.base/java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1128)
        at java.base/java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:628)
        at java.base/java.lang.Thread.run(Thread.java:834)
2019-12-27 09:51:42,999 [   3730]  ERROR - tartup.impl.StartupManagerImpl - IntelliJ IDEA 2019.3.1  Build #IC-193.5662.53 
2019-12-27 09:51:42,999 [   3730]  ERROR - tartup.impl.StartupManagerImpl - JDK: 11.0.5; VM: OpenJDK 64-Bit Server VM; Vendor: JetBrains s.r.o 
2019-12-27 09:51:42,999 [   3730]  ERROR - tartup.impl.StartupManagerImpl - OS: Linux 
2019-12-27 09:51:43,000 [   3731]  ERROR - tartup.impl.StartupManagerImpl - Last Action:  

@mgilbertnz
Copy link

I managed to workaround this in my case by adding "nosplash" as a command line argument.

./idea.sh nosplash

Hope this helps.

@ErlerPhilipp
Copy link

same issue for default PyCharm 2019.3.1 (CE) on Ubuntu 18.04.3...

@Aditya94A
Copy link

Any updates on this? @dubreuia

I've been holding off on updating any JetBrains IDE for several months just so I don't lose Save Actions (awesome plugin btw! 😁)

@dubreuia
Copy link
Owner

Hello guys. I'm sorry, I can't reproduce. I tested on Linux (Ubuntu), Windows, Intellij 2019.3.1, 2019.3.2, PyCharm, and Webstorm. I use those products daily with the latest save-actions plugin (I don't have other plugins installed). Are you guys sure that this is a save-actions issue?

The only thing I can do now is to make shots in the dark and add preemptive null checks in my UI code (which seems to be the source of the problem).

@ErlerPhilipp
Copy link

I think i used the direct download from the PyCharm website, no snap or package manager. Also, it may happen only on the first run when it tries to import settings or so.

@Aditya94A
Copy link

Here's what I see in the update dialog @dubreuia:

image

(I'm on MacOS Catalina btw)

@arjenw
Copy link
Author

arjenw commented Jan 24, 2020

Hello guys. I'm sorry, I can't reproduce. I tested on Linux (Ubuntu), Windows, Intellij 2019.3.1, 2019.3.2, PyCharm, and Webstorm. I use those products daily with the latest save-actions plugin (I don't have other plugins installed). Are you guys sure that this is a save-actions issue?

The only thing I can do now is to make shots in the dark and add preemptive null checks in my UI code (which seems to be the source of the problem).

It's unfortunate that you can't reproduce. I wrote in my issue description that this issue occurs when enabling the save-actions plugin and disappears when I remove the plugin. So yes, the chance is high that this is a save-actions plugin issue (or maybe an issue when a couple of plugins are combined).

Can I try starting intellij with some specific loggings enabled to help you find out more? If so how should I configure intellij in that case?

Edit:
I tried again with the save actions plugin re-enabled (I've put the jar back in the plugins folder) and now it works fine!? Conclusion: it most probably must have been an interference with another plugin?

My configuration:

=== About ===
Build version: IntelliJ IDEA 2019.3.1 Build #IC-193.5662.53 December 18, 2019
Java version: 11.0.5+10-b520.17amd64
Operating System: Linux (5.3.11-050311-generic, amd64)
JVM version: OpenJDK 64-Bit Server VM JetBrains s.r.o

=== Plugins ===
Custom plugins: [ANTLRWorks (1.3.1), CheckStyle-IDEA (5.35.2), Docker (193.5662.7), Save Actions (1.9.0+2019.3), Markdown Navigator (2.9.11), Scala (2019.3.23), Scalafmt (1.5.1), IDE Features Trainer (193.5662.65)]
Disabled plugins:[Markdown (193.5662.53), Android Support (10.3.5), Kotlin (1.3.61-release-IJ2019.3-1), HOCON (2019.1.2)]

@tayfunyasar
Copy link

i'm having same issue.

@tealeeseng
Copy link

I'm having the issue when I run pycharm over ssh and x-forward.

ssh -XC username@ubuntu-host-ip

and run

pycharm

over X.

pycharm nosplash helps.

@dubreuia
Copy link
Owner

Reopen if the issue is still present with plugin version 2.x

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

7 participants