Ignore:
Timestamp:
2003-05-27T16:58:33+12:00 (21 years ago)
Author:
jmt12
Message:

Bug fix to prevent the absence of the extracted metadata set causing an NPE during import phase - John

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/gli/src/org/greenstone/gatherer/msm/GreenstoneArchiveParser.java

    r4365 r4369  
    116116                if(element == null) {
    117117                MetadataSet extracted_mds = Gatherer.c_man.msm.getSet("ex");
    118                 element = extracted_mds.addElement(name);
     118                if(extracted_mds != null) {
     119                    element = extracted_mds.addElement(name);
     120                }
    119121                }
    120122                // If we successfully retrieved an element (and we should have) we can continue.
Note: See TracChangeset for help on using the changeset viewer.