Hi,

Yuri Dario wrote:

I found a strange (at least for me) bug in OOo/2 related to subject.

Debugger showed the problem is into
xmlhelp\source\cxxhelp\provider\provider.cxx in ContentProvider::init()
call.  The following code

        xHierAccess = getHierAccess( sProvider,
                org.openoffice.Webtop.Common" );

leads to an exception to be thrown in OProviderImpl::requestSubtree(),
exception of type lang::WrappedTargetException.

Yes. This happens on all platforms. That code was introduced to support a product built on top of StarOffice, which doesn't exist any more.

There never were any org.openoffice.Webtop.<anything> configuration components in OpenOffice.org.

Current os2 code doesn't compile java, mozilla libraries.


That shouldn't be very relevant.

Sometimes this exception is catched, sometimes not.

So I don't understand if this is a libc fault (exceptions not crossing
dll) or code fault.


I'm not sure, if UNO bridges could be involved here. That would be a place that does some very platform-dependent things with exceptions.

But I doubt that is the case here. I suppose your problem is related to throwing exceptions between DLLs. This could be a bug in the runtime library of your C++ compiler (more likely than libc) or it could be a build problem (you need to get the right symbols or RTTI structures exported with correct linkage from the involved DLLs).

At current stage, I commented the above call, and now OOo is performing
well.


IIRC that exception has served to uncover exception handling deficiencies in new ports before :-P Exceptions taking similar pathes can also occur later, for example due to runtime conditions. Thus you really should get the underlying problem fixed.

Other than that, this code is obsolete and probably the entire code section dealing with this "webtop" configuration could be removed. I'm not sure if there is an issue for this yet. But it might end up as P4/P5 (so very unlikely to get resolved soon), because this shouldn't cause any problem except a minor performance penalty.

HTH

- Jörg

--
Joerg Barfurth              Sun Microsystems - Desktop - Hamburg
>>>>>>>>>>>>>>>>>> using std::disclaimer <<<<<<<<<<<<<<<<<<<<<<<
Software Engineer                         [EMAIL PROTECTED]
Thin Client Software

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to