diff --git a/mifosng-android/mifosng-android.iml b/mifosng-android/mifosng-android.iml
index ecf88c5d237..7b8d6a08713 100644
--- a/mifosng-android/mifosng-android.iml
+++ b/mifosng-android/mifosng-android.iml
@@ -48,14 +48,13 @@
-
-
+
@@ -87,23 +86,36 @@
-
+
+
+
+
+
+
+
+
+
+
+
+
-
+
-
-
+
+
+
+
-
+
-
+
-
+
diff --git a/mifosng-android/src/main/java/com/mifos/mifosxdroid/online/ClientDetailsFragment.java b/mifosng-android/src/main/java/com/mifos/mifosxdroid/online/ClientDetailsFragment.java
index b638e8f5e62..505a6e49456 100644
--- a/mifosng-android/src/main/java/com/mifos/mifosxdroid/online/ClientDetailsFragment.java
+++ b/mifosng-android/src/main/java/com/mifos/mifosxdroid/online/ClientDetailsFragment.java
@@ -81,7 +81,6 @@
import butterknife.ButterKnife;
import butterknife.InjectView;
-import butterknife.OnClick;
import retrofit.Callback;
import retrofit.RetrofitError;
import retrofit.client.Response;
diff --git a/mifosng-android/src/main/java/com/mifos/mifosxdroid/online/SavingsAccountSummaryFragment.java b/mifosng-android/src/main/java/com/mifos/mifosxdroid/online/SavingsAccountSummaryFragment.java
index 2c304727525..70ccb5cf27a 100644
--- a/mifosng-android/src/main/java/com/mifos/mifosxdroid/online/SavingsAccountSummaryFragment.java
+++ b/mifosng-android/src/main/java/com/mifos/mifosxdroid/online/SavingsAccountSummaryFragment.java
@@ -244,11 +244,14 @@ public void onItemClick(AdapterView> adapterView, View view, int i, long l) {
@Override
public void failure(RetrofitError retrofitError) {
+ try{
- Log.i(getActivity().getLocalClassName(), retrofitError.getLocalizedMessage());
-
- Toast.makeText(activity, "Savings Account not found.", Toast.LENGTH_SHORT).show();
+ Log.i(getActivity().getLocalClassName(), retrofitError.getLocalizedMessage());
+ }catch(NullPointerException npe) {
+ Toast.makeText(activity, "Internal Server Error", Toast.LENGTH_SHORT).show();
+ }
safeUIBlockingUtility.safelyUnBlockUI();
+ getFragmentManager().popBackStackImmediate();
}
}
);