[POP.001.0002] "javax.portlet.PortletException"

Hi All,

In 9.6 MWS, I am receiving the following error message on sorting TPAs. Please let me know if anyone faced this issue and any solutions. I tried to sort Partner Profiles, Users etc but its working fine.

2014-10-14 10:12:52 EDT (Framework:FATAL) [RID:11] - [POP.001.0002] A “javax.portlet.PortletException” occurred with the Message “javax.faces.component.ValueBindingValueExpressionAdapter cannot be cast to com.webmethods.caf.faces.application.CAFValueBinding”
javax.portlet.PortletException: javax.faces.component.ValueBindingValueExpressionAdapter cannot be cast to com.webmethods.caf.faces.application.CAFValueBinding
at com.webmethods.caf.faces.portlet.FacesPortlet.render(FacesPortlet.java:500)
at com.webmethods.portal.framework.portletcontainer.impl.PortletApplicationHandler.process(PortletApplicationHandler.java:551)
at com.webmethods.portal.framework.portletcontainer.servlet.PortletServlet.service(PortletServlet.java:58)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:770)
at org.eclipse.jetty.servlet.ServletHolder.handle(ServletHolder.java:684)
at org.eclipse.jetty.servlet.ServletHandler.doHandle(ServletHandler.java:457)
at org.eclipse.jetty.server.handler.ScopedHandler.handle(ScopedHandler.java:137)
at org.eclipse.jetty.security.SecurityHandler.handle(SecurityHandler.java:575)
at org.eclipse.jetty.server.session.SessionHandler.doHandle(SessionHandler.java:231)
at org.eclipse.jetty.server.handler.ContextHandler.doHandle(ContextHandler.java:1075)
at org.eclipse.jetty.servlet.ServletHandler.doScope(ServletHandler.java:384)
at org.eclipse.jetty.server.session.SessionHandler.doScope(SessionHandler.java:193)
at org.eclipse.jetty.server.handler.ContextHandler.doScope(ContextHandler.java:1009)
at org.eclipse.jetty.server.handler.ScopedHandler.handle(ScopedHandler.java:135)
at org.eclipse.jetty.server.Dispatcher.include(Dispatcher.java:183)
at com.webmethods.portal.framework.portletcontainer.PortletContainer.dispatch(PortletContainer.java:223)
at com.webmethods.portal.framework.portletcontainer.PortletContainer.process(PortletContainer.java:132)
at com.webmethods.portal.framework.portletcontainer.PortletContainer.renderPortlet(PortletContainer.java:105)
at com.webmethods.portal.framework.portletcontainer.beans.PortletBean.processRequest(PortletBean.java:193)
at com.webmethods.portal.framework.portletcontainer.beans.PortletBean.getContentInternal(PortletBean.java:82)
at com.webmethods.portal.framework.portlet.beans.BasicPortletBean.getContent(BasicPortletBean.java:151)
at com.webmethods.portal.mech.portlet.impl.PortletMechanics.getPortletContent(PortletMechanics.java:96)
at com.webmethods.portal.mech.storage.page.PortletHelper.renderContent(PortletHelper.java:430)
at com.webmethods.portal.mech.storage.page.PortletHelper.renderContent(PortletHelper.java:402)
at com.webmethods.portal.framework.presentation.renderers.TabulaRasaPortletRenderer.renderPageContent(TabulaRasaPortletRenderer.java:46)
at com.webmethods.portal.framework.presentation.renderers.DefaultRenderer.render(DefaultRenderer.java:343)
at com.webmethods.portal.framework.presentation.PresentationManager.handlePres(PresentationManager.java:431)
at com.webmethods.portal.framework.dispatch.DispatchManager.pres(DispatchManager.java:692)
at com.webmethods.portal.framework.dispatch.DispatchManager.handle(DispatchManager.java:522)
at com.webmethods.portal.framework.dispatch.DispatchManager.handleDispatch(DispatchManager.java:424)
at com.webmethods.portal.framework.impl.PortalServlet.service(PortalServlet.java:317)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:770)
at org.eclipse.jetty.servlet.ServletHolder.handle(ServletHolder.java:684)
at org.eclipse.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1448)
at org.eclipse.jetty.servlets.UserAgentFilter.doFilter(UserAgentFilter.java:82)
at org.eclipse.jetty.servlets.GzipFilter.doFilter(GzipFilter.java:294)
at com.webmethods.caf.faces.servlet.GZIPFilter.doFilter(GZIPFilter.java:48)
at org.eclipse.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1419)
at com.webmethods.portal.framework.impl.NTLMV1Filter.doFilter(NTLMV1Filter.java:67)
at com.webmethods.portal.framework.impl.NTLMFilter.doFilter(NTLMFilter.java:26)
at org.eclipse.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1419)
at com.webmethods.portal.framework.impl.RequestFilter.doFilter(RequestFilter.java:56)
at org.eclipse.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1419)
at org.eclipse.jetty.servlet.ServletHandler.doHandle(ServletHandler.java:455)
at org.eclipse.jetty.server.handler.ScopedHandler.handle(ScopedHandler.java:137)
at org.eclipse.jetty.security.SecurityHandler.handle(SecurityHandler.java:557)
at org.eclipse.jetty.server.session.SessionHandler.doHandle(SessionHandler.java:231)
at org.eclipse.jetty.server.handler.ContextHandler.doHandle(ContextHandler.java:1075)
at org.eclipse.jetty.servlet.ServletHandler.doScope(ServletHandler.java:384)
at org.eclipse.jetty.server.session.SessionHandler.doScope(SessionHandler.java:193)
at org.eclipse.jetty.server.handler.ContextHandler.doScope(ContextHandler.java:1009)
at org.eclipse.jetty.server.handler.ScopedHandler.handle(ScopedHandler.java:135)
at org.eclipse.jetty.server.handler.ContextHandlerCollection.handle(ContextHandlerCollection.java:255)
at org.eclipse.jetty.server.handler.HandlerCollection.handle(HandlerCollection.java:154)
at org.eclipse.jetty.server.handler.HandlerWrapper.handle(HandlerWrapper.java:116)
at org.eclipse.jetty.server.Server.handle(Server.java:370)
at org.eclipse.jetty.server.AbstractHttpConnection.handleRequest(AbstractHttpConnection.java:489)
at org.eclipse.jetty.server.AbstractHttpConnection.headerComplete(AbstractHttpConnection.java:949)
at org.eclipse.jetty.server.AbstractHttpConnection$RequestHandler.headerComplete(AbstractHttpConnection.java:1011)
at org.eclipse.jetty.http.HttpParser.parseNext(HttpParser.java:644)
at org.eclipse.jetty.http.HttpParser.parseAvailable(HttpParser.java:235)
at org.eclipse.jetty.server.AsyncHttpConnection.handle(AsyncHttpConnection.java:82)
at org.eclipse.jetty.io.nio.SelectChannelEndPoint.handle(SelectChannelEndPoint.java:668)
at org.eclipse.jetty.io.nio.SelectChannelEndPoint$1.run(SelectChannelEndPoint.java:52)
at org.eclipse.jetty.util.thread.QueuedThreadPool.runJob(QueuedThreadPool.java:608)
at org.eclipse.jetty.util.thread.QueuedThreadPool$3.run(QueuedThreadPool.java:543)
at java.lang.Thread.run(Thread.java:744)
Caused by: java.lang.ClassCastException: javax.faces.component.ValueBindingValueExpressionAdapter cannot be cast to com.webmethods.caf.faces.application.CAFValueBinding
at com.webmethods.caf.wm_tn_tpa_searchresults.Wm_tn_tpa_searchresultsDefaultviewView$SortablePageableTableContentProvider.getUISortModel(Wm_tn_tpa_searchresultsDefaultviewView.java:1278)
at com.webmethods.caf.wm_tn_tpa_searchresults.Wm_tn_tpa_searchresultsDefaultviewView$SortablePageableTableContentProvider.refresh(Wm_tn_tpa_searchresultsDefaultviewView.java:1236)
at com.webmethods.caf.wm_tn_tpa_searchresults.Wm_tn_tpa_searchresultsDefaultviewView$SortablePageableTableContentProvider.setSort(Wm_tn_tpa_searchresultsDefaultviewView.java:1225)
at com.webmethods.caf.faces.component.table.html.DataTable.sort(DataTable.java:1846)
at com.webmethods.caf.faces.component.table.html.DataTable.encodeBegin(DataTable.java:829)
at com.webmethods.caf.faces.component.table.html.AsyncTable.encodeBegin(AsyncTable.java:111)
at com.webmethods.caf.faces.component.util.ComponentUtils.renderComponent(ComponentUtils.java:89)
at com.webmethods.caf.faces.view.CafViewDeclarationLanguage.renderResponse(CafViewDeclarationLanguage.java:177)
at com.webmethods.caf.faces.view.CafViewDeclarationLanguage.renderView(CafViewDeclarationLanguage.java:119)
at com.sun.faces.application.view.MultiViewHandler.renderView(MultiViewHandler.java:131)
at javax.faces.application.ViewHandlerWrapper.renderView(ViewHandlerWrapper.java:337)
at com.webmethods.caf.faces.portlet.PortletViewHandler.renderView(PortletViewHandler.java:66)
at javax.faces.application.ViewHandlerWrapper.renderView(ViewHandlerWrapper.java:337)
at com.sun.faces.lifecycle.RenderResponsePhase.execute(RenderResponsePhase.java:120)
at com.sun.faces.lifecycle.Phase.doPhase(Phase.java:101)
at com.webmethods.caf.faces.portlet.PortletLifecycle.phase(PortletLifecycle.java:285)
at com.webmethods.caf.faces.portlet.PortletLifecycle.render(PortletLifecycle.java:228)
at com.webmethods.caf.faces.portlet.FacesPortlet.render(FacesPortlet.java:457)
… 66 more

Thanks,
Madhuri

Go ahead and open up a support ticket against the Trading Networks product so then can correct the defect in their portlet.

Thanks for your quick response Eric, will try to raise a ticket.

There is some command to reinitiate mws portel? Does any one remember it?