In my last scenario "Bomb Deactivation", if I run it while not logged in, it throws an exception;
RuntimeException - (JavaScript) TypeError: C...(rest of the message is out of the screen).
But it runs if I log in.
if (UserInfo.isStorageAvailable()) {
UserInfo myInfo = UserInfo.getMyInfo();
if(myInfo != null){
//...
}
}