Uploaded image for project: 'Derby'
  1. Derby
  2. DERBY-6929

NPE in EmbeddedDriver on Apache Tomcat hosted on Ubuntu 15

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Not A Bug
    • 10.12.1.1
    • 10.12.1.1
    • JDBC
    • None
    • Normal
    • Crash

    Description

      Apache Tomcat 8.0.14
      Jackrabbit 2.1.2.1
      Derby 10.12.1.1

      All was working fine and all of a sudden it starts failing with below trace.

      23-Mar-2017 13:54:01.173 INFO [main] org.apache.catalina.core.StandardEngine.startInternal Starting Servlet Engine: Apache Tomcat/8.0.14 (Ubuntu)
      23-Mar-2017 13:54:01.209 INFO [localhost-startStop-1] org.apache.catalina.startup.HostConfig.deployDescriptor Deploying configuration descriptor /etc/tomcat8/Catalina/localhost/manager.xml
      23-Mar-2017 13:54:02.418 INFO [localhost-startStop-1] org.apache.jasper.servlet.TldScanner.scanJars At least one JAR was scanned for TLDs yet contained no TLDs. Enable debug logging for this logger for a complete list of JARs that were scanned but no TLDs were found in them. Skipping unneeded JARs during scanning can improve startup time and JSP compilation time.
      23-Mar-2017 13:54:02.477 INFO [localhost-startStop-1] org.apache.catalina.startup.HostConfig.deployDescriptor Deployment of configuration descriptor /etc/tomcat8/Catalina/localhost/manager.xml has finished in 1,266 ms
      23-Mar-2017 13:54:02.478 INFO [localhost-startStop-1] org.apache.catalina.startup.HostConfig.deployDescriptor Deploying configuration descriptor /etc/tomcat8/Catalina/localhost/host-manager.xml
      23-Mar-2017 13:54:02.919 INFO [localhost-startStop-1] org.apache.jasper.servlet.TldScanner.scanJars At least one JAR was scanned for TLDs yet contained no TLDs. Enable debug logging for this logger for a complete list of JARs that were scanned but no TLDs were found in them. Skipping unneeded JARs during scanning can improve startup time and JSP compilation time.
      23-Mar-2017 13:54:02.925 INFO [localhost-startStop-1] org.apache.catalina.startup.HostConfig.deployDescriptor Deployment of configuration descriptor /etc/tomcat8/Catalina/localhost/host-manager.xml has finished in 447 ms
      23-Mar-2017 13:54:02.925 INFO [localhost-startStop-1] org.apache.catalina.startup.HostConfig.deployDescriptor Deploying configuration descriptor /etc/tomcat8/Catalina/localhost/Jarma.xml
      23-Mar-2017 13:54:56.413 SEVERE [localhost-startStop-1] org.apache.catalina.core.ContainerBase.addChildInternal ContainerBase.addChild: start: 
       org.apache.catalina.LifecycleException: Failed to start component [StandardEngine[Catalina].StandardHost[localhost].StandardContext[/Jarma]]
      	at org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:154)
      	at org.apache.catalina.core.ContainerBase.addChildInternal(ContainerBase.java:724)
      	at org.apache.catalina.core.ContainerBase.addChild(ContainerBase.java:700)
      	at org.apache.catalina.core.StandardHost.addChild(StandardHost.java:714)
      	at org.apache.catalina.startup.HostConfig.deployDescriptor(HostConfig.java:581)
      	at org.apache.catalina.startup.HostConfig$DeployDescriptor.run(HostConfig.java:1685)
      	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:1142)
      	at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617)
      	at java.lang.Thread.run(Thread.java:745)
      Caused by: org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'studentEngine': Injection of autowired dependencies failed; nested exception is org.springframework.beans.factory.BeanCreationException: Could not autowire field: com.nestincubate.jw.services.StudentService com.nestincubate.engine.StudentEngine.studentService; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'studentService': Injection of autowired dependencies failed; nested exception is org.springframework.beans.factory.BeanCreationException: Could not autowire field: com.nestincubate.jw.services.InstitutionTestService com.nestincubate.jw.services.StudentService.institutionTestService; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'institutionTestService': Injection of autowired dependencies failed; nested exception is org.springframework.beans.factory.BeanCreationException: Could not autowire field: com.nestincubate.jw.rest.InstitutionTestRest com.nestincubate.jw.services.InstitutionTestService.institutionTestRest; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'institutionTestRest': Injection of autowired dependencies failed; nested exception is org.springframework.beans.factory.BeanCreationException: Could not autowire field: com.nestincubate.med.services.TestDataService com.nestincubate.jw.rest.InstitutionTestRest.testDataService; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'testDataService': Injection of autowired dependencies failed; nested exception is org.springframework.beans.factory.BeanCreationException: Could not autowire field: com.nestincubate.cmn.services.ParameterService com.nestincubate.med.services.TestDataService.parameterService; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'parameterService': Injection of autowired dependencies failed; nested exception is org.springframework.beans.factory.BeanCreationException: Could not autowire field: com.nestincubate.med.services.TestsetService com.nestincubate.cmn.services.ParameterService.testsetService; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'testsetService': Injection of autowired dependencies failed; nested exception is org.springframework.beans.factory.BeanCreationException: Could not autowire field: com.nestincubate.med.services.TestService com.nestincubate.med.services.TestsetService.testService; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'testService': Injection of autowired dependencies failed; nested exception is org.springframework.beans.factory.BeanCreationException: Could not autowire field: com.nestincubate.cmn.services.AttachmentService com.nestincubate.med.services.TestService.attachmentService; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'attachmentService': Injection of autowired dependencies failed; nested exception is org.springframework.beans.factory.BeanCreationException: Could not autowire field: com.nestincubate.cmn.jcr.JcrService com.nestincubate.cmn.services.AttachmentService.jcrService; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'jcrService': Invocation of init method failed; nested exception is javax.jcr.RepositoryException: Cannot instantiate persistence manager org.apache.jackrabbit.core.persistence.pool.DerbyPersistenceManager
      	at org.springframework.beans.factory.annotation.AutowiredAnnotationBeanPostProcessor.postProcessPropertyValues(AutowiredAnnotationBeanPostProcessor.java:334)
      	at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.populateBean(AbstractAutowireCapableBeanFactory.java:1214)
      	at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.doCreateBean(AbstractAutowireCapableBeanFactory.java:543)
      	at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBean(AbstractAutowireCapableBeanFactory.java:482)
      	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:772)
      	at org.springframework.context.support.AbstractApplicationContext.finishBeanFactoryInitialization(AbstractApplicationContext.java:839)
      	at org.springframework.context.support.AbstractApplicationContext.refresh(AbstractApplicationContext.java:538)
      	at org.springframework.boot.context.embedded.EmbeddedWebApplicationContext.refresh(EmbeddedWebApplicationContext.java:118)
      	at org.springframework.boot.SpringApplication.refresh(SpringApplication.java:760)
      	at org.springframework.boot.SpringApplication.createAndRefreshContext(SpringApplication.java:360)
      	at org.springframework.boot.SpringApplication.run(SpringApplication.java:306)
      	at org.springframework.boot.context.web.SpringBootServletInitializer.run(SpringBootServletInitializer.java:149)
      	at org.springframework.boot.context.web.SpringBootServletInitializer.createRootApplicationContext(SpringBootServletInitializer.java:129)
      	at org.springframework.boot.context.web.SpringBootServletInitializer.onStartup(SpringBootServletInitializer.java:85)
      	at org.springframework.web.SpringServletContainerInitializer.onStartup(SpringServletContainerInitializer.java:169)
      	at org.apache.catalina.core.StandardContext.startInternal(StandardContext.java:5210)
      	at org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:150)
      	... 10 more
      Caused by: org.springframework.beans.factory.BeanCreationException: Could not autowire field: com.nestincubate.jw.services.StudentService com.nestincubate.engine.StudentEngine.studentService; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'studentService': Injection of autowired dependencies failed; nested exception is org.springframework.beans.factory.BeanCreationException: Could not autowire field: com.nestincubate.jw.services.InstitutionTestService com.nestincubate.jw.services.StudentService.institutionTestService; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'institutionTestService': Injection of autowired dependencies failed; nested exception is org.springframework.beans.factory.BeanCreationException: Could not autowire field: com.nestincubate.jw.rest.InstitutionTestRest com.nestincubate.jw.services.InstitutionTestService.institutionTestRest; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'institutionTestRest': Injection of autowired dependencies failed; nested exception is org.springframework.beans.factory.BeanCreationException: Could not autowire field: com.nestincubate.med.services.TestDataService com.nestincubate.jw.rest.InstitutionTestRest.testDataService; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'testDataService': Injection of autowired dependencies failed; nested exception is org.springframework.beans.factory.BeanCreationException: Could not autowire field: com.nestincubate.cmn.services.ParameterService com.nestincubate.med.services.TestDataService.parameterService; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'parameterService': Injection of autowired dependencies failed; nested exception is org.springframework.beans.factory.BeanCreationException: Could not autowire field: com.nestincubate.med.services.TestsetService com.nestincubate.cmn.services.ParameterService.testsetService; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'testsetService': Injection of autowired dependencies failed; nested exception is org.springframework.beans.factory.BeanCreationException: Could not autowire field: com.nestincubate.med.services.TestService com.nestincubate.med.services.TestsetService.testService; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'testService': Injection of autowired dependencies failed; nested exception is org.springframework.beans.factory.BeanCreationException: Could not autowire field: com.nestincubate.cmn.services.AttachmentService com.nestincubate.med.services.TestService.attachmentService; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'attachmentService': Injection of autowired dependencies failed; nested exception is org.springframework.beans.factory.BeanCreationException: Could not autowire field: com.nestincubate.cmn.jcr.JcrService com.nestincubate.cmn.services.AttachmentService.jcrService; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'jcrService': Invocation of init method failed; nested exception is javax.jcr.RepositoryException: Cannot instantiate persistence manager org.apache.jackrabbit.core.persistence.pool.DerbyPersistenceManager
      	at org.springframework.beans.factory.annotation.AutowiredAnnotationBeanPostProcessor$AutowiredFieldElement.inject(AutowiredAnnotationBeanPostProcessor.java:573)
      	at org.springframework.beans.factory.annotation.InjectionMetadata.inject(InjectionMetadata.java:88)
      	at org.springframework.beans.factory.annotation.AutowiredAnnotationBeanPostProcessor.postProcessPropertyValues(AutowiredAnnotationBeanPostProcessor.java:331)
      	... 30 more
      Caused by: org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'studentService': Injection of autowired dependencies failed; nested exception is org.springframework.beans.factory.BeanCreationException: Could not autowire field: com.nestincubate.jw.services.InstitutionTestService com.nestincubate.jw.services.StudentService.institutionTestService; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'institutionTestService': Injection of autowired dependencies failed; nested exception is org.springframework.beans.factory.BeanCreationException: Could not autowire field: com.nestincubate.jw.rest.InstitutionTestRest com.nestincubate.jw.services.InstitutionTestService.institutionTestRest; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'institutionTestRest': Injection of autowired dependencies failed; nested exception is org.springframework.beans.factory.BeanCreationException: Could not autowire field: com.nestincubate.med.services.TestDataService com.nestincubate.jw.rest.InstitutionTestRest.testDataService; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'testDataService': Injection of autowired dependencies failed; nested exception is org.springframework.beans.factory.BeanCreationException: Could not autowire field: com.nestincubate.cmn.services.ParameterService com.nestincubate.med.services.TestDataService.parameterService; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'parameterService': Injection of autowired dependencies failed; nested exception is org.springframework.beans.factory.BeanCreationException: Could not autowire field: com.nestincubate.med.services.TestsetService com.nestincubate.cmn.services.ParameterService.testsetService; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'testsetService': Injection of autowired dependencies failed; nested exception is org.springframework.beans.factory.BeanCreationException: Could not autowire field: com.nestincubate.med.services.TestService com.nestincubate.med.services.TestsetService.testService; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'testService': Injection of autowired dependencies failed; nested exception is org.springframework.beans.factory.BeanCreationException: Could not autowire field: com.nestincubate.cmn.services.AttachmentService com.nestincubate.med.services.TestService.attachmentService; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'attachmentService': Injection of autowired dependencies failed; nested exception is org.springframework.beans.factory.BeanCreationException: Could not autowire field: com.nestincubate.cmn.jcr.JcrService com.nestincubate.cmn.services.AttachmentService.jcrService; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'jcrService': Invocation of init method failed; nested exception is javax.jcr.RepositoryException: Cannot instantiate persistence manager org.apache.jackrabbit.core.persistence.pool.DerbyPersistenceManager
      	at org.springframework.beans.factory.annotation.AutowiredAnnotationBeanPostProcessor.postProcessPropertyValues(AutowiredAnnotationBeanPostProcessor.java:334)
      	at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.populateBean(AbstractAutowireCapableBeanFactory.java:1214)
      	at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.doCreateBean(AbstractAutowireCapableBeanFactory.java:543)
      	at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBean(AbstractAutowireCapableBeanFactory.java:482)
      	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.findAutowireCandidates(DefaultListableBeanFactory.java:1192)
      	at org.springframework.beans.factory.support.DefaultListableBeanFactory.doResolveDependency(DefaultListableBeanFactory.java:1116)
      	at org.springframework.beans.factory.support.DefaultListableBeanFactory.resolveDependency(DefaultListableBeanFactory.java:1014)
      	at org.springframework.beans.factory.annotation.AutowiredAnnotationBeanPostProcessor$AutowiredFieldElement.inject(AutowiredAnnotationBeanPostProcessor.java:545)
      	... 32 more
      Caused by: org.springframework.beans.factory.BeanCreationException: Could not autowire field: com.nestincubate.jw.services.InstitutionTestService com.nestincubate.jw.services.StudentService.institutionTestService; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'institutionTestService': Injection of autowired dependencies failed; nested exception is org.springframework.beans.factory.BeanCreationException: Could not autowire field: com.nestincubate.jw.rest.InstitutionTestRest com.nestincubate.jw.services.InstitutionTestService.institutionTestRest; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'institutionTestRest': Injection of autowired dependencies failed; nested exception is org.springframework.beans.factory.BeanCreationException: Could not autowire field: com.nestincubate.med.services.TestDataService com.nestincubate.jw.rest.InstitutionTestRest.testDataService; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'testDataService': Injection of autowired dependencies failed; nested exception is org.springframework.beans.factory.BeanCreationException: Could not autowire field: com.nestincubate.cmn.services.ParameterService com.nestincubate.med.services.TestDataService.parameterService; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'parameterService': Injection of autowired dependencies failed; nested exception is org.springframework.beans.factory.BeanCreationException: Could not autowire field: com.nestincubate.med.services.TestsetService com.nestincubate.cmn.services.ParameterService.testsetService; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'testsetService': Injection of autowired dependencies failed; nested exception is org.springframework.beans.factory.BeanCreationException: Could not autowire field: com.nestincubate.med.services.TestService com.nestincubate.med.services.TestsetService.testService; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'testService': Injection of autowired dependencies failed; nested exception is org.springframework.beans.factory.BeanCreationException: Could not autowire field: com.nestincubate.cmn.services.AttachmentService com.nestincubate.med.services.TestService.attachmentService; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'attachmentService': Injection of autowired dependencies failed; nested exception is org.springframework.beans.factory.BeanCreationException: Could not autowire field: com.nestincubate.cmn.jcr.JcrService com.nestincubate.cmn.services.AttachmentService.jcrService; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'jcrService': Invocation of init method failed; nested exception is javax.jcr.RepositoryException: Cannot instantiate persistence manager org.apache.jackrabbit.core.persistence.pool.DerbyPersistenceManager
      	at org.springframework.beans.factory.annotation.AutowiredAnnotationBeanPostProcessor$AutowiredFieldElement.inject(AutowiredAnnotationBeanPostProcessor.java:573)
      	at org.springframework.beans.factory.annotation.InjectionMetadata.inject(InjectionMetadata.java:88)
      	at org.springframework.beans.factory.annotation.AutowiredAnnotationBeanPostProcessor.postProcessPropertyValues(AutowiredAnnotationBeanPostProcessor.java:331)
      	... 43 more
      Caused by: org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'institutionTestService': Injection of autowired dependencies failed; nested exception is org.springframework.beans.factory.BeanCreationException: Could not autowire field: com.nestincubate.jw.rest.InstitutionTestRest com.nestincubate.jw.services.InstitutionTestService.institutionTestRest; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'institutionTestRest': Injection of autowired dependencies failed; nested exception is org.springframework.beans.factory.BeanCreationException: Could not autowire field: com.nestincubate.med.services.TestDataService com.nestincubate.jw.rest.InstitutionTestRest.testDataService; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'testDataService': Injection of autowired dependencies failed; nested exception is org.springframework.beans.factory.BeanCreationException: Could not autowire field: com.nestincubate.cmn.services.ParameterService com.nestincubate.med.services.TestDataService.parameterService; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'parameterService': Injection of autowired dependencies failed; nested exception is org.springframework.beans.factory.BeanCreationException: Could not autowire field: com.nestincubate.med.services.TestsetService com.nestincubate.cmn.services.ParameterService.testsetService; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'testsetService': Injection of autowired dependencies failed; nested exception is org.springframework.beans.factory.BeanCreationException: Could not autowire field: com.nestincubate.med.services.TestService com.nestincubate.med.services.TestsetService.testService; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'testService': Injection of autowired dependencies failed; nested exception is org.springframework.beans.factory.BeanCreationException: Could not autowire field: com.nestincubate.cmn.services.AttachmentService com.nestincubate.med.services.TestService.attachmentService; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'attachmentService': Injection of autowired dependencies failed; nested exception is org.springframework.beans.factory.BeanCreationException: Could not autowire field: com.nestincubate.cmn.jcr.JcrService com.nestincubate.cmn.services.AttachmentService.jcrService; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'jcrService': Invocation of init method failed; nested exception is javax.jcr.RepositoryException: Cannot instantiate persistence manager org.apache.jackrabbit.core.persistence.pool.DerbyPersistenceManager
      	at org.springframework.beans.factory.annotation.AutowiredAnnotationBeanPostProcessor.postProcessPropertyValues(AutowiredAnnotationBeanPostProcessor.java:334)
      	at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.populateBean(AbstractAutowireCapableBeanFactory.java:1214)
      	at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.doCreateBean(AbstractAutowireCapableBeanFactory.java:543)
      	at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBean(AbstractAutowireCapableBeanFactory.java:482)
      	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.findAutowireCandidates(DefaultListableBeanFactory.java:1192)
      	at org.springframework.beans.factory.support.DefaultListableBeanFactory.doResolveDependency(DefaultListableBeanFactory.java:1116)
      	at org.springframework.beans.factory.support.DefaultListableBeanFactory.resolveDependency(DefaultListableBeanFactory.java:1014)
      	at org.springframework.beans.factory.annotation.AutowiredAnnotationBeanPostProcessor$AutowiredFieldElement.inject(AutowiredAnnotationBeanPostProcessor.java:545)
      	... 45 more
      Caused by: org.springframework.beans.factory.BeanCreationException: Could not autowire field: com.nestincubate.jw.rest.InstitutionTestRest com.nestincubate.jw.services.InstitutionTestService.institutionTestRest; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'institutionTestRest': Injection of autowired dependencies failed; nested exception is org.springframework.beans.factory.BeanCreationException: Could not autowire field: com.nestincubate.med.services.TestDataService com.nestincubate.jw.rest.InstitutionTestRest.testDataService; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'testDataService': Injection of autowired dependencies failed; nested exception is org.springframework.beans.factory.BeanCreationException: Could not autowire field: com.nestincubate.cmn.services.ParameterService com.nestincubate.med.services.TestDataService.parameterService; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'parameterService': Injection of autowired dependencies failed; nested exception is org.springframework.beans.factory.BeanCreationException: Could not autowire field: com.nestincubate.med.services.TestsetService com.nestincubate.cmn.services.ParameterService.testsetService; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'testsetService': Injection of autowired dependencies failed; nested exception is org.springframework.beans.factory.BeanCreationException: Could not autowire field: com.nestincubate.med.services.TestService com.nestincubate.med.services.TestsetService.testService; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'testService': Injection of autowired dependencies failed; nested exception is org.springframework.beans.factory.BeanCreationException: Could not autowire field: com.nestincubate.cmn.services.AttachmentService com.nestincubate.med.services.TestService.attachmentService; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'attachmentService': Injection of autowired dependencies failed; nested exception is org.springframework.beans.factory.BeanCreationException: Could not autowire field: com.nestincubate.cmn.jcr.JcrService com.nestincubate.cmn.services.AttachmentService.jcrService; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'jcrService': Invocation of init method failed; nested exception is javax.jcr.RepositoryException: Cannot instantiate persistence manager org.apache.jackrabbit.core.persistence.pool.DerbyPersistenceManager
      	at org.springframework.beans.factory.annotation.AutowiredAnnotationBeanPostProcessor$AutowiredFieldElement.inject(AutowiredAnnotationBeanPostProcessor.java:573)
      	at org.springframework.beans.factory.annotation.InjectionMetadata.inject(InjectionMetadata.java:88)
      	at org.springframework.beans.factory.annotation.AutowiredAnnotationBeanPostProcessor.postProcessPropertyValues(AutowiredAnnotationBeanPostProcessor.java:331)
      	... 56 more
      Caused by: org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'institutionTestRest': Injection of autowired dependencies failed; nested exception is org.springframework.beans.factory.BeanCreationException: Could not autowire field: com.nestincubate.med.services.TestDataService com.nestincubate.jw.rest.InstitutionTestRest.testDataService; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'testDataService': Injection of autowired dependencies failed; nested exception is org.springframework.beans.factory.BeanCreationException: Could not autowire field: com.nestincubate.cmn.services.ParameterService com.nestincubate.med.services.TestDataService.parameterService; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'parameterService': Injection of autowired dependencies failed; nested exception is org.springframework.beans.factory.BeanCreationException: Could not autowire field: com.nestincubate.med.services.TestsetService com.nestincubate.cmn.services.ParameterService.testsetService; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'testsetService': Injection of autowired dependencies failed; nested exception is org.springframework.beans.factory.BeanCreationException: Could not autowire field: com.nestincubate.med.services.TestService com.nestincubate.med.services.TestsetService.testService; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'testService': Injection of autowired dependencies failed; nested exception is org.springframework.beans.factory.BeanCreationException: Could not autowire field: com.nestincubate.cmn.services.AttachmentService com.nestincubate.med.services.TestService.attachmentService; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'attachmentService': Injection of autowired dependencies failed; nested exception is org.springframework.beans.factory.BeanCreationException: Could not autowire field: com.nestincubate.cmn.jcr.JcrService com.nestincubate.cmn.services.AttachmentService.jcrService; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'jcrService': Invocation of init method failed; nested exception is javax.jcr.RepositoryException: Cannot instantiate persistence manager org.apache.jackrabbit.core.persistence.pool.DerbyPersistenceManager
      	at org.springframework.beans.factory.annotation.AutowiredAnnotationBeanPostProcessor.postProcessPropertyValues(AutowiredAnnotationBeanPostProcessor.java:334)
      	at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.populateBean(AbstractAutowireCapableBeanFactory.java:1214)
      	at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.doCreateBean(AbstractAutowireCapableBeanFactory.java:543)
      	at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBean(AbstractAutowireCapableBeanFactory.java:482)
      	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.findAutowireCandidates(DefaultListableBeanFactory.java:1192)
      	at org.springframework.beans.factory.support.DefaultListableBeanFactory.doResolveDependency(DefaultListableBeanFactory.java:1116)
      	at org.springframework.beans.factory.support.DefaultListableBeanFactory.resolveDependency(DefaultListableBeanFactory.java:1014)
      	at org.springframework.beans.factory.annotation.AutowiredAnnotationBeanPostProcessor$AutowiredFieldElement.inject(AutowiredAnnotationBeanPostProcessor.java:545)
      	... 58 more
      Caused by: org.springframework.beans.factory.BeanCreationException: Could not autowire field: com.nestincubate.med.services.TestDataService com.nestincubate.jw.rest.InstitutionTestRest.testDataService; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'testDataService': Injection of autowired dependencies failed; nested exception is org.springframework.beans.factory.BeanCreationException: Could not autowire field: com.nestincubate.cmn.services.ParameterService com.nestincubate.med.services.TestDataService.parameterService; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'parameterService': Injection of autowired dependencies failed; nested exception is org.springframework.beans.factory.BeanCreationException: Could not autowire field: com.nestincubate.med.services.TestsetService com.nestincubate.cmn.services.ParameterService.testsetService; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'testsetService': Injection of autowired dependencies failed; nested exception is org.springframework.beans.factory.BeanCreationException: Could not autowire field: com.nestincubate.med.services.TestService com.nestincubate.med.services.TestsetService.testService; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'testService': Injection of autowired dependencies failed; nested exception is org.springframework.beans.factory.BeanCreationException: Could not autowire field: com.nestincubate.cmn.services.AttachmentService com.nestincubate.med.services.TestService.attachmentService; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'attachmentService': Injection of autowired dependencies failed; nested exception is org.springframework.beans.factory.BeanCreationException: Could not autowire field: com.nestincubate.cmn.jcr.JcrService com.nestincubate.cmn.services.AttachmentService.jcrService; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'jcrService': Invocation of init method failed; nested exception is javax.jcr.RepositoryException: Cannot instantiate persistence manager org.apache.jackrabbit.core.persistence.pool.DerbyPersistenceManager
      	at org.springframework.beans.factory.annotation.AutowiredAnnotationBeanPostProcessor$AutowiredFieldElement.inject(AutowiredAnnotationBeanPostProcessor.java:573)
      	at org.springframework.beans.factory.annotation.InjectionMetadata.inject(InjectionMetadata.java:88)
      	at org.springframework.beans.factory.annotation.AutowiredAnnotationBeanPostProcessor.postProcessPropertyValues(AutowiredAnnotationBeanPostProcessor.java:331)
      	... 69 more
      Caused by: org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'testDataService': Injection of autowired dependencies failed; nested exception is org.springframework.beans.factory.BeanCreationException: Could not autowire field: com.nestincubate.cmn.services.ParameterService com.nestincubate.med.services.TestDataService.parameterService; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'parameterService': Injection of autowired dependencies failed; nested exception is org.springframework.beans.factory.BeanCreationException: Could not autowire field: com.nestincubate.med.services.TestsetService com.nestincubate.cmn.services.ParameterService.testsetService; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'testsetService': Injection of autowired dependencies failed; nested exception is org.springframework.beans.factory.BeanCreationException: Could not autowire field: com.nestincubate.med.services.TestService com.nestincubate.med.services.TestsetService.testService; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'testService': Injection of autowired dependencies failed; nested exception is org.springframework.beans.factory.BeanCreationException: Could not autowire field: com.nestincubate.cmn.services.AttachmentService com.nestincubate.med.services.TestService.attachmentService; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'attachmentService': Injection of autowired dependencies failed; nested exception is org.springframework.beans.factory.BeanCreationException: Could not autowire field: com.nestincubate.cmn.jcr.JcrService com.nestincubate.cmn.services.AttachmentService.jcrService; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'jcrService': Invocation of init method failed; nested exception is javax.jcr.RepositoryException: Cannot instantiate persistence manager org.apache.jackrabbit.core.persistence.pool.DerbyPersistenceManager
      	at org.springframework.beans.factory.annotation.AutowiredAnnotationBeanPostProcessor.postProcessPropertyValues(AutowiredAnnotationBeanPostProcessor.java:334)
      	at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.populateBean(AbstractAutowireCapableBeanFactory.java:1214)
      	at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.doCreateBean(AbstractAutowireCapableBeanFactory.java:543)
      	at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBean(AbstractAutowireCapableBeanFactory.java:482)
      	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.findAutowireCandidates(DefaultListableBeanFactory.java:1192)
      	at org.springframework.beans.factory.support.DefaultListableBeanFactory.doResolveDependency(DefaultListableBeanFactory.java:1116)
      	at org.springframework.beans.factory.support.DefaultListableBeanFactory.resolveDependency(DefaultListableBeanFactory.java:1014)
      	at org.springframework.beans.factory.annotation.AutowiredAnnotationBeanPostProcessor$AutowiredFieldElement.inject(AutowiredAnnotationBeanPostProcessor.java:545)
      	... 71 more
      Caused by: org.springframework.beans.factory.BeanCreationException: Could not autowire field: com.nestincubate.cmn.services.ParameterService com.nestincubate.med.services.TestDataService.parameterService; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'parameterService': Injection of autowired dependencies failed; nested exception is org.springframework.beans.factory.BeanCreationException: Could not autowire field: com.nestincubate.med.services.TestsetService com.nestincubate.cmn.services.ParameterService.testsetService; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'testsetService': Injection of autowired dependencies failed; nested exception is org.springframework.beans.factory.BeanCreationException: Could not autowire field: com.nestincubate.med.services.TestService com.nestincubate.med.services.TestsetService.testService; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'testService': Injection of autowired dependencies failed; nested exception is org.springframework.beans.factory.BeanCreationException: Could not autowire field: com.nestincubate.cmn.services.AttachmentService com.nestincubate.med.services.TestService.attachmentService; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'attachmentService': Injection of autowired dependencies failed; nested exception is org.springframework.beans.factory.BeanCreationException: Could not autowire field: com.nestincubate.cmn.jcr.JcrService com.nestincubate.cmn.services.AttachmentService.jcrService; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'jcrService': Invocation of init method failed; nested exception is javax.jcr.RepositoryException: Cannot instantiate persistence manager org.apache.jackrabbit.core.persistence.pool.DerbyPersistenceManager
      	at org.springframework.beans.factory.annotation.AutowiredAnnotationBeanPostProcessor$AutowiredFieldElement.inject(AutowiredAnnotationBeanPostProcessor.java:573)
      	at org.springframework.beans.factory.annotation.InjectionMetadata.inject(InjectionMetadata.java:88)
      	at org.springframework.beans.factory.annotation.AutowiredAnnotationBeanPostProcessor.postProcessPropertyValues(AutowiredAnnotationBeanPostProcessor.java:331)
      	... 82 more
      Caused by: org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'parameterService': Injection of autowired dependencies failed; nested exception is org.springframework.beans.factory.BeanCreationException: Could not autowire field: com.nestincubate.med.services.TestsetService com.nestincubate.cmn.services.ParameterService.testsetService; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'testsetService': Injection of autowired dependencies failed; nested exception is org.springframework.beans.factory.BeanCreationException: Could not autowire field: com.nestincubate.med.services.TestService com.nestincubate.med.services.TestsetService.testService; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'testService': Injection of autowired dependencies failed; nested exception is org.springframework.beans.factory.BeanCreationException: Could not autowire field: com.nestincubate.cmn.services.AttachmentService com.nestincubate.med.services.TestService.attachmentService; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'attachmentService': Injection of autowired dependencies failed; nested exception is org.springframework.beans.factory.BeanCreationException: Could not autowire field: com.nestincubate.cmn.jcr.JcrService com.nestincubate.cmn.services.AttachmentService.jcrService; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'jcrService': Invocation of init method failed; nested exception is javax.jcr.RepositoryException: Cannot instantiate persistence manager org.apache.jackrabbit.core.persistence.pool.DerbyPersistenceManager
      	at org.springframework.beans.factory.annotation.AutowiredAnnotationBeanPostProcessor.postProcessPropertyValues(AutowiredAnnotationBeanPostProcessor.java:334)
      	at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.populateBean(AbstractAutowireCapableBeanFactory.java:1214)
      	at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.doCreateBean(AbstractAutowireCapableBeanFactory.java:543)
      	at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBean(AbstractAutowireCapableBeanFactory.java:482)
      	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.findAutowireCandidates(DefaultListableBeanFactory.java:1192)
      	at org.springframework.beans.factory.support.DefaultListableBeanFactory.doResolveDependency(DefaultListableBeanFactory.java:1116)
      	at org.springframework.beans.factory.support.DefaultListableBeanFactory.resolveDependency(DefaultListableBeanFactory.java:1014)
      	at org.springframework.beans.factory.annotation.AutowiredAnnotationBeanPostProcessor$AutowiredFieldElement.inject(AutowiredAnnotationBeanPostProcessor.java:545)
      	... 84 more
      Caused by: org.springframework.beans.factory.BeanCreationException: Could not autowire field: com.nestincubate.med.services.TestsetService com.nestincubate.cmn.services.ParameterService.testsetService; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'testsetService': Injection of autowired dependencies failed; nested exception is org.springframework.beans.factory.BeanCreationException: Could not autowire field: com.nestincubate.med.services.TestService com.nestincubate.med.services.TestsetService.testService; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'testService': Injection of autowired dependencies failed; nested exception is org.springframework.beans.factory.BeanCreationException: Could not autowire field: com.nestincubate.cmn.services.AttachmentService com.nestincubate.med.services.TestService.attachmentService; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'attachmentService': Injection of autowired dependencies failed; nested exception is org.springframework.beans.factory.BeanCreationException: Could not autowire field: com.nestincubate.cmn.jcr.JcrService com.nestincubate.cmn.services.AttachmentService.jcrService; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'jcrService': Invocation of init method failed; nested exception is javax.jcr.RepositoryException: Cannot instantiate persistence manager org.apache.jackrabbit.core.persistence.pool.DerbyPersistenceManager
      	at org.springframework.beans.factory.annotation.AutowiredAnnotationBeanPostProcessor$AutowiredFieldElement.inject(AutowiredAnnotationBeanPostProcessor.java:573)
      	at org.springframework.beans.factory.annotation.InjectionMetadata.inject(InjectionMetadata.java:88)
      	at org.springframework.beans.factory.annotation.AutowiredAnnotationBeanPostProcessor.postProcessPropertyValues(AutowiredAnnotationBeanPostProcessor.java:331)
      	... 95 more
      Caused by: org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'testsetService': Injection of autowired dependencies failed; nested exception is org.springframework.beans.factory.BeanCreationException: Could not autowire field: com.nestincubate.med.services.TestService com.nestincubate.med.services.TestsetService.testService; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'testService': Injection of autowired dependencies failed; nested exception is org.springframework.beans.factory.BeanCreationException: Could not autowire field: com.nestincubate.cmn.services.AttachmentService com.nestincubate.med.services.TestService.attachmentService; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'attachmentService': Injection of autowired dependencies failed; nested exception is org.springframework.beans.factory.BeanCreationException: Could not autowire field: com.nestincubate.cmn.jcr.JcrService com.nestincubate.cmn.services.AttachmentService.jcrService; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'jcrService': Invocation of init method failed; nested exception is javax.jcr.RepositoryException: Cannot instantiate persistence manager org.apache.jackrabbit.core.persistence.pool.DerbyPersistenceManager
      	at org.springframework.beans.factory.annotation.AutowiredAnnotationBeanPostProcessor.postProcessPropertyValues(AutowiredAnnotationBeanPostProcessor.java:334)
      	at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.populateBean(AbstractAutowireCapableBeanFactory.java:1214)
      	at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.doCreateBean(AbstractAutowireCapableBeanFactory.java:543)
      	at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBean(AbstractAutowireCapableBeanFactory.java:482)
      	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.findAutowireCandidates(DefaultListableBeanFactory.java:1192)
      	at org.springframework.beans.factory.support.DefaultListableBeanFactory.doResolveDependency(DefaultListableBeanFactory.java:1116)
      	at org.springframework.beans.factory.support.DefaultListableBeanFactory.resolveDependency(DefaultListableBeanFactory.java:1014)
      	at org.springframework.beans.factory.annotation.AutowiredAnnotationBeanPostProcessor$AutowiredFieldElement.inject(AutowiredAnnotationBeanPostProcessor.java:545)
      	... 97 more
      Caused by: org.springframework.beans.factory.BeanCreationException: Could not autowire field: com.nestincubate.med.services.TestService com.nestincubate.med.services.TestsetService.testService; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'testService': Injection of autowired dependencies failed; nested exception is org.springframework.beans.factory.BeanCreationException: Could not autowire field: com.nestincubate.cmn.services.AttachmentService com.nestincubate.med.services.TestService.attachmentService; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'attachmentService': Injection of autowired dependencies failed; nested exception is org.springframework.beans.factory.BeanCreationException: Could not autowire field: com.nestincubate.cmn.jcr.JcrService com.nestincubate.cmn.services.AttachmentService.jcrService; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'jcrService': Invocation of init method failed; nested exception is javax.jcr.RepositoryException: Cannot instantiate persistence manager org.apache.jackrabbit.core.persistence.pool.DerbyPersistenceManager
      	at org.springframework.beans.factory.annotation.AutowiredAnnotationBeanPostProcessor$AutowiredFieldElement.inject(AutowiredAnnotationBeanPostProcessor.java:573)
      	at org.springframework.beans.factory.annotation.InjectionMetadata.inject(InjectionMetadata.java:88)
      	at org.springframework.beans.factory.annotation.AutowiredAnnotationBeanPostProcessor.postProcessPropertyValues(AutowiredAnnotationBeanPostProcessor.java:331)
      	... 108 more
      Caused by: org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'testService': Injection of autowired dependencies failed; nested exception is org.springframework.beans.factory.BeanCreationException: Could not autowire field: com.nestincubate.cmn.services.AttachmentService com.nestincubate.med.services.TestService.attachmentService; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'attachmentService': Injection of autowired dependencies failed; nested exception is org.springframework.beans.factory.BeanCreationException: Could not autowire field: com.nestincubate.cmn.jcr.JcrService com.nestincubate.cmn.services.AttachmentService.jcrService; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'jcrService': Invocation of init method failed; nested exception is javax.jcr.RepositoryException: Cannot instantiate persistence manager org.apache.jackrabbit.core.persistence.pool.DerbyPersistenceManager
      	at org.springframework.beans.factory.annotation.AutowiredAnnotationBeanPostProcessor.postProcessPropertyValues(AutowiredAnnotationBeanPostProcessor.java:334)
      	at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.populateBean(AbstractAutowireCapableBeanFactory.java:1214)
      	at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.doCreateBean(AbstractAutowireCapableBeanFactory.java:543)
      	at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBean(AbstractAutowireCapableBeanFactory.java:482)
      	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.findAutowireCandidates(DefaultListableBeanFactory.java:1192)
      	at org.springframework.beans.factory.support.DefaultListableBeanFactory.doResolveDependency(DefaultListableBeanFactory.java:1116)
      	at org.springframework.beans.factory.support.DefaultListableBeanFactory.resolveDependency(DefaultListableBeanFactory.java:1014)
      	at org.springframework.beans.factory.annotation.AutowiredAnnotationBeanPostProcessor$AutowiredFieldElement.inject(AutowiredAnnotationBeanPostProcessor.java:545)
      	... 110 more
      Caused by: org.springframework.beans.factory.BeanCreationException: Could not autowire field: com.nestincubate.cmn.services.AttachmentService com.nestincubate.med.services.TestService.attachmentService; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'attachmentService': Injection of autowired dependencies failed; nested exception is org.springframework.beans.factory.BeanCreationException: Could not autowire field: com.nestincubate.cmn.jcr.JcrService com.nestincubate.cmn.services.AttachmentService.jcrService; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'jcrService': Invocation of init method failed; nested exception is javax.jcr.RepositoryException: Cannot instantiate persistence manager org.apache.jackrabbit.core.persistence.pool.DerbyPersistenceManager
      	at org.springframework.beans.factory.annotation.AutowiredAnnotationBeanPostProcessor$AutowiredFieldElement.inject(AutowiredAnnotationBeanPostProcessor.java:573)
      	at org.springframework.beans.factory.annotation.InjectionMetadata.inject(InjectionMetadata.java:88)
      	at org.springframework.beans.factory.annotation.AutowiredAnnotationBeanPostProcessor.postProcessPropertyValues(AutowiredAnnotationBeanPostProcessor.java:331)
      	... 121 more
      Caused by: org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'attachmentService': Injection of autowired dependencies failed; nested exception is org.springframework.beans.factory.BeanCreationException: Could not autowire field: com.nestincubate.cmn.jcr.JcrService com.nestincubate.cmn.services.AttachmentService.jcrService; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'jcrService': Invocation of init method failed; nested exception is javax.jcr.RepositoryException: Cannot instantiate persistence manager org.apache.jackrabbit.core.persistence.pool.DerbyPersistenceManager
      	at org.springframework.beans.factory.annotation.AutowiredAnnotationBeanPostProcessor.postProcessPropertyValues(AutowiredAnnotationBeanPostProcessor.java:334)
      	at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.populateBean(AbstractAutowireCapableBeanFactory.java:1214)
      	at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.doCreateBean(AbstractAutowireCapableBeanFactory.java:543)
      	at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBean(AbstractAutowireCapableBeanFactory.java:482)
      	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.findAutowireCandidates(DefaultListableBeanFactory.java:1192)
      	at org.springframework.beans.factory.support.DefaultListableBeanFactory.doResolveDependency(DefaultListableBeanFactory.java:1116)
      	at org.springframework.beans.factory.support.DefaultListableBeanFactory.resolveDependency(DefaultListableBeanFactory.java:1014)
      	at org.springframework.beans.factory.annotation.AutowiredAnnotationBeanPostProcessor$AutowiredFieldElement.inject(AutowiredAnnotationBeanPostProcessor.java:545)
      	... 123 more
      Caused by: org.springframework.beans.factory.BeanCreationException: Could not autowire field: com.nestincubate.cmn.jcr.JcrService com.nestincubate.cmn.services.AttachmentService.jcrService; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'jcrService': Invocation of init method failed; nested exception is javax.jcr.RepositoryException: Cannot instantiate persistence manager org.apache.jackrabbit.core.persistence.pool.DerbyPersistenceManager
      	at org.springframework.beans.factory.annotation.AutowiredAnnotationBeanPostProcessor$AutowiredFieldElement.inject(AutowiredAnnotationBeanPostProcessor.java:573)
      	at org.springframework.beans.factory.annotation.InjectionMetadata.inject(InjectionMetadata.java:88)
      	at org.springframework.beans.factory.annotation.AutowiredAnnotationBeanPostProcessor.postProcessPropertyValues(AutowiredAnnotationBeanPostProcessor.java:331)
      	... 134 more
      Caused by: org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'jcrService': Invocation of init method failed; nested exception is javax.jcr.RepositoryException: Cannot instantiate persistence manager org.apache.jackrabbit.core.persistence.pool.DerbyPersistenceManager
      	at org.springframework.beans.factory.annotation.InitDestroyAnnotationBeanPostProcessor.postProcessBeforeInitialization(InitDestroyAnnotationBeanPostProcessor.java:136)
      	at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.applyBeanPostProcessorsBeforeInitialization(AbstractAutowireCapableBeanFactory.java:408)
      	at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.initializeBean(AbstractAutowireCapableBeanFactory.java:1570)
      	at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.doCreateBean(AbstractAutowireCapableBeanFactory.java:545)
      	at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBean(AbstractAutowireCapableBeanFactory.java:482)
      	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.findAutowireCandidates(DefaultListableBeanFactory.java:1192)
      	at org.springframework.beans.factory.support.DefaultListableBeanFactory.doResolveDependency(DefaultListableBeanFactory.java:1116)
      	at org.springframework.beans.factory.support.DefaultListableBeanFactory.resolveDependency(DefaultListableBeanFactory.java:1014)
      	at org.springframework.beans.factory.annotation.AutowiredAnnotationBeanPostProcessor$AutowiredFieldElement.inject(AutowiredAnnotationBeanPostProcessor.java:545)
      	... 136 more
      Caused by: javax.jcr.RepositoryException: Cannot instantiate persistence manager org.apache.jackrabbit.core.persistence.pool.DerbyPersistenceManager
      	at org.apache.jackrabbit.core.RepositoryImpl.createPersistenceManager(RepositoryImpl.java:1379)
      	at org.apache.jackrabbit.core.RepositoryImpl.createVersionManager(RepositoryImpl.java:512)
      	at org.apache.jackrabbit.core.RepositoryImpl.<init>(RepositoryImpl.java:313)
      	at org.apache.jackrabbit.core.RepositoryImpl.create(RepositoryImpl.java:615)
      	at org.apache.jackrabbit.core.TransientRepository$3.getRepository(TransientRepository.java:250)
      	at org.apache.jackrabbit.core.TransientRepository.startRepository(TransientRepository.java:280)
      	at org.apache.jackrabbit.core.TransientRepository.login(TransientRepository.java:376)
      	at org.apache.jackrabbit.commons.AbstractRepository.login(AbstractRepository.java:144)
      	at com.nestincubate.cmn.jcr.JcrService.initializePermissions(JcrService.java:86)
      	at com.nestincubate.cmn.jcr.JcrService.init(JcrService.java:66)
      	at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
      	at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
      	at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
      	at java.lang.reflect.Method.invoke(Method.java:498)
      	at org.springframework.beans.factory.annotation.InitDestroyAnnotationBeanPostProcessor$LifecycleElement.invoke(InitDestroyAnnotationBeanPostProcessor.java:354)
      	at org.springframework.beans.factory.annotation.InitDestroyAnnotationBeanPostProcessor$LifecycleMetadata.invokeInitMethods(InitDestroyAnnotationBeanPostProcessor.java:305)
      	at org.springframework.beans.factory.annotation.InitDestroyAnnotationBeanPostProcessor.postProcessBeforeInitialization(InitDestroyAnnotationBeanPostProcessor.java:133)
      	... 148 more
      Caused by: java.lang.NullPointerException
      	at org.apache.derby.jdbc.EmbeddedDriver.jdbcCompliant(Unknown Source)
      	at org.apache.jackrabbit.core.util.db.ConnectionFactory.getDriverDataSource(ConnectionFactory.java:333)
      	at org.apache.jackrabbit.core.util.db.ConnectionFactory.createDataSource(ConnectionFactory.java:245)
      	at org.apache.jackrabbit.core.util.db.ConnectionFactory.getDataSource(ConnectionFactory.java:170)
      	at org.apache.jackrabbit.core.persistence.pool.BundleDbPersistenceManager.getDataSource(BundleDbPersistenceManager.java:569)
      	at org.apache.jackrabbit.core.persistence.pool.BundleDbPersistenceManager.init(BundleDbPersistenceManager.java:537)
      	at org.apache.jackrabbit.core.persistence.pool.DerbyPersistenceManager.init(DerbyPersistenceManager.java:250)
      	at org.apache.jackrabbit.core.RepositoryImpl.createPersistenceManager(RepositoryImpl.java:1375)
      	... 164 more
      

      Couldn't find anything on internet. The reported location of NPE invokes jdbcCompliant() API however on my dev. environment it always return true and does not allow to debug. So not sure what is causing this NPE.

      This is blocker for our app on UAT and blocking promotion to PROD.

      Attachments

        1. derby.log
          43 kB
          J P

        Activity

          People

            Unassigned Unassigned
            jayeshecs J P
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: