Unexpected error screen at login

Hi all. Hoping to get a bit of debugging advice. I’m trying to upgrade my project from 6.6 to 6.7. The project works find in 6.6, but in 6.7 I can’t even get to the login screen. Instead, I get a screen saying “Unexpected error. Please contact your system administrator”. I tried setting breakpoints at various routines in AppLoginWindow.java, but it seems that the app never makes it that far. It must somehow be failing before the init of AppLoginWindow. Weird.

So, how to debug this? Not sure what to try and advice would be appreciated.
Thanks
Eric

Hi Eric,

can you provide a bit more details?

Do you use Studio or just the platform,
Did you made a database update after the migration to 6.7 (why not 6.8? :wink:)
Did you have any exceptions in your log (log-files)

Regards,
Steven

I use Studio. Eventually I’ll get to 6.8, but I’m doing 6.7 first. No exceptions in the log files I’m afraid.

Any ideas?
Thanks
Eric

Hi,

Please attach your deploy/tomcat/logs/app.log file after the exception occurs. I’d recommend that you set a break point right in the AppLoginWindow doLogin() method, exception handling is performed there.

As suggested, I set a breakpoint at doLogin. The execution never makes it that far. BTW, the error screen says “Unexpected error. Contact system administrator” and there’s a “retry” button.

Here is the log file…

2018-05-25 13:29:53.537 INFO  [localhost-startStop-1] org.atmosphere.cpr.AtmosphereFramework - Installed AtmosphereHandler com.vaadin.server.communication.PushAtmosphereHandler mapped to context-path: /*
2018-05-25 13:29:53.571 INFO  [localhost-startStop-1] org.atmosphere.cpr.AtmosphereFramework - Installed the following AtmosphereInterceptor mapped to AtmosphereHandler com.vaadin.server.communication.PushAtmosphereHandler
2018-05-25 13:29:53.578 INFO  [localhost-startStop-1] org.atmosphere.util.IOUtils - META-INF/services/org.atmosphere.cpr.AtmosphereFramework not found in class loader
2018-05-25 13:29:53.614 INFO  [localhost-startStop-1] org.atmosphere.cpr.AtmosphereFramework - Atmosphere is using org.atmosphere.util.VoidAnnotationProcessor for processing annotation
2018-05-25 13:29:53.683 INFO  [localhost-startStop-1] org.atmosphere.cpr.AtmosphereFramework - Installed WebSocketProtocol org.atmosphere.websocket.protocol.SimpleHttpProtocol 
2018-05-25 13:29:53.743 INFO  [localhost-startStop-1] org.atmosphere.container.JSR356AsyncSupport - JSR 356 Mapping path /{path}
2018-05-25 13:29:53.786 INFO  [localhost-startStop-1] org.atmosphere.cpr.AtmosphereFramework - Installing Default AtmosphereInterceptors
2018-05-25 13:29:53.788 INFO  [localhost-startStop-1] org.atmosphere.cpr.AtmosphereFramework - 	org.atmosphere.interceptor.CorsInterceptor : CORS Interceptor Support
2018-05-25 13:29:53.788 INFO  [localhost-startStop-1] org.atmosphere.cpr.AtmosphereFramework - 	org.atmosphere.interceptor.CacheHeadersInterceptor : Default Response's Headers Interceptor
2018-05-25 13:29:53.791 INFO  [localhost-startStop-1] org.atmosphere.cpr.AtmosphereFramework - 	org.atmosphere.interceptor.PaddingAtmosphereInterceptor : Browser Padding Interceptor Support
2018-05-25 13:29:53.792 INFO  [localhost-startStop-1] org.atmosphere.cpr.AtmosphereFramework - 	org.atmosphere.interceptor.AndroidAtmosphereInterceptor : Android Interceptor Support
2018-05-25 13:29:53.793 INFO  [localhost-startStop-1] org.atmosphere.cpr.AtmosphereFramework - Dropping Interceptor org.atmosphere.interceptor.HeartbeatInterceptor
2018-05-25 13:29:53.795 INFO  [localhost-startStop-1] org.atmosphere.cpr.AtmosphereFramework - 	org.atmosphere.interceptor.SSEAtmosphereInterceptor : SSE Interceptor Support
2018-05-25 13:29:53.796 INFO  [localhost-startStop-1] org.atmosphere.cpr.AtmosphereFramework - 	org.atmosphere.interceptor.JSONPAtmosphereInterceptor : JSONP Interceptor Support
2018-05-25 13:29:53.801 INFO  [localhost-startStop-1] org.atmosphere.cpr.AtmosphereFramework - 	org.atmosphere.interceptor.JavaScriptProtocol : Atmosphere JavaScript Protocol
2018-05-25 13:29:53.802 INFO  [localhost-startStop-1] org.atmosphere.cpr.AtmosphereFramework - 	org.atmosphere.interceptor.WebSocketMessageSuspendInterceptor : org.atmosphere.interceptor.WebSocketMessageSuspendInterceptor
2018-05-25 13:29:53.803 INFO  [localhost-startStop-1] org.atmosphere.cpr.AtmosphereFramework - 	org.atmosphere.interceptor.OnDisconnectInterceptor : Browser disconnection detection
2018-05-25 13:29:53.889 INFO  [localhost-startStop-1] org.atmosphere.cpr.AtmosphereFramework - 	org.atmosphere.interceptor.IdleResourceInterceptor : org.atmosphere.interceptor.IdleResourceInterceptor
2018-05-25 13:29:53.889 INFO  [localhost-startStop-1] org.atmosphere.cpr.AtmosphereFramework - Set org.atmosphere.cpr.AtmosphereInterceptor.disableDefaults to disable them.
2018-05-25 13:29:53.919 INFO  [localhost-startStop-1] org.atmosphere.cpr.AtmosphereFramework - Using EndpointMapper class org.atmosphere.util.DefaultEndpointMapper
2018-05-25 13:29:53.919 INFO  [localhost-startStop-1] org.atmosphere.cpr.AtmosphereFramework - Using BroadcasterCache: org.atmosphere.cache.UUIDBroadcasterCache
2018-05-25 13:29:53.920 INFO  [localhost-startStop-1] org.atmosphere.cpr.AtmosphereFramework - Default Broadcaster Class: org.atmosphere.cpr.DefaultBroadcaster
2018-05-25 13:29:53.920 INFO  [localhost-startStop-1] org.atmosphere.cpr.AtmosphereFramework - Broadcaster Polling Wait Time 100
2018-05-25 13:29:53.920 INFO  [localhost-startStop-1] org.atmosphere.cpr.AtmosphereFramework - Shared ExecutorService supported: true
2018-05-25 13:29:53.920 INFO  [localhost-startStop-1] org.atmosphere.cpr.AtmosphereFramework - Messaging Thread Pool Size: Unlimited
2018-05-25 13:29:53.920 INFO  [localhost-startStop-1] org.atmosphere.cpr.AtmosphereFramework - Async I/O Thread Pool Size: 200
2018-05-25 13:29:53.920 INFO  [localhost-startStop-1] org.atmosphere.cpr.AtmosphereFramework - Using BroadcasterFactory: org.atmosphere.cpr.DefaultBroadcasterFactory
2018-05-25 13:29:53.920 INFO  [localhost-startStop-1] org.atmosphere.cpr.AtmosphereFramework - Using WebSocketProcessor: org.atmosphere.websocket.DefaultWebSocketProcessor
2018-05-25 13:29:53.926 INFO  [localhost-startStop-1] org.atmosphere.cpr.AtmosphereFramework - Invoke AtmosphereInterceptor on WebSocket message true
2018-05-25 13:29:53.927 INFO  [localhost-startStop-1] org.atmosphere.cpr.AtmosphereFramework - HttpSession supported: true
2018-05-25 13:29:53.927 INFO  [localhost-startStop-1] org.atmosphere.cpr.AtmosphereFramework - Atmosphere is using DefaultAtmosphereObjectFactory for dependency injection and object creation
2018-05-25 13:29:53.927 INFO  [localhost-startStop-1] org.atmosphere.cpr.AtmosphereFramework - Atmosphere is using async support: org.atmosphere.container.JSR356AsyncSupport running under container: Apache Tomcat/8.5.14 using javax.servlet/3.0 and jsr356/WebSocket API
2018-05-25 13:29:53.927 INFO  [localhost-startStop-1] org.atmosphere.cpr.AtmosphereFramework - Atmosphere Framework 2.2.9.vaadin2.cuba1 started.
2018-05-25 13:29:53.940 INFO  [localhost-startStop-1] org.atmosphere.cpr.AtmosphereFramework - Installed AtmosphereInterceptor  Track Message Size Interceptor using | with priority BEFORE_DEFAULT 
2018-05-25 13:29:54.172 INFO  [localhost-startStop-1] com.haulmont.cuba.core.sys.AppComponents - Using app components: [com.haulmont.cuba, com.haulmont.reports]
2018-05-25 13:29:54.249 INFO  [localhost-startStop-1] com.haulmont.cuba.core.sys.AbstractWebAppContextLoader - Loading app properties from classpath:com/aac/clinic/web-app.properties
2018-05-25 13:29:54.810 INFO  [localhost-startStop-1] com.haulmont.cuba.core.sys.CubaClassPathXmlApplicationContext - Refreshing com.haulmont.cuba.core.sys.CubaClassPathXmlApplicationContext@9f99f73: startup date [Fri May 25 13:29:54 EDT 2018]; root of context hierarchy
2018-05-25 13:29:59.642 INFO  [localhost-startStop-1] com.haulmont.cuba.core.sys.remoting.discovery.StaticServerSelector - Server URLs: [http://localhost:8081/app-core/remoting]
2018-05-25 13:29:59.685 INFO  [localhost-startStop-1] com.haulmont.cuba.web.sys.remoting.WebRemoteProxyBeanCreator - Configuring proxy beans for local service invocations: [cuba_LoginService, cuba_AuthenticationService, cuba_TrustedClientService, cuba_ServerInfoService, cuba_UserSettingService, cuba_UserManagementService, cuba_DataService, cuba_ConfigStorageService, cuba_PersistenceManagerService, cuba_LockService, cuba_UserSessionService, cuba_FoldersService, cuba_EmailService, cuba_FileStorageService, cuba_EntitySnapshotService, cuba_UniqueNumbersService, cuba_LocalizedMessageService, cuba_ResourceService, cuba_ScheduledTasksService, cuba_EntityLogService, cuba_TestingService, cuba_ObjectsCacheManagerService, cuba_DomainDescriptionService, cuba_RelatedEntitiesService, cuba_EntitySqlGenerationService, cuba_NumberIdService, cuba_QueryResultsService, cuba_DynamicAttributesCacheService, cuba_EntityRestoreService, cuba_LocalFileExchangeService, cuba_EntityImportExportService, cuba_ScreenProfilerService, cuba_ServerTokenStore, cuba_IdpService, cuba_ConstraintLocalizationService, cuba_AttributeAccessService]
2018-05-25 13:29:59.701 INFO  [localhost-startStop-1] com.haulmont.cuba.web.sys.remoting.WebRemoteProxyBeanCreator - Configuring proxy beans for local service invocations: [report_ReportService, report_ReportWizardService]
2018-05-25 13:29:59.702 INFO  [localhost-startStop-1] com.haulmont.cuba.web.sys.remoting.WebRemoteProxyBeanCreator - Configuring proxy beans for local service invocations: [clinic_RemoveVisitService, clinic_CopyOTMService]
2018-05-25 13:30:03.568 INFO  [localhost-startStop-1] com.haulmont.cuba.core.sys.CubaThreadPoolTaskScheduler - Initializing ExecutorService  'scheduler'
2018-05-25 13:30:04.531 INFO  [localhost-startStop-1] com.haulmont.cuba.core.sys.jmx.MBeanExporter - Registering beans for JMX exposure: [app.cuba:type=ConfigStorage, app.cuba:type=CachingFacade, app.cuba:type=FileUploading, app.cuba:type=JmxNodeIdentifier, app.cuba:type=JmxLogControl, app.cuba:type=ClassLoaderManager, app.cuba:type=StatisticsCounter]
2018-05-25 13:30:04.736 INFO  [localhost-startStop-1] com.haulmont.cuba.core.sys.MetadataImpl - Initializing metadata
2018-05-25 13:30:05.828 INFO  [localhost-startStop-1] com.haulmont.cuba.core.sys.MetadataImpl - Metadata initialized in 1092ms
2018-05-25 13:30:05.872 INFO  [localhost-startStop-1] com.haulmont.cuba.core.sys.AbstractWebAppContextLoader - AppContext initialized
2018-05-25 13:30:06.174 INFO  [localhost-startStop-1] com.haulmont.cuba.web.sys.CubaDispatcherServlet - FrameworkServlet 'dispatcher': initialization started
2018-05-25 13:30:06.184 INFO  [localhost-startStop-1] com.haulmont.cuba.core.sys.CubaXmlWebApplicationContext - Refreshing WebApplicationContext for namespace 'dispatcher-servlet': startup date [Fri May 25 13:30:06 EDT 2018]; parent: com.haulmont.cuba.core.sys.CubaClassPathXmlApplicationContext@9f99f73
2018-05-25 13:30:07.603 DEBUG [localhost-startStop-1] org.jboss.logging - Logging Provider: org.jboss.logging.Slf4jLoggerProvider
2018-05-25 13:30:10.123 INFO  [localhost-startStop-1] com.haulmont.cuba.web.sys.CubaDispatcherServlet - FrameworkServlet 'dispatcher': initialization completed in 3949 ms
2018-05-25 13:30:10.125 INFO  [localhost-startStop-1] com.haulmont.restapi.sys.CubaRestApiServlet - FrameworkServlet 'rest_api': initialization started
2018-05-25 13:30:10.127 INFO  [localhost-startStop-1] com.haulmont.cuba.core.sys.CubaXmlWebApplicationContext - Refreshing WebApplicationContext for namespace 'rest_api-servlet': startup date [Fri May 25 13:30:10 EDT 2018]; parent: com.haulmont.cuba.core.sys.CubaClassPathXmlApplicationContext@9f99f73
2018-05-25 13:30:14.955 INFO  [localhost-startStop-1] com.haulmont.restapi.sys.CubaRestApiServlet - FrameworkServlet 'rest_api': initialization completed in 4830 ms
2018-05-25 13:30:15.153 INFO  [localhost-startStop-1] com.haulmont.cuba.core.sys.AppComponents - Using app components: [com.haulmont.cuba, com.haulmont.reports]
2018-05-25 13:30:15.166 INFO  [localhost-startStop-1] com.haulmont.cuba.core.sys.AbstractWebAppContextLoader - Loading app properties from classpath:com/aac/clinic/app.properties
2018-05-25 13:30:15.177 INFO  [localhost-startStop-1] com.haulmont.cuba.core.sys.AppContextLoader - DbmsType of the main database is set to hsql
2018-05-25 13:30:15.365 INFO  [localhost-startStop-1] com.haulmont.cuba.core.sys.persistence.PersistenceConfigProcessor - Creating file /Users/java/Desktop/Clinic/Clinic 2.0 Dev/deploy/tomcat/work/app-core/persistence.xml
2018-05-25 13:30:15.579 INFO  [localhost-startStop-1] com.haulmont.cuba.core.sys.persistence.PersistenceConfigProcessor - Creating file /Users/java/Desktop/Clinic/Clinic 2.0 Dev/deploy/tomcat/work/app-core/asnc-persistence.xml
2018-05-25 13:30:15.591 INFO  [localhost-startStop-1] com.haulmont.cuba.core.sys.CubaCoreApplicationContext - Refreshing com.haulmont.cuba.core.sys.CubaCoreApplicationContext@570d549f: startup date [Fri May 25 13:30:15 EDT 2018]; root of context hierarchy
2018-05-25 13:30:30.060 INFO  [localhost-startStop-1] com.haulmont.cuba.core.sys.CubaThreadPoolTaskScheduler - Initializing ExecutorService  'scheduler'
2018-05-25 13:30:30.607 WARN  [localhost-startStop-1] com.haulmont.cuba.core.sys.CubaCoreApplicationContext - Exception encountered during context initialization - cancelling refresh attempt: org.springframework.beans.factory.UnsatisfiedDependencyException: Error creating bean with name 'reporting_ReportingMigrator': Unsatisfied dependency expressed through field 'reportingApi'; nested exception is org.springframework.beans.factory.UnsatisfiedDependencyException: Error creating bean with name 'report_ReportingApi': Unsatisfied dependency expressed through field 'reportingApi'; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'reporting_lib_Reporting' defined in class path resource [reports-spring.xml]: Cannot resolve reference to bean 'reporting_lib_FormatterFactory' while setting bean property 'formatterFactory'; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'reporting_lib_FormatterFactory' defined in class path resource [com/aac/clinic/spring.xml]: Error setting property values; nested exception is org.springframework.beans.NotWritablePropertyException: Invalid property 'useOfficeForDocxPdfConversion' of bean class [com.aac.clinic.core.EricReporting.EricFormatterFactory]: Bean property 'useOfficeForDocxPdfConversion' is not writable or has an invalid setter method. Does the parameter type of the setter match the return type of the getter?
2018-05-25 13:30:30.609 INFO  [localhost-startStop-1] com.haulmont.cuba.core.sys.CubaThreadPoolTaskScheduler - Shutting down ExecutorService 'scheduler'
2018-05-25 13:30:30.645 ERROR [localhost-startStop-1] com.haulmont.cuba.core.sys.AbstractWebAppContextLoader - Error initializing application
org.springframework.beans.factory.UnsatisfiedDependencyException: Error creating bean with name 'reporting_ReportingMigrator': Unsatisfied dependency expressed through field 'reportingApi'; nested exception is org.springframework.beans.factory.UnsatisfiedDependencyException: Error creating bean with name 'report_ReportingApi': Unsatisfied dependency expressed through field 'reportingApi'; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'reporting_lib_Reporting' defined in class path resource [reports-spring.xml]: Cannot resolve reference to bean 'reporting_lib_FormatterFactory' while setting bean property 'formatterFactory'; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'reporting_lib_FormatterFactory' defined in class path resource [com/aac/clinic/spring.xml]: Error setting property values; nested exception is org.springframework.beans.NotWritablePropertyException: Invalid property 'useOfficeForDocxPdfConversion' of bean class [com.aac.clinic.core.EricReporting.EricFormatterFactory]: Bean property 'useOfficeForDocxPdfConversion' is not writable or has an invalid setter method. Does the parameter type of the setter match the return type of the getter?
	at org.springframework.beans.factory.annotation.AutowiredAnnotationBeanPostProcessor$AutowiredFieldElement.inject(AutowiredAnnotationBeanPostProcessor.java:588)
	at org.springframework.beans.factory.annotation.InjectionMetadata.inject(InjectionMetadata.java:88)
	at org.springframework.beans.factory.annotation.AutowiredAnnotationBeanPostProcessor.postProcessPropertyValues(AutowiredAnnotationBeanPostProcessor.java:366)
	at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.populateBean(AbstractAutowireCapableBeanFactory.java:1264)
	at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.doCreateBean(AbstractAutowireCapableBeanFactory.java:553)
	at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBean(AbstractAutowireCapableBeanFactory.java:483)
	at org.springframework.beans.factory.support.AbstractBeanFactory$1.getObject(AbstractBeanFactory.java:306)
	at org.springframework.beans.factory.support.DefaultSingletonBeanRegistry.getSingleton(DefaultSingletonBeanRegistry.java:230)
	at org.springframework.beans.factory.support.AbstractBeanFactory.doGetBean(AbstractBeanFactory.java:302)
	at org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:197)
	at org.springframework.beans.factory.support.DefaultListableBeanFactory.preInstantiateSingletons(DefaultListableBeanFactory.java:761)
	at org.springframework.context.support.AbstractApplicationContext.finishBeanFactoryInitialization(AbstractApplicationContext.java:867)
	at org.springframework.context.support.AbstractApplicationContext.refresh(AbstractApplicationContext.java:543)
	at org.springframework.context.support.ClassPathXmlApplicationContext.<init>(ClassPathXmlApplicationContext.java:139)
	at org.springframework.context.support.ClassPathXmlApplicationContext.<init>(ClassPathXmlApplicationContext.java:93)
	at com.haulmont.cuba.core.sys.CubaClassPathXmlApplicationContext.<init>(CubaClassPathXmlApplicationContext.java:27)
	at com.haulmont.cuba.core.sys.CubaCoreApplicationContext.<init>(CubaCoreApplicationContext.java:26)
	at com.haulmont.cuba.core.sys.AppContextLoader.createApplicationContext(AppContextLoader.java:91)
	at com.haulmont.cuba.core.sys.AppContextLoader.createApplicationContext(AppContextLoader.java:37)
	at com.haulmont.cuba.core.sys.AbstractAppContextLoader.initAppContext(AbstractAppContextLoader.java:56)
	at com.haulmont.cuba.core.sys.AbstractWebAppContextLoader.contextInitialized(AbstractWebAppContextLoader.java:72)
	at org.apache.catalina.core.StandardContext.listenerStart(StandardContext.java:4745)
	at org.apache.catalina.core.StandardContext.startInternal(StandardContext.java:5207)
	at org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:150)
	at org.apache.catalina.core.ContainerBase.addChildInternal(ContainerBase.java:752)
	at org.apache.catalina.core.ContainerBase.addChild(ContainerBase.java:728)
	at org.apache.catalina.core.StandardHost.addChild(StandardHost.java:734)
	at org.apache.catalina.startup.HostConfig.deployDirectory(HostConfig.java:1107)
	at org.apache.catalina.startup.HostConfig$DeployDirectory.run(HostConfig.java:1841)
	at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:511)
	at java.util.concurrent.FutureTask.run(FutureTask.java:266)
	at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1149)
	at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624)
	at java.lang.Thread.run(Thread.java:748)
Caused by: org.springframework.beans.factory.UnsatisfiedDependencyException: Error creating bean with name 'report_ReportingApi': Unsatisfied dependency expressed through field 'reportingApi'; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'reporting_lib_Reporting' defined in class path resource [reports-spring.xml]: Cannot resolve reference to bean 'reporting_lib_FormatterFactory' while setting bean property 'formatterFactory'; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'reporting_lib_FormatterFactory' defined in class path resource [com/aac/clinic/spring.xml]: Error setting property values; nested exception is org.springframework.beans.NotWritablePropertyException: Invalid property 'useOfficeForDocxPdfConversion' of bean class [com.aac.clinic.core.EricReporting.EricFormatterFactory]: Bean property 'useOfficeForDocxPdfConversion' is not writable or has an invalid setter method. Does the parameter type of the setter match the return type of the getter?
	at org.springframework.beans.factory.annotation.AutowiredAnnotationBeanPostProcessor$AutowiredFieldElement.inject(AutowiredAnnotationBeanPostProcessor.java:588)
	at org.springframework.beans.factory.annotation.InjectionMetadata.inject(InjectionMetadata.java:88)
	at org.springframework.beans.factory.annotation.AutowiredAnnotationBeanPostProcessor.postProcessPropertyValues(AutowiredAnnotationBeanPostProcessor.java:366)
	at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.populateBean(AbstractAutowireCapableBeanFactory.java:1264)
	at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.doCreateBean(AbstractAutowireCapableBeanFactory.java:553)
	at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBean(AbstractAutowireCapableBeanFactory.java:483)
	at org.springframework.beans.factory.support.AbstractBeanFactory$1.getObject(AbstractBeanFactory.java:306)
	at org.springframework.beans.factory.support.DefaultSingletonBeanRegistry.getSingleton(DefaultSingletonBeanRegistry.java:230)
	at org.springframework.beans.factory.support.AbstractBeanFactory.doGetBean(AbstractBeanFactory.java:302)
	at org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:202)
	at org.springframework.beans.factory.config.DependencyDescriptor.resolveCandidate(DependencyDescriptor.java:208)
	at org.springframework.beans.factory.support.DefaultListableBeanFactory.doResolveDependency(DefaultListableBeanFactory.java:1138)
	at org.springframework.beans.factory.support.DefaultListableBeanFactory.resolveDependency(DefaultListableBeanFactory.java:1066)
	at com.haulmont.cuba.core.sys.CubaDefaultListableBeanFactory.resolveDependency(CubaDefaultListableBeanFactory.java:59)
	at org.springframework.beans.factory.annotation.AutowiredAnnotationBeanPostProcessor$AutowiredFieldElement.inject(AutowiredAnnotationBeanPostProcessor.java:585)
	... 33 common frames omitted
Caused by: org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'reporting_lib_Reporting' defined in class path resource [reports-spring.xml]: Cannot resolve reference to bean 'reporting_lib_FormatterFactory' while setting bean property 'formatterFactory'; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'reporting_lib_FormatterFactory' defined in class path resource [com/aac/clinic/spring.xml]: Error setting property values; nested exception is org.springframework.beans.NotWritablePropertyException: Invalid property 'useOfficeForDocxPdfConversion' of bean class [com.aac.clinic.core.EricReporting.EricFormatterFactory]: Bean property 'useOfficeForDocxPdfConversion' is not writable or has an invalid setter method. Does the parameter type of the setter match the return type of the getter?
	at org.springframework.beans.factory.support.BeanDefinitionValueResolver.resolveReference(BeanDefinitionValueResolver.java:359)
	at org.springframework.beans.factory.support.BeanDefinitionValueResolver.resolveValueIfNecessary(BeanDefinitionValueResolver.java:108)
	at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.applyPropertyValues(AbstractAutowireCapableBeanFactory.java:1531)
	at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.populateBean(AbstractAutowireCapableBeanFactory.java:1276)
	at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.doCreateBean(AbstractAutowireCapableBeanFactory.java:553)
	at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBean(AbstractAutowireCapableBeanFactory.java:483)
	at org.springframework.beans.factory.support.AbstractBeanFactory$1.getObject(AbstractBeanFactory.java:306)
	at org.springframework.beans.factory.support.DefaultSingletonBeanRegistry.getSingleton(DefaultSingletonBeanRegistry.java:230)
	at org.springframework.beans.factory.support.AbstractBeanFactory.doGetBean(AbstractBeanFactory.java:302)
	at org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:202)
	at org.springframework.beans.factory.config.DependencyDescriptor.resolveCandidate(DependencyDescriptor.java:208)
	at org.springframework.beans.factory.support.DefaultListableBeanFactory.doResolveDependency(DefaultListableBeanFactory.java:1138)
	at org.springframework.beans.factory.support.DefaultListableBeanFactory.resolveDependency(DefaultListableBeanFactory.java:1066)
	at com.haulmont.cuba.core.sys.CubaDefaultListableBeanFactory.resolveDependency(CubaDefaultListableBeanFactory.java:59)
	at org.springframework.beans.factory.annotation.AutowiredAnnotationBeanPostProcessor$AutowiredFieldElement.inject(AutowiredAnnotationBeanPostProcessor.java:585)
	... 47 common frames omitted
Caused by: org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'reporting_lib_FormatterFactory' defined in class path resource [com/aac/clinic/spring.xml]: Error setting property values; nested exception is org.springframework.beans.NotWritablePropertyException: Invalid property 'useOfficeForDocxPdfConversion' of bean class [com.aac.clinic.core.EricReporting.EricFormatterFactory]: Bean property 'useOfficeForDocxPdfConversion' is not writable or has an invalid setter method. Does the parameter type of the setter match the return type of the getter?
	at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.applyPropertyValues(AbstractAutowireCapableBeanFactory.java:1568)
	at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.populateBean(AbstractAutowireCapableBeanFactory.java:1276)
	at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.doCreateBean(AbstractAutowireCapableBeanFactory.java:553)
	at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBean(AbstractAutowireCapableBeanFactory.java:483)
	at org.springframework.beans.factory.support.AbstractBeanFactory$1.getObject(AbstractBeanFactory.java:306)
	at org.springframework.beans.factory.support.DefaultSingletonBeanRegistry.getSingleton(DefaultSingletonBeanRegistry.java:230)
	at org.springframework.beans.factory.support.AbstractBeanFactory.doGetBean(AbstractBeanFactory.java:302)
	at org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:197)
	at org.springframework.beans.factory.support.BeanDefinitionValueResolver.resolveReference(BeanDefinitionValueResolver.java:351)
	... 61 common frames omitted
Caused by: org.springframework.beans.NotWritablePropertyException: Invalid property 'useOfficeForDocxPdfConversion' of bean class [com.aac.clinic.core.EricReporting.EricFormatterFactory]: Bean property 'useOfficeForDocxPdfConversion' is not writable or has an invalid setter method. Does the parameter type of the setter match the return type of the getter?
	at org.springframework.beans.BeanWrapperImpl.createNotWritablePropertyException(BeanWrapperImpl.java:243)
	at org.springframework.beans.AbstractNestablePropertyAccessor.processLocalProperty(AbstractNestablePropertyAccessor.java:437)
	at org.springframework.beans.AbstractNestablePropertyAccessor.setPropertyValue(AbstractNestablePropertyAccessor.java:292)
	at org.springframework.beans.AbstractNestablePropertyAccessor.setPropertyValue(AbstractNestablePropertyAccessor.java:280)
	at org.springframework.beans.AbstractPropertyAccessor.setPropertyValues(AbstractPropertyAccessor.java:95)
	at org.springframework.beans.AbstractPropertyAccessor.setPropertyValues(AbstractPropertyAccessor.java:75)
	at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.applyPropertyValues(AbstractAutowireCapableBeanFactory.java:1564)
	... 69 common frames omitted

As I see, there is a problem with your application configuration:

Caused by: org.springframework.beans.factory.BeanCreationException: Error creating bean with name 
‘reporting_lib_FormatterFactory’ defined in class path resource [com/aac/clinic/spring.xml]: Error setting 
property values; nested exception is org.springframework.beans.NotWritablePropertyException: Invalid property
 ‘useOfficeForDocxPdfConversion’ of bean class [com.aac.clinic.core.EricReporting.EricFormatterFactory]: 
Bean property ‘useOfficeForDocxPdfConversion’ is not writable or has an invalid setter method. Does the 
parameter type of the setter match the return type of the getter?
Caused by: org.springframework.beans.NotWritablePropertyException: Invalid property 
‘useOfficeForDocxPdfConversion’ of bean class [com.aac.clinic.core.EricReporting.EricFormatterFactory]: 
Bean property ‘useOfficeForDocxPdfConversion’ is not writable or has an invalid setter method. Does the 
parameter type of the setter match the return type of the getter?

Your application did not started properly. It will not work until you fix this.

P.S. Please use attachments for logs, do not paste them.