lastError in ch.elexis.util.Log was always uninitialized