question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

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

See original GitHub issue

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).

Issue Analytics

  • State:closed
  • Created 4 years ago
  • Comments:12 (3 by maintainers)

github_iconTop GitHub Comments

14reactions
mgilbertnzcommented, Dec 26, 2019

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

./idea.sh nosplash

Hope this helps.

1reaction
tayfunyasarcommented, Jan 27, 2020

i’m having same issue.

Read more comments on GitHub >

github_iconTop Results From Across the Web

Save Actions - IntelliJ IDEs Plugin - JetBrains Marketplace
Supports configurable, Eclipse like, save actions, including "optimize imports", "reformat code", "rearrange code", "compile file" and some quick fixes for ...
Read more >
Save actions in IntelliJ IDEA - Stack Overflow
UPDATE : Since IntelliJ Version 2021.2 Jetbrains added support for Actions on Save. They can be found under Preferences/Settings | Tools | Actions...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found