[kepler-dev] [Bug 4529] - NPE while saving KAR crashes Kepler

bugzilla-daemon at ecoinformatics.org bugzilla-daemon at ecoinformatics.org
Wed Nov 18 09:00:00 PST 2009


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


leinfelder at nceas.ucsb.edu changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |RESOLVED
         Resolution|                            |FIXED




------- Comment #4 from leinfelder at nceas.ucsb.edu  2009-11-18 08:59 -------
The Configuration that was being retrieved ended up being null so the
openModel() call failed with the NPE. I used a more direct method for
retrieving a Configuration instance and that seems to work fine.

NB: I'm a litte worried about how there are GUI classes being invoked inside
the KAREntryHandler. Especially since we are trying to use the handlers in both
gui and non-gui contexts.
I think we are mostly dodging the bullet with KeplerConfigurationApplication in
that it extracts the MOML and opens/runs it using it's own gui-less way while
other pieces of the KAR are cached by their respective handlers so that they
are available during wrapup().


More information about the Kepler-dev mailing list