Revision e7534f91 src/com/rackspacecloud/android/ListContainerActivity.java

b/src/com/rackspacecloud/android/ListContainerActivity.java
56 56
	}
57 57

  
58 58
	private void restoreState(Bundle state) {
59
		if (state != null && state.containsKey("container")) {
59
		if (state != null && state.containsKey("container") && state.getSerializable("container") != null) {
60 60
			containers = (Container[]) state.getSerializable("container");
61 61
			if (containers.length == 0) {
62 62
				displayNoServersCell();
......
234 234
																		// again
235 235
			return true;
236 236
		case R.id.refresh:
237
			containers = null;
237 238
			loadContainers();
238 239
			return true;
239 240
		}

Also available in: Unified diff