Apache OpenOffice (AOO) Bugzilla – Issue 34115
unexpected WrappedTargetRuntimeException
Last modified: 2013-02-24 21:09:57 UTC
I get a WrappedTargetRuntimeException (BackendSetupException) calling refresh() on the default config provider, stack: ldapbe2.uno.dll!extensions::config::ldap::LdapConnection::initConnection() Line 162 C++ ldapbe2.uno.dll!extensions::config::ldap::LdapConnection::connectSimple() Line 129 C++ ldapbe2.uno.dll!extensions::config::ldap::LdapConnection::getSingleAttribute(const rtl::OString & aDn={...}, const rtl::OString & aAttribute={...}) Line 256 C++ ldapbe2.uno.dll!extensions::config::ldap::LdapUserProfileBe::getLayer(const rtl::OUString & aComponent={...}, const rtl::OUString & aTimestamp={...}) Line 419 + 0x1b C++ sysmgr1.uno.dll!configmgr::backend::SystemIntegrationManager::listLayers(const rtl::OUString & aComponent={...}, const rtl::OUString & aEntity={...}) Line 266 + 0x59 C++ sysmgr1.uno.dll!configmgr::backend::SystemIntegrationManager::listOwnLayers(const rtl::OUString & aComponent={...}) Line 185 + 0x38 C++ configmgr2.uno.dll!configmgr::backend::MultiStratumBackend::searchSupportingStrata(long nNumLayers=0x00000007, rtl::OUString aEntity={...}, const rtl::OUString & aComponent={...}) Line 619 + 0x23 C++ configmgr2.uno.dll!configmgr::backend::MultiStratumBackend::listLayers(const rtl::OUString & aComponent={...}, const rtl::OUString & aEntity={...}) Line 565 + 0x3e C++ configmgr2.uno.dll!configmgr::backend::MultiStratumBackend::listOwnLayers(const rtl::OUString & aComponent={...}) Line 528 + 0x1b C++ configmgr2.uno.dll!configmgr::backend::BackendAccess::getLayers(const rtl::OUString & aComponent={...}, const configmgr::RequestOptions & aOptions={...}) Line 681 + 0x23 C++ configmgr2.uno.dll!configmgr::backend::BackendAccess::getNodeData(const configmgr::backend::ComponentRequest & aRequest={...}, configmgr::backend::ITemplateDataProvider * _aTemplateProvider=0x02a036f0, configmgr::backend::INodeDataListener * aListener=0x00000000) Line 446 + 0x1a C++ configmgr2.uno.dll!configmgr::backend::CacheController::loadDirectly(const configmgr::backend::ComponentRequest & _aRequest={...}, bool _bAddListenter=false) Line 775 + 0xcf C++ configmgr2.uno.dll!configmgr::backend::CacheController::getComponentData(const configmgr::backend::ComponentRequest & _aRequest={...}, bool _bAddListenter=false) Line 509 C++ configmgr2.uno.dll!configmgr::backend::CacheController::refreshComponent(const configmgr::backend::ComponentRequest & _aRequest={...}) Line 231 + 0x1e C++ configmgr2.uno.dll!configmgr::backend::CacheController::refreshAllComponents() Line 949 + 0x1c C++ configmgr2.uno.dll!configmgr::TreeManager::refreshAll() Line 619 C++ configmgr2.uno.dll!configmgr::OConfigurationProvider::refresh() + 0x48 C++
I will review the problem
The original issue may have been fixed already as a result of fixing issue 33149. Nevertheless there were several problems with error handling and initialization in the Platform Backend Driver and in the LDAP backend. These were fixed. I also created a test macro to test executing a refresh() on the default config provider within the office. To test: open the attached document and run document macro Test/Main.
Created attachment 18431 [details] Document containing a macro to test this issue
reopen to reassign
reassigning to QA The test tells you, if it is successful, otherwise basic should report a runtime error.
still fixed in cws cfgldapfix
Verified by RU.
RU: Checked in master.