Skip to main content

Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » Rich Client Platform (RCP) » Transfer Crashes Application
Transfer Crashes Application [message #1014747] Tue, 26 February 2013 11:43 Go to next message
S. SchulzFriend
Messages: 72
Registered: September 2011

While single-sourcing a RAP application I found a nice little fatal error in RCP. I recreated a simple demo project to show the error, but it boils down to the usage of my own Transfer. While it works in RAP, in RCP every drag movement results in the application crashing with the following error:

# A fatal error has been detected by the Java Runtime Environment:
#  EXCEPTION_ACCESS_VIOLATION (0xc0000005) at pc=0x10030568, pid=7272, tid=1304
# JRE version: 7.0_05-b05
# Java VM: Java HotSpot(TM) Client VM (23.1-b03 mixed mode, sharing windows-x86 )
# Problematic frame:
# C  [swt-win32-3740.dll+0x30568]  Java_org_eclipse_swt_internal_ole_win32_COM_VtblCall_1VARIANTP+0x9e4

Could anyone take a look and maybe spot what's wrong with the Transfer? Debugging is kind of hard if the application keeps crashing.

Thanks in advance,

S. Schulz

Attached are: The demo application, the Transfer and the entire error log.
Re: Transfer Crashes Application [message #1017274 is a reply to message #1014747] Mon, 11 March 2013 12:35 Go to previous message
S. SchulzFriend
Messages: 72
Registered: September 2011
It's kinda surprising we are the only ones using DnD, but if some poor sap stumbles over this topic, I attached the working Transfer. The problem seems to be that Transfers need to be implemented OS-specific, that's why this class extends ByteArrayTransfer and calls super methods on some points so that that class will do the entire magic. The same goes for getSupportedTypes().

Previous Topic:why eclipse is preferred as development framework.
Next Topic:Getting the Position of an Editor
Goto Forum:

Current Time: Tue Jan 18 18:50:26 GMT 2022

Powered by FUDForum. Page generated in 0.01625 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top