SAP Knowledge Base Article - Preview

2876433 - Exception: Can't call method "canUpgradeComponent" during HANA DB upgrade

Symptom

  • During the HANA DB SPS upgrade HANA 2.0 SPS03 033 to HANA 2.0 SPS 04 044 hdblcm.log shows :

    03:22:26.553 - INFO:   Upgrade from 2.00.033.00.1535711040 to 2.00.044.00.1571081837 is allowed.
    03:22:26.555 - ERR : unhandled exception: Can't call method "canUpgradeComponent" on an undefined value at LCM/Utils/ComponentActionStringGenerator/InstallUpdate.pm line 129.
    03:22:26.555 - INFO: Summary of critical errors
    03:22:26.555 - ERR :   unhandled exception: Can't call method "canUpgradeComponent" on an undefined value at LCM/Utils/ComponentActionStringGenerator/InstallUpdate.pm line 129.
    03:22:26.554 - INFO:     Can't call method "canUpgradeComponent" on an undefined value at LCM/Utils/ComponentActionStringGenerator/InstallUpdate.pm line 129.
    03:22:26.554 - INFO:     0: SDB::Install::App::__ANON__ in source LCM/Utils/ComponentActionStringGenerator/InstallUpdate.pm line 129
    03:22:26.554 - INFO:     1: LCM::Utils::ComponentActionStringGenerator::InstallUpdate::_canUpgradeComponent in source LCM/Utils/ComponentActionStringGenerator/InstallUpdate.pm line 96
    03:22:26.554 - INFO:     2: LCM::Utils::ComponentActionStringGenerator::InstallUpdate::_getComponentKeynameToPendingAction in source LCM/Utils/ComponentActionStringGenerator/InstallUpdate.pm line 21
    03:22:26.554 - INFO:     3: LCM::Utils::ComponentActionStringGenerator::InstallUpdate::getComponentKeynameToActionMap in source LCM/Configuration/GenericStackConfiguration.pm line 1084
    03:22:26.554 - INFO:     4: LCM::Configuration::GenericStackConfiguration::getComponentKeynameToAction in source LCM/Configuration/GenericStackConfiguration.pm line 467
    03:22:26.554 - INFO:     5: LCM::Configuration::GenericStackConfiguration::fillValidSelectedComponentValues in source LCM/Configuration/GenericStackUpdateConfiguration.pm line 1614
    03:22:26.554 - INFO:     6: LCM::Configuration::GenericStackUpdateConfiguration::fillValidSelectedComponentValues in source LCM/Configuration/GenericStackConfiguration.pm line 341
    03:22:26.554 - INFO:     7: LCM::Configuration::GenericStackConfiguration::initializeSelectedComponents in source LCM/Configuration/GenericStackUpdateConfiguration.pm line 2472
    03:22:26.554 - INFO:     8: LCM::Configuration::GenericStackUpdateConfiguration::initializeSelectedComponents in source LCM/Configuration/ValueChangeListeners/Update/SIDListener.pm line 93
    03:22:26.554 - INFO:     9: LCM::Configuration::ValueChangeListeners::Update::SIDListener::onValueChange in source SDB/Install/Configuration.pm line 2979
    03:22:26.554 - INFO:     10: SDB::Install::Configuration::notifyParameterListeners in source SDB/Install/Configuration.pm line 956
    03:22:26.554 - INFO:     11: SDB::Install::Configuration::setValue in source SDB/Install/Configuration.pm line 2918
    03:22:26.554 - INFO:     12: SDB::Install::Configuration::setBatchValue in source SDB/Install/App/Console.pm line 258
    03:22:26.554 - INFO:     13: SDB::Install::App::Console::getParam in source SDB/Install/App/Console.pm line 219
    03:22:26.554 - INFO:     14: SDB::Install::App::Console::ConfigureInteractive in source LCM/TaskHandler.pm line 149
    03:22:26.554 - INFO:     15: LCM::TaskHandler::collectInput in source LCM/TaskHandler.pm line 45
    03:22:26.555 - INFO:     16: LCM::TaskHandler::process in source LCM/App/BaseApplication.pm line 180
    03:22:26.555 - INFO:     17: LCM::App::BaseApplication::init in source LCM/App/BaseApplication.pm line 61
    03:22:26.555 - INFO:     18: (eval) in source LCM/App/BaseApplication.pm line 52
    03:22:26.555 - INFO:     19: LCM::App::BaseApplication::start in source LCM/App/HdbLcmConsole.pm line 16
    03:22:26.555 - INFO:     20: LCM::App::HdbLcmConsole::main in source SDBRun.pl line 373
    03:22:26.555 - INFO:     21: (eval) in source SDBRun.pl line 372
    03:22:26.555 - INFO:     22: SAPDB::Install::Start::StartRequireInc in source SDBRun.pl line 273
    03:22:26.555 - INFO:     23: SAPDB::Install::Start::Start in source -e line 0
  • hdblcm reports:
    Resident hdblcm: Update to version 2.3.57.0 is pending
    (since 2019-02-04T21:25:13) at step 'Updating Resident hdblcm'
    unhandled exception: Can't call method "canUpgradeComponent" on an undefined value at LCM/Utils/ComponentActionStringGenerator/InstallUpdate.pm line 129.
    Can't call method "canUpgradeComponent" on an undefined value at LCM/Utils/ComponentActionStringGenerator/InstallUpdate.pm line 129.


Read more...

Environment

SAP HANA 2.00.033

hdblcm 2.3.57.0

Product

SAP S/4HANA 1809

Keywords

upgrade, install , installation, fails, err , error, crashes , crash , KBA , HAN-LM-UPG-DB , Upgrade of HANA Database , Problem

About this page

This is a preview of a SAP Knowledge Base Article. Click more to access the full version on SAP for Me (Login required).

Search for additional results

Visit SAP Support Portal's SAP Notes and KBA Search.