[kepler-dev] [Bug 4659] Importing run gives a ClassCastException

bugzilla-daemon at ecoinformatics.org bugzilla-daemon at ecoinformatics.org
Mon Jan 11 13:44:44 PST 2010


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

Christopher Brooks <cxh at eecs.berkeley.edu> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |cxh at eecs.berkeley.edu

--- Comment #1 from Christopher Brooks <cxh at eecs.berkeley.edu> 2010-01-11 13:44:43 PST ---
The could be from my fix to bug #4547
http://bugzilla.ecoinformatics.org/show_bug.cgi?id=4547

The change is that DocAttribute.description was changed from a StringParameter
to a StringAttribute.

There are several fixes:
1) I could back out these changes and someone could look at why the problem
occurs in Kepler but not in Ptolemy.

2) There's no stack trace attached, but the code should probably be using the
MoMLFilter capability:

        // Create a parser to use.
        _parser = new MoMLParser();

        // We set the list of MoMLFilters to handle Backward Compatibility.
        MoMLParser.setMoMLFilters(BackwardCompatibility.allFilters());

3) Run through all the Kepler models and update StringParameter

BTW - Is there a test that illustrates this problem?

-- 
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