Catching null pointer exceptions so as to not mask the real error.
Merge pull request #23 from emartinez-usgs/catchit

Catching null pointer exceptions so as to not mask the real error.