Changeset 2299


Ignore:
Timestamp:
02/20/07 11:44:48 (13 years ago)
Author:
curtis
Message:

Fix NullPointerException when no file info exists.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/loci/plugins/LociUploader.java

    r2267 r2299  
    100100      // if we opened this stack with the Bio-Formats importer, then the 
    101101      // appropriate OME-XML is in fi.description 
    102       if (fi.description != null && fi.description.endsWith("</OME>")) { 
     102      if (fi != null && fi.description != null && 
     103        fi.description.endsWith("</OME>")) 
     104      { 
    103105        store.createRoot(fi.description); 
    104106      } 
Note: See TracChangeset for help on using the changeset viewer.