shuzijun / leetcode-editor

Do Leetcode exercises in IDE, support leetcode.com and leetcode-cn.com, to meet the basic needs of doing exercises.Support theoretically: IntelliJ IDEA PhpStorm WebStorm PyCharm RubyMine AppCode CLion GoLand DataGrip Rider MPS Android Studio
https://plugins.jetbrains.com/plugin/12132-leetcode-editor
Apache License 2.0
3.75k stars 404 forks source link

设置界面一直加载并报错 #684

Closed actforjason closed 10 months ago

actforjason commented 11 months ago

IntelliJ IDEA 2023.3.1 (Ultimate Edition) leetcode-editor 8.9

图片

cannot create configurable component java.lang.NullPointerException: Cannot invoke "javax.swing.JComboBox.addItem(Object)" because "this.webComboBox" is null at com.shuzijun.leetcode.plugin.setting.SettingUI.initUI(SettingUI.java:82) at com.shuzijun.leetcode.plugin.setting.SettingUI.(SettingUI.java:77) at com.shuzijun.leetcode.plugin.setting.SettingConfigurable.createComponent(SettingConfigurable.java:48) at com.intellij.openapi.options.ex.ConfigurableWrapper.createComponent(ConfigurableWrapper.java:181)

java.lang.NullPointerException: Cannot invoke "com.shuzijun.leetcode.plugin.setting.SettingUI.isModified()" because "this.mainPanel" is null at com.shuzijun.leetcode.plugin.setting.SettingConfigurable.isModified(SettingConfigurable.java:54) at com.intellij.openapi.options.ex.ConfigurableWrapper.isModified(ConfigurableWrapper.java:186) at com.intellij.openapi.options.newEditor.SettingsEditor.checkModifiedInternal(SettingsEditor.java:522) at com.intellij.openapi.options.newEditor.SettingsEditor.checkModifiedForItem(SettingsEditor.java:516)

actforjason commented 10 months ago

打包时需要选择instrumentedJar