Apache OpenOffice (AOO) Bugzilla – Issue 7866
drafts.com.sun.star.frame returned by XTypeProvider
Last modified: 2003-01-31 09:53:27 UTC
There is again a drafts type which causes the bridge to be disposed of. When I call getTypes() on the activeFrame of the Desktop, I get: com.sun.star.lang.DisposedException: com.sun.star.lib.uno.protocols.urp.Unmarshal.readTypeDescription - unexpected:java.lang.ClassNotFoundException: drafts.com.sun.star.frame.XDispatchInformationProvider From the last time we discussed a similar problem, I remember you saying this was a bug, draft types never should be returned by XTypeProvider. I send this to udk because I think you are the ones to decide whether or not draft types should really not be returned by XTypeProvider.getTypes() and inform the appropriate developers. Dietrich
Dietrich, took me some time to figure out how to handle this, sorry :-) In general draft types (types with draft as their first package) will not be handled differently than other types. That means, that in your case the bug is, that there are no Java types in ridl.jar/unoil.jar. I will forward the bug to the appropriate developer. Comment: if an OOo release has types in the drafts package, this types are fix with the release, that means that we never again can get rid of them. Matthias: this seems to be yours? Can you please add the type to the unoil project?
We already are aware ot his problem and will take action to make sure that the relevant interfaces will be fixed or removed until the release.
.
Hmm, last time I checked I was told that drafts.com.sun.star types should never make it into the Java language binding, rather it was considered a bug that XTypeProvider returned this interface. I think Jörg Budischewski was the one who told me so.
I assume that these are some interfaces at our controller?! Fixed in all builds>=644.
There was also a drafts type in the frame service.
In CWS CD5 in the SRX644 tree all draft types in the frame and controller objects have been removed.