Skip to main content
aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorEugene Tarassov2017-01-02 18:12:36 +0000
committerEugene Tarassov2017-01-02 18:12:36 +0000
commit20923800aa77cc57641969d2c3825396a8727d76 (patch)
tree11806682276420e8ac52fd5b5eade426da7c2abc
parent60e137e671216c642d97bcb6968b6d7a369a89e1 (diff)
downloadorg.eclipse.tcf-20923800aa77cc57641969d2c3825396a8727d76.tar.gz
org.eclipse.tcf-20923800aa77cc57641969d2c3825396a8727d76.tar.xz
org.eclipse.tcf-20923800aa77cc57641969d2c3825396a8727d76.zip
TCF Debugger: fixed NullPointerException in TCFMemoryBlock$10.run when saving list of memory monitors
-rw-r--r--plugins/org.eclipse.tcf.debug.ui/src/org/eclipse/tcf/internal/debug/ui/model/TCFMemoryBlock.java1
1 files changed, 1 insertions, 0 deletions
diff --git a/plugins/org.eclipse.tcf.debug.ui/src/org/eclipse/tcf/internal/debug/ui/model/TCFMemoryBlock.java b/plugins/org.eclipse.tcf.debug.ui/src/org/eclipse/tcf/internal/debug/ui/model/TCFMemoryBlock.java
index 33eb88b1e..a0a354624 100644
--- a/plugins/org.eclipse.tcf.debug.ui/src/org/eclipse/tcf/internal/debug/ui/model/TCFMemoryBlock.java
+++ b/plugins/org.eclipse.tcf.debug.ui/src/org/eclipse/tcf/internal/debug/ui/model/TCFMemoryBlock.java
@@ -866,6 +866,7 @@ class TCFMemoryBlock extends PlatformObject implements IMemoryBlockExtension, IM
IMemoryRenderingSite memory_view = (IMemoryRenderingSite)part;
for (String pane_id : pane_ids) {
IMemoryRenderingContainer container = memory_view.getContainer(pane_id);
+ if (container == null) continue;
IMemoryRendering[] renderings = container.getRenderings();
for (IMemoryRendering rendering : renderings) {
Element xml_block = mb_to_xml.get(rendering.getMemoryBlock());

Back to the top