Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » GEF » [Zest] UnsupportedPerationException while multi selection
[Zest] UnsupportedPerationException while multi selection [message #1717720] Wed, 16 December 2015 10:11 Go to next message
Christoph Broeter is currently offline Christoph BroeterFriend
Messages: 30
Registered: July 2015
Member
Hello Folks!

I am facing an UnsupportedOperationException (shown below) when doing a multiselection.
The Exception is thrown if a vertex and an edge is selected.
Selecting only nodes will not lead to an exception while selecting only edges will result in the same UnsupportedOperationException.
I've trieed to add an implementation of an ISelectionChangedListener to the Viewer without any positive result.

I would be glad if you can support me in fixing that issue.

Exception in thread "JavaFX Application Thread" java.lang.UnsupportedOperationException
	at java.util.AbstractList.add(Unknown Source)
	at java.util.AbstractList.add(Unknown Source)
	at org.eclipse.gef4.zest.fx.parts.ZestFxFeedbackPartFactory.createSelectionFeedbackParts(ZestFxFeedbackPartFactory.java:104)
	at org.eclipse.gef4.mvc.fx.parts.FXDefaultFeedbackPartFactory.createFeedbackParts(FXDefaultFeedbackPartFactory.java:63)
	at org.eclipse.gef4.mvc.behaviors.AbstractBehavior.addFeedback(AbstractBehavior.java:86)
	at org.eclipse.gef4.mvc.behaviors.AbstractBehavior.addFeedback(AbstractBehavior.java:76)
	at org.eclipse.gef4.mvc.behaviors.SelectionBehavior.addFeedbackAndHandles(SelectionBehavior.java:54)
	at org.eclipse.gef4.mvc.behaviors.SelectionBehavior.propertyChange(SelectionBehavior.java:90)
	at java.beans.PropertyChangeSupport.fire(Unknown Source)
	at java.beans.PropertyChangeSupport.firePropertyChange(Unknown Source)
	at java.beans.PropertyChangeSupport.firePropertyChange(Unknown Source)
	at org.eclipse.gef4.mvc.models.SelectionModel.select(SelectionModel.java:174)
	at org.eclipse.gef4.mvc.fx.policies.FXMarqueeOnDragPolicy.release(FXMarqueeOnDragPolicy.java:180)
	at org.eclipse.gef4.mvc.fx.tools.FXClickDragTool$1.release(FXClickDragTool.java:175)
	at org.eclipse.gef4.fx.gestures.AbstractFXMouseDragGesture.onMouseEvent(AbstractFXMouseDragGesture.java:133)
	at org.eclipse.gef4.fx.gestures.AbstractFXMouseDragGesture$2.handle(AbstractFXMouseDragGesture.java:56)
	at org.eclipse.gef4.fx.gestures.AbstractFXMouseDragGesture$2.handle(AbstractFXMouseDragGesture.java:1)
	at com.sun.javafx.event.CompositeEventHandler$NormalEventFilterRecord.handleCapturingEvent(Unknown Source)
	at com.sun.javafx.event.CompositeEventHandler.dispatchCapturingEvent(Unknown Source)
	at com.sun.javafx.event.EventHandlerManager.dispatchCapturingEvent(Unknown Source)
	at com.sun.javafx.event.EventHandlerManager.dispatchCapturingEvent(Unknown Source)
	at com.sun.javafx.event.CompositeEventDispatcher.dispatchCapturingEvent(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 com.sun.javafx.event.EventQueue.fire(Unknown Source)
	at javafx.scene.Scene$MouseHandler.handleEnterExit(Unknown Source)
	at javafx.scene.Scene$MouseHandler.process(Unknown Source)
	at javafx.scene.Scene$MouseHandler.access$1500(Unknown Source)
	at javafx.scene.Scene.impl_processMouseEvent(Unknown Source)
	at javafx.scene.Scene$ScenePeerListener.mouseEvent(Unknown Source)
	at com.sun.javafx.tk.quantum.EmbeddedScene.lambda$null$291(Unknown Source)
	at com.sun.javafx.tk.quantum.EmbeddedScene$$Lambda$185/25371264.run(Unknown Source)
	at java.security.AccessController.doPrivileged(Native Method)
	at com.sun.javafx.tk.quantum.EmbeddedScene.lambda$mouseEvent$292(Unknown Source)
	at com.sun.javafx.tk.quantum.EmbeddedScene$$Lambda$184/15923117.run(Unknown Source)
	at com.sun.javafx.application.PlatformImpl.lambda$null$170(Unknown Source)
	at com.sun.javafx.application.PlatformImpl$$Lambda$172/7642858.run(Unknown Source)
	at java.security.AccessController.doPrivileged(Native Method)
	at com.sun.javafx.application.PlatformImpl.lambda$runLater$171(Unknown Source)
	at com.sun.javafx.application.PlatformImpl$$Lambda$166/23146599.run(Unknown Source)
	at org.eclipse.swt.internal.win32.OS.DispatchMessageW(Native Method)
	at org.eclipse.swt.internal.win32.OS.DispatchMessage(OS.java:2549)
	at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:3767)
	at com.XYZ.zest.myProject.showGraph(myProject.java:117)
	at com.XYZ.zest.myProject.analyzeFiles(myProject.java:67)
	at com.XYZ.zest.myProject.main(myProject.java:197)
Re: [Zest] UnsupportedPerationException while multi selection [message #1717722 is a reply to message #1717720] Wed, 16 December 2015 10:25 Go to previous messageGo to next message
Alexander Nyssen is currently offline Alexander NyssenFriend
Messages: 244
Registered: July 2009
Location: Lünen
Senior Member
Please open a bugzilla for this, so we can track the problem and discuss further details there.
Re: [Zest] UnsupportedPerationException while multi selection [message #1717725 is a reply to message #1717722] Wed, 16 December 2015 10:40 Go to previous message
Christoph Broeter is currently offline Christoph BroeterFriend
Messages: 30
Registered: July 2015
Member
Bug: https://bugs.eclipse.org/bugs/show_bug.cgi?id=484472
Previous Topic:[GEF4] Manifest error
Next Topic:GeometricOutlineProvider for javafx Group
Goto Forum:
  


Current Time: Fri Apr 26 17:54:30 GMT 2024

Powered by FUDForum. Page generated in 0.03190 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top