Skip to main content



      Home
Home » Eclipse Projects » Eclipse Platform » New Window action causing Perspective Issues
New Window action causing Perspective Issues [message #303020] Fri, 05 May 2006 13:47
Eclipse UserFriend
Originally posted by: brianf.sybase.com

Hi all...

We have a weird bug occurring in DTP with one of our perspectives (BZ Entry
139814 if you're interested) that causes the original window to throw
several interesting exceptions.

We're using 3.2RC2, EMF 2.2 RC2, and GEF 3.2 RC2a, plus the DTP RC2 build
from 5/2/06.

Here are the steps to reproduce this error:
1. Start eclipse with a clean workspace
2. Open the Database Development Perspective
3. Open a new window : Window -> New Window
4. Close the new window and look in the Error Log. You'll see the following
exceptions... (pasted below)

Has anyone seen anything similar to this with their own perspectives &
views? I believe it may have something to do with the perspective closing
and possibly disposing of a graphic that the original window was using, but
haven't been able to track this down.

Any and all help would be greatly appreciated. Thanks in advance!

--Brian Fitzpatrick
DTP-Connectivity Committer
Sybase, Inc.

!ENTRY org.eclipse.ui 4 4 2006-05-05 11:44:43.309

!MESSAGE Unhandled event loop exception

!ENTRY org.eclipse.ui 4 0 2006-05-05 11:44:43.669

!MESSAGE Graphic is disposed

!STACK 0

org.eclipse.swt.SWTException: Graphic is disposed

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

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

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

at org.eclipse.swt.graphics.Image.getBounds(Image.java:1105)

at org.eclipse.swt.custom.CTabItem.drawSelected(CTabItem.java:3 59)

at org.eclipse.swt.custom.CTabItem.onPaint(CTabItem.java:586)

at org.eclipse.swt.custom.CTabFolder.drawTabArea(CTabFolder.jav a:1070)

at org.eclipse.swt.custom.CTabFolder.onPaint(CTabFolder.java:22 15)

at org.eclipse.swt.custom.CTabFolder$1.handleEvent(CTabFolder.j ava:293)

at org.eclipse.swt.widgets.EventTable.sendEvent(EventTable.java :66)

at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:925)

at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:949)

at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:934)

at org.eclipse.swt.widgets.Composite.WM_PAINT(Composite.java:12 85)

at org.eclipse.swt.widgets.Control.windowProc(Control.java:3299 )

at org.eclipse.swt.widgets.Display.windowProc(Display.java:4025 )

at org.eclipse.swt.internal.win32.OS.DispatchMessageW(Native Method)

at org.eclipse.swt.internal.win32.OS.DispatchMessage(OS.java:19 23)

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

at org.eclipse.ui.internal.Workbench.runEventLoop(Workbench.jav a:1914)

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

at
org.eclipse.ui.internal.Workbench.createAndRunWorkbench(Work bench.java:419)

at org.eclipse.ui.PlatformUI.createAndRunWorkbench(PlatformUI.j ava:143)

at org.eclipse.ui.internal.ide.IDEApplication.run(IDEApplicatio n.java:95)

at
org.eclipse.core.internal.runtime.PlatformActivator$1.run(Pl atformActivator.
java:78)

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

at
org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher .start(EclipseAp
pLauncher.java:68)

at
org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseS tarter.java:400)

at
org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseS tarter.java:177)

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

at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)

at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)

at java.lang.reflect.Method.invoke(Unknown Source)

at org.eclipse.core.launcher.Main.invokeFramework(Main.java:336 )

at org.eclipse.core.launcher.Main.basicRun(Main.java:280)

at org.eclipse.core.launcher.Main.run(Main.java:977)

at org.eclipse.core.launcher.Main.main(Main.java:952)
Previous Topic:WorkspaceRoot project cache
Next Topic:Reversible TextEdits?
Goto Forum:
  


Current Time: Tue Jun 10 14:34:33 EDT 2025

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

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

Back to the top