Troubleshoot: Exception when running database migration
When migrating from WebSphere Commerce V5.6 to v6, an error is logged during database migration.
Problem
You are migrating your Oracle database from WebSphere Commerce V5.6 to WebSphere Commerce v6. When the migration attempts to run MigrateEPromotionFromCEP2STARCmd you receive the following exception:
java.lang.reflect.InvocationTargetException: java.lang.NullPointerException at com.ibm.commerce.migration.util.XmlHelper. getXMLDocument(XmlHelper.java(Compiled Code))
To resolve this issue, complete the following steps:
Contact WebSphere Commerce Support to get the correct version of these files. Run the database tier migration again.
Migrate from a previous version of WebSphere Commerce
Related tasks
Migrate the WebSphere Commerce database
Migrate the development environment database
Migrate the WebSphere Commerce database using the migration script