Big Problem !!!! [message #437876] |
Thu, 06 October 2005 12:05 |
Eclipse User |
|
|
|
Originally posted by: gkurien.icope.com
hi,
when i open a view using 'window.getActivePage().showView("viewID");'
and then i try to resize the window i get an error
Unhandled event loop exception
Reason:
org.eclipse.ui.internal.layout.TrimLayoutData
how do i correct this ?
Thanxs in advance.
|
|
|
|
Re: Big Problem !!!! [message #437880 is a reply to message #437878] |
Thu, 06 October 2005 13:46 |
Eclipse User |
|
|
|
Originally posted by: gkurien.icope.com
hi,
i have View in the plugin.xml file.. i have a perspective but i have not
written any piece of code in the createInitialLayout(IPageLayout ) except
for layout.setEditorAreaVisible( false); i use dialog box to create
dynamically a ViewPart by calling the show(viewId ) . if i resize the
workbench before calling the show() method , i dont get any problem with
the layout ..i mean if there are other viewPart present and i resize , all
the views in it get resized accordingly but once i open a view using the
show method , the view opens properly and also get displayed well but if i
resize the workbench this time i get the error ...i dont know if thats
good enough explaination . this is the log file i get .
!SESSION 2005-10-06 19:20:22.458
-----------------------------------------------
eclipse.buildId=unknown
java.version=1.5.0_04
java.vendor=Sun Microsystems Inc.
BootLoader constants: OS=win32, ARCH=x86, WS=win32, NL=en_US
Framework arguments: -product XLS_Work.product -pdelaunch
Command-line arguments: -product XLS_Work.product -data
D:\MyFolder\E-WorkSpace\runtime-workspace -dev
file:D:/MyFolder/E-WorkSpace/DAO-WS/.metadata/.plugins/org.e clipse.pde.core/DAO_RCP/dev.properties
-pdelaunch -os win32 -ws win32 -arch x86
!ENTRY org.eclipse.ui 4 4 2005-10-06 19:20:42.336
!MESSAGE Unhandled event loop exception
!ENTRY org.eclipse.ui 4 0 2005-10-06 19:20:42.346
!MESSAGE org.eclipse.ui.internal.layout.TrimLayoutData
!STACK 0
java.lang.ClassCastException: org.eclipse.ui.internal.layout.TrimLayoutData
at org.eclipse.swt.layout.GridLayout.layout(GridLayout.java:197 )
at org.eclipse.swt.layout.GridLayout.layout(GridLayout.java:186 )
at org.eclipse.swt.widgets.Composite.updateLayout(Composite.jav a:869)
at org.eclipse.swt.widgets.Composite.WM_SIZE(Composite.java:124 8)
at org.eclipse.swt.widgets.Canvas.WM_SIZE(Canvas.java:253)
at org.eclipse.swt.widgets.Decorations.WM_SIZE(Decorations.java :1761)
at org.eclipse.swt.widgets.Control.windowProc(Control.java:3107 )
at org.eclipse.swt.widgets.Decorations.windowProc(Decorations.j ava:1582)
at org.eclipse.swt.widgets.Display.windowProc(Display.java:3706 )
at org.eclipse.swt.internal.win32.OS.DefWindowProcW(Native Method)
at org.eclipse.swt.internal.win32.OS.DefWindowProc(OS.java:1651 )
at org.eclipse.swt.widgets.Shell.callWindowProc(Shell.java:410)
at org.eclipse.swt.widgets.Control.windowProc(Control.java:3123 )
at org.eclipse.swt.widgets.Decorations.windowProc(Decorations.j ava:1582)
at org.eclipse.swt.widgets.Display.windowProc(Display.java:3706 )
at org.eclipse.swt.internal.win32.OS.DefWindowProcW(Native Method)
at org.eclipse.swt.internal.win32.OS.DefWindowProc(OS.java:1651 )
at org.eclipse.swt.widgets.Shell.callWindowProc(Shell.java:410)
at org.eclipse.swt.widgets.Control.windowProc(Control.java:3123 )
at org.eclipse.swt.widgets.Decorations.windowProc(Decorations.j ava:1582)
at org.eclipse.swt.widgets.Display.windowProc(Display.java:3706 )
at org.eclipse.swt.internal.win32.OS.DefWindowProcW(Native Method)
at org.eclipse.swt.internal.win32.OS.DefWindowProc(OS.java:1651 )
at org.eclipse.swt.widgets.Shell.callWindowProc(Shell.java:410)
at org.eclipse.swt.widgets.Control.windowProc(Control.java:3123 )
at org.eclipse.swt.widgets.Decorations.windowProc(Decorations.j ava:1582)
at org.eclipse.swt.widgets.Display.windowProc(Display.java:3706 )
at org.eclipse.swt.internal.win32.OS.DispatchMessageW(Native Method)
at org.eclipse.swt.internal.win32.OS.DispatchMessage(OS.java:16 56)
at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java :2711)
at org.eclipse.ui.internal.Workbench.runEventLoop(Workbench.jav a:1699)
at org.eclipse.ui.internal.Workbench.runUI(Workbench.java:1663)
at
org.eclipse.ui.internal.Workbench.createAndRunWorkbench(Work bench.java:367)
at org.eclipse.ui.PlatformUI.createAndRunWorkbench(PlatformUI.j ava:143)
at xLS_Work.intro.Application.run(Application.java:18)
at
org.eclipse.core.internal.runtime.PlatformActivator$1.run(Pl atformActivator.java:226)
at
org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseS tarter.java:376)
at
org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseS tarter.java:163)
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:334 )
at org.eclipse.core.launcher.Main.basicRun(Main.java:278)
at org.eclipse.core.launcher.Main.run(Main.java:973)
at org.eclipse.core.launcher.Main.main(Main.java:948)
|
|
|
|
|
Powered by
FUDForum. Page generated in 0.03261 seconds