Uploaded image for project: 'PUBLIC - Liferay Portal Community Edition'
  1. PUBLIC - Liferay Portal Community Edition
  2. LPS-67117

NPE: Cannot add more than one repeatable item to content with repeatable structure with JBoss

    Details

    • Story Points:
      1.25

      Description

      NPE: Cannot add more than one repeatable item to content with repeatable structure with JBoss (wildfly 10 or JBoss EAP 7.0) This problem does NOT exist for tomcat bundle.

      Download Liferay CE 7.0.1GA2 bundle for wildfly

      ie. liferay-ce-portal-wildfly-7.0-ga2-20160610113014153.zip

      Install as usual.

      • Create a Content structure with a a nested item that is repeatable
        (i.e. Text inside another text and set repeatable attribute to TRUE)
      • Create a new Content using this structure
      • Click to add more instances of the repeatable item

      The Add action does not complete successfully. Server log displays the following NPE.

      09:23:04,525 ERROR [default task-13][IncludeTag:128] Current URL /bonus/group/control_panel?refererPlid=20137&doAsGroupId=20147&p_l_id=20137&p_p_cacheability=cacheLevelPage&p_p_id=com_liferay_dynamic_data_mapping_web_portlet_DDMPortlet&p_p_isolated=1&p_p_lifecycle=2&p_p_resource_id=renderStructureField&p_p_state=pop_up&com_liferay_dynamic_data_mapping_web_portlet_DDMPortlet_fieldName=RepetableStuff&_com_liferay_dynamic_data_mapping_web_portlet_DDMPortlet_namespace=&_com_liferay_dynamic_data_mapping_web_portlet_DDMPortlet_portletNamespace=_com_liferay_journal_web_portlet_JournalPortlet generates exception: java.lang.NullPointerException
      java.lang.NullPointerException
      at com.liferay.portal.kernel.servlet.filters.invoker.InvokerFilter.getURI(InvokerFilter.java:262)
      at com.liferay.portal.kernel.servlet.filters.invoker.InvokerFilter.doFilter(InvokerFilter.java:70)
      at io.undertow.servlet.core.ManagedFilter.doFilter(ManagedFilter.java:61)
      at io.undertow.servlet.handlers.FilterHandler$FilterChainImpl.doFilter(FilterHandler.java:131)
      at io.undertow.servlet.handlers.FilterHandler.handleRequest(FilterHandler.java:84)
      at io.undertow.servlet.handlers.security.ServletSecurityRoleHandler.handleRequest(ServletSecurityRoleHandler.java:62)
      at io.undertow.jsp.JspFileHandler.handleRequest(JspFileHandler.java:32)
      at io.undertow.servlet.handlers.ServletDispatchingHandler.handleRequest(ServletDispatchingHandler.java:36)
      at io.undertow.server.handlers.PredicateHandler.handleRequest(PredicateHandler.java:43)
      at io.undertow.server.handlers.PredicateHandler.handleRequest(PredicateHandler.java:43)
      at io.undertow.server.handlers.PredicateHandler.handleRequest(PredicateHandler.java:43)
      at io.undertow.servlet.handlers.ServletInitialHandler.dispatchRequest(ServletInitialHandler.java:266)
      at io.undertow.servlet.handlers.ServletInitialHandler.dispatchToServlet(ServletInitialHandler.java:211)
      at io.undertow.servlet.spec.RequestDispatcherImpl.includeImpl(RequestDispatcherImpl.java:352)
      at io.undertow.servlet.spec.RequestDispatcherImpl.include(RequestDispatcherImpl.java:265)
      at com.liferay.portal.servlet.DirectServletPathRegisterDispatcher.include(DirectServletPathRegisterDispatcher.java:67)
      at com.liferay.portal.servlet.ClassLoaderRequestDispatcherWrapper.doDispatch(ClassLoaderRequestDispatcherWrapper.java:78)
      at com.liferay.portal.servlet.ClassLoaderRequestDispatcherWrapper.include(ClassLoaderRequestDispatcherWrapper.java:53)
      at com.liferay.taglib.util.IncludeTag.includePage(IncludeTag.java:380)
      at com.liferay.taglib.util.IncludeTag.include(IncludeTag.java:362)

        Attachments

          Activity

            People

            Assignee:
            shitian.zhang Shitian "Shelton" Zhang (Inactive)
            Reporter:
            naci@eteration.com Naci Dai
            Participants of an Issue:
            Recent user:
            Marta Elicegui
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Dates

              Created:
              Updated:
              Resolved:
              Days since last comment:
              4 years, 24 weeks, 1 day ago

                Packages

                Version Package
                Master