可以运行IntelliJ主题插件

时间:2019-10-13 19:18:44

标签: intellij-idea plugins themes

我正在尝试为IntelliJ创建主题插件。我使用模板创建了一个插件项目,然后尝试运行该插件。 IntelliJ的新实例启动,我可以打开或创建一个新项目。之后,所有窗口关闭,我可以在日志中看到它:

  

/库/Java/JavaVirtualMachines/openjdk-13.jdk/Contents/Home/bin/java   -Xmx512m -Xms256m -ea -Didea.config.path = / Users / magnus / Library / Caches / IntelliJIdea2019.2 / plugins-sandbox / config   -Didea.system.path = /用户/ magnus /库/缓存/IntelliJIdea2019.2/plugins-sandbox/system   -Didea.plugins.path = /用户/马格努斯/库/缓存/IntelliJIdea2019.2/plugins-sandbox/plugins   -Didea.classpath.index.enabled = false -Didea.required.plugins.id = com.magnusottosson.theme.snazzy -Didea.smooth.progress = false -Dapple.laf.useScreenMenuBar = true -Dapple.awt.fileDialogForDirectories = true “ -javaagent:/ Applications / IntelliJ   IDEA.app/Contents/lib/idea_rt.jar=61675:/Applications/IntelliJ   IDEA.app/Contents/bin“ -Dfile.encoding = UTF-8 -classpath   “ /Library/Java/JavaVirtualMachines/openjdk-13.jdk/Contents/Home/lib/tools.jar:/Applications/IntelliJ   IDEA.app/Contents/lib/log4j.jar:/Applications/IntelliJ   IDEA.app/Contents/lib/jdom.jar:/Applications/IntelliJ   IDEA.app/Contents/lib/trove4j.jar:/Applications/IntelliJ   IDEA.app/Contents/lib/openapi.jar:/Applications/IntelliJ   IDEA.app/Contents/lib/util.jar:/Applications/IntelliJ   IDEA.app/Contents/lib/extensions.jar:/Applications/IntelliJ   IDEA.app/Contents/lib/bootstrap.jar:/Applications/IntelliJ   IDEA.app/Contents/lib/idea_rt.jar:/Applications/IntelliJ   IDEA.app/Contents/lib/idea.jar“ com.intellij.idea.Main警告:   发生了非法的反射访问操作警告:非法   com.intellij.ide.ClassUtilCore对字段的反射访问   sun.net.www.protocol.jar.JarFileFactory.fileCache警告:请   考虑将其报告给   com.intellij.ide.ClassUtilCore警告:使用--illegal-access =警告   发出进一步非法反射访问操作的警告   警告:以后将拒绝所有非法访问操作   发行日2019-10-13 21:13:37,271 [1920]警告-   i.mac.MacOSApplicationProvider-com / apple / eawt / AboutHandler   java.lang.NoClassDefFoundError:com / apple / eawt / AboutHandler位于   com.intellij.ui.mac.MacOSApplicationProvider $ Worker.initMacApplication(MacOSApplicationProvider.java:58)     ...引起的:java.lang.ClassNotFoundException:   com.apple.eawt.AboutHandler   com.intellij.util.lang.UrlClassLoader.findClass(UrlClassLoader.java:282)     在java.base / java.lang.ClassLoader.loadClass(ClassLoader.java:588)     在java.base / java.lang.ClassLoader.loadClass(ClassLoader.java:521)     ... 17更多2019-10-13 21:13:40,875 [5524]警告-   s.impl.EditorColorsManagerImpl-找不到方案:VibrantInk来自   插件:com.intellij.database 2019-10-13 21:13:40,876 [5525]
  WARN-s.impl.EditorColorsManagerImpl-找不到方案:WarmNeon   来自插件:com.intellij.database 2019-10-13 21:13:40,876 [5525]   WARN-s.impl.EditorColorsManagerImpl-找不到方案:高   сontrast来自插件:com.intellij.database 2019-10-13 21:19:13,656 [   338305]错误-.impl.MessageBusConnectionImpl-   com / apple / eawt / OpenURIHandler java.lang.NoClassDefFoundError:   com / apple / eawt / OpenURIHandler位于   com.intellij.openapi.wm.impl.IdeFrameDecorator.decorate(IdeFrameDecorator.java:43)     ...引起的:java.lang.ClassNotFoundException:   com.apple.eawt.OpenURIHandler位于   com.intellij.util.lang.UrlClassLoader.findClass(UrlClassLoader.java:282)     在java.base / java.lang.ClassLoader.loadClass(ClassLoader.java:588)     在java.base / java.lang.ClassLoader.loadClass(ClassLoader.java:521)     ... 136更多2019-10-13 21:19:13,658 [338307]错误-   .impl.MessageBusConnectionImpl-IntelliJ IDEA 2019.2.3构建

     

IU-192.6817.14 2019-10-13 21:19:13,659 [338308]错误-.impl.MessageBusConnectionImpl-JDK:13; VM:OpenJDK 64位服务器

     

VM;供应商:Oracle Corporation 2019-10-13 21:19:13,659 [338308]   错误-.impl.MessageBusConnectionImpl-操作系统:Mac OS X 2019-10-13   21:19:13,663 [338312]错误-.impl.MessageBusConnectionImpl-最后   行动:WelcomeScreen.OpenProject 2019-10-13 21:19:13,966 [338615]   错误-tartup.impl.StartupManagerImpl-com / apple / eawt / OpenURIHandler   java.lang.NoClassDefFoundError:com / apple / eawt / OpenURIHandler在   com.intellij.openapi.wm.impl.IdeFrameDecorator.decorate(IdeFrameDecorator.java:43)     ...引起的:java.lang.ClassNotFoundException:   com.apple.eawt.OpenURIHandler位于   com.intellij.util.lang.UrlClassLoader.findClass(UrlClassLoader.java:282)     在java.base / java.lang.ClassLoader.loadClass(ClassLoader.java:588)     在java.base / java.lang.ClassLoader.loadClass(ClassLoader.java:521)     ... 132更多2019-10-13 21:19:13,968 [338617]错误-   tartup.impl.StartupManagerImpl-IntelliJ IDEA 2019.2.3构建

     

IU-192.6817.14 2019-10-13 21:19:13,968 [338617]错误-tartup.impl.StartupManagerImpl-JDK:13; VM:OpenJDK 64位服务器

     

VM;供应商:Oracle Corporation 2019-10-13 21:19:13,968 [338617]   错误-tartup.impl.StartupManagerImpl-操作系统:Mac OS X 2019-10-13   21:19:13,969 [338618]错误-tartup.impl.StartupManagerImpl-最后   行动:WelcomeScreen.OpenProject 2019-10-13 21:19:14,024 [338673]   错误-tartup.impl.StartupManagerImpl-空   java.lang.NullPointerException在   com.intellij.openapi.wm.impl.ToolWindowManagerImpl.appendUpdateToolWindowsPaneCmd(ToolWindowManagerImpl.java:1722)     ... 2019-10-13 21:19:14,025 [338674]错误-   tartup.impl.StartupManagerImpl-IntelliJ IDEA 2019.2.3构建

     

IU-192.6817.14 2019-10-13 21:19:14,027 [338676]错误-tartup.impl.StartupManagerImpl-JDK:13; VM:OpenJDK 64位服务器

     

VM;供应商:Oracle Corporation 2019-10-13 21:19:14,027 [338676]   错误-tartup.impl.StartupManagerImpl-操作系统:Mac OS X 2019-10-13   21:19:14,028 [338677]错误-tartup.impl.StartupManagerImpl-最后   行动:WelcomeScreen.OpenProject 2019-10-13 21:19:14,178 [338827]   错误-llij.ide.plugins.PluginManager-空   java.lang.NullPointerException在   com.intellij.codeInsight.daemon.impl.DaemonListeners $ MyProfileChangeListener.lambda $ profilesInitialized $ 0(DaemonListeners.java:524)     ... 2019-10-13 21:19:14,180 [338829]错误-   llij.ide.plugins.PluginManager-IntelliJ IDEA 2019.2.3构建

     

IU-192.6817.14 2019-10-13 21:19:14,181 [338830]错误-llij.ide.plugins.PluginManager-JDK:13; VM:OpenJDK 64位服务器

     

VM;供应商:Oracle Corporation 2019-10-13 21:19:14,181 [338830]   错误-llij.ide.plugins.PluginManager-操作系统:Mac OS X 2019-10-13   21:19:14,181 [338830]错误-llij.ide.plugins.PluginManager-最后   行动:WelcomeScreen.OpenProject 2019-10-13 21:19:14,935 [339584]   错误-tartup.impl.StartupManagerImpl-空   java.lang.NullPointerException在   com.intellij.cloudConfig.StatusBarInfoManager $ MyStartupActivity.runActivity(StatusBarInfoManager.java:74)     ... 2019-10-13 21:19:14,936 [339585]错误-   tartup.impl.StartupManagerImpl-IntelliJ IDEA 2019.2.3构建

     

IU-192.6817.14 2019-10-13 21:19:14,936 [339585]错误-tartup.impl.StartupManagerImpl-JDK:13; VM:OpenJDK 64位服务器

     

VM;供应商:Oracle Corporation 2019-10-13 21:19:14,936 [339585]   错误-tartup.impl.StartupManagerImpl-操作系统:Mac OS X 2019-10-13   21:19:14,936 [339585]错误-tartup.impl.StartupManagerImpl-最后   行动:WelcomeScreen.OpenProject 2019-10-13 21:19:15,023 [339672]   错误-leEditor.impl.EditorsSplitters-断言失败   java.lang.Throwable:断言在以下位置失败   com.intellij.openapi.diagnostic.Logger.assertTrue(Logger.java:180)     ... 2019-10-13 21:19:15,024 [339673]错误-   leEditor.impl.EditorsSplitters-IntelliJ IDEA 2019.2.3构建

     

IU-192.6817.14 2019-10-13 21:19:15,024 [339673]错误-leEditor.impl.EditorsSplitters-JDK:13; VM:OpenJDK 64位服务器

     

VM;供应商:Oracle Corporation 2019-10-13 21:19:15,024 [339673]   错误-leEditor.impl.EditorsSplitters-操作系统:Mac OS X 2019-10-13   21:19:15,024 [339673]错误-leEditor.impl.EditorsSplitters-最后   行动:WelcomeScreen.OpenProject 2019-10-13 21:19:15,112 [339761]   错误-tartup.impl.StartupManagerImpl-com / apple / eawt / OpenURIHandler   java.lang.NoClassDefFoundError:com / apple / eawt / OpenURIHandler在   com.intellij.openapi.wm.impl.IdeFrameDecorator.decorate(IdeFrameDecorator.java:43)     ...引起的:java.lang.ClassNotFoundException:   com.apple.eawt.OpenURIHandler位于   com.intellij.util.lang.UrlClassLoader.findClass(UrlClassLoader.java:282)     在java.base / java.lang.ClassLoader.loadClass(ClassLoader.java:588)     在java.base / java.lang.ClassLoader.loadClass(ClassLoader.java:521)     ... 34更多2019-10-13 21:19:15,113 [339762]错误-   tartup.impl.StartupManagerImpl-IntelliJ IDEA 2019.2.3构建

     

IU-192.6817.14 2019-10-13 21:19:15,113 [339762]错误-tartup.impl.StartupManagerImpl-JDK:13; VM:OpenJDK 64位服务器

     

VM;供应商:Oracle Corporation 2019-10-13 21:19:15,113 [339762]   错误-tartup.impl.StartupManagerImpl-操作系统:Mac OS X 2019-10-13   21:19:15,114 [339763]错误-tartup.impl.StartupManagerImpl-最后   行动:WelcomeScreen.OpenProject 2019-10-13 21:19:15,313 [339962]   错误-leEditor.impl.EditorsSplitters-断言失败   java.lang.Throwable:断言在以下位置失败   com.intellij.openapi.diagnostic.Logger.assertTrue(Logger.java:180)     ... 2019-10-13 21:19:15,313 [339962]错误-   leEditor.impl.EditorsSplitters-IntelliJ IDEA 2019.2.3构建

     

IU-192.6817.14 2019-10-13 21:19:15,313 [339962]错误-leEditor.impl.EditorsSplitters-JDK:13; VM:OpenJDK 64位服务器

     

VM;供应商:Oracle Corporation 2019-10-13 21:19:15,314 [339963]   错误-leEditor.impl.EditorsSplitters-操作系统:Mac OS X 2019-10-13   21:19:15,314 [339963]错误-leEditor.impl.EditorsSplitters-最后   行动:WelcomeScreen.OpenProject 2019-10-13 21:19:20,161 [344810]
  WARN-.intellij.diagnostic.VMOptions-未配置VM选项文件

1 个答案:

答案 0 :(得分:0)

发现了问题!我可以使用IntelliJ随附的SDK,但必须在文件->项目结构-> SDK-> IntelliJ IDEA IU-192.6817.14

中将内部Java平台从13更改为11。