mirror of
https://gitflic.ru/project/openide/openide.git
synced 2025-12-16 22:51:17 +07:00
NPE
This commit is contained in:
@@ -41,7 +41,7 @@ public class SphinxRunConfiguration extends RestRunConfiguration {
|
||||
@Override
|
||||
protected SettingsEditor<? extends RunConfiguration> createConfigurationEditor() {
|
||||
final SphinxTasksModel model = new SphinxTasksModel();
|
||||
if (!model.contains("pdf")) {
|
||||
if (!model.contains("pdf") && getSdk() != null) {
|
||||
try {
|
||||
final PyPackage rst2pdf = PyPackageManager.getInstance(getSdk()).findPackage("rst2pdf");
|
||||
if (rst2pdf != null) {
|
||||
|
||||
Reference in New Issue
Block a user