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

Bug 125644

Summary: [OLE] ClassCastException in OleFrame.getMsgProc(OleFrame.java:179)
Product: [Eclipse Project] Platform Reporter: Benjamin Pasero <bpasero>
Component: SWTAssignee: Platform-SWT-Inbox <platform-swt-inbox>
Status: CLOSED WONTFIX QA Contact: Felipe Heidrich <eclipse.felipe>
Severity: normal    
Priority: P3 CC: snorthov, veronika_irvine
Version: 3.2Keywords: triaged
Target Milestone: ---   
Hardware: PC   
OS: Windows XP   
Whiteboard: stalebug

Description Benjamin Pasero CLA 2006-01-29 07:19:35 EST
I received a stacktrace from a user that got this exception while playing a game meanwile. So I dont really have a reproducable case here, but the exception looks strange:

java.lang.ClassCastException: java.lang.Integer
	at org.eclipse.swt.ole.win32.OleFrame.getMsgProc(OleFrame.java:179)
	at org.eclipse.swt.internal.win32.OS.PeekMessageW(Native Method)
	at org.eclipse.swt.internal.win32.OS.PeekMessage(OS.java:2158)
	at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:2851)
	at net.sourceforge.rssowl.controller.GUI.runEventLoop(Unknown Source)
	at net.sourceforge.rssowl.controller.GUI.showGui(Unknown Source)
	at net.sourceforge.rssowl.controller.RSSOwlLoader.<init>(Unknown Source)
	at net.sourceforge.rssowl.controller.RSSOwlLoader.main(Unknown Source)

Looking at the source, somehow a non-Integer was added into the Display under the key "OLE_HHOOK".

This is with SWT 3.2 M3.

Ben
Comment 1 Felipe Heidrich CLA 2009-08-13 10:04:40 EDT
Your bug has been moved to triage, visit http://www.eclipse.org/swt/triage.php for more info.
Comment 2 Leo Ufimtsev CLA 2017-08-03 12:30:05 EDT
This is a one-off bulk update. (The last one in the triage migration).

Moving bugs from swt-triaged@eclipse to platform-swt-inbox@eclipse.org and adding "triaged" keyword as per new triage process:
https://wiki.eclipse.org/SWT/Devel/Triage

See Bug 518478 for details.

Tag for notification/mail filters:
@TriageBulkUpdate
Comment 3 Eclipse Genie CLA 2020-05-23 15:54:01 EDT
This bug hasn't had any activity in quite some time. Maybe the problem got resolved, was a duplicate of something else, or became less pressing for some reason - or maybe it's still relevant but just hasn't been looked at yet. As such, we're closing this bug.

If you have further information on the current state of the bug, please add it and reopen this bug. The information can be, for example, that the problem still occurs, that you still want the feature, that more information is needed, or that the bug is (for whatever reason) no longer relevant.

--
The automated Eclipse Genie.