Skip to main content
summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorSebastian Struckmann2015-05-27 07:27:57 +0000
committerSebastian Struckmann2015-05-27 07:28:36 +0000
commit0b494662b9183fc50e8ac535e8fe6021a4e7c873 (patch)
tree93a6e395947b73f4c9d390e20aafffab33a657b4 /org.eclipse.jubula.client.ui.rcp
parent2dc2504736f2cbdf1fff12ac8baf908e279a860a (diff)
downloadorg.eclipse.jubula.core-0b494662b9183fc50e8ac535e8fe6021a4e7c873.tar.gz
org.eclipse.jubula.core-0b494662b9183fc50e8ac535e8fe6021a4e7c873.tar.xz
org.eclipse.jubula.core-0b494662b9183fc50e8ac535e8fe6021a4e7c873.zip
Sprint task - Fix for http://bugzilla.bredex.de/1692
Diffstat (limited to 'org.eclipse.jubula.client.ui.rcp')
-rw-r--r--org.eclipse.jubula.client.ui.rcp/src/org/eclipse/jubula/client/ui/rcp/search/SearchResultPage.java4
1 files changed, 3 insertions, 1 deletions
diff --git a/org.eclipse.jubula.client.ui.rcp/src/org/eclipse/jubula/client/ui/rcp/search/SearchResultPage.java b/org.eclipse.jubula.client.ui.rcp/src/org/eclipse/jubula/client/ui/rcp/search/SearchResultPage.java
index 339a3a2c0..840dc97a0 100644
--- a/org.eclipse.jubula.client.ui.rcp/src/org/eclipse/jubula/client/ui/rcp/search/SearchResultPage.java
+++ b/org.eclipse.jubula.client.ui.rcp/src/org/eclipse/jubula/client/ui/rcp/search/SearchResultPage.java
@@ -187,7 +187,9 @@ public class SearchResultPage extends AbstractSearchResultPage
SearchResultElement<Long> element =
(SearchResultElement<Long>)((IStructuredSelection)event
.getSelection()).getFirstElement();
- element.jumpToResult();
+ if (element != null) {
+ element.jumpToResult();
+ }
}
}

Back to the top