Changeset 31109 for main


Ignore:
Timestamp:
2016-11-15T18:45:49+13:00 (7 years ago)
Author:
ak19
Message:

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

File:
1 edited

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
Note: See TracChangeset for help on using the changeset viewer.