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

Issue/Introduction

We are using GMU to deploy a policy from one gateway environment to another and receive the following error:

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

The gmu log shows the following:

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

All supported versions of the CA API Gateway

Resolution

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