Strange NullPointerException

Change-Id: Iac80fb29f9ad5f6f66b6a05ecda80a6faaa25362