Details
-
Type: Bug
-
Status: Closed
-
Priority: Major
-
Resolution: Won't Fix
-
Affects Version/s: None
-
Fix Version/s: None
-
Component/s: Content
-
Labels:None
-
Environment:
Server: optus-qa-smb1
Script Location: /home/gsingh/optus-content/import_scripts/crclient.sh
Description
Steps.
1. Followed the steps mentioned here - to upload a template.
[gsingh@optus-qa-smb1 import_scripts]$ ./crclient.sh -f ../templates/template4.zip -t template
Boot: Warning: Unable to locate main/main.jar in the JAR file /home/gsingh/crclient/contentrepository-client-1.2.0-SNAPSHOT-p460-t20120117-174324-CI.one-jar.jar
-f
../templates/template4.zip
-t
template
Checking for type:
Type = template
Exporting : false
The Type = template
There was an error processing template : template4.zip
java.lang.NullPointerException
at com.thesearchagency.core.smb.contentrepository.client.CRClient.getPreviewImageForTemplate(CRClient.java:528)
at com.thesearchagency.core.smb.contentrepository.client.CRClient.getTemplateFromFile(CRClient.java:461)
at com.thesearchagency.core.smb.contentrepository.client.CRClient.importTemplate(CRClient.java:403)
at com.thesearchagency.core.smb.contentrepository.client.CRClient.importTemplates(CRClient.java:387)
at com.thesearchagency.core.smb.contentrepository.client.CRClient.run(CRClient.java:170)
at com.thesearchagency.core.smb.contentrepository.client.CRClient.main(CRClient.java:228)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:597)
at com.simontuffs.onejar.Boot.run(Boot.java:306)
at com.simontuffs.onejar.Boot.main(Boot.java:159)
../templates/template4.zip: loaded: 0