SAP Knowledge Base Article - Preview

2321031 - PI upgrade fails in Application Migration phase

Symptom

  • You are upgrading a Process Integration (PI) to a dual stack NetWeaver 7.31, 7.4 or 7.5 release and hit an error during the Application Migration phase
  • The upgrade fails in step 5.6 EXECUTE-APPLICATION-MIGRATION with the error below:
  • com.sap.sdt.util.diag.DiagException: Error while executing migration of the following application(s) sap.com/com.sap.xi.repository(CSN component BC-XI-IBD), sap.com/com.sap.xi.directory(CSN component BC-XI-IBC). <html>The following <b><a >SAP Note 1378048 </a></b> may contain solution for the problem.
  • Further inspection of the migration traces show entries similar to below:
    Error#com.sap.engine.services.appmigration.api.applications.MigrationContextIF#com.sap.SDT.migration.001116#BC-INS-JCI#MigrationService
    com.sap.engine.services .appmigration.api.applications.MigrationContextIF####8D8AF2B1C5C811E5999100000177D6A6#8d8af2b1c5c811e5999100000177d6a6##0#Deploy Parallel Start Monitor#Plain##
    Problem during migration. Error message: Could not create session. Create CSN message to component BC-XI-IBC
    [EXCEPTION]
    com.sap.aii.utilxi.misc.api.BaseRuntimeException: Could not create session
    at com.sap.aii.upgrade.ib.UpgradeApplication.checkSessionOwner(UpgradeApplication.java:124)
    at com.sap.aii.upgrade.ib.UpgradeApplication.executeUpgradeServices(UpgradeApplication.java:234)
    at com.sap.aii.upgrade.ib.UpgradeApplication.executeUpgrade(UpgradeApplication.java:56)
    at com.sap.aii.upgrade.ib.AbstractMigrationModuleAdapter.migrate(AbstractMigrationModuleAdapter.java:41)
    at com.sap.aii.upgrade.ibdir.MigrationModuleAdapter.migrate(MigrationModuleAdapter.java:15)
    at com.sap.engine.services.appmigration.server.container.MigrationContainer.migrateContainerLogic(MigrationContainer.java:2087)
    at com.sap.engine.services.deploy.server.CMigrationInvoker.migrateSingleApplication(CMigrationInvoker.java:62)
    at com.sap.engine.services.deploy.server.CMigrationInvoker.performAppMigration(CMigrationInvoker.java:39)
    at com.sap.engine.services.deploy.server.CMigrationInvoker.performAppMigration(CMigrationInvoker.java:32)
    at com.sap.engine.services.deploy.server.CMigrationInvoker.start(CMigrationInvoker.java:12)
    at com.sap.engine.services.deploy.server.DeployServiceImpl.clusterElementReady(DeployServiceImpl.java:130)
    at com.sap.engine.services.deploy.server.InitialStartTrigger.triggerInitialStart(InitialStartTrigger.java:192)
    at com.sap.engine.services.deploy.server.InitialStartTrigger.containerStarted(InitialStartTrigger.java:183)
    at com.sap.engine.services.deploy.server.ClusterServicesAdapter$1.run(ClusterServicesAdapter.java:52)
    at com.sap.engine.frame.core.thread.Task.run(Task.java:73)
    at com.sap.engine.core.thread.impl5.SingleThread.execute(SingleThread.java:178)
    at com.sap.engine.core.thread.impl5.SingleThread.run(SingleThread.java:316)
    Caused by: com.sap.aii.ib.server.session.SessionException: Could not create session
    at com.sap.aii.ib.server.session.SessionException.createCreateSessionFailed(SessionException.java:46)
    at com.sap.aii.ib.server.session.EJBSessionInfoGetter.store(EJBSessionInfoGetter.java:122)
    at com.sap.aii.ib.server.session.ServerSessionInformationProvider._login(ServerSessionInformationProvider.java:222)
    at com.sap.aii.ib.server.session.ServerSessionInformationProvider.login(ServerSessionInformationProvider.java:190)
    at com.sap.aii.upgrade.ib.UpgradeApplication.checkSessionOwner(UpgradeApplication.java:264)
    ... 16 more...
    ...Caused by: java.lang.NullPointerException: while trying to invoke the method java.lang.String.length() of a null object loaded from local variable 'str'
    at java.lang.StringBuilder.<init>(StringBuilder.java:92)


Read more...

Environment

  • PI Release Independent
  • SAP NetWeaver
  • SAP Process Integration

Product

SAP NetWeaver all versions ; SAP Process Integration all versions

Keywords

Process Integration 7.0, PI 7.0, PI 7.01, PI 7.02, Process Integration 7.10, PI 7.10, Process Integration 7.11, PI 7.11, Process Integration 7.30, PI 7.30, Process Integration 7.31, PI 7.31, Process Orchestration 7.4, PI 7.4, PO 7.4, Process Orchestration 7.5, PI 7.5, PO 7.5, NetWeaver, XI , KBA , BC-XI-IBD , Integration Builder - Design , BC-XI-IBC , Integration Builder - Configuration , 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.