To comment on the following update, log in, then open the issue:
http://www.openoffice.org/issues/show_bug.cgi?id=51522
                  Issue #:|51522
                  Summary:|Missing else clause in remotebridges c++ module
                Component:|udk
                  Version:|OOo 1.1.4
                 Platform:|PC
                      URL:|
               OS/Version:|Linux
                   Status:|UNCONFIRMED
        Status whiteboard:|
                 Keywords:|
               Resolution:|
               Issue type:|DEFECT
                 Priority:|P3
             Subcomponent:|code
              Assigned to:|kr
              Reported by:|arnulfwiede





------- Additional comments from [EMAIL PROTECTED] Mon Jul  4 01:20:42 -0700 
2005 -------
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.

---------------------------------------------------------------------
Please do not reply to this automatically generated notification from
Issue Tracker. Please log onto the website and enter your comments.
http://qa.openoffice.org/issue_handling/project_issues.html#notification

---------------------------------------------------------------------
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