This discussion is archived
1 Reply Latest reply: Dec 12, 2012 1:48 PM by 979607 RSS

strange stack trace from clicking on chart in javafx

956261 Newbie
Currently Being Moderated
Hi folks -

I want to be able to have an action occur when I click on a lineChart node in javafx (2.2). Before even implementing such behavior, though, I notice that I am getting a pileup of errors when I click on the chart window in my application:

java.lang.IllegalArgumentException: argument type mismatch
     at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
     at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
     at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
     at java.lang.reflect.Method.invoke(Method.java:601)
     at javafx.fxml.FXMLLoader$ControllerMethodEventHandler.handle(Unknown Source)
     at com.sun.javafx.event.CompositeEventHandler.dispatchBubblingEvent(Unknown Source)
     at com.sun.javafx.event.EventHandlerManager.dispatchBubblingEvent(Unknown Source)
     at com.sun.javafx.event.EventHandlerManager.dispatchBubblingEvent(Unknown Source)
     at com.sun.javafx.event.CompositeEventDispatcher.dispatchBubblingEvent(Unknown Source)
     at com.sun.javafx.event.BasicEventDispatcher.dispatchEvent(Unknown Source)
     at com.sun.javafx.event.EventDispatchChainImpl.dispatchEvent(Unknown Source)
     at com.sun.javafx.event.BasicEventDispatcher.dispatchEvent(Unknown Source)
     at com.sun.javafx.event.EventDispatchChainImpl.dispatchEvent(Unknown Source)
     at com.sun.javafx.event.BasicEventDispatcher.dispatchEvent(Unknown Source)
     at com.sun.javafx.event.EventDispatchChainImpl.dispatchEvent(Unknown Source)
     at com.sun.javafx.event.BasicEventDispatcher.dispatchEvent(Unknown Source)
     at com.sun.javafx.event.EventDispatchChainImpl.dispatchEvent(Unknown Source)
     at com.sun.javafx.event.BasicEventDispatcher.dispatchEvent(Unknown Source)
     at com.sun.javafx.event.EventDispatchChainImpl.dispatchEvent(Unknown Source)
     at com.sun.javafx.event.BasicEventDispatcher.dispatchEvent(Unknown Source)
     at com.sun.javafx.event.EventDispatchChainImpl.dispatchEvent(Unknown Source)
     at com.sun.javafx.event.EventUtil.fireEventImpl(Unknown Source)
     at com.sun.javafx.event.EventUtil.fireEvent(Unknown Source)
     at javafx.event.Event.fireEvent(Unknown Source)
     at javafx.scene.Scene$ClickGenerator.postProcess(Unknown Source)
     at javafx.scene.Scene$ClickGenerator.access$8600(Unknown Source)
     at javafx.scene.Scene$MouseHandler.process(Unknown Source)
     at javafx.scene.Scene$MouseHandler.process(Unknown Source)
     at javafx.scene.Scene$MouseHandler.access$1900(Unknown Source)
     at javafx.scene.Scene.impl_processMouseEvent(Unknown Source)
     at javafx.scene.Scene$ScenePeerListener.mouseEvent(Unknown Source)
     at com.sun.javafx.tk.quantum.GlassViewEventHandler.handleMouseEvent(Unknown Source)
     at com.sun.glass.ui.View.handleMouseEvent(Unknown Source)
     at com.sun.glass.ui.View.notifyMouse(Unknown Source)
     at com.sun.glass.ui.win.WinApplication._runLoop(Native Method)
     at com.sun.glass.ui.win.WinApplication.access$100(Unknown Source)
     at com.sun.glass.ui.win.WinApplication$2$1.run(Unknown Source)
     at java.lang.Thread.run(Thread.java:722)

Can anyone shed any insight as to what is going on, here? Thanks.

Legend

  • Correct Answers - 10 points
  • Helpful Answers - 5 points