Changeset 15801 for gli


Ignore:
Timestamp:
2008-05-29T15:44:06+12:00 (13 years ago)
Author:
oranfry
Message:

prevent null pointer exception when launching gems

File:
1 edited

Legend:

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

    r14974 r15801  
    158158    }
    159159
    160     if (fedora_info.isActive()) {
     160    if (fedora_info != null && fedora_info.isActive()) {
    161161        config_xml_file_name = FEDORA_CONFIG_PREFIX + config_xml_file_name;
    162162    }
     
    721721    }
    722722
    723     if (fedora_info.isActive()) {
     723    if (fedora_info != null && fedora_info.isActive()) {
    724724        config_xml_name = FEDORA_CONFIG_PREFIX + config_xml_name;
    725725    }
Note: See TracChangeset for help on using the changeset viewer.