GMU Migration Error "Execution failed. Reason: Error writing object 'null'
search cancel

GMU Migration Error "Execution failed. Reason: Error writing object 'null'

book

Article ID: 202540

calendar_today

Updated On:

Products

CA API Gateway API SECURITY CA API Gateway Precision API Monitoring Module for API Gateway (Layer 7) CA API Gateway Enterprise Service Manager (Layer 7) STARTER PACK-7 CA Microgateway

Issue/Introduction

Hello, on our api gateway deployment process, from dev env to int environment we are getting below error while using gmu migratein steps.

It says "Execution failed. Reason: Error writing object 'null'." and when I checked gmu log file it says below error.

kbank/GMU/GatewayMigrationUtility.sh migrateIn -z /source_INT.args -b /tmp/service.xml  -r /tmp/service.out

Oct 30, 2020 12:46:38 PM com.ca.gateway.rest.commandline.command.Command runCommand
INFO: Running Command: migrateIn
Oct 30, 2020 12:46:39 PM com.ca.gateway.rest.commandline.command.Command runCommand
WARNING: Error executing command
java.io.IOException: Error writing object 'null'.
        at com.ca.gateway.rest.api.ManagedObjectUtils.unmarshal(Unknown Source)
        at com.ca.gateway.rest.api.resource.impl.BundleResource.importBundle(Unknown Source)
        at com.ca.gateway.rest.commandline.command.MigrateInCommand.a(Unknown Source)
        at com.ca.gateway.rest.commandline.command.MigrateInCommand.run(Unknown Source)
        at com.ca.gateway.rest.commandline.command.GatewayCommand.run(Unknown Source)
        at com.ca.gateway.rest.commandline.command.Command.runCommand(Unknown Source)
        at com.ca.gateway.rest.commandline.Main.main(Unknown Source)

Environment

Release : 9.4

Component : API GATEWAY

Resolution

Make sure  to check the target gateway listen port and enable  the feature "Published message service input"