(UCMDB) Support Tip: Content Pack Installation Error
In the event one may get the following errors, while installing a content pack.
“content pack cannot be installed”
… ERROR [UCMDB - global framework scheduler] ContentFileUtils.java:81) - Content pack zip file C:\hp\UCMDB\UCMDBServer\bin\..\content\content_packs\UD Content Pack # V##..## was not found … ERROR [UCMDB - global framework scheduler] ContentFileUtils.java:635) - Failed uploading CP version  to the DB java.lang.NullPointerException
… INFO [UCMDB - global framework scheduler] - Found CP version  on the file system that does not exist in the DB - uploading..... … ERROR [UCMDB - global framework scheduler] - Content pack zip file C:\hp\UCMDB\UCMDBServer\bin\..\content\content_packs\UD Content Pack 16 V16.00 was not found … ERROR [UCMDB - global framework scheduler] - Failed uploading CP version  to the DB java.lang.NullPointerException
It is suggest to perform the following steps:
•Stop the UCMDB server.
•Delete all the files except CP_##.zip. (previous CP #)
•Delete the same from DB so content_packs table will have only CP_##.zip file.
•Unzip the CP## so you will copy in CP##.zip which must have a directory structure of a valid package (right in the zip file you will see version.dat file).
•Monitor mam.packaging.log for any error messages
Please note, before uploading something from content\content_packs directory to the Database, one should check (from the code):
•If it’s a zip file
•If it starts with CP (all Content Packs have a name like CPxyz.zip
•If the zip has inside it a file named version.dat If that version from version.dat is deployed, smaller than the current CP version
If you find that this or any post resolves your issue, please be sure to mark it as an accepted solution.
Please hit the Kudo botton, if you find this post useful.