Changeset 6720


Ignore:
Timestamp:
10/30/15 18:30:56 (9 years ago)
Author:
davor.ostojic@oeaw.ac.at
Message:
 
File:
1 edited

Legend:

Unmodified
Added
Removed
  • vlo/branches/vlo-3.3-oeaw/vlo-importer/src/main/java/eu/clarin/cmdi/vlo/importer/CMDIParserVTDXML.java

    r6715 r6720  
    351351       
    352352        //keep only values from original concepts, not from cross mappings
    353                 if(comesFromConceptMapping && !allowMultipleValues && cmdiData.getSolrDocument().containsKey(name)){
     353                if(comesFromConceptMapping && !allowMultipleValues && cmdiData.getSolrDocument() != null && cmdiData.getSolrDocument().containsKey(name)){
    354354                        cmdiData.getSolrDocument().remove(name);
    355355                }
    356356               
    357                 if(!comesFromConceptMapping && !allowMultipleValues && cmdiData.getSolrDocument().containsKey(name))
     357                if(!comesFromConceptMapping && !allowMultipleValues && cmdiData.getSolrDocument() != null && cmdiData.getSolrDocument().containsKey(name))
    358358                        return;
    359359       
Note: See TracChangeset for help on using the changeset viewer.