Combination View Flat View Tree View
Threads [ Previous | Next ]
toggle
Nestor cruz
IPC ERROR
October 9, 2017 9:04 AM
Answer

Nestor cruz

Rank: Junior Member

Posts: 26

Join Date: February 14, 2015

Recent Posts

Greetings community

I am currently using IPC in JSF but I am throwing this error

  115:38:45,525 ERROR [ExceptionHandlerAjaxImpl:75] #{usuarioBacking.editarUsuario}: java.lang.ClassCastException: com.liferay.faces.bridge.ext.filter.internal.ResourceResponseBridgeLiferayImpl cannot be cast to javax.portlet.ActionResponse
  2javax.faces.FacesException: #{usuarioBacking.editarUsuario}: java.lang.ClassCastException: com.liferay.faces.bridge.ext.filter.internal.ResourceResponseBridgeLiferayImpl cannot be cast to javax.portlet.ActionResponse
  3    at com.sun.faces.lifecycle.InvokeApplicationPhase.execute(InvokeApplicationPhase.java:89)
  4    at com.sun.faces.lifecycle.Phase.doPhase(Phase.java:101)
  5    at com.sun.faces.lifecycle.LifecycleImpl.execute(LifecycleImpl.java:198)
  6    at com.liferay.faces.bridge.internal.BridgePhaseResourceImpl.execute(BridgePhaseResourceImpl.java:268)
  7    at com.liferay.faces.bridge.internal.BridgeImpl.doFacesRequest(BridgeImpl.java:158)
  8    at javax.portlet.faces.GenericFacesPortlet.serveResource(GenericFacesPortlet.java:546)
  9    at com.liferay.portlet.FilterChainImpl.doFilter(FilterChainImpl.java:122)
 10    at com.liferay.portlet.ScriptDataPortletFilter.doFilter(ScriptDataPortletFilter.java:85)
 11    at com.liferay.portlet.FilterChainImpl.doFilter(FilterChainImpl.java:116)
 12    at com.liferay.portal.kernel.portlet.PortletFilterUtil.doFilter(PortletFilterUtil.java:71)
 13    at com.liferay.portal.kernel.servlet.PortletServlet.service(PortletServlet.java:107)
 14    at javax.servlet.http.HttpServlet.service(HttpServlet.java:729)
 15    at com.liferay.portal.osgi.web.wab.extender.internal.adapter.ServletExceptionAdapter.service(ServletExceptionAdapter.java:68)
 16    at org.eclipse.equinox.http.servlet.internal.registration.EndpointRegistration.service(EndpointRegistration.java:153)
 17    at org.eclipse.equinox.http.servlet.internal.servlet.FilterChainImpl.doFilter(FilterChainImpl.java:50)
 18    at com.liferay.portal.kernel.servlet.filters.invoker.InvokerFilterChain.doFilter(InvokerFilterChain.java:119)
 19    at com.liferay.portal.kernel.servlet.filters.invoker.InvokerFilter.doFilter(InvokerFilter.java:99)
 20    at com.liferay.portal.osgi.web.wab.extender.internal.adapter.FilterExceptionAdapter.doFilter(FilterExceptionAdapter.java:46)
 21    at org.eclipse.equinox.http.servlet.internal.registration.FilterRegistration.doFilter(FilterRegistration.java:121)
 22    at org.eclipse.equinox.http.servlet.internal.servlet.FilterChainImpl.doFilter(FilterChainImpl.java:45)
 23    at org.eclipse.equinox.http.servlet.internal.servlet.ResponseStateHandler.processRequest(ResponseStateHandler.java:70)
 24    at org.eclipse.equinox.http.servlet.internal.context.DispatchTargets.doDispatch(DispatchTargets.java:117)
 25    at org.eclipse.equinox.http.servlet.internal.servlet.RequestDispatcherAdaptor.forward(RequestDispatcherAdaptor.java:40)
 26    at com.liferay.portlet.InvokerPortletImpl.invoke(InvokerPortletImpl.java:527)
 27    at com.liferay.portlet.InvokerPortletImpl.invokeResource(InvokerPortletImpl.java:630)
 28    at com.liferay.portlet.InvokerPortletImpl.serveResource(InvokerPortletImpl.java:467)
 29    at com.liferay.portal.monitoring.internal.portlet.MonitoringInvokerPortlet.serveResource(MonitoringInvokerPortlet.java:303)
 30    at com.liferay.portlet.PortletContainerImpl._serveResource(PortletContainerImpl.java:839)
 31    at com.liferay.portlet.PortletContainerImpl.serveResource(PortletContainerImpl.java:176)
 32    at com.liferay.portlet.SecurityPortletContainerWrapper.serveResource(SecurityPortletContainerWrapper.java:165)
 33    at com.liferay.portlet.RestrictPortletContainerWrapper.serveResource(RestrictPortletContainerWrapper.java:173)
 34    at com.liferay.portal.kernel.portlet.PortletContainerUtil.serveResource(PortletContainerUtil.java:169)
 35    at com.liferay.portal.action.LayoutAction.processLayout(LayoutAction.java:303)
 36    at com.liferay.portal.action.LayoutAction.execute(LayoutAction.java:159)
 37    at org.apache.struts.action.RequestProcessor.processActionPerform(RequestProcessor.java:425)
 38    at org.apache.struts.action.RequestProcessor.process(RequestProcessor.java:228)
 39    at com.liferay.portal.struts.PortalRequestProcessor.process(PortalRequestProcessor.java:170)
 40    at org.apache.struts.action.ActionServlet.process(ActionServlet.java:1913)
 41    at org.apache.struts.action.ActionServlet.doPost(ActionServlet.java:462)
 42    at javax.servlet.http.HttpServlet.service(HttpServlet.java:648)
 43    at com.liferay.portal.servlet.MainServlet.callParentService(MainServlet.java:606)
 44    at com.liferay.portal.servlet.MainServlet.service(MainServlet.java:583)
 45    at javax.servlet.http.HttpServlet.service(HttpServlet.java:729)
 46    at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:292)
 47    at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:207)
 48    at org.apache.tomcat.websocket.server.WsFilter.doFilter(WsFilter.java:52)
 49    at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:240)
 50    at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:207)
 51    at com.liferay.portal.kernel.servlet.filters.invoker.InvokerFilterChain.doFilter(InvokerFilterChain.java:119)
 52    at com.liferay.portal.kernel.servlet.BaseFilter.processFilter(BaseFilter.java:142)
 53    at com.liferay.portal.servlet.filters.uploadservletrequest.UploadServletRequestFilter.processFilter(UploadServletRequestFilter.java:93)
 54    at com.liferay.portal.kernel.servlet.BaseFilter.doFilter(BaseFilter.java:48)
 55    at com.liferay.portal.kernel.servlet.filters.invoker.InvokerFilterChain.processDoFilter(InvokerFilterChain.java:207)
 56    at com.liferay.portal.kernel.servlet.filters.invoker.InvokerFilterChain.doFilter(InvokerFilterChain.java:112)
 57    at com.liferay.portal.kernel.servlet.BaseFilter.processFilter(BaseFilter.java:142)
 58    at com.liferay.portal.servlet.filters.secure.SecureFilter.processFilter(SecureFilter.java:337)
 59    at com.liferay.portal.kernel.servlet.BaseFilter.doFilter(BaseFilter.java:48)
 60    at com.liferay.portal.kernel.servlet.filters.invoker.InvokerFilterChain.processDoFilter(InvokerFilterChain.java:207)
 61    at com.liferay.portal.kernel.servlet.filters.invoker.InvokerFilterChain.doFilter(InvokerFilterChain.java:112)
 62    at com.liferay.portal.kernel.servlet.BaseFilter.processFilter(BaseFilter.java:142)
 63    at com.liferay.portal.servlet.filters.jsoncontenttype.JSONContentTypeFilter.processFilter(JSONContentTypeFilter.java:42)
 64    at com.liferay.portal.kernel.servlet.BaseFilter.doFilter(BaseFilter.java:48)
 65    at com.liferay.portal.kernel.servlet.filters.invoker.InvokerFilterChain.processDoFilter(InvokerFilterChain.java:207)
 66    at com.liferay.portal.kernel.servlet.filters.invoker.InvokerFilterChain.doFilter(InvokerFilterChain.java:112)
 67    at com.liferay.portal.kernel.servlet.BaseFilter.processFilter(BaseFilter.java:142)
 68    at com.liferay.portal.monitoring.internal.servlet.filter.MonitoringFilter.processFilter(MonitoringFilter.java:181)
 69    at com.liferay.portal.kernel.servlet.BaseFilter.doFilter(BaseFilter.java:48)
 70    at com.liferay.portal.kernel.servlet.filters.invoker.InvokerFilterChain.processDoFilter(InvokerFilterChain.java:207)
 71    at com.liferay.portal.kernel.servlet.filters.invoker.InvokerFilterChain.doFilter(InvokerFilterChain.java:112)
 72    at com.liferay.portal.kernel.servlet.filters.invoker.InvokerFilter.doFilter(InvokerFilter.java:99)
 73    at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:240)
 74    at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:207)
 75    at org.apache.catalina.core.ApplicationDispatcher.invoke(ApplicationDispatcher.java:720)
 76    at org.apache.catalina.core.ApplicationDispatcher.processRequest(ApplicationDispatcher.java:466)
 77    at org.apache.catalina.core.ApplicationDispatcher.doForward(ApplicationDispatcher.java:391)
 78    at org.apache.catalina.core.ApplicationDispatcher.forward(ApplicationDispatcher.java:318)
 79    at com.liferay.portal.servlet.FriendlyURLServlet.service(FriendlyURLServlet.java:170)
 80    at javax.servlet.http.HttpServlet.service(HttpServlet.java:729)
 81    at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:292)
 82    at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:207)
 83    at org.apache.tomcat.websocket.server.WsFilter.doFilter(WsFilter.java:52)
 84    at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:240)
 85    at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:207)
 86    at com.liferay.portal.kernel.servlet.filters.invoker.InvokerFilterChain.doFilter(InvokerFilterChain.java:119)
 87    at com.liferay.portal.kernel.servlet.BaseFilter.processFilter(BaseFilter.java:142)
 88    at com.liferay.portal.servlet.filters.uploadservletrequest.UploadServletRequestFilter.processFilter(UploadServletRequestFilter.java:93)
 89    at com.liferay.portal.kernel.servlet.BaseFilter.doFilter(BaseFilter.java:48)
 90    at com.liferay.portal.kernel.servlet.filters.invoker.InvokerFilterChain.processDoFilter(InvokerFilterChain.java:207)
 91    at com.liferay.portal.kernel.servlet.filters.invoker.InvokerFilterChain.doFilter(InvokerFilterChain.java:112)
 92    at com.liferay.portal.kernel.servlet.BaseFilter.processFilter(BaseFilter.java:142)
 93    at com.liferay.portal.servlet.filters.gzip.GZipFilter.processFilter(GZipFilter.java:125)
 94    at com.liferay.portal.kernel.servlet.BaseFilter.doFilter(BaseFilter.java:48)
 95    at com.liferay.portal.kernel.servlet.filters.invoker.InvokerFilterChain.processDoFilter(InvokerFilterChain.java:207)
 96    at com.liferay.portal.kernel.servlet.filters.invoker.InvokerFilterChain.doFilter(InvokerFilterChain.java:112)
 97    at com.liferay.portal.kernel.servlet.BaseFilter.processFilter(BaseFilter.java:142)
 98    at com.liferay.portal.servlet.filters.secure.SecureFilter.processFilter(SecureFilter.java:337)
 99    at com.liferay.portal.kernel.servlet.BaseFilter.doFilter(BaseFilter.java:48)
100    at com.liferay.portal.kernel.servlet.filters.invoker.InvokerFilterChain.processDoFilter(InvokerFilterChain.java:207)
101    at com.liferay.portal.kernel.servlet.filters.invoker.InvokerFilterChain.doFilter(InvokerFilterChain.java:112)
102    at com.liferay.portal.kernel.servlet.BaseFilter.processFilter(BaseFilter.java:142)
103    at com.liferay.portal.servlet.filters.i18n.I18nFilter.processFilter(I18nFilter.java:364)
104    at com.liferay.portal.kernel.servlet.BaseFilter.doFilter(BaseFilter.java:48)
105    at com.liferay.portal.kernel.servlet.filters.invoker.InvokerFilterChain.processDoFilter(InvokerFilterChain.java:207)
106    at com.liferay.portal.kernel.servlet.filters.invoker.InvokerFilterChain.doFilter(InvokerFilterChain.java:112)
107    at com.liferay.portal.kernel.servlet.BaseFilter.processFilter(BaseFilter.java:142)
108    at com.liferay.portal.servlet.filters.jsoncontenttype.JSONContentTypeFilter.processFilter(JSONContentTypeFilter.java:42)
109    at com.liferay.portal.kernel.servlet.BaseFilter.doFilter(BaseFilter.java:48)
110    at com.liferay.portal.kernel.servlet.filters.invoker.InvokerFilterChain.processDoFilter(InvokerFilterChain.java:207)
111    at com.liferay.portal.kernel.servlet.filters.invoker.InvokerFilterChain.doFilter(InvokerFilterChain.java:112)
112    at com.liferay.portal.kernel.servlet.BaseFilter.processFilter(BaseFilter.java:142)
113    at com.liferay.portal.servlet.filters.autologin.AutoLoginFilter.processFilter(AutoLoginFilter.java:261)
114    at com.liferay.portal.kernel.servlet.BaseFilter.doFilter(BaseFilter.java:48)
115    at com.liferay.portal.kernel.servlet.filters.invoker.InvokerFilterChain.processDoFilter(InvokerFilterChain.java:207)
116    at com.liferay.portal.kernel.servlet.filters.invoker.InvokerFilterChain.doFilter(InvokerFilterChain.java:112)
117    at com.liferay.portal.kernel.servlet.BaseFilter.processFilter(BaseFilter.java:142)
118    at com.liferay.portal.sharepoint.SharepointFilter.processFilter(SharepointFilter.java:88)
119    at com.liferay.portal.kernel.servlet.BaseFilter.doFilter(BaseFilter.java:48)
120    at com.liferay.portal.kernel.servlet.filters.invoker.InvokerFilterChain.processDoFilter(InvokerFilterChain.java:207)
121    at com.liferay.portal.kernel.servlet.filters.invoker.InvokerFilterChain.doFilter(InvokerFilterChain.java:112)
122    at com.liferay.portal.kernel.servlet.BaseFilter.processFilter(BaseFilter.java:142)
123    at com.liferay.portal.servlet.filters.virtualhost.VirtualHostFilter.processFilter(VirtualHostFilter.java:265)
124    at com.liferay.portal.kernel.servlet.BaseFilter.doFilter(BaseFilter.java:48)
125    at com.liferay.portal.kernel.servlet.filters.invoker.InvokerFilterChain.processDoFilter(InvokerFilterChain.java:207)
126    at com.liferay.portal.kernel.servlet.filters.invoker.InvokerFilterChain.doFilter(InvokerFilterChain.java:112)
127    at com.liferay.portal.kernel.servlet.BaseFilter.processFilter(BaseFilter.java:142)
128    at com.liferay.portal.monitoring.internal.servlet.filter.MonitoringFilter.processFilter(MonitoringFilter.java:181)
129    at com.liferay.portal.kernel.servlet.BaseFilter.doFilter(BaseFilter.java:48)
130    at com.liferay.portal.kernel.servlet.filters.invoker.InvokerFilterChain.processDoFilter(InvokerFilterChain.java:207)
131    at com.liferay.portal.kernel.servlet.filters.invoker.InvokerFilterChain.doFilter(InvokerFilterChain.java:112)
132    at com.liferay.portal.kernel.servlet.filters.invoker.InvokerFilterChain.processDirectCallFilter(InvokerFilterChain.java:188)
133    at com.liferay.portal.kernel.servlet.filters.invoker.InvokerFilterChain.doFilter(InvokerFilterChain.java:96)
134    at com.liferay.portal.kernel.servlet.filters.invoker.InvokerFilterChain.processDirectCallFilter(InvokerFilterChain.java:188)
135    at com.liferay.portal.kernel.servlet.filters.invoker.InvokerFilterChain.doFilter(InvokerFilterChain.java:96)
136    at org.tuckey.web.filters.urlrewrite.RuleChain.handleRewrite(RuleChain.java:176)
137    at org.tuckey.web.filters.urlrewrite.RuleChain.doRules(RuleChain.java:145)
138    at org.tuckey.web.filters.urlrewrite.UrlRewriter.processRequest(UrlRewriter.java:92)
139    at org.tuckey.web.filters.urlrewrite.UrlRewriteFilter.doFilter(UrlRewriteFilter.java:394)
140    at com.liferay.portal.servlet.filters.urlrewrite.UrlRewriteFilter.processFilter(UrlRewriteFilter.java:65)
141    at com.liferay.portal.kernel.servlet.BaseFilter.doFilter(BaseFilter.java:48)
142    at com.liferay.portal.kernel.servlet.filters.invoker.InvokerFilterChain.processDoFilter(InvokerFilterChain.java:207)
143    at com.liferay.portal.kernel.servlet.filters.invoker.InvokerFilterChain.doFilter(InvokerFilterChain.java:112)
144    at com.liferay.portal.kernel.servlet.filters.invoker.InvokerFilterChain.processDirectCallFilter(InvokerFilterChain.java:168)
145    at com.liferay.portal.kernel.servlet.filters.invoker.InvokerFilterChain.doFilter(InvokerFilterChain.java:96)
146    at com.liferay.portal.kernel.servlet.filters.invoker.InvokerFilterChain.processDirectCallFilter(InvokerFilterChain.java:168)
147    at com.liferay.portal.kernel.servlet.filters.invoker.InvokerFilterChain.doFilter(InvokerFilterChain.java:96)
148    at com.liferay.portal.kernel.servlet.filters.invoker.InvokerFilterChain.processDirectCallFilter(InvokerFilterChain.java:188)
149    at com.liferay.portal.kernel.servlet.filters.invoker.InvokerFilterChain.doFilter(InvokerFilterChain.java:96)
150    at com.liferay.portal.kernel.servlet.filters.invoker.InvokerFilter.doFilter(InvokerFilter.java:99)
151    at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:240)
152    at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:207)
153    at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:212)
154    at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:106)
155    at org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:502)
156    at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:141)
157    at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:79)
158    at org.apache.catalina.valves.AbstractAccessLogValve.invoke(AbstractAccessLogValve.java:616)
159    at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:88)
160    at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:522)
161    at org.apache.coyote.http11.AbstractHttp11Processor.process(AbstractHttp11Processor.java:1095)
162    at org.apache.coyote.AbstractProtocol$AbstractConnectionHandler.process(AbstractProtocol.java:672)
163    at org.apache.tomcat.util.net.NioEndpoint$SocketProcessor.doRun(NioEndpoint.java:1500)
164    at org.apache.tomcat.util.net.NioEndpoint$SocketProcessor.run(NioEndpoint.java:1456)
165    at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1149)
166    at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624)
167    at org.apache.tomcat.util.threads.TaskThread$WrappingRunnable.run(TaskThread.java:61)
168    at java.lang.Thread.run(Thread.java:748)
169Caused by: javax.faces.FacesException: #{usuarioBacking.editarUsuario}: java.lang.ClassCastException: com.liferay.faces.bridge.ext.filter.internal.ResourceResponseBridgeLiferayImpl cannot be cast to javax.portlet.ActionResponse
170    at com.sun.faces.application.ActionListenerImpl.processAction(ActionListenerImpl.java:118)
171    at javax.faces.component.UICommand.broadcast(UICommand.java:315)
172    at com.liferay.faces.alloy.component.commandbutton.SplitCommandButton.broadcast(SplitCommandButton.java:75)
173    at javax.faces.component.UIData.broadcast(UIData.java:1108)
174    at javax.faces.component.UIViewRoot.broadcastEvents(UIViewRoot.java:790)
175    at javax.faces.component.UIViewRoot.processApplication(UIViewRoot.java:1282)
176    at com.sun.faces.lifecycle.InvokeApplicationPhase.execute(InvokeApplicationPhase.java:81)
177    ... 165 more
178Caused by: javax.faces.el.EvaluationException: java.lang.ClassCastException: com.liferay.faces.bridge.ext.filter.internal.ResourceResponseBridgeLiferayImpl cannot be cast to javax.portlet.ActionResponse
179    at javax.faces.component.MethodBindingMethodExpressionAdapter.invoke(MethodBindingMethodExpressionAdapter.java:101)
180    at com.sun.faces.application.ActionListenerImpl.processAction(ActionListenerImpl.java:102)
181    ... 171 more
182Caused by: java.lang.ClassCastException: com.liferay.faces.bridge.ext.filter.internal.ResourceResponseBridgeLiferayImpl cannot be cast to javax.portlet.ActionResponse
183    at com.munaysoft.factura.cliente.backing.UsuarioBacking.editarUsuario(UsuarioBacking.java:177)
184    at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
185    at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
186    at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
187    at java.lang.reflect.Method.invoke(Method.java:498)
188    at com.sun.el.parser.AstValue.invoke(AstValue.java:292)
189    at com.sun.el.MethodExpressionImpl.invoke(MethodExpressionImpl.java:304)
190    at com.sun.faces.facelets.el.TagMethodExpression.invoke(TagMethodExpression.java:105)
191    at javax.faces.component.MethodBindingMethodExpressionAdapter.invoke(MethodBindingMethodExpressionAdapter.java:87)
192    ... 172 more


This is the configuration of the portlet.xml file
 1<portlet-app xmlns="http://java.sun.com/xml/ns/portlet/portlet-app_2_0.xsd"
 2    xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
 3    xsi:schemaLocation="http://java.sun.com/xml/ns/portlet/portlet-app_2_0.xsd http://java.sun.com/xml/ns/portlet/portlet-app_2_0.xsd"
 4    version="2.0">
 5    <portlet>
 6        <portlet-name>cliente</portlet-name>
 7        <display-name>Cliente-Portlet</display-name>
 8        <portlet-class>javax.portlet.faces.GenericFacesPortlet</portlet-class>
 9
10        <init-param>
11            <name>javax.portlet.faces.defaultViewId.view</name>
12            <value>/WEB-INF/views/view.xhtml</value>
13        </init-param>
14        <init-param>
15            <name>javax.portlet.faces.defaultViewId.edit</name>
16            <value>/WEB-INF/views/edit.xhtml</value>
17        </init-param>
18        <expiration-cache>0</expiration-cache>
19        <supports>
20            <mime-type>text/html</mime-type>
21            <portlet-mode>view</portlet-mode>
22            <portlet-mode>edit</portlet-mode>
23        </supports>
24        <portlet-info>
25            <title>Cliente-Portlet</title>
26            <short-title>Cliente-Portlet</short-title>
27            <keywords>Cliente-Portlet</keywords>
28        </portlet-info>
29
30        <security-role-ref>
31            <role-name>administrator</role-name>
32        </security-role-ref>
33        <security-role-ref>
34            <role-name>guest</role-name>
35        </security-role-ref>
36        <security-role-ref>
37            <role-name>power-user</role-name>
38        </security-role-ref>
39        <security-role-ref>
40            <role-name>user</role-name>
41        </security-role-ref>
42        <supported-publishing-event>
43            <qname xmlns:x="http://liferay.com/events">x:ipc.clienteId</qname>
44        </supported-publishing-event>
45
46    </portlet>
47    <event-definition>
48        <qname xmlns:x="http://liferay.com/events">x:ipc.clienteId</qname>
49        <value-type>java.lang.String</value-type>
50    </event-definition>
51</portlet-app>


The configuration of pom.xml
  1<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
  2    xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/maven-v4_0_0.xsd">
  3    <modelVersion>4.0.0</modelVersion>
  4   
  5    <groupId>com.munaysoft.factura</groupId>
  6    <artifactId>cliente</artifactId>
  7    <packaging>war</packaging>
  8    <name>cliente</name>
  9    <version>1.0-SNAPSHOT</version>
 10    <properties>
 11        <faces.api.version>2.2</faces.api.version>
 12        <liferay.faces.bridge.ext.version>5.0.0</liferay.faces.bridge.ext.version>
 13        <liferay.faces.bridge.version>4.0.0</liferay.faces.bridge.version>
 14        <mojarra.version>2.2.13</mojarra.version>
 15    </properties>
 16    <build>
 17        <plugins>
 18            <plugin>
 19                <artifactId>maven-compiler-plugin</artifactId>
 20                <version>3.3</version>
 21                <configuration>
 22                    <encoding>UTF-8</encoding>
 23                    <source>1.8</source>
 24                    <target>1.8</target>
 25                </configuration>
 26            </plugin>
 27            <plugin>
 28                <artifactId>maven-war-plugin</artifactId>
 29                <version>2.3</version>
 30                <configuration>
 31                    <filteringDeploymentDescriptors>true</filteringDeploymentDescriptors>
 32                    <outputDirectory>${carpeta.deploy}</outputDirectory>
 33                </configuration>
 34            </plugin>
 35        </plugins>
 36    </build>
 37    <dependencies>
 38        <dependency>
 39            <groupId>commons-fileupload</groupId>
 40            <artifactId>commons-fileupload</artifactId>
 41            <version>1.3.1</version>
 42            <optional>true</optional>
 43        </dependency>
 44        <dependency>
 45            <groupId>commons-io</groupId>
 46            <artifactId>commons-io</artifactId>
 47            <version>2.4</version>
 48            <optional>true</optional>
 49        </dependency>
 50        <dependency>
 51            <groupId>javax.faces</groupId>
 52            <artifactId>javax.faces-api</artifactId>
 53            <version>${faces.api.version}</version>
 54            <scope>provided</scope>
 55        </dependency>
 56        <dependency>
 57            <groupId>org.glassfish</groupId>
 58            <artifactId>javax.faces</artifactId>
 59            <version>${mojarra.version}</version>
 60            <scope>runtime</scope>
 61        </dependency>
 62        <dependency>
 63            <groupId>com.liferay.faces</groupId>
 64            <artifactId>com.liferay.faces.bridge.ext</artifactId>
 65            <version>${liferay.faces.bridge.ext.version}</version>
 66        </dependency>
 67        <dependency>
 68            <groupId>com.liferay.faces</groupId>
 69            <artifactId>com.liferay.faces.bridge.impl</artifactId>
 70            <version>${liferay.faces.bridge.version}</version>
 71        </dependency>
 72        <dependency>
 73            <groupId>log4j</groupId>
 74            <artifactId>log4j</artifactId>
 75            <version>1.2.14</version>
 76        </dependency>
 77        <dependency>
 78            <groupId>org.primefaces</groupId>
 79            <artifactId>primefaces</artifactId>
 80            <version>6.0</version>
 81        </dependency>
 82        <dependency>
 83            <groupId>com.liferay.faces</groupId>
 84            <artifactId>com.liferay.faces.alloy</artifactId>
 85            <version>3.0.0</version>
 86        </dependency>
 87
 88        <!-- Dependencias tomadas desde los demos -->
 89        <dependency>
 90            <groupId>com.liferay.faces</groupId>
 91            <artifactId>com.liferay.faces.portal</artifactId>
 92            <version>3.0.0</version>
 93        </dependency>
 94        <dependency>
 95            <groupId>com.liferay.portal</groupId>
 96            <artifactId>com.liferay.portal.kernel</artifactId>
 97            <version>2.3.0</version>
 98            <scope>provided</scope>
 99        </dependency>
100        <!--Esta libreria le estoy utilizando para el manejo de ipc -->
101
102        <dependency>
103            <groupId>javax.portlet</groupId>
104            <artifactId>portlet-api</artifactId>
105            <version>2.0</version>
106            <scope>provided</scope>
107        </dependency>
108        <dependency>
109            <groupId>javax.servlet</groupId>
110            <artifactId>javax.servlet-api</artifactId>
111            <version>3.0.1</version>
112            <scope>provided</scope>
113        </dependency>
114        <dependency>
115            <groupId>javax.el</groupId>
116            <artifactId>javax.el-api</artifactId>
117            <version>2.2.1</version>
118            <scope>provided</scope>
119        </dependency>
120        <dependency>
121            <groupId>javax.annotation</groupId>
122            <artifactId>javax.annotation-api</artifactId>
123            <version>1.2</version>
124            <scope>provided</scope>
125        </dependency>
126
127        <!-- Dependencias locales -->
128        <dependency>
129            <groupId>com.nestorcruz</groupId>
130            <artifactId>com.nestorcruz.sb-api</artifactId>
131            <version>1.0-SNAPSHOT</version>
132            <scope>provided</scope>
133        </dependency>
134        <dependency>
135            <groupId>org.primefaces.themes</groupId>
136            <artifactId>all-themes</artifactId>
137            <version>1.0.10</version>
138        </dependency>
139
140    </dependencies>
141
142    <repositories>
143        <repository>
144            <id>prime-repo</id>
145            <name>PrimeFaces Maven Repository</name>
146            <url>http://repository.primefaces.org</url>
147            <layout>default</layout>
148        </repository>
149    </repositories>
150</project>


And this is the java code that is generating the error
 1public void editarUsuario(){
 2        setSelectClienteId(Long.toString(getSeleccionUsuario().getUserId()));
 3       
 4        QName qName = new QName("http://liferay.com/events", "ipc.clienteId");
 5        ExternalContext externalContext = FacesContext.getCurrentInstance().getExternalContext();
 6        ActionResponse actionResponse = (ActionResponse) externalContext.getResponse();
 7
 8        Serializable eventPayload = getSelectClienteId();
 9
10        actionResponse.setEvent(qName, eventPayload);
11       
12    }



I'm making use of liferay 7.0-ga4-20170613175008905

Thank you in advance for your prompt assistance and your comments.
Kyle Joseph Stiemann
RE: IPC ERROR
October 9, 2017 9:54 AM
Answer

Kyle Joseph Stiemann

LIFERAY STAFF

Rank: Liferay Master

Posts: 578

Join Date: January 14, 2013

Recent Posts

Hi Nestor,
Are you trying to perform IPC during an Ajax request? Ajax IPC is not supported in Liferay 7.0 because it is not supported in Portlet 2.0 (Ajax IPC is supported in Portlet 3.0 through the Portlet Hub, so look forward to that emoticon). Disabling/removing Ajax from the component which initiates the IPC should fix your issue.

- Kyle
Nestor cruz
RE: IPC ERROR
October 9, 2017 7:39 PM
Answer

Nestor cruz

Rank: Junior Member

Posts: 26

Join Date: February 14, 2015

Recent Posts

Hi Kyle
Thank you for the prompt response, I comment that the above mentioned problem has been solved. but another error occurred in the view

  1An Error Occurred:
  2Error de argumento: el parámetro text es nulo
  3- Stack Trace
  4
  5java.lang.NullPointerException: Error de argumento: el parámetro text es nulo
  6    at com.sun.faces.renderkit.html_basic.HtmlResponseWriter.writeText(HtmlResponseWriter.java:949)
  7    at javax.faces.context.ResponseWriterWrapper.writeText(ResponseWriterWrapper.java:298)
  8    at com.liferay.faces.bridge.renderkit.primefaces.internal.PrimeFacesInlineScript.encodeBegin(PrimeFacesInlineScript.java:51)
  9    at javax.faces.component.UIComponent.encodeAll(UIComponent.java:1854)
 10    at com.liferay.faces.bridge.renderkit.html_basic.internal.BodyRendererBridgeImpl.encodeBegin(BodyRendererBridgeImpl.java:117)
 11    at javax.faces.component.UIComponentBase.encodeBegin(UIComponentBase.java:865)
 12    at javax.faces.component.UIComponent.encodeAll(UIComponent.java:1854)
 13    at javax.faces.component.UIComponent.encodeAll(UIComponent.java:1859)
 14    at com.sun.faces.application.view.FaceletViewHandlingStrategy.renderView(FaceletViewHandlingStrategy.java:458)
 15    at javax.faces.view.ViewDeclarationLanguageWrapper.renderView(ViewDeclarationLanguageWrapper.java:146)
 16    at com.sun.faces.application.view.MultiViewHandler.renderView(MultiViewHandler.java:134)
 17    at com.liferay.faces.bridge.application.internal.ViewHandlerCompatImpl.renderView(ViewHandlerCompatImpl.java:95)
 18    at com.sun.faces.lifecycle.RenderResponsePhase.execute(RenderResponsePhase.java:120)
 19    at com.sun.faces.lifecycle.Phase.doPhase(Phase.java:101)
 20    at com.sun.faces.lifecycle.LifecycleImpl.render(LifecycleImpl.java:219)
 21    at com.liferay.faces.bridge.internal.BridgePhaseRenderImpl.execute(BridgePhaseRenderImpl.java:238)
 22    at com.liferay.faces.bridge.internal.BridgePhaseRenderImpl.execute(BridgePhaseRenderImpl.java:93)
 23    at com.liferay.faces.bridge.internal.BridgeImpl.doFacesRequest(BridgeImpl.java:141)
 24    at javax.portlet.faces.GenericFacesPortlet.doView(GenericFacesPortlet.java:673)
 25    at javax.portlet.GenericPortlet.doDispatch(GenericPortlet.java:359)
 26    at javax.portlet.faces.GenericFacesPortlet.doDispatch(GenericFacesPortlet.java:589)
 27    at javax.portlet.GenericPortlet.render(GenericPortlet.java:262)
 28    at com.liferay.portlet.FilterChainImpl.doFilter(FilterChainImpl.java:103)
 29    at com.liferay.portlet.ScriptDataPortletFilter.doFilter(ScriptDataPortletFilter.java:57)
 30    at com.liferay.portlet.FilterChainImpl.doFilter(FilterChainImpl.java:100)
 31    at com.liferay.portal.kernel.portlet.PortletFilterUtil.doFilter(PortletFilterUtil.java:64)
 32    at com.liferay.portal.kernel.servlet.PortletServlet.service(PortletServlet.java:107)
 33    at javax.servlet.http.HttpServlet.service(HttpServlet.java:729)
 34    at com.liferay.portal.osgi.web.wab.extender.internal.adapter.ServletExceptionAdapter.service(ServletExceptionAdapter.java:68)
 35    at org.eclipse.equinox.http.servlet.internal.registration.EndpointRegistration.service(EndpointRegistration.java:153)
 36    at org.eclipse.equinox.http.servlet.internal.servlet.FilterChainImpl.doFilter(FilterChainImpl.java:50)
 37    at com.liferay.portal.kernel.servlet.filters.invoker.InvokerFilterChain.doFilter(InvokerFilterChain.java:119)
 38    at com.liferay.portal.kernel.servlet.filters.invoker.InvokerFilter.doFilter(InvokerFilter.java:99)
 39    at com.liferay.portal.osgi.web.wab.extender.internal.adapter.FilterExceptionAdapter.doFilter(FilterExceptionAdapter.java:46)
 40    at org.eclipse.equinox.http.servlet.internal.registration.FilterRegistration.doFilter(FilterRegistration.java:121)
 41    at org.eclipse.equinox.http.servlet.internal.servlet.FilterChainImpl.doFilter(FilterChainImpl.java:45)
 42    at org.eclipse.equinox.http.servlet.internal.servlet.ResponseStateHandler.processRequest(ResponseStateHandler.java:70)
 43    at org.eclipse.equinox.http.servlet.internal.context.DispatchTargets.doDispatch(DispatchTargets.java:117)
 44    at org.eclipse.equinox.http.servlet.internal.servlet.RequestDispatcherAdaptor.include(RequestDispatcherAdaptor.java:48)
 45    at com.liferay.portlet.InvokerPortletImpl.invoke(InvokerPortletImpl.java:530)
 46    at com.liferay.portlet.InvokerPortletImpl.invokeRender(InvokerPortletImpl.java:605)
 47    at com.liferay.portlet.InvokerPortletImpl.render(InvokerPortletImpl.java:391)
 48    at com.liferay.portal.monitoring.internal.portlet.MonitoringInvokerPortlet.render(MonitoringInvokerPortlet.java:265)
 49    at org.apache.jsp.html.portal.render_005fportlet_jsp._jspService(render_005fportlet_jsp.java:1580)
 50    at org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:70)
 51    at javax.servlet.http.HttpServlet.service(HttpServlet.java:729)
 52    at com.liferay.portal.servlet.DirectRequestDispatcher.include(DirectRequestDispatcher.java:64)
 53    at com.liferay.portal.servlet.ClassLoaderRequestDispatcherWrapper.doDispatch(ClassLoaderRequestDispatcherWrapper.java:78)
 54    at com.liferay.portal.servlet.ClassLoaderRequestDispatcherWrapper.include(ClassLoaderRequestDispatcherWrapper.java:53)
 55    at com.liferay.portlet.PortletContainerImpl._render(PortletContainerImpl.java:707)
 56    at com.liferay.portlet.PortletContainerImpl.render(PortletContainerImpl.java:162)
 57    at com.liferay.portlet.SecurityPortletContainerWrapper.render(SecurityPortletContainerWrapper.java:133)
 58    at com.liferay.portlet.RestrictPortletContainerWrapper.render(RestrictPortletContainerWrapper.java:133)
 59    at com.liferay.portal.kernel.portlet.PortletContainerUtil.render(PortletContainerUtil.java:161)
 60    at com.liferay.portal.layoutconfiguration.util.PortletRenderer._render(PortletRenderer.java:126)
 61    at com.liferay.portal.layoutconfiguration.util.PortletRenderer.render(PortletRenderer.java:73)
 62    at com.liferay.portal.layoutconfiguration.util.RuntimePageImpl.doProcessTemplate(RuntimePageImpl.java:444)
 63    at com.liferay.portal.layoutconfiguration.util.RuntimePageImpl.doDispatch(RuntimePageImpl.java:286)
 64    at com.liferay.portal.layoutconfiguration.util.RuntimePageImpl.processTemplate(RuntimePageImpl.java:113)
 65    at com.liferay.portal.layoutconfiguration.util.RuntimePageImpl.processTemplate(RuntimePageImpl.java:125)
 66    at com.liferay.portal.kernel.layoutconfiguration.util.RuntimePageUtil.processTemplate(RuntimePageUtil.java:70)
 67    at org.apache.jsp.html.portal.layout.view.portlet_jsp._jspService(portlet_jsp.java:755)
 68    at org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:70)
 69    at javax.servlet.http.HttpServlet.service(HttpServlet.java:729)
 70    at com.liferay.portal.servlet.DirectRequestDispatcher.include(DirectRequestDispatcher.java:64)
 71    at com.liferay.portal.servlet.ClassLoaderRequestDispatcherWrapper.doDispatch(ClassLoaderRequestDispatcherWrapper.java:78)
 72    at com.liferay.portal.servlet.ClassLoaderRequestDispatcherWrapper.include(ClassLoaderRequestDispatcherWrapper.java:53)
 73    at com.liferay.portal.model.impl.LayoutTypeControllerImpl.includeLayoutContent(LayoutTypeControllerImpl.java:168)
 74    at com.liferay.portal.model.impl.LayoutImpl.includeLayoutContent(LayoutImpl.java:897)
 75    at com.liferay.portal.action.LayoutAction.processLayout(LayoutAction.java:323)
 76    at com.liferay.portal.action.LayoutAction.execute(LayoutAction.java:159)
 77    at org.apache.struts.action.RequestProcessor.processActionPerform(RequestProcessor.java:425)
 78    at org.apache.struts.action.RequestProcessor.process(RequestProcessor.java:228)
 79    at com.liferay.portal.struts.PortalRequestProcessor.process(PortalRequestProcessor.java:170)
 80    at org.apache.struts.action.ActionServlet.process(ActionServlet.java:1913)
 81    at org.apache.struts.action.ActionServlet.doPost(ActionServlet.java:462)
 82    at javax.servlet.http.HttpServlet.service(HttpServlet.java:648)
 83    at com.liferay.portal.servlet.MainServlet.callParentService(MainServlet.java:606)
 84    at com.liferay.portal.servlet.MainServlet.service(MainServlet.java:583)
 85    at javax.servlet.http.HttpServlet.service(HttpServlet.java:729)
 86    at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:292)
 87    at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:207)
 88    at org.apache.tomcat.websocket.server.WsFilter.doFilter(WsFilter.java:52)
 89    at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:240)
 90    at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:207)
 91    at com.liferay.portal.kernel.servlet.filters.invoker.InvokerFilterChain.doFilter(InvokerFilterChain.java:119)
 92    at com.liferay.portal.kernel.servlet.BaseFilter.processFilter(BaseFilter.java:142)
 93    at com.liferay.portal.servlet.filters.uploadservletrequest.UploadServletRequestFilter.processFilter(UploadServletRequestFilter.java:93)
 94    at com.liferay.portal.kernel.servlet.BaseFilter.doFilter(BaseFilter.java:48)
 95    at com.liferay.portal.kernel.servlet.filters.invoker.InvokerFilterChain.processDoFilter(InvokerFilterChain.java:207)
 96    at com.liferay.portal.kernel.servlet.filters.invoker.InvokerFilterChain.doFilter(InvokerFilterChain.java:112)
 97    at com.liferay.portal.kernel.servlet.BaseFilter.processFilter(BaseFilter.java:142)
 98    at com.liferay.portal.servlet.filters.secure.SecureFilter.processFilter(SecureFilter.java:337)
 99    at com.liferay.portal.kernel.servlet.BaseFilter.doFilter(BaseFilter.java:48)
100    at com.liferay.portal.kernel.servlet.filters.invoker.InvokerFilterChain.processDoFilter(InvokerFilterChain.java:207)
101    at com.liferay.portal.kernel.servlet.filters.invoker.InvokerFilterChain.doFilter(InvokerFilterChain.java:112)
102    at com.liferay.portal.kernel.servlet.BaseFilter.processFilter(BaseFilter.java:142)
103    at com.liferay.portal.servlet.filters.jsoncontenttype.JSONContentTypeFilter.processFilter(JSONContentTypeFilter.java:42)
104    at com.liferay.portal.kernel.servlet.BaseFilter.doFilter(BaseFilter.java:48)
105    at com.liferay.portal.kernel.servlet.filters.invoker.InvokerFilterChain.processDoFilter(InvokerFilterChain.java:207)
106    at com.liferay.portal.kernel.servlet.filters.invoker.InvokerFilterChain.doFilter(InvokerFilterChain.java:112)
107    at com.liferay.portal.kernel.servlet.BaseFilter.processFilter(BaseFilter.java:142)
108    at com.liferay.portal.monitoring.internal.servlet.filter.MonitoringFilter.processFilter(MonitoringFilter.java:181)
109    at com.liferay.portal.kernel.servlet.BaseFilter.doFilter(BaseFilter.java:48)
110    at com.liferay.portal.kernel.servlet.filters.invoker.InvokerFilterChain.processDoFilter(InvokerFilterChain.java:207)
111    at com.liferay.portal.kernel.servlet.filters.invoker.InvokerFilterChain.doFilter(InvokerFilterChain.java:112)
112    at com.liferay.portal.kernel.servlet.filters.invoker.InvokerFilter.doFilter(InvokerFilter.java:99)
113    at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:240)
114    at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:207)
115    at org.apache.catalina.core.ApplicationDispatcher.invoke(ApplicationDispatcher.java:720)
116    at org.apache.catalina.core.ApplicationDispatcher.processRequest(ApplicationDispatcher.java:466)
117    at org.apache.catalina.core.ApplicationDispatcher.doForward(ApplicationDispatcher.java:391)
118    at org.apache.catalina.core.ApplicationDispatcher.forward(ApplicationDispatcher.java:318)
119    at com.liferay.portal.servlet.FriendlyURLServlet.service(FriendlyURLServlet.java:170)
120    at javax.servlet.http.HttpServlet.service(HttpServlet.java:729)
121    at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:292)
122    at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:207)
123    at org.apache.tomcat.websocket.server.WsFilter.doFilter(WsFilter.java:52)
124    at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:240)
125    at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:207)
126    at com.liferay.portal.kernel.servlet.filters.invoker.InvokerFilterChain.doFilter(InvokerFilterChain.java:119)
127    at com.liferay.portal.kernel.servlet.BaseFilter.processFilter(BaseFilter.java:142)
128    at com.liferay.portal.servlet.filters.uploadservletrequest.UploadServletRequestFilter.processFilter(UploadServletRequestFilter.java:93)
129    at com.liferay.portal.kernel.servlet.BaseFilter.doFilter(BaseFilter.java:48)
130    at com.liferay.portal.kernel.servlet.filters.invoker.InvokerFilterChain.processDoFilter(InvokerFilterChain.java:207)
131    at com.liferay.portal.kernel.servlet.filters.invoker.InvokerFilterChain.doFilter(InvokerFilterChain.java:112)
132    at com.liferay.portal.kernel.servlet.BaseFilter.processFilter(BaseFilter.java:142)
133    at com.liferay.portal.servlet.filters.strip.StripFilter.processFilter(StripFilter.java:336)
134    at com.liferay.portal.kernel.servlet.BaseFilter.doFilter(BaseFilter.java:48)
135    at com.liferay.portal.kernel.servlet.filters.invoker.InvokerFilterChain.processDoFilter(InvokerFilterChain.java:207)
136    at com.liferay.portal.kernel.servlet.filters.invoker.InvokerFilterChain.doFilter(InvokerFilterChain.java:112)
137    at com.liferay.portal.kernel.servlet.BaseFilter.processFilter(BaseFilter.java:142)
138    at com.liferay.portal.servlet.filters.gzip.GZipFilter.processFilter(GZipFilter.java:125)
139    at com.liferay.portal.kernel.servlet.BaseFilter.doFilter(BaseFilter.java:48)
140    at com.liferay.portal.kernel.servlet.filters.invoker.InvokerFilterChain.processDoFilter(InvokerFilterChain.java:207)
141    at com.liferay.portal.kernel.servlet.filters.invoker.InvokerFilterChain.doFilter(InvokerFilterChain.java:112)
142    at com.liferay.portal.kernel.servlet.BaseFilter.processFilter(BaseFilter.java:142)
143    at com.liferay.portal.servlet.filters.secure.SecureFilter.processFilter(SecureFilter.java:337)
144    at com.liferay.portal.kernel.servlet.BaseFilter.doFilter(BaseFilter.java:48)
145    at com.liferay.portal.kernel.servlet.filters.invoker.InvokerFilterChain.processDoFilter(InvokerFilterChain.java:207)
146    at com.liferay.portal.kernel.servlet.filters.invoker.InvokerFilterChain.doFilter(InvokerFilterChain.java:112)
147    at com.liferay.portal.kernel.servlet.BaseFilter.processFilter(BaseFilter.java:142)
148    at com.liferay.portal.servlet.filters.i18n.I18nFilter.processFilter(I18nFilter.java:364)
149    at com.liferay.portal.kernel.servlet.BaseFilter.doFilter(BaseFilter.java:48)
150    at com.liferay.portal.kernel.servlet.filters.invoker.InvokerFilterChain.processDoFilter(InvokerFilterChain.java:207)
151    at com.liferay.portal.kernel.servlet.filters.invoker.InvokerFilterChain.doFilter(InvokerFilterChain.java:112)
152    at com.liferay.portal.kernel.servlet.BaseFilter.processFilter(BaseFilter.java:142)
153    at com.liferay.portal.servlet.filters.jsoncontenttype.JSONContentTypeFilter.processFilter(JSONContentTypeFilter.java:42)
154    at com.liferay.portal.kernel.servlet.BaseFilter.doFilter(BaseFilter.java:48)
155    at com.liferay.portal.kernel.servlet.filters.invoker.InvokerFilterChain.processDoFilter(InvokerFilterChain.java:207)
156    at com.liferay.portal.kernel.servlet.filters.invoker.InvokerFilterChain.doFilter(InvokerFilterChain.java:112)
157    at com.liferay.portal.kernel.servlet.BaseFilter.processFilter(BaseFilter.java:142)
158    at com.liferay.portal.servlet.filters.autologin.AutoLoginFilter.processFilter(AutoLoginFilter.java:261)
159    at com.liferay.portal.kernel.servlet.BaseFilter.doFilter(BaseFilter.java:48)
160    at com.liferay.portal.kernel.servlet.filters.invoker.InvokerFilterChain.processDoFilter(InvokerFilterChain.java:207)
161    at com.liferay.portal.kernel.servlet.filters.invoker.InvokerFilterChain.doFilter(InvokerFilterChain.java:112)
162    at com.liferay.portal.kernel.servlet.BaseFilter.processFilter(BaseFilter.java:142)
163    at com.liferay.portal.sharepoint.SharepointFilter.processFilter(SharepointFilter.java:88)
164    at com.liferay.portal.kernel.servlet.BaseFilter.doFilter(BaseFilter.java:48)
165    at com.liferay.portal.kernel.servlet.filters.invoker.InvokerFilterChain.processDoFilter(InvokerFilterChain.java:207)
166    at com.liferay.portal.kernel.servlet.filters.invoker.InvokerFilterChain.doFilter(InvokerFilterChain.java:112)
167    at com.liferay.portal.kernel.servlet.BaseFilter.processFilter(BaseFilter.java:142)
168    at com.liferay.portal.servlet.filters.virtualhost.VirtualHostFilter.processFilter(VirtualHostFilter.java:265)
169    at com.liferay.portal.kernel.servlet.BaseFilter.doFilter(BaseFilter.java:48)
170    at com.liferay.portal.kernel.servlet.filters.invoker.InvokerFilterChain.processDoFilter(InvokerFilterChain.java:207)
171    at com.liferay.portal.kernel.servlet.filters.invoker.InvokerFilterChain.doFilter(InvokerFilterChain.java:112)
172    at com.liferay.portal.kernel.servlet.BaseFilter.processFilter(BaseFilter.java:142)
173    at com.liferay.portal.monitoring.internal.servlet.filter.MonitoringFilter.processFilter(MonitoringFilter.java:181)
174    at com.liferay.portal.kernel.servlet.BaseFilter.doFilter(BaseFilter.java:48)
175    at com.liferay.portal.kernel.servlet.filters.invoker.InvokerFilterChain.processDoFilter(InvokerFilterChain.java:207)
176    at com.liferay.portal.kernel.servlet.filters.invoker.InvokerFilterChain.doFilter(InvokerFilterChain.java:112)
177    at com.liferay.portal.kernel.servlet.filters.invoker.InvokerFilterChain.processDirectCallFilter(InvokerFilterChain.java:188)
178    at com.liferay.portal.kernel.servlet.filters.invoker.InvokerFilterChain.doFilter(InvokerFilterChain.java:96)
179    at com.liferay.portal.kernel.servlet.filters.invoker.InvokerFilterChain.processDirectCallFilter(InvokerFilterChain.java:188)
180    at com.liferay.portal.kernel.servlet.filters.invoker.InvokerFilterChain.doFilter(InvokerFilterChain.java:96)
181    at org.tuckey.web.filters.urlrewrite.RuleChain.handleRewrite(RuleChain.java:176)
182    at org.tuckey.web.filters.urlrewrite.RuleChain.doRules(RuleChain.java:145)
183    at org.tuckey.web.filters.urlrewrite.UrlRewriter.processRequest(UrlRewriter.java:92)
184    at org.tuckey.web.filters.urlrewrite.UrlRewriteFilter.doFilter(UrlRewriteFilter.java:394)
185    at com.liferay.portal.servlet.filters.urlrewrite.UrlRewriteFilter.processFilter(UrlRewriteFilter.java:65)
186    at com.liferay.portal.kernel.servlet.BaseFilter.doFilter(BaseFilter.java:48)
187    at com.liferay.portal.kernel.servlet.filters.invoker.InvokerFilterChain.processDoFilter(InvokerFilterChain.java:207)
188    at com.liferay.portal.kernel.servlet.filters.invoker.InvokerFilterChain.doFilter(InvokerFilterChain.java:112)
189    at com.liferay.portal.kernel.servlet.filters.invoker.InvokerFilterChain.processDirectCallFilter(InvokerFilterChain.java:168)
190    at com.liferay.portal.kernel.servlet.filters.invoker.InvokerFilterChain.doFilter(InvokerFilterChain.java:96)
191    at com.liferay.portal.kernel.servlet.filters.invoker.InvokerFilterChain.processDirectCallFilter(InvokerFilterChain.java:168)
192    at com.liferay.portal.kernel.servlet.filters.invoker.InvokerFilterChain.doFilter(InvokerFilterChain.java:96)
193    at com.liferay.portal.kernel.servlet.filters.invoker.InvokerFilterChain.processDirectCallFilter(InvokerFilterChain.java:188)
194    at com.liferay.portal.kernel.servlet.filters.invoker.InvokerFilterChain.doFilter(InvokerFilterChain.java:96)
195    at com.liferay.portal.kernel.servlet.filters.invoker.InvokerFilter.doFilter(InvokerFilter.java:99)
196    at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:240)
197    at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:207)
198    at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:212)
199    at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:106)
200    at org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:502)
201    at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:141)
202    at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:79)
203    at org.apache.catalina.valves.AbstractAccessLogValve.invoke(AbstractAccessLogValve.java:616)
204    at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:88)
205    at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:522)
206    at org.apache.coyote.http11.AbstractHttp11Processor.process(AbstractHttp11Processor.java:1095)
207    at org.apache.coyote.AbstractProtocol$AbstractConnectionHandler.process(AbstractProtocol.java:672)
208    at org.apache.tomcat.util.net.NioEndpoint$SocketProcessor.doRun(NioEndpoint.java:1500)
209    at org.apache.tomcat.util.net.NioEndpoint$SocketProcessor.run(NioEndpoint.java:1456)
210    at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1149)
211    at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624)
212    at org.apache.tomcat.util.threads.TaskThread$WrappingRunnable.run(TaskThread.java:61)
213    at java.lang.Thread.run(Thread.java:748)


the code in html that makes the function call
 1
 2<p:dataTable id="tabla" var="cliente"
 3                value="#{usuarioBacking.usuarios}" widgetVar="usuariosTabla"
 4                emptyMessage="#{i18n['no-existe-resultados']}"
 5                filteredValue="#{usuarioBacking.usuariosFiltrados}" rows="10"
 6                paginatorTemplate="{CurrentPageReport} {FirstPageLink} {PreviousPageLink} {PageLinks} {NextPageLink} {LastPageLink} {RowsPerPageDropdown}"
 7                paginatorPosition="bottom">
 8
 9                <f:facet name="header">
10                    <p:outputPanel>
11                        <alloy:outputText value="#{i18n['busqueda-global']}:" />
12                        <p:inputText id="globalFilter"
13                            onkeyup="PF('usuariosTabla').filter()" style="width:150px"
14                            placeholder="#{i18n['parametros']}" />
15                    </p:outputPanel>
16                </f:facet>
17                <p:column headerText="#{i18n['primer-nombre']}"
18                    filterBy="#{cliente.firstName}">
19                    <alloy:outputText value="#{cliente.firstName}" />
20                </p:column>
21   
22                <p:column headerText="#{i18n['herramientas']}">
23
24                    <alloy:commandButton value="#{cliente}" actionListener="#{usuarioBacking.editarUsuario}"
25                        ajax="false">
26                        <alloy:icon name="pencil" />
27                        <alloy:outputText value="#{i18n['edit']}" />
28                        <alloy:menu>
29                            <alloy:commandLink>
30                                <alloy:icon name="pencil" />
31                                <alloy:outputText value="#{i18n['contrato']}" />
32                            </alloy:commandLink>                           
33                        </alloy:menu>
34                    </alloy:commandButton>
35                </p:column>
36            </p:dataTable>
Kyle Joseph Stiemann
RE: IPC ERROR
October 9, 2017 8:11 PM
Answer

Kyle Joseph Stiemann

LIFERAY STAFF

Rank: Liferay Master

Posts: 578

Join Date: January 14, 2013

Recent Posts

Hey Nestor,
Looks like you are running into FACES-3031 which has been fixed in the latest version of Liferay Faces Bridge. Please go to liferayfaces.org to find the appropriate versions for your project.

- Kyle
Nestor cruz
RE: IPC ERROR
October 9, 2017 10:13 PM
Answer

Nestor cruz

Rank: Junior Member

Posts: 26

Join Date: February 14, 2015

Recent Posts

thanks for the help, the solution was the change of version of libraries
Kyle Joseph Stiemann
RE: IPC ERROR
October 10, 2017 6:49 AM
Answer

Kyle Joseph Stiemann

LIFERAY STAFF

Rank: Liferay Master

Posts: 578

Join Date: January 14, 2013

Recent Posts

Glad it's working for you! Thanks for using Liferay Faces!

- Kyle

Participate in the State of Liferay Community 2017. Help the community and even win some prizes!