Changeset 3912


Ignore:
Timestamp:
Nov 6, 2007, 9:44:06 AM (14 years ago)
Author:
Nicklas Nordborg
Message:

References #721. Fixes NPE in autodetect file format function when used with BasicData? classes

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/www/common/import/select_file.jsp

    r3852 r3912  
    7272  File currentFile = null;
    7373  List<FileSetMember> dataFiles = null;
    74   if (FileStoreEnabled.class.isAssignableFrom(itemType.getItemClass()))
     74  if (itemType.getItemClass() != null &&
     75    FileStoreEnabled.class.isAssignableFrom(itemType.getItemClass()))
    7576  {
    7677    FileStoreEnabled fileStoreItem = null;
Note: See TracChangeset for help on using the changeset viewer.