Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.

Bug 318862

Summary: [Viewers] [Provider] ClassCastException happened at jface when selecting tree with using picture-capture software.
Product: [Eclipse Project] Platform Reporter: Hitesh <hsoliwal>
Component: UIAssignee: Platform UI Triaged <platform-ui-triaged>
Status: RESOLVED FIXED QA Contact: Hitesh <hsoliwal>
Severity: normal    
Priority: P3 CC: bokowski, hidenobu.shinozuka, kazuaki.matsuba, markus.kell.r, soichiro.yoshimura, youhei.hina
Version: 3.6   
Target Milestone: 3.6.1   
Hardware: All   
OS: All   
Whiteboard:
Attachments:
Description Flags
Patch V01 none

Description Hitesh CLA 2010-07-05 05:57:43 EDT
+++ This bug was initially created as a clone of Bug #315332 +++

Build Identifier: M20090917-0800

We are manipulating two software - one is our developing software and the other is picture-capture software.
When we select tree at our developing software, then ClassCastException happend.

This is the stack trace(scroll below)

java.lang.ClassCastException: org.eclipse.jface.viewers.DelegatingStyledCellLabelProvider cannot be cast to org.eclipse.jface.viewers.ColumnLabelProvider
	at org.eclipse.jface.viewers.SWTFocusCellManager$4.getName(SWTFocusCellManager.java:190)
	at org.eclipse.swt.accessibility.Accessible.get_accName(Accessible.java:932)
	at org.eclipse.swt.accessibility.Accessible$1.method10(Accessible.java:87)
	at org.eclipse.swt.internal.ole.win32.COMObject.callback10(COMObject.java:155)
	at org.eclipse.swt.internal.win32.OS.CallNextHookEx(Native Method)
	at org.eclipse.swt.ole.win32.OleFrame.getMsgProc(OleFrame.java:307)
	at org.eclipse.swt.internal.win32.OS.PeekMessageW(Native Method)
	at org.eclipse.swt.internal.win32.OS.PeekMessage(OS.java:2975)
	at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:3468)
	at org.eclipse.ui.internal.Workbench.runEventLoop(Workbench.java:2405)
	at org.eclipse.ui.internal.Workbench.runUI(Workbench.java:2369)
	at org.eclipse.ui.internal.Workbench.access$4(Workbench.java:2221)
	at org.eclipse.ui.internal.Workbench$5.run(Workbench.java:500)
	at org.eclipse.core.databinding.observable.Realm.runWithDefault(Realm.java:332)
	at org.eclipse.ui.internal.Workbench.createAndRunWorkbench(Workbench.java:493)
	at org.eclipse.ui.PlatformUI.createAndRunWorkbench(PlatformUI.java:149)

Reproducible: Always
Comment 1 Hitesh CLA 2010-07-05 09:56:10 EDT
Created attachment 173430 [details]
Patch V01

Patch applied to R3_6_maintenance.
Comment 2 Hitesh CLA 2010-07-05 09:56:32 EDT
Marking as fixed.
Comment 3 Markus Keller CLA 2010-07-06 15:16:10 EDT
I've fixed the version of org.eclipse.jface in the R3_6_maintenance branch.