[kepler-dev] [Bug 5361] New: Animate at Runtime broken

bugzilla-daemon at ecoinformatics.org bugzilla-daemon at ecoinformatics.org
Wed Mar 30 22:54:37 PDT 2011


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: david.v.welker at gmail.com
        ReportedBy: rlmak at us.ibm.com
         QAContact: kepler-dev at kepler-project.org
   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.


More information about the Kepler-dev mailing list