Error when uploading files using alfresco.war bundled in the latest 6.2 community edition zip

cancel
Showing results for 
Search instead for 
Did you mean: 
rimisra
Member II

Error when uploading files using alfresco.war bundled in the latest 6.2 community edition zip

Hi There,

I am trying to start up Alfresco community edition 6.2 on my standalone tomcat instance. I have alfreco.war and api-explorer.war under ${TOMCAT_HOME}/webapps. I have it running against Postgres and Solr. 

When I am trying to upload a file via POST request to:

http://localhost:8080/alfresco/api/-default-/public/alfresco/versions/1/nodes/-root-/children

alfresco is throwing an error:

{"error":{"errorKey":"framework.exception.ApiDefault","statusCode":500,"briefSummary":"Error creating bean with name 'jodconverter.shared.instance' defined in URL [jar:file:/apache-tomcat-8.5.43/webapps/alfresco/WEB-INF/lib/alfresco-repository-7.134.1.jar!/alfresco/subsystems/OOoJodconverter/default/jodconverter-context.xml]: Invocation of init method failed; nested exception is java.lang.NullPointerException","stackTrace":"For security reasons the stack trace is no longer displayed, but the property is kept for previous versions","descriptionURL":"https://api-explorer.alfresco.com","logId":"70134168-39cf-4d44-aecc-cde915631425"}}

Would anyone know why I am getting this error and if this has been fixed in any other versions please?

Thanks,

Richa 

1 Reply
kaynezhang
Advanced

Re: Error when uploading files using alfresco.war bundled in the latest 6.2 community edition zip

It seems you have enabled jodconverter,but you didn't configure it properly.
You can try to set jodconverter.enabled=false in your alfresco-global.properties