Fix error handling when project state is empty

Before this change, an unexpected exception
java.util.NoSuchElementException was thrown when the project state is
empty, then Resolver could not handle this exception and this causes
a Server Error. To fix this issue, a present check was added
before the project state check.

Bug: Issue 13492
Change-Id: I40a128bba8a0794b7daeb019ef0f75cefedef342
(cherry picked from commit a33c8b8d61b778f8ca84196b1a7cc1fd4fe24946)
1 file changed
tree: 4bf4bd07edeccd993c11adb48166449b93b58f7b
  1. .gitignore
  2. .settings/
  3. BUILD
  5. src/