Skip to main content

Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » Eclipse Platform » Using Apache Harmony for RCP development
Using Apache Harmony for RCP development [message #539078] Wed, 09 June 2010 15:11
Ian Leslie is currently offline Ian LeslieFriend
Messages: 136
Registered: July 2009
Senior Member
I am developing an RCP application using Eclipse 3.4.2 on windows XP. I was curious to see if my app would work with Apache Harmony. They recently released a 1.6 (M2) implementation.

Something strange happened. I can run Eclipse itself using the Harmony 1.6M2 JDK - it seems OK but I have not used it long yet mind you.

When I try to run my RCP application I get a GPF error in the windows component GDI Plus. I don't want to attach a huge stack trace unless someone is interested (I suspect that this is not an Eclipse problem). I am curious; Has anyone else has tried this and if it worked for you?

I am confused by the fact that Eclipse itself seems to run happily - it clearly makes use of images. Since an RCP application is structured in a similar way I was expecting that the basic Eclipse, Equinox, SWT layers to work too. I am going to keep investigating my code to see if there is something I'm doing in an unusual way or perhaps I can narrow down the problem to something I can log.




Here is the short version of the GPF error:

EAX: 0x0061ec7c, EBX: 0x00000006, ECX: 0x46f11000, EDX: 0x0061ec7c
ESI: 0x46e10048, EDI: 0x00000006, ESP: 0x0012d804, EBP: 0x0012d82c
EIP: 0x4eca65a7

Crashed module:
c:\windows\winsxs\ f1df_1.0.6001.22319_x-ww_f0b4c2df\gdiplus.dll
(Unknown/system native module)

Stack trace:
0: 0x4eca65a7 GdipRotateWorldTransform (:-1)
4: 0x4ec6c746 GdipDeleteFont (:-1)
9: 0x4ec6041c GdipDeleteMatrix (:-1)
10: 0x4ec6037c GdipDeleteMatrix (:-1)
11: 0x4ec634c5 GdipBitmapLockBits (:-1)
12: 0x46b1eb1c org/eclipse/swt/graphics/Image::<init> ((Lorg/eclipse/swt/graphics/Device;Ljava/lang/String;)V):
13: 0x46343773 org/eclipse/jface/resource/URLImageDescriptor::createImage ((ZLorg/eclipse/swt/graphics/Device;)Lorg/eclipse/swt/graphi cs/Image;):
14: 0x463433eb org/eclipse/jface/resource/ImageDescriptor::createImage ((Z)Lorg/eclipse/swt/graphics/Image;):
15: 0x4634321e org/eclipse/jface/resource/ImageDescriptor::createImage (()Lorg/eclipse/swt/graphics/Image;):
16: 0x4630f141 org/eclipse/ui/internal/Workbench::initializeImages (()V):
17: 0x4630a249 org/eclipse/ui/internal/Workbench::createDisplay (()Lorg/eclipse/swt/widgets/Display;):
18: 0x463098c8 org/eclipse/ui/PlatformUI::createDisplay (()Lorg/eclipse/swt/widgets/Display;):
Previous Topic:Separate key bindings for different plugins.
Next Topic:Eclipse 3.4 does not show the newly created CVS branches
Goto Forum:

Current Time: Mon Jun 25 18:08:53 GMT 2018

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

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

Back to the top