Skip to main content
aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorSarika Sinha2019-03-01 03:58:54 -0500
committerSarika Sinha2019-03-01 04:16:32 -0500
commitc5b8c4f9ed597b8ef51b26d95822ad128c53ebbd (patch)
tree69e885fcfacfd8fbd85e9c9c7c030ebcc2c056ee
parent814d1fa9f3376b4e00b6a7772a8d8d37bbf49835 (diff)
downloadeclipse.platform.debug-Y20190313-0215.tar.gz
eclipse.platform.debug-Y20190313-0215.tar.xz
eclipse.platform.debug-Y20190313-0215.zip
DefaultDetailPane$DetailJob$1.runInUIThread(DefaultDetailPane.java:317) Change-Id: Ic67c7a9431b08fd2bb8cf7c238c3fb5a273d4117
-rw-r--r--org.eclipse.debug.ui/ui/org/eclipse/debug/internal/ui/views/variables/details/DefaultDetailPane.java3
1 files changed, 3 insertions, 0 deletions
diff --git a/org.eclipse.debug.ui/ui/org/eclipse/debug/internal/ui/views/variables/details/DefaultDetailPane.java b/org.eclipse.debug.ui/ui/org/eclipse/debug/internal/ui/views/variables/details/DefaultDetailPane.java
index d3226f62c..1f18e0b7c 100644
--- a/org.eclipse.debug.ui/ui/org/eclipse/debug/internal/ui/views/variables/details/DefaultDetailPane.java
+++ b/org.eclipse.debug.ui/ui/org/eclipse/debug/internal/ui/views/variables/details/DefaultDetailPane.java
@@ -310,6 +310,9 @@ public class DefaultDetailPane extends AbstractDetailPane implements IDetailPane
}
int topIndex = -1;
StyledText styledText = fSourceViewer.getTextWidget();
+ if (styledText == null) { // fSourceViewer is disposed
+ return Status.OK_STATUS;
+ }
Point selection = null;
// keep scrolling state in details pane in case
// of longer string over multiple lines

Back to the top