@Override
public void contextStart(IMemento memento, IProgressMonitor monitor) {
// read preferred terms from memento into an in memory representation
+ if(memento == null){
+ return;
+ }
+
IMemento terms = memento.getChild(TERMS);
if(terms == null){