Changeset 15801

Show
Ignore:
Timestamp:
29.05.2008 15:44:06 (12 years ago)
Author:
oranfry
Message:

prevent null pointer exception when launching gems

Files:
1 modified

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    }