Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
[albireo-dev] Old SAS code interaction with Albireo project code

Title: Old SAS code interaction with Albireo project code

Hi,

I’m currently evaluating the latest Albireo code within our app.  I’m using Eclipse 3.4 M6.

I have a perspective with 4 views in it.  I’ve switched one view over to the Albireo way of setting up a view.  I have experimented leaving the other views using the old SAS SWT/Swing Integration code and also swithing all the views over to the Albireo code using the example source code.

I am experiencing several issues:

1.       Opening up a Swing dialog in any of the views and then closing it causes a SWTException due to the SWTInputBlocker#open() trying to set the focus back to the parent shell, but it is null.

org.eclipse.swt.SWTException: Widget is disposed

        at org.eclipse.swt.SWT.error(SWT.java:3716)

        at org.eclipse.swt.SWT.error(SWT.java:3634)

        at org.eclipse.swt.SWT.error(SWT.java:3605)

        at org.eclipse.swt.widgets.Widget.error(Widget.java:442)

        at org.eclipse.swt.widgets.Widget.checkWidget(Widget.java:335)

        at org.eclipse.swt.widgets.Shell.forceActive(Shell.java:806)

        at org.eclipse.albireo.internal.SwtInputBlocker.open(Unknown Source)

        at org.eclipse.albireo.internal.SwtInputBlocker.block(Unknown Source)

        at org.eclipse.albireo.internal.AwtDialogListener$2.run(Unknown Source)

        at org.eclipse.albireo.core.ThreadingHandler$1.run(Unknown Source)

        at org.eclipse.swt.widgets.RunnableLock.run(RunnableLock.java:35)

        at org.eclipse.swt.widgets.Synchronizer.runAsyncMessages(Synchronizer.java:130)

        at org.eclipse.swt.widgets.Display.runAsyncMessages(Display.java:3737)

        at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:3374)

        at com.compuware.vantage.vsm.client.rcp.util.SwtSwingIntegration.SwtInputBlocker.open(SwtInputBlocker.java:52)

        at com.compuware.vantage.vsm.client.rcp.util.SwtSwingIntegration.SwtInputBlocker.block(SwtInputBlocker.java:106)

        at com.compuware.vantage.vsm.client.rcp.util.SwtSwingIntegration.AwtDialogListener$2.run(AwtDialogListener.java:89)

        at org.eclipse.swt.widgets.RunnableLock.run(RunnableLock.java:35)

        at org.eclipse.swt.widgets.Synchronizer.runAsyncMessages(Synchronizer.java:130)

        at org.eclipse.swt.widgets.Display.runAsyncMessages(Display.java:3737)

        at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:3374)

        at org.eclipse.ui.internal.Workbench.runEventLoop(Workbench.java:2392)

        at org.eclipse.ui.internal.Workbench.runUI(Workbench.java:2356)

        at org.eclipse.ui.internal.Workbench.access$4(Workbench.java:2222)

        at org.eclipse.ui.internal.Workbench$4.run(Workbench.java:474)

        at org.eclipse.core.databinding.observable.Realm.runWithDefault(Realm.java:288)

        at org.eclipse.ui.internal.Workbench.createAndRunWorkbench(Workbench.java:469)

        at org.eclipse.ui.PlatformUI.createAndRunWorkbench(PlatformUI.java:149)

        at com.compuware.vantage.vsm.client.rcp.VsmApplication.start(VsmApplication.java:179)

        at org.eclipse.equinox.internal.app.EclipseAppHandle.run(EclipseAppHandle.java:193)

        at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.runApplication(EclipseAppLauncher.java:106)

        at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.start(EclipseAppLauncher.java:76)

        at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:362)

        at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:175)

        at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)

        at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)

        at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)

        at java.lang.reflect.Method.invoke(Method.java:585)

        at org.eclipse.equinox.launcher.Main.invokeFramework(Main.java:564)

        at org.eclipse.equinox.launcher.Main.basicRun(Main.java:504)

        at org.eclipse.equinox.launcher.Main.run(Main.java:1251)

              at org.eclipse.equinox.launcher.Main.main(Main.java:1227)

2.      I also notice that resources, such as icons, in the other views that do not implement the new Albireo code are not found causing NullPointerExceptions…not sure why the Albireo code would influence that.  These control causing issues is a Swing JIDE control.  When I remove the Albireo code usage, the resources are found.

3.      I’m also noticing focus issues that are intermittent.  I.E. On opening the perspective for the first time, occasionally My view using the Albireo code can’t get the focus on any Swing control within it.  I have to restart the app.  Trying to reopen just the view can cause the app to lock up.

4.      A UI lockup can also occur when simply switching between Eclipse and the app.  By lockup, I mean when the app regains focus, the view Swing contents do not draw; the view region is blank.

I know some of the issues are probably vague, but any ideas as to what might be going on with some of these?

Thanks in advance


The contents of this e-mail are intended for the named addressee only. It contains information that may be confidential. Unless you are the named addressee or an authorized designee, you may not copy or use it, or disclose it to anyone else. If you received it in error please notify us immediately and then destroy it.


Back to the top