Changeset 31109

Show
Ignore:
Timestamp:
15.11.2016 18:45:49 (3 years ago)
Author:
ak19
Message:

Fixing nullpointer exception thrown when there is no collection groups configuration file (when there are no collectiongroups).

Files:
1 modified

Legend:

Unmodified
Added
Removed
  • main/trunk/greenstone3/src/java/org/greenstone/gsdl3/service/CollectionGroups.java

    r30541 r31109  
    215215        // 
    216216        if (!configFile.exists()) { 
    217             logger.error("Groups config file " + configFile.getPath() + " does not exists"); 
     217            logger.info("Groups config file " + configFile.getPath() + " does not exist."); 
     218            return; 
    218219        } 
    219220        // Try to read and catch exception if it fails