diff -r c87042164cd8 -r b9ad6f933bc9 src/org/gege/caldavsyncadapter/android/entities/AndroidEvent.java --- a/src/org/gege/caldavsyncadapter/android/entities/AndroidEvent.java Thu Feb 12 21:40:00 2015 +0100 +++ b/src/org/gege/caldavsyncadapter/android/entities/AndroidEvent.java Thu Feb 12 21:48:00 2015 +0100 @@ -72,6 +72,8 @@ import java.net.URISyntaxException; import java.text.ParseException; +import static org.junit.Assert.*; + //import android.accounts.Account; //import android.content.ContentProviderClient; //import android.content.ContentValues; @@ -317,6 +319,7 @@ public boolean createIcs(String strUid) { boolean Result = false; TimeZone timeZone = null; + assertNotNull(Thread.currentThread().getContextClassLoader()); TimeZoneRegistry registry = TimeZoneRegistryFactory.getInstance().createRegistry(); //TODO: do not simply create the ics-file new. take into account the RAWDATA if available /*