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: 137
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.

Thanks,

Ian


---8<---

Here is the short version of the GPF error:

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

Crashed module:
c:\windows\winsxs\x86_microsoft.windows.gdiplus_6595b64144cc 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): Image.java:652
13: 0x46343773 org/eclipse/jface/resource/URLImageDescriptor::createImage ((ZLorg/eclipse/swt/graphics/Device;)Lorg/eclipse/swt/graphi cs/Image;): URLImageDescriptor.java:162
14: 0x463433eb org/eclipse/jface/resource/ImageDescriptor::createImage ((Z)Lorg/eclipse/swt/graphics/Image;): ImageDescriptor.java:227
15: 0x4634321e org/eclipse/jface/resource/ImageDescriptor::createImage (()Lorg/eclipse/swt/graphics/Image;): ImageDescriptor.java:205
16: 0x4630f141 org/eclipse/ui/internal/Workbench::initializeImages (()V): Workbench.java:1487
17: 0x4630a249 org/eclipse/ui/internal/Workbench::createDisplay (()Lorg/eclipse/swt/widgets/Display;): Workbench.java:539
18: 0x463098c8 org/eclipse/ui/PlatformUI::createDisplay (()Lorg/eclipse/swt/widgets/Display;): PlatformUI.java:161
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: Thu May 09 02:23:04 GMT 2024

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

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

Back to the top