Uploaded image for project: 'Sakai'
  1. Sakai
  2. SAK-22008

NPE when 'org.theospi.portfolio.security.mgt.ToolPermissionManager.scaffoldingSpecific is created

    XMLWordPrintable

    Details

      Description

      Sakai trunk is currently failing to start with:

      org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'org.theospi.portfolio.security.model.BeanLoadCollector.integration' defined in file [/home/tomcat-nightly/sakai-demo-oracle/components/osp-integration-component/WEB-INF/components.xml]: Cannot resolve reference to bean 'matrixToolPermissionsMap' while setting bean property 'beans' with key [7]; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'matrixToolPermissionsMap' defined in file [/home/tomcat-nightly/sakai-demo-oracle/components/osp-matrix-component/WEB-INF/components.xml]: Cannot resolve reference to bean 'org.theospi.portfolio.security.mgt.ToolPermissionManager.scaffoldingSpecific' while setting bean property 'additionalTools' with key [TypedStringValue: value [scaffoldingSpecific], target type [null]]; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'org.theospi.portfolio.security.mgt.ToolPermissionManager.scaffoldingSpecific' defined in file [/home/tomcat-nightly/sakai-demo-oracle/components/osp-matrix-component/WEB-INF/components.xml]: Invocation of init method failed; nested exception is java.lang.NullPointerException
      at org.springframework.beans.factory.support.BeanDefinitionValueResolver.resolveReference(BeanDefinitionValueResolver.java:275)
      at org.springframework.beans.factory.support.BeanDefinitionValueResolver.resolveValueIfNecessary(BeanDefinitionValueResolver.java:104)
      at org.springframework.beans.factory.support.BeanDefinitionValueResolver.resolveManagedList(BeanDefinitionValueResolver.java:287)
      at org.springframework.beans.factory.support.BeanDefinitionValueResolver.resolveValueIfNecessary(BeanDefinitionValueResolver.java:126)
      at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.applyPropertyValues(AbstractAutowireCapableBeanFactory.java:1245)
      at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.populateBean(AbstractAutowireCapableBeanFactory.java:1010)
      at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.doCreateBean(AbstractAutowireCapableBeanFactory.java:472)
      at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory$1.run(AbstractAutowireCapableBeanFactory.java:409)
      at java.security.AccessController.doPrivileged(Native Method)
      at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBean(AbstractAutowireCapableBeanFactory.java:380)
      at org.springframework.beans.factory.support.AbstractBeanFactory$1.getObject(AbstractBeanFactory.java:264)
      at org.springframework.beans.factory.support.DefaultSingletonBeanRegistry.getSingleton(DefaultSingletonBeanRegistry.java:222)
      at org.springframework.beans.factory.support.AbstractBeanFactory.doGetBean(AbstractBeanFactory.java:261)
      at org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:185)
      at org.sakaiproject.util.NoisierDefaultListableBeanFactory.getBean(NoisierDefaultListableBeanFactory.java:112)
      at org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:164)
      at org.sakaiproject.util.NoisierDefaultListableBeanFactory.preInstantiateSingletons(NoisierDefaultListableBeanFactory.java:73)
      at org.springframework.context.support.AbstractApplicationContext.finishBeanFactoryInitialization(AbstractApplicationContext.java:728)
      at org.springframework.context.support.AbstractApplicationContext.refresh(AbstractApplicationContext.java:380)
      at org.sakaiproject.component.impl.SpringCompMgr.init(SpringCompMgr.java:160)
      at org.sakaiproject.component.cover.ComponentManager.getInstance(ComponentManager.java:106)
      at org.sakaiproject.component.cover.ComponentManager.get(ComponentManager.java:117)
      at org.sakaiproject.component.cover.ServerConfigurationService.getInstance(ServerConfigurationService.java:52)
      at org.sakaiproject.component.cover.ServerConfigurationService.getSakaiHomePath(ServerConfigurationService.java:173)
      at org.sakaiproject.util.ToolListener.contextInitialized(ToolListener.java:66)
      at org.apache.catalina.core.StandardContext.listenerStart(StandardContext.java:4723)
      at org.apache.catalina.core.StandardContext$1.call(StandardContext.java:5226)
      at org.apache.catalina.core.StandardContext$1.call(StandardContext.java:5221)
      at java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:303)
      at java.util.concurrent.FutureTask.run(FutureTask.java:138)
      at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:886)
      at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:908)
      at java.lang.Thread.run(Thread.java:662)

        Gliffy Diagrams

          Zeplin

            Attachments

              Issue Links

                Activity

                  People

                  • Assignee:
                    osp-jira OSP Jira Team (Inactive)
                    Reporter:
                    buckett Matthew Buckett
                  • Votes:
                    0 Vote for this issue
                    Watchers:
                    0 Start watching this issue

                    Dates

                    • Created:
                      Updated:
                      Resolved:

                      Git Integration