pilhuhn / hawkfx

Hawkular explorer written in (J)Ruby with a JavaFX frontend.
Apache License 2.0
14 stars 10 forks source link

Error when click on root of tree #17

Closed Fryguy closed 8 years ago

Fryguy commented 8 years ago

Using Metrics Only (not sure it matters), if I click on the root of the tree in the left side (the node named "Metrics"), I get the following backtrace in the log. The UI doesn't complain or change.

Exception in thread "JavaFX Application Thread" org.jruby.exceptions.RaiseException: (NoMethodError) undefined method `kind' for #<Java::JavafxSceneControl::TreeItem:0xfc90289>
    at org.jruby.RubyBasicObject.method_missing(org/jruby/RubyBasicObject.java:1606)
    at RUBY.method_missing(/Users/jfrey/.gem/jruby/2.3.0/gems/jrubyfx-1.1.1-java/lib/jrubyfx/dsl.rb:103)
    at RUBY.method_missing(/Users/jfrey/.gem/jruby/2.3.0/gems/jrubyfx-1.1.1-java/lib/jrubyfx/core_ext/precompiled.rb:1696)
    at RUBY.block in initialize(/Users/jfrey/projects/external/hawkfx/lib/metrics_only_cell_factory.rb:30)