PUBLIC - Liferay Portal Community Edition
  1. PUBLIC - Liferay Portal Community Edition
  2. LPS-35230

After adding a Producer the user is unable to add a Consumer that uses the Producer that was created.

    Details

    • Branch Version/s:
      6.1.x
    • Backported to Branch:
      Committed
    • Story Points:
      4
    • Similar Issues:
      Show 5 results 

      Description

      Currently ee-6.1.x plugin for WSRP breaks on 6.1.20 EE GA2 portal but works with ee-6.1.x bundle at HEAD GIT ID: 11ae1ebbf52ad3a3d1178c5dbc7cd10d80fbeaea.

      After adding a Producer the user is unable to add a Consumer that uses the Producer that was created.
      Stack traces also display

      20:09:53,762 ERROR [http-bio-8080-exec-9][V2ServiceDescriptionServiceImpl:73] java.lang.NullPointerException
      java.lang.NullPointerException
      at com.liferay.wsrp.util.ExtensionHelperUtil.addMessageElement(ExtensionHelperUtil.java:36)
      at com.liferay.wsrp.bind.V2ServiceDescriptionServiceImpl.setExtensions(V2ServiceDescriptionServiceImpl.java:229)
      at com.liferay.wsrp.bind.V2ServiceDescriptionServiceImpl.getPortletDescription(V2ServiceDescriptionServiceImpl.java:179)
      at com.liferay.wsrp.bind.V2ServiceDescriptionServiceImpl.getPortletDescriptions(V2ServiceDescriptionServiceImpl.java:202)
      at com.liferay.wsrp.bind.V2ServiceDescriptionServiceImpl.doGetServiceDescription(V2ServiceDescriptionServiceImpl.java:99)
      at com.liferay.wsrp.bind.V2ServiceDescriptionServiceImpl.getServiceDescription(V2ServiceDescriptionServiceImpl.java:65)

        Activity

        Hide
        Mark Jin added a comment - - edited

        PASSED Manual Testing using the following steps:

        1. Start tomcat with WSRP plugin.
        2. Go to Control Panel/WSRP/Producers.
        3. Create a producer.
        4. Copy the URL.
        5. Go to Consumers tab.
        6. Create a consumer.

        Reproduced on:
        Tomcat 7.0 + MySQL 5. Portal 6.1.20 EE GA2.
        Plugins 6.1.x EE GIT ID: 2a490164137d0d47071d0f8848034fa554feb571.

        When users try save tomcat cause error message like:

        02:51:48,017 ERROR [http-bio-7080-exec-1][V2ServiceDescriptionServiceImpl:73] java.lang.NullPointerException
        java.lang.NullPointerException
                at com.liferay.wsrp.util.ExtensionHelperUtil.addMessageElement(ExtensionHelperUtil.java:36)
                at com.liferay.wsrp.bind.V2ServiceDescriptionServiceImpl.setExtensions(V2ServiceDescriptionServiceImpl.java:229)
        
                at com.liferay.wsrp.bind.V2ServiceDescriptionServiceImpl.getPortletDescription(V2ServiceDescriptionServiceImpl.j
        ava:179)
                at com.liferay.wsrp.bind.V2ServiceDescriptionServiceImpl.getPortletDescriptions(V2ServiceDescriptionServiceImpl.
        java:202)
                at com.liferay.wsrp.bind.V2ServiceDescriptionServiceImpl.doGetServiceDescription(V2ServiceDescriptionServiceImpl
        .java:99)
                at com.liferay.wsrp.bind.V2ServiceDescriptionServiceImpl.getServiceDescription(V2ServiceDescriptionServiceImpl.j
        ava:65)
                at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
                at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
                at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
                at java.lang.reflect.Method.invoke(Method.java:597)
                at org.apache.axis.providers.java.RPCProvider.invokeMethod(RPCProvider.java:397)
                at org.apache.axis.providers.java.RPCProvider.processMessage(RPCProvider.java:186)
                at org.apache.axis.providers.java.JavaProvider.invoke(JavaProvider.java:323)
                at org.apache.axis.strategies.InvocationStrategy.visit(InvocationStrategy.java:32)
                at org.apache.axis.SimpleChain.doVisiting(SimpleChain.java:118)
                at org.apache.axis.SimpleChain.invoke(SimpleChain.java:83)
                at org.apache.axis.handlers.soap.SOAPService.invoke(SOAPService.java:454)
                at org.apache.axis.server.AxisServer.invoke(AxisServer.java:281)
                at org.apache.axis.transport.http.AxisServlet.doPost(AxisServlet.java:699)
                at javax.servlet.http.HttpServlet.service(HttpServlet.java:641)
                at org.apache.axis.transport.http.AxisServletBase.service(AxisServletBase.java:327)
                at com.liferay.util.axis.AxisServlet.service(AxisServlet.java:178)
                at javax.servlet.http.HttpServlet.service(HttpServlet.java:722)
                at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:305)
                at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:210)
                at com.liferay.portal.kernel.servlet.filters.invoker.InvokerFilterChain.doFilter(InvokerFilterChain.java:72)
                at com.liferay.portal.kernel.servlet.filters.invoker.InvokerFilterChain.doFilter(InvokerFilterChain.java:116)
                at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
                at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
                at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
                at java.lang.reflect.Method.invoke(Method.java:597)
                at com.liferay.portal.kernel.bean.ClassLoaderBeanHandler.invoke(ClassLoaderBeanHandler.java:67)
                at $Proxy403.doFilter(Unknown Source)
                at com.liferay.portal.kernel.servlet.filters.invoker.InvokerFilterChain.doFilter(InvokerFilterChain.java:72)
                at com.liferay.portal.kernel.servlet.filters.invoker.InvokerFilterChain.processDirectCallFilter(InvokerFilterCha
        in.java:167)
                at com.liferay.portal.kernel.servlet.filters.invoker.InvokerFilterChain.doFilter(InvokerFilterChain.java:95)
                at com.liferay.portal.kernel.servlet.PortalClassLoaderFilter.doFilter(PortalClassLoaderFilter.java:70)
                at com.liferay.portal.kernel.servlet.filters.invoker.InvokerFilterChain.processDoFilter(InvokerFilterChain.java:
        206)
                at com.liferay.portal.kernel.servlet.filters.invoker.InvokerFilterChain.doFilter(InvokerFilterChain.java:108)
                at com.liferay.portal.kernel.servlet.BaseFilter.processFilter(BaseFilter.java:163)
                at com.liferay.util.axis.AxisCleanUpFilter.processFilter(AxisCleanUpFilter.java:48)
                at com.liferay.portal.kernel.servlet.BaseFilter.doFilter(BaseFilter.java:57)
                at com.liferay.portal.kernel.servlet.filters.invoker.InvokerFilterChain.processDoFilter(InvokerFilterChain.java:
        206)
                at com.liferay.portal.kernel.servlet.filters.invoker.InvokerFilterChain.doFilter(InvokerFilterChain.java:108)
                at com.liferay.portal.kernel.servlet.filters.invoker.InvokerFilter.doFilter(InvokerFilter.java:73)
                at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:243)
                at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:210)
                at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:225)
                at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:169)
                at org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:472)
                at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:168)
                at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:98)
                at org.apache.catalina.valves.AccessLogValve.invoke(AccessLogValve.java:927)
                at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:118)
                at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:407)
                at org.apache.coyote.http11.AbstractHttp11Processor.process(AbstractHttp11Processor.java:999)
                at org.apache.coyote.AbstractProtocol$AbstractConnectionHandler.process(AbstractProtocol.java:565)
                at org.apache.tomcat.util.net.JIoEndpoint$SocketProcessor.run(JIoEndpoint.java:307)
                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:619)
        

        Fixed on:
        Tomcat 7.0 + MySQL 5. Portal 6.1.20 EE GA2.
        Plugins 6.1.x EE GIT ID: f2901854969777f5113fe76ee5eccd02f1218b4a.
        Tomcat 7.0 + MySQL 5. Portal 6.2.x GIT ID: 18d957c01fcbdc3cecbc9af3b7b62ac22e238521.
        Plugins 6.2.x EE GIT ID: 16a652afc9921dfb319e01330fef084bbceda944.

        Users able to create consumer.

        Show
        Mark Jin added a comment - - edited PASSED Manual Testing using the following steps: Start tomcat with WSRP plugin. Go to Control Panel/WSRP/Producers. Create a producer. Copy the URL. Go to Consumers tab. Create a consumer. Reproduced on: Tomcat 7.0 + MySQL 5. Portal 6.1.20 EE GA2. Plugins 6.1.x EE GIT ID: 2a490164137d0d47071d0f8848034fa554feb571. When users try save tomcat cause error message like: 02:51:48,017 ERROR [http-bio-7080-exec-1][V2ServiceDescriptionServiceImpl:73] java.lang.NullPointerException java.lang.NullPointerException at com.liferay.wsrp.util.ExtensionHelperUtil.addMessageElement(ExtensionHelperUtil.java:36) at com.liferay.wsrp.bind.V2ServiceDescriptionServiceImpl.setExtensions(V2ServiceDescriptionServiceImpl.java:229) at com.liferay.wsrp.bind.V2ServiceDescriptionServiceImpl.getPortletDescription(V2ServiceDescriptionServiceImpl.j ava:179) at com.liferay.wsrp.bind.V2ServiceDescriptionServiceImpl.getPortletDescriptions(V2ServiceDescriptionServiceImpl. java:202) at com.liferay.wsrp.bind.V2ServiceDescriptionServiceImpl.doGetServiceDescription(V2ServiceDescriptionServiceImpl .java:99) at com.liferay.wsrp.bind.V2ServiceDescriptionServiceImpl.getServiceDescription(V2ServiceDescriptionServiceImpl.j ava:65) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) at java.lang.reflect.Method.invoke(Method.java:597) at org.apache.axis.providers.java.RPCProvider.invokeMethod(RPCProvider.java:397) at org.apache.axis.providers.java.RPCProvider.processMessage(RPCProvider.java:186) at org.apache.axis.providers.java.JavaProvider.invoke(JavaProvider.java:323) at org.apache.axis.strategies.InvocationStrategy.visit(InvocationStrategy.java:32) at org.apache.axis.SimpleChain.doVisiting(SimpleChain.java:118) at org.apache.axis.SimpleChain.invoke(SimpleChain.java:83) at org.apache.axis.handlers.soap.SOAPService.invoke(SOAPService.java:454) at org.apache.axis.server.AxisServer.invoke(AxisServer.java:281) at org.apache.axis.transport.http.AxisServlet.doPost(AxisServlet.java:699) at javax.servlet.http.HttpServlet.service(HttpServlet.java:641) at org.apache.axis.transport.http.AxisServletBase.service(AxisServletBase.java:327) at com.liferay.util.axis.AxisServlet.service(AxisServlet.java:178) at javax.servlet.http.HttpServlet.service(HttpServlet.java:722) at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:305) at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:210) at com.liferay.portal.kernel.servlet.filters.invoker.InvokerFilterChain.doFilter(InvokerFilterChain.java:72) at com.liferay.portal.kernel.servlet.filters.invoker.InvokerFilterChain.doFilter(InvokerFilterChain.java:116) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) at java.lang.reflect.Method.invoke(Method.java:597) at com.liferay.portal.kernel.bean.ClassLoaderBeanHandler.invoke(ClassLoaderBeanHandler.java:67) at $Proxy403.doFilter(Unknown Source) at com.liferay.portal.kernel.servlet.filters.invoker.InvokerFilterChain.doFilter(InvokerFilterChain.java:72) at com.liferay.portal.kernel.servlet.filters.invoker.InvokerFilterChain.processDirectCallFilter(InvokerFilterCha in.java:167) at com.liferay.portal.kernel.servlet.filters.invoker.InvokerFilterChain.doFilter(InvokerFilterChain.java:95) at com.liferay.portal.kernel.servlet.PortalClassLoaderFilter.doFilter(PortalClassLoaderFilter.java:70) at com.liferay.portal.kernel.servlet.filters.invoker.InvokerFilterChain.processDoFilter(InvokerFilterChain.java: 206) at com.liferay.portal.kernel.servlet.filters.invoker.InvokerFilterChain.doFilter(InvokerFilterChain.java:108) at com.liferay.portal.kernel.servlet.BaseFilter.processFilter(BaseFilter.java:163) at com.liferay.util.axis.AxisCleanUpFilter.processFilter(AxisCleanUpFilter.java:48) at com.liferay.portal.kernel.servlet.BaseFilter.doFilter(BaseFilter.java:57) at com.liferay.portal.kernel.servlet.filters.invoker.InvokerFilterChain.processDoFilter(InvokerFilterChain.java: 206) at com.liferay.portal.kernel.servlet.filters.invoker.InvokerFilterChain.doFilter(InvokerFilterChain.java:108) at com.liferay.portal.kernel.servlet.filters.invoker.InvokerFilter.doFilter(InvokerFilter.java:73) at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:243) at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:210) at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:225) at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:169) at org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:472) at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:168) at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:98) at org.apache.catalina.valves.AccessLogValve.invoke(AccessLogValve.java:927) at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:118) at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:407) at org.apache.coyote.http11.AbstractHttp11Processor.process(AbstractHttp11Processor.java:999) at org.apache.coyote.AbstractProtocol$AbstractConnectionHandler.process(AbstractProtocol.java:565) at org.apache.tomcat.util.net.JIoEndpoint$SocketProcessor.run(JIoEndpoint.java:307) 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:619) Fixed on: Tomcat 7.0 + MySQL 5. Portal 6.1.20 EE GA2. Plugins 6.1.x EE GIT ID: f2901854969777f5113fe76ee5eccd02f1218b4a. Tomcat 7.0 + MySQL 5. Portal 6.2.x GIT ID: 18d957c01fcbdc3cecbc9af3b7b62ac22e238521. Plugins 6.2.x EE GIT ID: 16a652afc9921dfb319e01330fef084bbceda944. Users able to create consumer.

          People

          • Assignee:
            Mark Jin
            Reporter:
            Shinn Lok
            Recent user:
            Esther Sanz
            Participants of an Issue:
          • Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved:
              Days since last comment:
              1 year, 38 weeks, 6 days ago

              Development

                Structure Helper Panel