[kepler-dev] [Bug 4959] Reporting call to getDefaultProvenaceRecorder occasionally gets an NPE

bugzilla-daemon at ecoinformatics.org bugzilla-daemon at ecoinformatics.org
Mon Apr 26 12:16:49 PDT 2010


http://bugzilla.ecoinformatics.org/show_bug.cgi?id=4959

--- Comment #1 from Derik Barseghian <barseghian at nceas.ucsb.edu> 2010-04-26 12:16:48 PDT ---
Now I think this happens when you make a change to certain workflows and an
entirely new lsid is gotten, and the old one is placed in the derived from
list, instead of just bumping the revision. I'm not sure of all the cases in
which this occurs (it seems like this sometimes happens when it shouldn't, but
that would be a separate issue), but one is when you rename the workflow. When
a new lsid is assigned to the workflow, the call to get the workflow out of
ObjectManager in getProveanceRecorder returns null, even though the new lsid is
used:

NamedObj reference =
ObjectManager.getInstance().getHighestObjectRevision(lsid);

-- 
Configure bugmail: http://bugzilla.ecoinformatics.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the QA contact for the bug.


More information about the Kepler-dev mailing list