Project

General

Profile

Actions

Bug #5777

closed

Can't save a data package which was created by the new data pacakage wizard to the DataONE network

Added by Jing Tao almost 12 years ago. Updated almost 12 years ago.

Status:
Resolved
Priority:
Normal
Category:
morpho - general
Target version:
Start date:
01/14/2013
Due date:
% Done:

0%

Estimated time:
Bugzilla-Id:
5777

Description

After creating a data package by the new data package wizard, I tried to save it to the dataONE directly. However, I got this the error:

[java] DataONEDataStoreService.save - the D1Object which will be saved can't be null
[java] java.lang.NullPointerException: DataONEDataStoreService.save - the D1Object which will be saved can't be null
[java] at edu.ucsb.nceas.morpho.datastore.DataONEDataStoreService.save(DataONEDataStoreService.java:652)
[java] at edu.ucsb.nceas.morpho.datastore.DataONEDataStoreService.save(DataONEDataStoreService.java:535)
[java] at edu.ucsb.nceas.morpho.datastore.DataStoreServiceController.save(DataStoreServiceController.java:738)
[java] at edu.ucsb.nceas.morpho.datastore.DataStoreServiceController.save(DataStoreServiceController.java:723)
[java] at edu.ucsb.nceas.morpho.datapackage.SaveDialog.executeButton_actionPerformed(SaveDialog.java:335)
[java] at edu.ucsb.nceas.morpho.datapackage.SaveDialog$SymAction.actionPerformed(SaveDialog.java:248)
[java] at javax.swing.AbstractButton.fireActionPerformed(AbstractButton.java:2028)
[java] at javax.swing.AbstractButton$Handler.actionPerformed(AbstractButton.java:2351)
[java] at javax.swing.DefaultButtonModel.fireActionPerformed(DefaultButtonModel.java:387
Actions #1

Updated by ben leinfelder almost 12 years ago

THe metadata map was being updated to reflect the new EML identifier, but the map that has D1Objects keyed by identifier was still using the old id even though we were looking up the object to save using the new id.
This is now fixed in trunk.

Actions #2

Updated by Redmine Admin over 11 years ago

Original Bugzilla ID was 5777

Actions

Also available in: Atom PDF