Giter VIP home page Giter VIP logo

Comments (11)

HanSolo avatar HanSolo commented on June 7, 2024 1

fixed with version 11.46

from tilesfx.

HanSolo avatar HanSolo commented on June 7, 2024

Can you check with the current code in the repository? Should be fixed so far.

from tilesfx.

FDelporte avatar FDelporte commented on June 7, 2024

wow that is fast! can I use a snapshot-build of the dependency?

from tilesfx.

HanSolo avatar HanSolo commented on June 7, 2024

I’ll create a new release later today

from tilesfx.

FDelporte avatar FDelporte commented on June 7, 2024

you're a hero!

from tilesfx.

FDelporte avatar FDelporte commented on June 7, 2024

Sorry to say, but seems the problem is still there... I'm using the new version (thanks for the typo fix ;-))

Exception in thread "WebSocketConnectReadThread-33" java.lang.RuntimeException: Tile.threshold : A bound value cannot be set.
	at javafx.base/javafx.beans.property.DoublePropertyBase.set(DoublePropertyBase.java:144)
	at eu.hansolo.tilesfx.Tile$7.invalidated(Tile.java:1381)
	at javafx.base/javafx.beans.property.DoublePropertyBase.markInvalid(DoublePropertyBase.java:113)
	at javafx.base/javafx.beans.property.DoublePropertyBase$Listener.invalidated(DoublePropertyBase.java:261)
	at javafx.base/com.sun.javafx.binding.ExpressionHelper$SingleInvalidation.fireValueChangedEvent(ExpressionHelper.java:136)
	at javafx.base/com.sun.javafx.binding.ExpressionHelper.fireValueChangedEvent(ExpressionHelper.java:80)
	at javafx.base/javafx.beans.property.DoublePropertyBase.fireValueChangedEvent(DoublePropertyBase.java:107)
	at javafx.base/javafx.beans.property.DoublePropertyBase.markInvalid(DoublePropertyBase.java:114)
	at javafx.base/javafx.beans.property.DoublePropertyBase.set(DoublePropertyBase.java:148)

Exception in thread "WebSocketConnectReadThread-33" java.lang.IllegalStateException: Not on FX application thread; currentThread = WebSocketConnectReadThread-33
	at javafx.graphics/com.sun.javafx.tk.Toolkit.checkFxUserThread(Toolkit.java:292)
	at javafx.graphics/com.sun.javafx.tk.quantum.QuantumToolkit.checkFxUserThread(QuantumToolkit.java:446)
	at javafx.graphics/javafx.scene.Parent$3.onProposedChange(Parent.java:474)
	at javafx.base/com.sun.javafx.collections.VetoableListDecorator.clear(VetoableListDecorator.java:293)
	at eu.hansolo.tilesfx.skins.GaugeTileSkin.drawSections(GaugeTileSkin.java:243)
	at eu.hansolo.tilesfx.skins.GaugeTileSkin.redraw(GaugeTileSkin.java:589)
	at eu.hansolo.tilesfx.skins.TileSkin.handleEvents(TileSkin.java:201)
	at eu.hansolo.tilesfx.skins.GaugeTileSkin.handleEvents(GaugeTileSkin.java:195)
	at eu.hansolo.tilesfx.skins.TileSkin.lambda$new$1(TileSkin.java:127)
	at eu.hansolo.tilesfx.Tile.fireTileEvent(Tile.java:6416)
	at eu.hansolo.tilesfx.Tile$7.invalidated(Tile.java:1382)

Seems problem is on this line in Tile.java:

this.referenceValue = new DoublePropertyBase(this._referenceValue) {

from tilesfx.

HanSolo avatar HanSolo commented on June 7, 2024

Oh I thought you tested the fix before I’ve released the new version...will take another look at it.

from tilesfx.

FDelporte avatar FDelporte commented on June 7, 2024

no sorry, my fault, let me see if I can dive into the code myself. should be unit testable I presume :-)

from tilesfx.

HanSolo avatar HanSolo commented on June 7, 2024

I simply added checks for isBound() to the setters which worked when I’ve tested it yesterday. Maybe I’ve missed a ‘!’ somewhere.

from tilesfx.

FDelporte avatar FDelporte commented on June 7, 2024

Aha, can confirm, also happens in unit test when adding double property for the threshold. Which is nice of course, as I can now check more in detail ... :-)

from tilesfx.

FDelporte avatar FDelporte commented on June 7, 2024

fixed, see pull request

from tilesfx.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.