longzu / csexwb2

Automatically exported from code.google.com/p/csexwb2
0 stars 0 forks source link

Eclipse Ganymede won't load csExWB #60

Open GoogleCodeExporter opened 8 years ago

GoogleCodeExporter commented 8 years ago
1. Register csExWB as a COM control object
2. Load it from within Eclipse Ganymede as an embedded control (part of an 
Eclipse plugin)

Europa (and Visual Studio) load and display the object properly, but 
Ganymede crashes; the code at fault is the call to 
IOleObject::SetClientSite, which removes all existing references to the 
csExWB object, causing it to become deallocated and causing a 
NullPointerException.

The expected behavior from the COM control is to NOT remove references it 
does not own; when entering the method, the ref count is 2, and when 
leaving it, it's 0 -- this causes the object to become prematurely de-
allcoated and crashes the containing Java runtime.

Ganymede seems to load standard COM control fine, so the fault is most 
definitely in the COM implementation of the csExWB control.

Original issue reported on code.google.com by ass...@gmail.com on 12 Oct 2008 at 10:56

GoogleCodeExporter commented 8 years ago
Hi,
I was just wondering if this issue isn't related to the Ganymede opened bug 
list (and
maybe still not found bugs); on 2008.12.19 there are 11 still opened defects on
Ganymede, some related to packages/libraries. I'm observing this because I 
understood
also that the COM control works under Eclipse Europa, which so far seems to be 
a more
stable release (with 0 defects reported on bug list)

Original comment by Ghiu...@gmail.com on 19 Dec 2008 at 7:12