Index: src/java/ca/inverse/sogo/engine/source/SOGoTaskUtilities.java
===================================================================
--- src/java/ca/inverse/sogo/engine/source/SOGoTaskUtilities.java	(Revision 49)
+++ src/java/ca/inverse/sogo/engine/source/SOGoTaskUtilities.java	(Arbeitskopie)
@@ -70,10 +70,21 @@
             if (task.getComplete().getPropertyValue() == null) {
                 c_status = 0;
             } else {
-                c_status = Integer.parseInt(task.getComplete().getPropertyValueAsString());
+            	try 
+            	{
+            		// Not sure why a value of "true" appears, but it will not
+            		// be convertable to int
+            		c_status = Integer.parseInt(task.getComplete().getPropertyValueAsString());
+            	} catch (NumberFormatException e) {
+            		if ("true".equals(task.getComplete().getPropertyValueAsString())) {
+            			c_status = 1;
+            		} else {
+            			c_status = 0;
+            		}
+            	}
             }
-
-            if (task.getImportance().getPropertyValue() == null) {
+            
+            if (task.getImportance() == null || task.getImportance().getPropertyValue() == null) {
                 c_priority = 0;
             } else {
                 c_priority = Integer.parseInt(task.getImportance().getPropertyValueAsString());
@@ -316,10 +327,18 @@
             if (task.getComplete().getPropertyValue() == null) {
                 c_status = 0;
             } else {
-                c_status = Integer.parseInt(task.getComplete().getPropertyValueAsString());
+            	try {
+            		c_status = Integer.parseInt(task.getComplete().getPropertyValueAsString());
+            	} catch (NumberFormatException e) {
+            		if ("true".equals(task.getComplete().getPropertyValueAsString())) {
+            			c_status = 1;
+            		} else {
+            			c_status = 0;
+            		}
+            	}
             }
 
-            if (task.getImportance().getPropertyValue() == null) {
+            if (task.getImportance() == null || task.getImportance().getPropertyValue() == null) {
                 c_priority = 0;
             } else {
                 c_priority = Integer.parseInt(task.getImportance().getPropertyValueAsString());
