Community
Participate
Working Groups
I believe this is because SWTRemoteDisplay arbitrarily sets its own layout to be the same as its parent's layout. In this case, the parent is a ScrolledComposite so its layout becomes a ScrolledCompositeLayout. Each composite should decide what it wants to use to layout its children (if any) and not just randomly reuse the same layout (and same instance) as whatever its parent is using. This problem pretty much makes Eclipse unusable because the CCE will keep happening whenever we need to layout the view. java.lang.ClassCastException: org.eclipse.sequoyah.vnc.vncviewer.graphics.swt.img.SWTRemoteDisplayImg cannot be cast to org.eclipse.swt.custom.ScrolledComposite at org.eclipse.swt.custom.ScrolledCompositeLayout.layout(ScrolledCompositeLayout.java:50) at org.eclipse.swt.widgets.Composite.updateLayout(Composite.java:1263) at org.eclipse.swt.widgets.Composite.updateLayout(Composite.java:1270) at org.eclipse.swt.widgets.Composite.updateLayout(Composite.java:1270) at org.eclipse.swt.widgets.Composite.updateLayout(Composite.java:1270) at org.eclipse.swt.widgets.Composite.updateLayout(Composite.java:1270) at org.eclipse.swt.widgets.Composite.updateLayout(Composite.java:1270) at org.eclipse.swt.widgets.Composite.updateLayout(Composite.java:1270) at org.eclipse.swt.widgets.Composite.updateLayout(Composite.java:1270) at org.eclipse.swt.widgets.Composite.updateLayout(Composite.java:1270) at org.eclipse.swt.widgets.Composite.updateLayout(Composite.java:1270) at org.eclipse.swt.widgets.Composite.updateLayout(Composite.java:1270) at org.eclipse.swt.widgets.Composite.updateLayout(Composite.java:1270) at org.eclipse.swt.widgets.Composite.updateLayout(Composite.java:1249) at org.eclipse.swt.widgets.Composite.setLayoutDeferred(Composite.java:1086) at org.eclipse.swt.widgets.Display.runDeferredLayouts(Display.java:4187) at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:3745)
Hi Remy, we investigated this issue, but could not reproduce it. Could you please give us more information on how you are trying to use it? Thanks, Daniel Pastore
(In reply to comment #1) > we investigated this issue, but could not reproduce it. This problem will manifest itself if you use the 'VNC Viewer' view plug-in on Eclipse 4.x.
Hi Remy, Well, our focus now would be for 3.7 SR1, so we can't address this bug right now. As soon as we have some news for this, we'll announce it then. Thanks for reporting this bug, Daniel Pastore Sequoyah Team
Ping ! we're going into M6, is there any update on this ?
Still getting this error with I20120229-2200 on Windows 7. When I try to open the view, the 'Console' view also seems to automatically spawn although that view also seems to be broken in some way.
I'm getting the exact same issue with Juno build 20120614-1722/Sequoyah 2.1.0.N20120718-0509. All that is needed to reproduce this problem is attempting to connect to a VNC server.
Please reopen if this is still relevant