cancel
Showing results for 
Search instead for 
Did you mean: 

Error creating bean with name 'googledocsService'

anastasia
Champ in-the-making
Champ in-the-making
Hello! I'm using alfresco in docker-compose (alfresco/alfresco-content-repository-community:6.2.1-A8)
During start I see warn and errors about google docs submodule, I use alfresco-googledrive-repo-community-3.2.0.amp
What could be the problem and how can I fix it?
Thank you!
Integration parameters in alfresco
googledocs.enabled=true
googledocs.idleThresholdSeconds=5
Logs
alfresco_1 | 2020-06-16 06:55:26,528 WARN [management.subsystems.ChildApplicationContextFactory$ChildApplicationContext] [localhost-startStop-1] Exception encountered during context initialization - cancelling refresh attempt: org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'googleDocsImportFormats' defined in file [/usr/local/tomcat/webapps/alfresco/WEB-INF/classes/alfresco/subsystems/googledocs/drive/google-customResponse-context.xml]: Cannot resolve reference to bean 'GoogleDocsService' while setting bean property 'googledocsService'; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'GoogleDocsService' defined in file [/usr/local/tomcat/webapps/alfresco/WEB-INF/classes/alfresco/subsystems/googledocs/drive/googledocs-context.xml]: Cannot resolve reference to bean 'googledocsService' while setting bean property 'target'; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'googledocsService' defined in file [/usr/local/tomcat/webapps/alfresco/WEB-INF/classes/alfresco/subsystems/googledocs/drive/googledocs-context.xml]: Invocation of init method failed; nested exception is java.lang.NullPointerException
alfresco_1 | 2020-06-16 06:55:26,532 WARN [management.subsystems.ChildApplicationContextFactory] [localhost-startStop-1] Startup of 'googledocs' subsystem, ID: [googledocs, drive] failed
alfresco_1 | org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'googleDocsImportFormats' defined in file [/usr/local/tomcat/webapps/alfresco/WEB-INF/classes/alfresco/subsystems/googledocs/drive/google-customResponse-context.xml]: Cannot resolve reference to bean 'GoogleDocsService' while setting bean property 'googledocsService'; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'GoogleDocsService' defined in file [/usr/local/tomcat/webapps/alfresco/WEB-INF/classes/alfresco/subsystems/googledocs/drive/googledocs-context.xml]: Cannot resolve reference to bean 'googledocsService' while setting bean property 'target'; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'googledocsService' defined in file [/usr/local/tomcat/webapps/alfresco/WEB-INF/classes/alfresco/subsystems/googledocs/drive/googledocs-context.xml]: Invocation of init method failed; nested exception is java.lang.NullPointerException
alfresco_1 | 2020-06-16 06:55:26,542 ERROR [management.subsystems.AbstractPropertyBackedBean] [localhost-startStop-1] Error auto-starting subsystem
alfresco_1 | org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'googleDocsImportFormats' defined in file [/usr/local/tomcat/webapps/alfresco/WEB-INF/classes/alfresco/subsystems/googledocs/drive/google-customResponse-context.xml]: Cannot resolve reference to bean 'GoogleDocsService' while setting bean property 'googledocsService'; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'GoogleDocsService' defined in file [/usr/local/tomcat/webapps/alfresco/WEB-INF/classes/alfresco/subsystems/googledocs/drive/googledocs-context.xml]: Cannot resolve reference to bean 'googledocsService' while setting bean property 'target'; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'googledocsService' defined in file [/usr/local/tomcat/webapps/alfresco/WEB-INF/classes/alfresco/subsystems/googledocs/drive/googledocs-context.xml]: Invocation of init method failed; nested exception is java.lang.NullPointerException
1 ACCEPTED ANSWER

EddieMay
World-Class Innovator
World-Class Innovator

Hi @anastasia,

In the release notes for Community  Edition 201911 GA it mentions Google Docs 3.1.0. Are you sure 3.2 is supported?

Digital Community Manager, Alfresco Software.
Problem solved? Click Accept as Solution!

View answer in original post

5 REPLIES 5

angelborroy
Community Manager Community Manager
Community Manager

That version (6.2.1-A8) is not intended for public usage. It only contains changes for the internal development in the product.

Latest GA version is 6.2.0-ga

Hyland Developer Evangelist

Thank you for your reply, I start docker-compose with version 6.2.0-ga, but nothing changed, I still get an error about googledocs submodule.

Maybe you need some extra information?

Thank you!

EddieMay
World-Class Innovator
World-Class Innovator

Hi @anastasia,

In the release notes for Community  Edition 201911 GA it mentions Google Docs 3.1.0. Are you sure 3.2 is supported?

Digital Community Manager, Alfresco Software.
Problem solved? Click Accept as Solution!

anastasia
Champ in-the-making
Champ in-the-making

Thank you!

Now it's work