2018 bis heute | 2017 2016 2015 2014 | 2013 | 2012 | 2011 2010 2009 | 2008 | 2007

(ältere Archiveinträge vor 2007 nicht dargestellt, aber in der Suche enthalten)

Mailingliste - Einträge 2007


[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[QF-Test] check if tree expanded


  • Subject: [QF-Test] check if tree expanded
  • From: "Huawei Luo" <hluo@?.com>
  • Date: Thu, 5 Apr 2007 08:15:59 -0700

HI, it is known that the easiest way to check if a tree is expanded or not is to use a “wait for component” node to catch “index not found exception”. In my case, the tree is not expanded, and an “index not found exception” was caught, this is correct, but some how, the tree view was modified, part of the tree disappear. See the attached screenshot.

 

Help to locate where the problem and how it happens is very appreciated.

 

Huawei

 

Error log when I tried to do something else after the tree disappeared:

 

!ENTRY org.eclipse.ui 4 4 2007-04-05 10:55:55.000

!MESSAGE Unhandled event loop exception

 

!ENTRY org.eclipse.ui 4 0 2007-04-05 10:55:55.000

!MESSAGE 4

!STACK 0

java.lang.ArrayIndexOutOfBoundsException: 4

            at org.eclipse.swt.widgets.Tree._getItem(Tree.java:208)

            at org.eclipse.swt.widgets.Tree.wmNotifyChild(Tree.java:6106)

            at org.eclipse.swt.widgets.Control.WM_NOTIFY(Control.java:3895)

            at org.eclipse.swt.widgets.Composite.WM_NOTIFY(Composite.java:1166)

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

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

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

            at org.eclipse.swt.internal.win32.OS.CallWindowProc(OS.java:2123)

            at org.eclipse.swt.widgets.Tree.callWindowProc(Tree.java:1321)

            at org.eclipse.swt.widgets.Widget.wmPaint(Widget.java:2150)

            at org.eclipse.swt.widgets.Control.WM_PAINT(Control.java:3899)

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

            at org.eclipse.swt.widgets.Tree.WM_PAINT(Tree.java:5945)

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

            at org.eclipse.swt.widgets.Tree.windowProc(Tree.java:4785)

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

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

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

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

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

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

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

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

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

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

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

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

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

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

            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.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)

 

 

Attachment: tree expanded.bmp
Description: tree expanded.bmp

Attachment: tree disappear.bmp
Description: tree disappear.bmp