kamilfb / mqtt-spy

Please use the new Eclipse Paho GitHub repo instead.

Home Page:https://github.com/eclipse/paho.mqtt-spy/wiki

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Detached received message window and it disappeared

malcolmboyle opened this issue · comments

Subscribed to # then detached the "Subscriptions and received messages" window to a separate window. But the new window didn't appear and I had to restart spy.

2016-06-17 14:01:29,438 INFO [MQTT Call: malb ] [MqttConnectionResultHandler ] - malb@172.17.40.1 connected 2016-06-17 14:01:29,440 INFO [JavaFX Application Thread ] [MqttEventHandler ] - About to resubscribe to all requested topics 2016-06-17 14:01:51,950 INFO [JavaFX Application Thread ] [NewSubscriptionController ] - Subscribing to # 2016-06-17 14:01:51,951 INFO [JavaFX Application Thread ] [SubscriptionManager ] - Creating subscription for # 2016-06-17 14:01:52,066 INFO [JavaFX Application Thread ] [BaseMqttConnection ] - Subscribed to # 2016-06-17 14:04:07,228 ERROR [JavaFX Application Thread ] [SpyUncaughtExceptionHandler ] - Thread Thread[JavaFX Application Thread,5,main] failed with java.lang.IllegalArgumentException: The width and height must be >= 0. Got: width=300; height=-1 java.lang.IllegalArgumentException: The width and height must be >= 0. Got: width=300; height=-1 at com.sun.glass.ui.Window.setMinimumSize(Window.java:1021) at com.sun.javafx.tk.quantum.WindowStage.setMinimumSize(WindowStage.java:336) at javafx.stage.Stage.impl_visibleChanging(Stage.java:1158) at javafx.stage.Window$9.invalidated(Window.java:824) at javafx.beans.property.BooleanPropertyBase.markInvalid(BooleanPropertyBase.java:109) at javafx.beans.property.BooleanPropertyBase.set(BooleanPropertyBase.java:144) at javafx.stage.Window.setShowing(Window.java:922) at javafx.stage.Window.show(Window.java:937) at javafx.stage.Stage.show(Stage.java:259) at pl.baczkowicz.mqttspy.ui.ConnectionController.updateVisiblePanes(ConnectionController.java:774) at pl.baczkowicz.mqttspy.ui.ConnectionController.setPaneVisiblity(ConnectionController.java:608) at pl.baczkowicz.mqttspy.ui.ViewManager$3.handle(ViewManager.java:615) at pl.baczkowicz.mqttspy.ui.ViewManager$3.handle(ViewManager.java:1) at com.sun.javafx.event.CompositeEventHandler.dispatchBubblingEvent(CompositeEventHandler.java:86) at com.sun.javafx.event.EventHandlerManager.dispatchBubblingEvent(EventHandlerManager.java:238) at com.sun.javafx.event.EventHandlerManager.dispatchBubblingEvent(EventHandlerManager.java:191) at com.sun.javafx.event.BasicEventDispatcher.dispatchEvent(BasicEventDispatcher.java:58) at com.sun.javafx.event.EventDispatchChainImpl.dispatchEvent(EventDispatchChainImpl.java:114) at com.sun.javafx.event.EventUtil.fireEventImpl(EventUtil.java:74) at com.sun.javafx.event.EventUtil.fireEvent(EventUtil.java:49) at javafx.event.Event.fireEvent(Event.java:198) at javafx.scene.control.MenuItem.fire(MenuItem.java:462) at com.sun.javafx.scene.control.skin.ContextMenuContent$MenuItemContainer.doSelect(ContextMenuContent.java:1405) at com.sun.javafx.scene.control.skin.ContextMenuContent$MenuItemContainer.lambda$createChildren$343(ContextMenuContent.java:1358) at com.sun.javafx.event.CompositeEventHandler$NormalEventHandlerRecord.handleBubblingEvent(CompositeEventHandler.java:218) at com.sun.javafx.event.CompositeEventHandler.dispatchBubblingEvent(CompositeEventHandler.java:80) at com.sun.javafx.event.EventHandlerManager.dispatchBubblingEvent(EventHandlerManager.java:238) at com.sun.javafx.event.EventHandlerManager.dispatchBubblingEvent(EventHandlerManager.java:191) at com.sun.javafx.event.CompositeEventDispatcher.dispatchBubblingEvent(CompositeEventDispatcher.java:59) at com.sun.javafx.event.BasicEventDispatcher.dispatchEvent(BasicEventDispatcher.java:58) at com.sun.javafx.event.EventDispatchChainImpl.dispatchEvent(EventDispatchChainImpl.java:114) at com.sun.javafx.event.BasicEventDispatcher.dispatchEvent(BasicEventDispatcher.java:56) at com.sun.javafx.event.EventDispatchChainImpl.dispatchEvent(EventDispatchChainImpl.java:114) at com.sun.javafx.event.BasicEventDispatcher.dispatchEvent(BasicEventDispatcher.java:56) at com.sun.javafx.event.EventDispatchChainImpl.dispatchEvent(EventDispatchChainImpl.java:114) at com.sun.javafx.event.BasicEventDispatcher.dispatchEvent(BasicEventDispatcher.java:56) at com.sun.javafx.event.EventDispatchChainImpl.dispatchEvent(EventDispatchChainImpl.java:114) at com.sun.javafx.event.EventUtil.fireEventImpl(EventUtil.java:74) at com.sun.javafx.event.EventUtil.fireEvent(EventUtil.java:54) at javafx.event.Event.fireEvent(Event.java:198) at javafx.scene.Scene$MouseHandler.process(Scene.java:3757) at javafx.scene.Scene$MouseHandler.access$1500(Scene.java:3485) at javafx.scene.Scene.impl_processMouseEvent(Scene.java:1762) at javafx.scene.Scene$ScenePeerListener.mouseEvent(Scene.java:2494) at com.sun.javafx.tk.quantum.GlassViewEventHandler$MouseEventNotification.run(GlassViewEventHandler.java:380) at com.sun.javafx.tk.quantum.GlassViewEventHandler$MouseEventNotification.run(GlassViewEventHandler.java:294) at java.security.AccessController.doPrivileged(Native Method) at com.sun.javafx.tk.quantum.GlassViewEventHandler.lambda$handleMouseEvent$354(GlassViewEventHandler.java:416) at com.sun.javafx.tk.quantum.QuantumToolkit.runWithoutRenderLock(QuantumToolkit.java:389) at com.sun.javafx.tk.quantum.GlassViewEventHandler.handleMouseEvent(GlassViewEventHandler.java:415) at com.sun.glass.ui.View.handleMouseEvent(View.java:555) at com.sun.glass.ui.View.notifyMouse(View.java:937) at com.sun.glass.ui.win.WinApplication._runLoop(Native Method) at com.sun.glass.ui.win.WinApplication.lambda$null$148(WinApplication.java:191) at java.lang.Thread.run(Thread.java:745) 2016-06-17 14:04:27,045 INFO [JavaFX Application Thread ] [BaseMqttConnection ] - Successfully unsubscribed from #

Could you try the latest beta - 0.6.0 beta (build 46)?

This fix is now also available in release 0.5.2.