Details

    • Fix Priority:
      5

      Description

      Steps to reproduce:
      1. Run ant build-selenium-new on master portal source directory

      Expected results:
      No errors

      Actual results:
      Console exceptions are thrown.

      D:\github\private\master-portal\portal-impl>ant build-selenium-new
      Buildfile: D:\github\private\master-portal\portal-impl\build.xml
      
      build-selenium-new:
      
      build-selenium-new:
         [delete] Deleting directory D:\github\private\master-portal\portal-web\test\functional-generated
           [java] Loading file:/D:/github/private/master-portal/portal-impl/classes/system.properties
           [java] Loading file:/D:/github/private/master-portal/portal-impl/classes/system-ext.properties
           [java] Loading file:/D:/github/private/master-portal/portal-impl/classes/portal.properties
           [java] Loading file:/D:/github/private/master-portal/portal-impl/classes/portal-ext.properties
           [java] Loading file:/D:/github/private/master-portal/portal-impl/classes/com/liferay/portal/tools/dependencies/portal-tools.properties
           [java] Exception in thread "main" org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'com.liferay.portal.kernel.webdav.methods.MethodFactoryRegistryUtil' defined in class path resource [META-INF/util-spring.xml]: Cannot create inner bean 'com.liferay.portal.webdav.methods.MethodFactoryRegistryImpl#1a9f4cda' of type [com.liferay.portal.webdav.methods.MethodFactoryRegistryImpl] while setting bean property 'methodFactoryRegistry'; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'com.liferay.portal.webdav.methods.MethodFactoryRegistryImpl#1a9f4cda' defined in class path resource [META-INF/util-spring.xml]: Cannot create inner bean 'com.liferay.portal.webdav.methods.MethodFactoryImpl#5302067' of type [com.liferay.portal.webdav.methods.MethodFactoryImpl] while setting bean property 'defaultMethodFactory'; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'com.liferay.portal.webdav.methods.MethodFactoryImpl#5302067' defined in class path resource [META-INF/util-spring.xml]: Instantiation of bean failed; nested exception is org.springframework.beans.BeanInstantiationException: Could not instantiate bean class [com.liferay.portal.webdav.methods.MethodFactoryImpl]: Constructor threw exception; nested exception is java.lang.ExceptionInInitializerError
           [java]     at org.springframework.beans.factory.support.BeanDefinitionValueResolver.resolveInnerBean(BeanDefinitionValueResolver.java:281)
           [java]     at org.springframework.beans.factory.support.BeanDefinitionValueResolver.resolveValueIfNecessary(BeanDefinitionValueResolver.java:120)
           [java]     at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.applyPropertyValues(AbstractAutowireCapableBeanFactory.java:1327)
           [java]     at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.populateBean(AbstractAutowireCapableBeanFactory.java:1085)
           [java]     at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.doCreateBean(AbstractAutowireCapableBeanFactory.java:516)
           [java]     at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBean(AbstractAutowireCapableBeanFactory.java:455)
           [java]     at org.springframework.beans.factory.support.AbstractBeanFactory$1.getObject(AbstractBeanFactory.java:293)
           [java]     at org.springframework.beans.factory.support.DefaultSingletonBeanRegistry.getSingleton(DefaultSingletonBeanRegistry.java:222)
           [java]     at org.springframework.beans.factory.support.AbstractBeanFactory.doGetBean(AbstractBeanFactory.java:290)
           [java]     at org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:192)
           [java]     at org.springframework.beans.factory.support.DefaultListableBeanFactory.preInstantiateSingletons(DefaultListableBeanFactory.java:585)
           [java]     at org.springframework.context.support.AbstractApplicationContext.finishBeanFactoryInitialization(AbstractApplicationContext.java:895)
           [java]     at org.springframework.context.support.AbstractApplicationContext.refresh(AbstractApplicationContext.java:425)
           [java]     at org.springframework.context.support.ClassPathXmlApplicationContext.<init>(ClassPathXmlApplicationContext.java:139)
           [java]     at org.springframework.context.support.ClassPathXmlApplicationContext.<init>(ClassPathXmlApplicationContext.java:93)
           [java]     at com.liferay.portal.spring.context.ArrayApplicationContext.<init>(ArrayApplicationContext.java:31)
           [java]     at com.liferay.portal.spring.util.SpringUtil._loadContext(SpringUtil.java:61)
           [java]     at com.liferay.portal.spring.util.SpringUtil.loadContext(SpringUtil.java:55)
           [java]     at com.liferay.portal.util.InitUtil.initWithSpring(InitUtil.java:196)
           [java]     at com.liferay.portal.util.InitUtil.initWithSpring(InitUtil.java:169)
           [java]     at com.liferay.portal.tools.seleniumbuilder.SeleniumBuilder.main(SeleniumBuilder.java:38)
           [java] Caused by: org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'com.liferay.portal.webdav.methods.MethodFactoryRegistryImpl#1a9f4cda' defined in class path resource [META-INF/util-spring.xml]: Cannot create inner bean 'com.liferay.portal.webdav.methods.MethodFactoryImpl#5302067' of type [com.liferay.portal.webdav.methods.MethodFactoryImpl] while setting bean property 'defaultMethodFactory'; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'com.liferay.portal.webdav.methods.MethodFactoryImpl#5302067' defined in class path resource [META-INF/util-spring.xml]: Instantiation of bean failed; nested exception is org.springframework.beans.BeanInstantiationException: Could not instantiate bean class [com.liferay.portal.webdav.methods.MethodFactoryImpl]: Constructor threw exception; nested exception is java.lang.ExceptionInInitializerError
           [java]     at org.springframework.beans.factory.support.BeanDefinitionValueResolver.resolveInnerBean(BeanDefinitionValueResolver.java:281)
           [java]     at org.springframework.beans.factory.support.BeanDefinitionValueResolver.resolveValueIfNecessary(BeanDefinitionValueResolver.java:120)
           [java]     at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.applyPropertyValues(AbstractAutowireCapableBeanFactory.java:1327)
           [java]     at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.populateBean(AbstractAutowireCapableBeanFactory.java:1085)
           [java]     at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.doCreateBean(AbstractAutowireCapableBeanFactory.java:516)
           [java]     at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBean(AbstractAutowireCapableBeanFactory.java:455)
           [java]     at org.springframework.beans.factory.support.BeanDefinitionValueResolver.resolveInnerBean(BeanDefinitionValueResolver.java:270)
           [java]     ... 20 more
           [java] Caused by: org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'com.liferay.portal.webdav.methods.MethodFactoryImpl#5302067' defined in class path resource [META-INF/util-spring.xml]: Instantiation of bean failed; nested exception is org.springframework.beans.BeanInstantiationException: Could not instantiate bean class [com.liferay.portal.webdav.methods.MethodFactoryImpl]: Constructor threw exception; nested exception is java.lang.ExceptionInInitializerError
           [java]     at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.instantiateBean(AbstractAutowireCapableBeanFactory.java:964)
           [java]     at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBeanInstance(AbstractAutowireCapableBeanFactory.java:910)
           [java]     at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.doCreateBean(AbstractAutowireCapableBeanFactory.java:484)
           [java]     at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBean(AbstractAutowireCapableBeanFactory.java:455)
           [java]     at org.springframework.beans.factory.support.BeanDefinitionValueResolver.resolveInnerBean(BeanDefinitionValueResolver.java:270)
           [java]     ... 26 more
           [java] Caused by: org.springframework.beans.BeanInstantiationException: Could not instantiate bean class [com.liferay.portal.webdav.methods.MethodFactoryImpl]: Constructor threw exception; nested exception is java.lang.ExceptionInInitializerError
           [java]     at org.springframework.beans.BeanUtils.instantiateClass(BeanUtils.java:141)
           [java]     at org.springframework.beans.factory.support.SimpleInstantiationStrategy.instantiate(SimpleInstantiationStrategy.java:74)
           [java]     at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.instantiateBean(AbstractAutowireCapableBeanFactory.java:957)
           [java]     ... 30 more
           [java] Caused by: java.lang.ExceptionInInitializerError
           [java]     at com.liferay.portal.webdav.methods.BasePropMethodImpl.createQName(BasePropMethodImpl.java:71)
           [java]     at com.liferay.portal.webdav.methods.BasePropMethodImpl.<clinit>(BasePropMethodImpl.java:51)
           [java]     at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
           [java]     at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:57)
           [java]     at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:45)
           [java]     at java.lang.reflect.Constructor.newInstance(Constructor.java:526)
           [java]     at java.lang.Class.newInstance(Class.java:374)
           [java]     at com.liferay.portal.kernel.util.InstanceFactory.newInstance(InstanceFactory.java:63)
           [java]     at com.liferay.portal.kernel.util.InstanceFactory.newInstance(InstanceFactory.java:27)
           [java]     at com.liferay.portal.kernel.util.InstanceFactory.newInstance(InstanceFactory.java:68)
           [java]     at com.liferay.portal.webdav.methods.MethodFactoryImpl.addMethod(MethodFactoryImpl.java:69)
           [java]     at com.liferay.portal.webdav.methods.MethodFactoryImpl.<init>(MethodFactoryImpl.java:37)
           [java]     at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
           [java]     at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:57)
           [java]     at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:45)
           [java]     at java.lang.reflect.Constructor.newInstance(Constructor.java:526)
           [java]     at org.springframework.beans.BeanUtils.instantiateClass(BeanUtils.java:126)
           [java]     ... 32 more
           [java] Caused by: java.lang.NullPointerException: A registry instance was never set
           [java]     at com.liferay.registry.RegistryUtil.getRegistry(RegistryUtil.java:27)
           [java]     at com.liferay.portal.kernel.webdav.WebDAVUtil.<init>(WebDAVUtil.java:351)
           [java]     at com.liferay.portal.kernel.webdav.WebDAVUtil.<clinit>(WebDAVUtil.java:400)
           [java]     ... 49 more
      
      BUILD FAILED
      D:\github\private\master-portal\portal-impl\build.xml:633: The following error occurred while executing this line:
      D:\github\private\master-portal\portal-web\build.xml:903: Java returned: 1
      
      Total time: 9 seconds
      
      D:\github\private\master-portal\portal-impl>

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                robert.srisamang Robert Srisam-ang (Inactive)
                Reporter:
                robert.srisamang Robert Srisam-ang (Inactive)
                Participants of an Issue:
                Recent user:
                Esther Sanz
              • Votes:
                0 Vote for this issue
                Watchers:
                0 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved:
                  Days since last comment:
                  5 years, 1 week, 4 days ago