Hi Jaime
I think Mark_HE is on the right track for this problem. We had exactly the same error.
The error stacktrace seems to imply the error may be in the .xml format but it is not. The error :
java.io.IOException: Error writing object 'null'.
Is the clue, the xml file format is fine, the problem is when it writes the REST request across the network to the target machine. And it is the target machine that had the problem (in our case it was refusing the connection, but in your case a timeout seems a reasonable guess for the cause).
1. If the timeout does not resolve your issue you could enable the -Djavax.net.debug=all tracing in the GMU utility,
With the ssl network trace, you can see the exact REST request and response:
It was done by editing the file :
GatewayMigrationUtility.bat
"%JAVA_TO_USE%" -Djavax.net.debug=all -Dfile.encoding=UTF-8 -DGMU_HOME=%jarDir% -jar "%jarDir%GatewayMigrationUtility.jar" %ARGS%
Unix is similar:
GatewayMigrationUtility.sh
"${JAVA_HOME}/bin/java" ${JAVA_OPTS} -Djavax.net.debug=all -DGMU_HOME=$(dirname $0) -jar "$(dirname $0)/GatewayMigrationUtility.jar" "$@"
That was how we identified our issue.
2. Check Gateway audit logs.
Since it is the Gateway rest provider that either gives the error or takes too long, then there is likely to be some trace in the gw audit or log files for the target machine that may help isolate the problem.
Hope that help, if the extended timeout does not resolve the issue.
Cheers - Mark