We want to migrate document attributes, document types, external ID types, contact types,… (Trading network assets) from an old MWS (10.3) to a new MWS (10.15). We have exported all the assets to a zip file using the MWS Asset Manager on 10.3 environment. And we can extract the assets from the zip in 10.15 environment.
But when trying the import the Document attributes, we get this error:
java.lang.NullPointerException
We have tried multiple combinations of which asset to import first and in combination but no success.
Hi @wout.swennen May ensure did you executed the pre requisite scripts required to executed in 10.5 version of the DB configurator before migrating the assets ? it seems to be schema mismatch issue
From historical knowledge, I see that you can resolve this by doing the following -
Take a backup of your database
Open setcp.sh present inside WmTN/bin folder and check if the value paths are correctly set
Execute this script with the parameters shown here in the command line - <SoftwareAG>/IntegrationServer/packages/WmTN/bin/tnimport.sh -xml init.xml -db
Reload WmTN package
What does this do?
This will add/update the standard metadata in your TN database.
Why does this happen?
I’m unsure, unfortunately, but this shouldn’t happen again if your metadata is reloaded.