Time module ribbons throw exceptions in Terramenta-based application during initialization

Issue #51 resolved
Bruce Schubert created an issue

In the wildfire management tool (WMT), the following exception is thrown by the ribbons during initialization:

java.lang.IllegalArgumentException: No interpolator found for java.lang.Float:java.lang.Float
    at org.pushingpixels.trident.TimelinePropertyBuilder.getFieldInfo(TimelinePropertyBuilder.java:257)
    at org.pushingpixels.trident.Timeline.addPropertyToInterpolate(Timeline.java:353)
    at org.pushingpixels.trident.Timeline.addPropertyToInterpolate(Timeline.java:363)
    at org.pushingpixels.flamingo.internal.ui.ribbon.BasicRibbonBandUI.installUI(BasicRibbonBandUI.java:168)
    at javax.swing.JComponent.setUI(JComponent.java:663)
    at org.pushingpixels.flamingo.api.ribbon.AbstractRibbonBand.setUI(AbstractRibbonBand.java:232)
    at org.pushingpixels.flamingo.api.ribbon.AbstractRibbonBand.updateUI(AbstractRibbonBand.java:243)
    at org.pushingpixels.flamingo.api.ribbon.AbstractRibbonBand.<init>(AbstractRibbonBand.java:205)
    at org.pushingpixels.flamingo.api.ribbon.JFlowRibbonBand.<init>(JFlowRibbonBand.java:72)
    at org.pushingpixels.flamingo.api.ribbon.JFlowRibbonBand.<init>(JFlowRibbonBand.java:57)
    at com.terramenta.time.ribbons.DatetimeBand.<init>(DatetimeBand.java:49)

Comments (10)

  1. Bruce Schubert reporter

    Ribbon: Fixed java.lang.IllegalArgumentException: No interpolator found for java.lang.Float. Resolves #51. - Fixes issue discovered in the Terramenta-based Wildfire Management Tool (WMT).

    → <<cset da7ab7244153>>

  2. Bruce Schubert reporter
    • changed status to open

    This problem has resurfaced in WMT as a result of changing seemingly unrelated dependencies in WMT. It's intermittent.

    Chris, if you'd like, you can rollback the changeset for the 1.3.1 release and I'll continue working on the problem in the Emxsys - Terramenta fork.

  3. Bruce Schubert reporter

    I think the root of this problem is, for one reason or another, the TridentConfig() constructor cannot locate its .properties resources. Strangely, when this issue is manifest, another issue is present: my splash screen is displayed with transparency enabled; when the issue is not present, the splash screen is displayed with a white background. In any case, I think the solution resides in WMT.

  4. Bruce Schubert reporter

    Ribbon: Fixed Trident Interpolator issues. Resolves #51. - Some ribbon resources use Trident which looks for a properties file resource which is not found by the org.netbeans.MainImpl$BootClassLoader. So we switch to the org.netbeans.ModuleManager$SystemClassLoader before loading the ribbon instances.

    → <<cset fee94f98232e>>

  5. Log in to comment