Project

General

Profile

« Previous | Next » 

Revision 6443

check for null pointers when adding system metadata/creating records during cn.create()

View differences:

D1NodeService.java
762 762
      
763 763
    }
764 764

  
765
    params = new Hashtable<String, String[]>();
765 766
    String[] action = new String[1];
766 767
    action[0] = insertOrUpdate;
767 768
    params.put("action", action);
......
788 789
    }
789 790
    
790 791
    // do the insert or update action
792
    handler = new MetacatHandler(new Timer());
791 793
    String result = handler.handleInsertOrUpdateAction(metacatUrl, null, 
792 794
                        null, params, username, groupnames);
793 795
    

Also available in: Unified diff