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

           Summary: Animate at Runtime broken
           Product: Kepler
           Version: 2.1.0
          Platform: Other
        OS/Version: All
            Status: NEW
          Severity: normal
          Priority: P2
         Component: core
        AssignedTo: [email protected]
        ReportedBy: [email protected]
         QAContact: [email protected]
   Estimated Hours: 0.0


Upon starting Kepler, the following error appears on the console:

Exception trying to create an Action for classname:
<org.kepler.gui.RunWithFeedbackChkBoxAction>

This is caused by a circular reference. KeplerMenuHandler.pack() executes

[1]    menuMapper = new MenuMapper((TableauFrame) t)

The call to the MenuMapper constructor eventually leads to calling the
contructor for class RunWithFeedbackChkBoxAction. This latter constructor
executes

[2]    MenuMapper menuMapper = (MenuMapper) parent.getAlternateTopPack()
                .getObject(null);

In [2], parent.getAlternateTopPack() returns the same instance of
KeplerMenuHandler which is still executing [1], and the call to getObject(null)
returns menuMapper which is null since statement [1] has not yet completed. A
null pointer exception is thrown. The Animate at Runtime item does not appear
in the Tools menu.

-- 
Configure bugmail: http://bugzilla.ecoinformatics.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the QA contact for the bug.
_______________________________________________
Kepler-dev mailing list
[email protected]
http://lists.nceas.ucsb.edu/kepler/mailman/listinfo/kepler-dev

Reply via email to