mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-09-13 21:55:01 +07:00
NPE: Jupyter notebook closed during cell evaluation
This commit is contained in:
@@ -345,7 +345,7 @@ public class IpnbCodePanel extends IpnbEditablePanel<JComponent, IpnbCodeCell> {
|
||||
myPromptLabel.setText(prompt);
|
||||
application.runWriteAction(() -> myCodeSourcePanel.getEditor().getDocument().setText(replacementContent));
|
||||
}
|
||||
if (outputContent != null) {
|
||||
if (outputContent != null && myHideableOutputPanel != null) {
|
||||
myCell.addCellOutput(outputContent);
|
||||
final JComponent component = myHideableOutputPanel.getSecondComponent();
|
||||
if (component != null) {
|
||||
|
||||
Reference in New Issue
Block a user