[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Newsgroup Home]
|
[news.eclipse.tools.gef] Exception in thubnail generation for outline view
|
Hi,
I am getting an exception when i close the application,
The thing is i have gef view in which i am generating a large class
diagram(1000<classes with aggrigation,realization and generalization
connections),
there is an outline view which shows the thumbnail of the relations view,
The relations view takes some time to load(pls give some advice to improve
rendering performance,the gui goes blank for some time in case of very
large no of classes),
but even after the relations view gets loaded the thumbnail view loads
slowly and is still loading,
now if i close the application i get the following exception
org.eclipse.swt.SWTException: Failed to execute runnable
(org.eclipse.swt.SWTException: Graphic is disposed)
at org.eclipse.swt.SWT.error(SWT.java:3777)
at org.eclipse.swt.SWT.error(SWT.java:3695)
at
org.eclipse.swt.widgets.Synchronizer.runAsyncMessages(Synchronizer.java:136)
at org.eclipse.swt.widgets.Display.runAsyncMessages(Display.java:3800)
at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:3425)
at org.eclipse.swt.widgets.Display.release(Display.java:3476)
at org.eclipse.swt.graphics.Device.dispose(Device.java:261)
at
ch.dgsl.iarc.application.internal.Application.start(Application.java:37)
at
org.eclipse.equinox.internal.app.EclipseAppHandle.run(EclipseAppHandle.java:193)
at
org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.runApplication(EclipseAppLauncher.java:110)
at
org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.start(EclipseAppLauncher.java:79)
at
org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:386)
at
org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:179)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
at
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:623)
at org.eclipse.equinox.launcher.Main.invokeFramework(Main.java:549)
at org.eclipse.equinox.launcher.Main.basicRun(Main.java:504)
at org.eclipse.equinox.launcher.Main.run(Main.java:1236)
at org.eclipse.equinox.launcher.Main.main(Main.java:1212)
Caused by: org.eclipse.swt.SWTException: Graphic is disposed
at org.eclipse.swt.SWT.error(SWT.java:3777)
at org.eclipse.swt.SWT.error(SWT.java:3695)
at org.eclipse.swt.SWT.error(SWT.java:3666)
at org.eclipse.swt.graphics.Font.getFontData(Font.java:183)
at
org.eclipse.draw2d.ScaledGraphics.getCachedFontData(ScaledGraphics.java:458)
at org.eclipse.draw2d.ScaledGraphics.zoomFont(ScaledGraphics.java:753)
at org.eclipse.draw2d.ScaledGraphics.setLocalFont(ScaledGraphics.java:686)
at org.eclipse.draw2d.ScaledGraphics.setFont(ScaledGraphics.java:638)
at org.eclipse.draw2d.Figure.paint(Figure.java:1045)
at org.eclipse.draw2d.Figure.paintChildren(Figure.java:1087)
at org.eclipse.draw2d.Figure.paintClientArea(Figure.java:1123)
at org.eclipse.draw2d.Figure.paint(Figure.java:1051)
at org.eclipse.draw2d.Figure.paintChildren(Figure.java:1087)
at org.eclipse.draw2d.Figure.paintClientArea(Figure.java:1123)
at org.eclipse.draw2d.Figure.paint(Figure.java:1051)
at
net.java.amateras.uml.classdiagram.figure.ext.ClassFigure.paint(ClassFigure.java:44)
at org.eclipse.draw2d.Figure.paintChildren(Figure.java:1087)
at org.eclipse.draw2d.Figure.paintClientArea(Figure.java:1119)
at org.eclipse.draw2d.Figure.paint(Figure.java:1051)
at
net.java.amateras.uml.editpart.RootEditPart$1.paint(RootEditPart.java:75)
at org.eclipse.draw2d.Figure.paintChildren(Figure.java:1087)
at org.eclipse.draw2d.Figure.paintClientArea(Figure.java:1119)
at org.eclipse.draw2d.Figure.paint(Figure.java:1051)
at org.eclipse.draw2d.Figure.paintChildren(Figure.java:1087)
at org.eclipse.draw2d.Figure.paintClientArea(Figure.java:1119)
at org.eclipse.draw2d.Figure.paint(Figure.java:1051)
at
org.eclipse.draw2d.parts.Thumbnail$ThumbnailUpdater.run(Thumbnail.java:159)
at org.eclipse.swt.widgets.RunnableLock.run(RunnableLock.java:35)
at
org.eclipse.swt.widgets.Synchronizer.runAsyncMessages(Synchronizer.java:133)
... 18 more
How to solve this?
Also zooming is also slow how can i improve it???