diff --git a/astrid/plugin-src/com/todoroo/astrid/actfm/sync/AstridNewSyncMigrator.java b/astrid/plugin-src/com/todoroo/astrid/actfm/sync/AstridNewSyncMigrator.java index d68b9a5e0..e59d1c70d 100644 --- a/astrid/plugin-src/com/todoroo/astrid/actfm/sync/AstridNewSyncMigrator.java +++ b/astrid/plugin-src/com/todoroo/astrid/actfm/sync/AstridNewSyncMigrator.java @@ -590,7 +590,10 @@ public class AstridNewSyncMigrator { oe.clear(); oe.setValue(OutstandingEntry.ENTITY_ID_PROPERTY, id); oe.setValue(OutstandingEntry.COLUMN_STRING_PROPERTY, property.name); - oe.setValue(OutstandingEntry.VALUE_STRING_PROPERTY, instance.getValue(property).toString()); + Object value = instance.getValue(property); + if (value == null) + value = ""; + oe.setValue(OutstandingEntry.VALUE_STRING_PROPERTY, value.toString()); oe.setValue(OutstandingEntry.CREATED_AT_PROPERTY, now); oeDao.createNew(oe); }