Material-theme-jetbrains: 3.10.0 Fatal error

Created on 25 May 2019  ·  15Comments  ·  Source: ChrisRM/material-theme-jetbrains

Summary

After the 3.10 update, material plugin breaks webstorm. I cannot click on any button on this screen:
CleanShot 2019-05-25 at 10 55 <a href="58@2x">58@2x</a>

Only the "bug" button works if I click like 20 times on it.

I can see a fatal error when the bug dialog opens for Material Theme UI 3.10.0:

java.io.IOException: com.intellij.ide.plugins.PluginManager$StartupAbortedException: Fatal error initializing 'com.intellij.openapi.vcs.changes.ChangesViewI'
    at com.intellij.openapi.project.impl.ProjectManagerImpl.loadProjectWithProgress(ProjectManagerImpl.java:561)
    at com.intellij.openapi.project.impl.ProjectManagerImpl.convertAndLoadProject(ProjectManagerImpl.java:536)
    at com.intellij.platform.PlatformProjectOpenProcessor.doOpenProject(PlatformProjectOpenProcessor.java:218)
    at com.intellij.ide.RecentProjectsManagerBase.doOpenProject(RecentProjectsManagerBase.java:511)
    at com.intellij.ide.RecentProjectsManagerBase.doReopenLastProject(RecentProjectsManagerBase.java:633)
    at com.intellij.ide.RecentProjectsManagerBase$MyAppLifecycleListener.appStarting(RecentProjectsManagerBase.java:691)
    at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
    at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
    at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
    at java.lang.reflect.Method.invoke(Method.java:498)
    at com.intellij.util.messages.impl.MessageBusConnectionImpl.deliverMessage(MessageBusConnectionImpl.java:114)
    at com.intellij.util.messages.impl.MessageBusImpl.doPumpMessages(MessageBusImpl.java:393)
    at com.intellij.util.messages.impl.MessageBusImpl.pumpWaitingBuses(MessageBusImpl.java:354)
    at com.intellij.util.messages.impl.MessageBusImpl.pumpMessages(MessageBusImpl.java:343)
    at com.intellij.util.messages.impl.MessageBusImpl.sendMessage(MessageBusImpl.java:320)
    at com.intellij.util.messages.impl.MessageBusImpl.access$100(MessageBusImpl.java:29)
    at com.intellij.util.messages.impl.MessageBusImpl$1.invoke(MessageBusImpl.java:192)
    at com.sun.proxy.$Proxy50.appStarting(Unknown Source)
    at com.intellij.idea.IdeaApplication$IdeStarter.lambda$main$1(IdeaApplication.java:370)
    at com.intellij.openapi.application.TransactionGuardImpl.runSyncTransaction(TransactionGuardImpl.java:88)
    at com.intellij.openapi.application.TransactionGuardImpl.lambda$submitTransaction$1(TransactionGuardImpl.java:111)
    at com.intellij.openapi.application.TransactionGuardImpl.submitTransaction(TransactionGuardImpl.java:120)
    at com.intellij.openapi.application.TransactionGuard.submitTransaction(TransactionGuard.java:121)
    at com.intellij.idea.IdeaApplication$IdeStarter.main(IdeaApplication.java:368)
    at com.intellij.idea.IdeaApplication.lambda$run$1(IdeaApplication.java:211)
    at com.intellij.openapi.application.TransactionGuardImpl.performUserActivity(TransactionGuardImpl.java:195)
    at com.intellij.idea.IdeaApplication.run(IdeaApplication.java:211)
    at com.intellij.idea.IdeaApplication.lambda$initApplication$0(IdeaApplication.java:74)
    at java.awt.event.InvocationEvent.dispatch(InvocationEvent.java:311)
    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 com.intellij.ide.IdeEventQueue.dispatchEvent(IdeEventQueue.java:347)
    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)
Caused by: com.intellij.ide.plugins.PluginManager$StartupAbortedException: Fatal error initializing 'com.intellij.openapi.vcs.changes.ChangesViewI'
    at com.intellij.ide.plugins.PluginManager.handleComponentError(PluginManager.java:256)
    at com.intellij.openapi.components.impl.PlatformComponentManagerImpl.handleInitComponentError(PlatformComponentManagerImpl.java:43)
    at com.intellij.openapi.components.impl.ComponentManagerImpl$ComponentConfigComponentAdapter.getComponentInstance(ComponentManagerImpl.java:500)
    at com.intellij.openapi.components.impl.ComponentManagerImpl.getComponent(ComponentManagerImpl.java:153)
    at com.intellij.openapi.vcs.changes.ChangesViewManager.getInstance(ChangesViewManager.java:118)
    at com.intellij.openapi.vcs.changes.ChangeListManagerImpl.<init>(ChangeListManagerImpl.java:135)
    at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
    at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:62)
    at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:45)
    at java.lang.reflect.Constructor.newInstance(Constructor.java:423)
    at org.picocontainer.defaults.InstantiatingComponentAdapter.newInstance(InstantiatingComponentAdapter.java:193)
    at com.intellij.util.pico.CachingConstructorInjectionComponentAdapter.doGetComponentInstance(CachingConstructorInjectionComponentAdapter.java:92)
    at com.intellij.util.pico.CachingConstructorInjectionComponentAdapter.instantiateGuarded(CachingConstructorInjectionComponentAdapter.java:66)
    at com.intellij.util.pico.CachingConstructorInjectionComponentAdapter.getComponentInstance(CachingConstructorInjectionComponentAdapter.java:48)
    at com.intellij.openapi.components.impl.ComponentManagerImpl$ComponentConfigComponentAdapter.getComponentInstance(ComponentManagerImpl.java:458)
    at com.intellij.util.pico.DefaultPicoContainer.getLocalInstance(DefaultPicoContainer.java:246)
    at com.intellij.util.pico.DefaultPicoContainer.getComponentInstance(DefaultPicoContainer.java:213)
    at org.picocontainer.defaults.BasicComponentParameter.resolveInstance(BasicComponentParameter.java:77)
    at org.picocontainer.defaults.ComponentParameter.resolveInstance(ComponentParameter.java:114)
    at com.intellij.util.pico.CachingConstructorInjectionComponentAdapter.getConstructorArguments(CachingConstructorInjectionComponentAdapter.java:118)
    at com.intellij.util.pico.CachingConstructorInjectionComponentAdapter.doGetComponentInstance(CachingConstructorInjectionComponentAdapter.java:89)
    at com.intellij.util.pico.CachingConstructorInjectionComponentAdapter.instantiateGuarded(CachingConstructorInjectionComponentAdapter.java:66)
    at com.intellij.util.pico.CachingConstructorInjectionComponentAdapter.getComponentInstance(CachingConstructorInjectionComponentAdapter.java:48)
    at com.intellij.openapi.components.impl.ComponentManagerImpl$ComponentConfigComponentAdapter.getComponentInstance(ComponentManagerImpl.java:458)
    at com.intellij.util.pico.DefaultPicoContainer.getLocalInstance(DefaultPicoContainer.java:246)
    at com.intellij.util.pico.DefaultPicoContainer.getComponentInstance(DefaultPicoContainer.java:213)
    at org.picocontainer.defaults.BasicComponentParameter.resolveInstance(BasicComponentParameter.java:77)
    at org.picocontainer.defaults.ComponentParameter.resolveInstance(ComponentParameter.java:114)
    at com.intellij.util.pico.CachingConstructorInjectionComponentAdapter.getConstructorArguments(CachingConstructorInjectionComponentAdapter.java:118)
    at com.intellij.util.pico.CachingConstructorInjectionComponentAdapter.doGetComponentInstance(CachingConstructorInjectionComponentAdapter.java:89)
    at com.intellij.util.pico.CachingConstructorInjectionComponentAdapter.instantiateGuarded(CachingConstructorInjectionComponentAdapter.java:66)
    at com.intellij.util.pico.CachingConstructorInjectionComponentAdapter.getComponentInstance(CachingConstructorInjectionComponentAdapter.java:48)
    at com.intellij.openapi.components.impl.ComponentManagerImpl$ComponentConfigComponentAdapter.getComponentInstance(ComponentManagerImpl.java:458)
    at com.intellij.openapi.components.impl.ComponentManagerImpl.createComponents(ComponentManagerImpl.java:104)
    at com.intellij.openapi.components.impl.ComponentManagerImpl.init(ComponentManagerImpl.java:88)
    at com.intellij.openapi.project.impl.ProjectImpl.init(ProjectImpl.java:265)
    at com.intellij.openapi.project.impl.ProjectManagerImpl.initProject(ProjectManagerImpl.java:283)
    at com.intellij.openapi.project.impl.ProjectManagerImpl.lambda$loadProjectWithProgress$13(ProjectManagerImpl.java:551)
    at com.intellij.openapi.progress.impl.CoreProgressManager$1.run(CoreProgressManager.java:220)
    at com.intellij.openapi.progress.impl.CoreProgressManager$TaskRunnable.run(CoreProgressManager.java:731)
    at com.intellij.openapi.progress.impl.CoreProgressManager$5.run(CoreProgressManager.java:442)
    at com.intellij.openapi.progress.impl.CoreProgressManager.lambda$runProcess$2(CoreProgressManager.java:164)
    at com.intellij.openapi.progress.impl.CoreProgressManager.registerIndicatorAndRun(CoreProgressManager.java:586)
    at com.intellij.openapi.progress.impl.CoreProgressManager.executeProcessUnderProgress(CoreProgressManager.java:532)
    at com.intellij.openapi.progress.impl.ProgressManagerImpl.executeProcessUnderProgress(ProgressManagerImpl.java:86)
    at com.intellij.openapi.progress.impl.CoreProgressManager.runProcess(CoreProgressManager.java:151)
    at com.intellij.openapi.application.impl.ApplicationImpl.lambda$null$10(ApplicationImpl.java:594)
    at com.intellij.openapi.application.impl.ApplicationImpl$1.run(ApplicationImpl.java:311)
    at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:511)
    at java.util.concurrent.FutureTask.run(FutureTask.java:266)
    at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1149)
    at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624)
    at java.lang.Thread.run(Thread.java:748)
Caused by: java.lang.NoSuchMethodError: com.intellij.util.ui.JBUI.scale(Lcom/intellij/util/ui/JBScalableIcon;)Lcom/intellij/util/ui/JBScalableIcon;
    at com.chrisrm.idea.ui.MTCheckBoxUI.<clinit>(MTCheckBoxUI.java:48)
    at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
    at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
    at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
    at java.lang.reflect.Method.invoke(Method.java:498)
    at sun.reflect.misc.Trampoline.invoke(MethodUtil.java:71)
    at sun.reflect.GeneratedMethodAccessor58.invoke(Unknown Source)
    at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
    at java.lang.reflect.Method.invoke(Method.java:498)
    at sun.reflect.misc.MethodUtil.invoke(MethodUtil.java:275)
    at javax.swing.UIDefaults.getUI(UIDefaults.java:770)
    at javax.swing.UIManager.getUI(UIManager.java:1016)
    at javax.swing.JCheckBox.updateUI(JCheckBox.java:228)
    at javax.swing.AbstractButton.init(AbstractButton.java:2176)
    at javax.swing.JToggleButton.<init>(JToggleButton.java:176)
    at javax.swing.JCheckBox.<init>(JCheckBox.java:174)
    at javax.swing.JCheckBox.<init>(JCheckBox.java:96)
    at com.intellij.openapi.vcs.changes.ui.ChangesTree.<init>(ChangesTree.java:99)
    at com.intellij.openapi.vcs.changes.ui.ChangesTree.<init>(ChangesTree.java:92)
    at com.intellij.openapi.vcs.changes.ui.ChangesListView.<init>(ChangesListView.java:55)
    at com.intellij.openapi.vcs.changes.ChangesViewManager.<init>(ChangesViewManager.java:125)
    at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
    at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:62)
    at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:45)
    at java.lang.reflect.Constructor.newInstance(Constructor.java:423)
    at org.picocontainer.defaults.InstantiatingComponentAdapter.newInstance(InstantiatingComponentAdapter.java:193)
    at com.intellij.util.pico.CachingConstructorInjectionComponentAdapter.doGetComponentInstance(CachingConstructorInjectionComponentAdapter.java:92)
    at com.intellij.util.pico.CachingConstructorInjectionComponentAdapter.instantiateGuarded(CachingConstructorInjectionComponentAdapter.java:66)
    at com.intellij.util.pico.CachingConstructorInjectionComponentAdapter.getComponentInstance(CachingConstructorInjectionComponentAdapter.java:48)
    at com.intellij.openapi.components.impl.ComponentManagerImpl$ComponentConfigComponentAdapter.getComponentInstance(ComponentManagerImpl.java:458)
    ... 50 more

In the bug dialogs, I can must click "Disable and restart" in order to be able to use webstorm again.

Steps to reproduce (if needed)

  1. Use latest version of Webstorm
  2. Install material ui theme v3.10
  3. Restart Webstorm to activate the plugin
  4. Enter an existing project

Environment

Webstorm WebStorm 2019.1.2
Build #WS-191.7141.49, built on May 7, 2019
JRE: 1.8.0_202-release-1483-b49 x86_64
JVM: OpenJDK 64-Bit Server VM by JetBrains s.r.o
macOS 10.14.4
Material Theme UI V3.10.0

material_theme.xml

<application>
  <component name="MaterialThemeConfig">
    <option name="isWizardShown" value="true" />
    <option name="selectedTheme" value="DARKER" />
    <option name="userId" value="5d602239:169242a3dd3:-8000" />
    <option name="version" value="3.9.4" />
  </component>
</application>

Most helpful comment

Alright, please redownload and tell me the results

All 15 comments

Me too!
macOS 10.13.6
Material Theme UI V3.10.0
屏幕快照 2019-05-25 17 14 45

I guess there are a lot more work to do on 2019.2... Please uninstall the plugin for the time being.

我想2019年还有很多工作要做.2。请暂时卸载插件。

3.9.4 version can support

Which is weird because I only added a theme... and it works ok with PHPStorm and CLion, I wonder why not with Webstorm.

Hi, PyCharm crashes as well.

Same problem here, IntelliJ IDEA CE 2019.1, updated the plugin to 3.10 and now I can't open any project.
Do you know a way to revert the update and go back to the previous version?

Same with JetBrains Rider 2019.1.1

Please delete it from your applications folder and relaunch

@AlessioDelConte For now you can disable plugin in file: \config\disabled_plugins.txt
by adding:
com.chrisrm.idea.MaterialThemeUI

I've removed the update as well as all old updates that wouldnt apply with the latest versions of the IDE.

Meaning that probably a lot of people won't see the plugin or it won't let them install it.

I'll try to tackle all new stuff asap

Which is weird because I only added a theme... and it works ok with PHPStorm and CLion, I wonder why not with Webstorm.

CLion 2019.1.3 Doesn't work for me so maybe its a specific configuration that causes this?

I had same experienced with PHPStorm release 2019.1.2 when I upgraded this plugin to 3.10, I had to rollback to 3.9.4 to get it working. I can also confirm 3.10 version is no longer at PHPStorm marketplace.

Alright, please redownload and tell me the results

After fast look it works in PyCharm

Alright, please redownload and tell me the results

@mallowigi - It worked now, I do not notice slow or frozen on PhpStorm.

Was this page helpful?
0 / 5 - 0 ratings

Related issues

ovr picture ovr  ·  3Comments

vbasem picture vbasem  ·  4Comments

NikoGrano picture NikoGrano  ·  4Comments

MiracleWisp picture MiracleWisp  ·  3Comments

sanderboom picture sanderboom  ·  4Comments