- edited description
Time module ribbons throw exceptions in Terramenta-based application during initialization
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)
-
reporter -
reporter - changed status to resolved
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>>
-
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.
-
reporter - changed status to on hold
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.
-
- changed status to open
-
assigned issue to
-
- changed milestone to 2.0 FINAL
-
Issue
#55was marked as a duplicate of this issue. -
reporter This issue is related to the classloader used by Trident. See these threads for hints on how to fix:
- https://kenai.com/projects/trident/lists/users/archive/2010-06/message/1
- https://github.com/Insubstantial/insubstantial/issues/99
Here's the Trident repository:
-
reporter See the Trident Interpolator discussion in the forum for the fix.
-
reporter - changed status to resolved
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>>
- Log in to comment