diff --git a/src/de/dhbwstuttgart/bytecode/BytecodeGen.java b/src/de/dhbwstuttgart/bytecode/BytecodeGen.java
index 641db6dd..399abd47 100644
--- a/src/de/dhbwstuttgart/bytecode/BytecodeGen.java
+++ b/src/de/dhbwstuttgart/bytecode/BytecodeGen.java
@@ -374,7 +374,7 @@ public class BytecodeGen implements ASTVisitor {
 		allCons.removeAll(consToRemove);
 		allCons.addAll(result.keySet());
 		
-		if(allCons.size()<2) {
+		if(!allCons.isEmpty() && allCons.size()<2) {
 
 			if(!result.containsKey(allCons.get(0)))
 				result.put(allCons.get(0), null);