Changeset 4622


Ignore:
Timestamp:
Oct 31, 2008, 11:00:06 AM (13 years ago)
Author:
Nicklas Nordborg
Message:

Fixes #1162: Raw bioassay importer fails with InvalidUseOfNullException? when raw data type is not found

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/plugins/core/net/sf/basedb/plugins/batchimport/RawBioAssayImporter.java

    r4551 r4622  
    331331    if (rawDataTypeMapper != null)
    332332    {
    333       rawDataType = RawDataTypes.getRawDataType(rawDataTypeMapper.getValue(data));
     333      rawDataType = RawDataTypes.getSafeRawDataType(rawDataTypeMapper.getValue(data));
    334334    }
    335335    else
     
    385385      if (rawDataTypeMapper != null)
    386386      {
    387         rawDataType = RawDataTypes.getRawDataType(rawDataTypeMapper.getValue(data));
     387        rawDataType = RawDataTypes.getSafeRawDataType(rawDataTypeMapper.getValue(data));
    388388      }
    389389      if (variant != null)
Note: See TracChangeset for help on using the changeset viewer.