Index: /ModelTranslator/src/de/uni_hildesheim/sse/trans/in/rsf/RSFItemSelectsCondition.java
===================================================================
--- /ModelTranslator/src/de/uni_hildesheim/sse/trans/in/rsf/RSFItemSelectsCondition.java	(revision 408)
+++ /ModelTranslator/src/de/uni_hildesheim/sse/trans/in/rsf/RSFItemSelectsCondition.java	(revision 409)
@@ -10,4 +10,6 @@
 import de.uni_hildesheim.sse.trans.in.AbstractReader;
 import de.uni_hildesheim.sse.trans.in.ParserException;
+import de.uni_hildesheim.sse.utils.logger.EASyLoggerFactory;
+import de.uni_hildesheim.sse.utils.logger.EASyLoggerFactory.EASyLogger;
 
 /**
@@ -30,4 +32,6 @@
  */
 class RSFItemSelectsCondition extends RSFCondition {
+    private static final EASyLogger LOGGER = EASyLoggerFactory.INSTANCE.getLogger(
+            RSFItemSelectsCondition.class, "RSFItemSelectsCondition");
     
     private RSFItem variable;
@@ -48,4 +52,8 @@
             this.selectedVariable = this.selectedVariable.substring(1, this.selectedVariable.length() - 1);
         }
+        // TODO error handling if only one is true?
+        if (this.selectedVariable.startsWith("'") && this.selectedVariable.endsWith("'")) {
+            this.selectedVariable = this.selectedVariable.substring(1, this.selectedVariable.length() - 1);
+        }
         this.condition = condition;
         // TODO error handling if only one is true?
@@ -59,5 +67,10 @@
         ConstraintSyntaxTree notVar = getUnselectedVariable(variable, reader);
         
-        ConstraintSyntaxTree selectedVar = getSelectedVariable(reader.getItemNoCreate(selectedVariable), reader);
+        RSFItem selectedItem = reader.getItemNoCreate(selectedVariable);
+        if (selectedItem == null) {
+            LOGGER.error("ItemSelects statement with unkown selected variable: " + selectedVariable + " (skipping)");
+            return new ArrayList<ConstraintSyntaxTree>();
+        }
+        ConstraintSyntaxTree selectedVar = getSelectedVariable(selectedItem, reader);
         
         ConstraintSyntaxTree condition = getPureBooleanConstraintSyntaxTree(reader, this.condition, variable.getName());
