Hi,

seems to be a bug indeed, you should file an issue to the udk team. However, you can only provoke this by using your new urp client?

bye,

Joerg
Arnulf Wiedemann wrote:

Hi,
I think there is a problem/bug in remotebridges/source/bridge/bridge_provider.cxx

in method: OInstanceProviderWrapper::thisGetInstance
about line 169 there is no else clause for setting an exception

if( OUString( pType->aBase.pTypeName ) ==
                        getCppuType( (Reference<XInterface>*0).getTypeName() )
{
:
:
} else {                                        <== missing code!
        // produce an exception!
        // that is what I did for me!
        ::rtl::OUStringBuffer msg;
        msg.appendAscii("getInstance:expected type_class (");
        msg.append(getCppuType( (Reference<XInterface>*)0).getTypeName());
        msg.appendAscii(") got type_class (");
        msg.append(pType->aBase.pTypeName);
        msg.appendAscii(")");
convertToRemoteRuntimeException(ppException , msg.getStr() ,Reference<XInterface>(), map);
                                                <== end of missing code
}

The missing code produces an core dump in bridges/source/remote/urp/urp_job.cxx because that code is expecting an filled uno_Any if pType->aBase.pTypeName is not correct and therefor the last parameter of the call (the exception place holder pointer) is not set to NULL.
Arnulf

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





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

Reply via email to