Fixed bug with NULL pointer exception.
Fixed bug with NULL pointer exception.

informatics-isi-edu/microscopy,informatics-isi-edu/microscopy,informatics-isi-edu/microscopy,informatics-isi-edu/microscopy