Uploaded image for project: 'PUBLIC - Liferay Social Office Community Edition'
  1. PUBLIC - Liferay Social Office Community Edition
  2. SOS-2346

NullPointerException while removing user from organization

    Details

    • Affects Portal Version/s:
      6.2.x
    • OS:
      Windows Server 2008
    • JDK:
      Oracle Sun JDK 7
    • Application Servers:
      Apache Tomcat 7.0
    • Browsers:
      Firefox 25, Internet Explorer 9
    • Databases:
      MariaDB 5.5
    • Device Type:
      Desktop

      Description

      This happens while removing user from organization or organization from SO access.

      Tried latest version from Marketplace and self-compilled version from git at commit fc0553c7d3b8daf4943fb289b406af4cd4b03dbd

      Here is exeption message while removing user from organization:

      16:33:13,775 ERROR [ajp-apr-8009-exec-14][render_portlet_jsp:132] null
      java.lang.NullPointerException
      at com.liferay.so.util.LayoutSetPrototypeUtil.removeLayoutSetPrototype(LayoutSetPrototypeUtil.java:97)
      at com.liferay.so.hook.listeners.UserListener.disableSocialOffice(UserListener.java:188)
      at com.liferay.so.hook.listeners.UserListener.onAfterRemoveAssociation(UserListener.java:162)
      at com.liferay.portal.kernel.bean.ClassLoaderBeanHandler.invoke(ClassLoaderBeanHandler.java:67)
      at com.liferay.portal.service.persistence.impl.TableMapperImpl.deleteTableMapping(TableMapperImpl.java:221)
      at com.liferay.portal.service.persistence.impl.ReverseTableMapper.deleteTableMapping(ReverseTableMapper.java:67)
      at com.liferay.portal.service.persistence.OrganizationPersistenceImpl.removeUsers(OrganizationPersistenceImpl.java:7703)
      at com.liferay.portal.service.impl.UserLocalServiceImpl.unsetOrganizationUsers(UserLocalServiceImpl.java:3679)
      at com.liferay.portal.spring.aop.ServiceBeanMethodInvocation.proceed(ServiceBeanMethodInvocation.java:115)
      at com.liferay.portal.spring.transaction.DefaultTransactionExecutor.execute(DefaultTransactionExecutor.java:62)
      at com.liferay.portal.spring.transaction.TransactionInterceptor.invoke(TransactionInterceptor.java:51)
      at com.liferay.portal.spring.aop.ServiceBeanMethodInvocation.proceed(ServiceBeanMethodInvocation.java:111)
      at com.liferay.portal.spring.aop.ServiceBeanAopProxy.invoke(ServiceBeanAopProxy.java:175)
      at com.liferay.portal.service.impl.UserServiceImpl.unsetOrganizationUsers(UserServiceImpl.java:1271)
      at com.liferay.portal.spring.aop.ServiceBeanMethodInvocation.proceed(ServiceBeanMethodInvocation.java:115)
      at com.liferay.portal.spring.transaction.DefaultTransactionExecutor.execute(DefaultTransactionExecutor.java:62)
      at com.liferay.portal.spring.transaction.TransactionInterceptor.invoke(TransactionInterceptor.java:51)
      at com.liferay.portal.spring.aop.ServiceBeanMethodInvocation.proceed(ServiceBeanMethodInvocation.java:111)
      at com.liferay.portal.spring.aop.ChainableMethodAdvice.invoke(ChainableMethodAdvice.java:56)
      at com.liferay.portal.spring.aop.ServiceBeanMethodInvocation.proceed(ServiceBeanMethodInvocation.java:111)

        Attachments

          Activity

            People

            • Votes:
              1 Vote for this issue
              Watchers:
              0 Start watching this issue

              Dates

              • Created:
                Updated:
                Days since last comment:
                4 years, 7 weeks, 3 days ago

                Packages

                Version Package