Duplicate :
|
|
Duplicate :
|
|
Relates :
|
|
Relates :
|
Run the WebMap demo: ant -f apps/internal/WebMap/build.xml run and attempt to drag the map. The map will not move. On the third or fourth attempt the program will dump the following exception: [java] java.lang.NullPointerException: Clipboard.putContent: null data [java] at com.sun.javafx.tk.quantum.QuantumClipboard.putContent(QuantumClipboard.java:442) [java] at javafx.scene.input.Clipboard.setContent(Clipboard.java:226) [java] at com.sun.webpane.sg.UIClientImpl.confirmStartDrag(UIClientImpl.java:178) [java] at com.sun.webpane.platform.WebPage.confirmStartDrag(WebPage.java:861) [java] at javafx.scene.web.WebView$18.handle(WebView.java:1145) [java] at javafx.scene.web.WebView$18.handle(WebView.java:1142) [java] at com.sun.javafx.event.CompositeEventHandler.dispatchBubblingEvent(CompositeEventHandler.java:69) [java] at com.sun.javafx.event.EventHandlerManager.dispatchBubblingEvent(EventHandlerManager.java:217) [java] at com.sun.javafx.event.EventHandlerManager.dispatchBubblingEvent(EventHandlerManager.java:170) [java] at com.sun.javafx.event.CompositeEventDispatcher.dispatchBubblingEvent(CompositeEventDispatcher.java:38) [java] at com.sun.javafx.event.BasicEventDispatcher.dispatchEvent(BasicEventDispatcher.java:37) [java] at com.sun.javafx.event.EventDispatchChainImpl.dispatchEvent(EventDispatchChainImpl.java:92) [java] at com.sun.javafx.event.BasicEventDispatcher.dispatchEvent(BasicEventDispatcher.java:35) [java] at com.sun.javafx.event.EventDispatchChainImpl.dispatchEvent(EventDispatchChainImpl.java:92) [java] at com.sun.javafx.event.EventUtil.fireEventImpl(EventUtil.java:53) [java] at com.sun.javafx.event.EventUtil.fireEvent(EventUtil.java:33) [java] at javafx.event.Event.fireEvent(Event.java:171) [java] at javafx.scene.Scene$DnDGesture.fireEvent(Scene.java:2592) [java] at javafx.scene.Scene$DnDGesture.process(Scene.java:2671) [java] at javafx.scene.Scene$DnDGesture.access$8700(Scene.java:2568) [java] at javafx.scene.Scene$MouseHandler.process(Scene.java:3305) [java] at javafx.scene.Scene$MouseHandler.process(Scene.java:3129) [java] at javafx.scene.Scene$MouseHandler.access$1900(Scene.java:3084) [java] at javafx.scene.Scene.impl_processMouseEvent(Scene.java:1524) [java] at javafx.scene.Scene$ScenePeerListener.mouseEvent(Scene.java:2226) [java] at com.sun.javafx.tk.quantum.GlassViewEventHandler.handleMouseEvent(GlassViewEventHandler.java:227) [java] at com.sun.glass.ui.View.handleMouseEvent(View.java:528) [java] at com.sun.glass.ui.View.notifyMouse(View.java:921) [java] at com.sun.glass.ui.win.WinApplication._runLoop(Native Method) [java] at com.sun.glass.ui.win.WinApplication.access$100(WinApplication.java:29) [java] at com.sun.glass.ui.win.WinApplication$2$1.run(WinApplication.java:62) [java] at java.lang.Thread.run(Thread.java:722) With JavaFX 8.0 b86, when running WebView outside of the WebMap sample, an exception does occur on Ubuntu 12.04 with Google Maps. To reproduce the problem, use Ensemble or another app that uses WebView to implement a web browser and navigate to: https://google-developers.appspot.com/maps/documentation/javascript/examples/map-simple Exercise different events like panning.
|