Error creating bean with name 'googledocsService'

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

Error creating bean with name 'googledocsService'

Jump to solution
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 Solution

Accepted Solutions
EddieMay
Alfresco Employee

Re: Error creating bean with name 'googledocsService'

Jump to solution

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 solution in original post

5 Replies
angelborroy
Alfresco Employee

Re: Error creating bean with name 'googledocsService'

Jump to solution

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
anastasia
Member II

Re: Error creating bean with name 'googledocsService'

Jump to solution

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
Alfresco Employee

Re: Error creating bean with name 'googledocsService'

Jump to solution

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
Member II

Re: Error creating bean with name 'googledocsService'

Jump to solution

Thank you!

Now it's work

EddieMay
Alfresco Employee

Re: Error creating bean with name 'googledocsService'

Jump to solution

Hi @anastasia,

Glad you got it working & thanks for reporting back - really helpful to other users.

I'm going to mark this as answered.

Cheers,

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