Premature End of File

Hi Guys,

webMethods newbie here, I’ve applied a new UI portlet to mWS, and when it tries to display I get the following error. I actually see my UI elements headers and such, but get the org.xml.sax.SAXParseException: Premature end of file directly below.

I have no idea where to start debugging here.

Thanks

 electric.util.WrappedException: org.xml.sax.SAXParseException: Premature end of file.
at com.webmethods.caf.wsclient.proxy.impl.WSClientDynamicProxy.getCompatibleException(WSClientDynamicProxy.java:397)
at com.webmethods.caf.wsclient.proxy.impl.WSClientDynamicProxy.invoke(WSClientDynamicProxy.java:216)
at $Proxy13.getCarsBpmXrefList(Unknown Source)
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:585)
at com.webmethods.caf.faces.data.object.ObjectMethodContentProvider.refresh(ObjectMethodContentProvider.java:366)
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:585)
at com.sun.faces.el.MethodBindingImpl.invoke(MethodBindingImpl.java:126)
at com.webmethods.caf.faces.application.CAFMethodBinding.invoke(CAFMethodBinding.java:67)
at com.webmethods.caf.faces.bean.BaseFacesBean._resolveDataBinding(BaseFacesBean.java:374)
at com.webmethods.caf.faces.bean.BaseFacesBean.resolveDataBinding(BaseFacesBean.java:225)
at com.webmethods.caf.carsbpmxref.CarsBpmXrefDefaultviewView.refresh(CarsBpmXrefDefaultviewView.java:87)
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:585)
at com.sun.faces.el.MethodBindingImpl.invoke(MethodBindingImpl.java:126)
at com.webmethods.caf.faces.application.CAFMethodBinding.invoke(CAFMethodBinding.java:67)
at com.sun.faces.application.ActionListenerImpl.processAction(ActionListenerImpl.java:72)
at javax.faces.component.UICommand.broadcast(UICommand.java:312)
at com.webmethods.caf.faces.component.table.html.DataTable.broadcast(DataTable.java:718)
at com.webmethods.caf.faces.component.ViewRoot.broadcastEvents(ViewRoot.java:202)
at com.webmethods.caf.faces.component.ViewRoot.processApplication(ViewRoot.java:116)
at com.webmethods.caf.faces.portlet.PortletLifecycle$InvokeApplicationPhase.execute(PortletLifecycle.java:664)
at com.webmethods.caf.faces.portlet.PortletLifecycle.phase(PortletLifecycle.java:249)
at com.webmethods.caf.faces.portlet.PortletLifecycle.execute(PortletLifecycle.java:142)
at com.webmethods.caf.faces.portlet.FacesPortlet.processAction(FacesPortlet.java:326)
at com.webmethods.portal.framework.portletcontainer.impl.PortletApplicationHandler.process(PortletApplicationHandler.java:477)
at com.webmethods.portal.framework.portletcontainer.servlet.PortletServlet.service(PortletServlet.java:58)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:689)
at org.mortbay.jetty.servlet.ServletHolder.handle(ServletHolder.java:428)
at org.mortbay.jetty.servlet.WebApplicationHandler.dispatch(WebApplicationHandler.java:473)
at org.mortbay.jetty.servlet.Dispatcher.dispatch(Dispatcher.java:286)
at org.mortbay.jetty.servlet.Dispatcher.forward(Dispatcher.java:171)
at com.webmethods.portal.framework.portletcontainer.PortletContainer.dispatch(PortletContainer.java:218)
at com.webmethods.portal.framework.portletcontainer.PortletContainer.process(PortletContainer.java:129)
at com.webmethods.portal.framework.portletcontainer.PortletContainer.processPortletAction(PortletContainer.java:107)
at com.webmethods.portal.framework.portlet.beans.rest.RestfulPCAHandler.handle(RestfulPCAHandler.java:182)
at com.webmethods.portal.framework.dispatch.DispatchManager.handle(DispatchManager.java:438)
at com.webmethods.portal.framework.dispatch.DispatchManager.handleDispatch(DispatchManager.java:371)
at com.webmethods.portal.framework.impl.PortalServlet.service(PortalServlet.java:242)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:689)
at org.mortbay.jetty.servlet.ServletHolder.handle(ServletHolder.java:428)
at org.mortbay.jetty.servlet.WebApplicationHandler$CachedChain.doFilter(WebApplicationHandler.java:830)
at com.webmethods.portal.framework.impl.NTLMFilter.doFilter(NTLMFilter.java:50)
at org.mortbay.jetty.servlet.WebApplicationHandler$CachedChain.doFilter(WebApplicationHandler.java:821)
at com.webmethods.caf.faces.servlet.GZIPFilter.doFilter(GZIPFilter.java:34)
at org.mortbay.jetty.servlet.WebApplicationHandler$CachedChain.doFilter(WebApplicationHandler.java:821)
at org.mortbay.jetty.servlet.WebApplicationHandler.dispatch(WebApplicationHandler.java:471)
at org.mortbay.jetty.servlet.ServletHandler.handle(ServletHandler.java:568)
at org.mortbay.http.HttpContext.handle(HttpContext.java:1530)
at org.mortbay.jetty.servlet.WebApplicationContext.handle(WebApplicationContext.java:633)
at org.mortbay.http.HttpContext.handle(HttpContext.java:1482)
at com.webmethods.portal.webApplication.WmWebAppContext.handle(WmWebAppContext.java:159)
at org.mortbay.http.HttpServer.service(HttpServer.java:909)
at org.mortbay.http.HttpConnection.service(HttpConnection.java:820)
at org.mortbay.http.HttpConnection.handleNext(HttpConnection.java:986)
at org.mortbay.http.HttpConnection.handle(HttpConnection.java:837)
at org.mortbay.http.SocketListener.handleConnection(SocketListener.java:245)
at org.mortbay.util.ThreadedServer.handle(ThreadedServer.java:357)
at org.mortbay.util.ThreadPool$PoolThread.run(ThreadPool.java:534)

Sometimes this happens when the portlet.xml is wiped out when deploying. Replacing it with latest version from your version control system should solve this.

Its an issue with the permissions, log in to MWS with SysAdmin and check

I am also facing same issue, I didn’t what you permission not available to Administrator? or where I can check after log in as sysadmin

In fact I am getting problem on many of pages on MWS

when you get this error ? When you try to download any file ?
If faced similar issue on download link that i created. After I change a command link to sync from async this error got resolved.

HTH
Jiten

I get this error on many pages, e.g., When I first click ‘Administration’ after logging in with Administrator user I get it. When I try to navigate different pages this error keeps popping.

the complete trace of one occurence
2011-04-27 17:21:14 EDT (webservice : WARN) [RID:2] - org.xml.sax.SAXParseException: Premature end of file.
at org.apache.xerces.parsers.DOMParser.parse(Unknown Source)
at org.apache.xerces.jaxp.DocumentBuilderImpl.parse(Unknown Source)
at javax.xml.parsers.DocumentBuilder.parse(DocumentBuilder.java:98)
at electric.xml.dom.DomParserWrapper.parse(DomParserWrapper.java:214)
at electric.xml.dom.DomUtils.parse(DomUtils.java:2486)
at electric.xml.dom.DomUtils.parse(DomUtils.java:2504)
at electric.soap.SOAPMessage.setBytes(SOAPMessage.java:346)
at electric.soap.http.reference.ClientNoAttachments.readResponse(ClientNoAttachments.java:77)
at electric.soap.http.reference.SOAPToHTTP.readResponse(SOAPToHTTP.java:323)
at electric.soap.http.reference.SOAPToHTTP.invoke(SOAPToHTTP.java:210)
at electric.soap.http.reference.SOAPToHTTP.handle(SOAPToHTTP.java:136)
at electric.soap.references.logging.LoggingSOAPReference.handle(LoggingSOAPReference.java:57)
at electric.jaxrpc.handler.JAXRPCReference.handle(JAXRPCReference.java:76)
at com.webMethods.soap.module.SOAPModuleReference.handle(SOAPModuleReference.java:70)
at electric.soap.references.interceptor.InterceptorSOAPReference.handle(InterceptorSOAPReference.java:69)
at electric.soap.java.reference.JavaToSOAP.handle(JavaToSOAP.java:72)
at electric.soap.java.reference.JavaToSOAP.invoke(JavaToSOAP.java:238)
at electric.soap.java.reference.JavaToSOAP.invoke(JavaToSOAP.java:165)
at electric.proxy.handler.Proxy.invoke(Proxy.java:126)
at $Proxy1.query(Unknown Source)
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:585)
at com.webMethods.caf.wsclient.proxy.impl.WSClientDynamicProxy.invokeMethod(WSClientDynamicProxy.java:84)
at com.webMethods.caf.wsclient.proxy.impl.WSClientDynamicProxy.invoke(WSClientDynamicProxy.java:128)
at $Proxy0.query(Unknown Source)
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:585)
at com.webMethods.caf.faces.data.object.ObjectMethodContentProvider.refresh(ObjectMethodContentProvider.java:366)
at com.webMethods.caf.faces.bean.BaseFacesBean.resolveDataBinding(BaseFacesBean.java:237)
at com.webMethods.caf.wm_tn_dls_listdatasets.Wm_tn_dls_listDataSetsDefaultviewView.getQuery(Wm_tn_dls_listDataSetsDefaultviewView.java:48)
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:585)
at com.sun.faces.el.PropertyResolverImpl.getValue(PropertyResolverImpl.java:79)
at com.webMethods.caf.faces.el.XPathPropertyResolver.getValue(XPathPropertyResolver.java:79)
at com.webMethods.caf.faces.data.el.ContentProviderPropertyResolver.getValue(ContentProviderPropertyResolver.java:27)
at com.webMethods.caf.faces.data.el.ViewPropertyResolver.getValue(ViewPropertyResolver.java:39)
at com.sun.faces.el.impl.ArraySuffix.evaluate(ArraySuffix.java:167)
at com.sun.faces.el.impl.ComplexValue.evaluate(ComplexValue.java:151)
at com.sun.faces.el.impl.ExpressionEvaluatorImpl.evaluate(ExpressionEvaluatorImpl.java:243)
at com.sun.faces.el.ValueBindingImpl.getValue(ValueBindingImpl.java:173)
at com.sun.faces.el.ValueBindingImpl.getValue(ValueBindingImpl.java:154)
at com.webMethods.caf.faces.application.CAFValueBinding.getValue(CAFValueBinding.java:53)
at com.webMethods.caf.faces.bean.BaseFacesBean.resolveExpression(BaseFacesBean.java:99)
at com.webMethods.caf.faces.bean.BaseFacesBean._resolveDataBinding(BaseFacesBean.java:338)
at com.webMethods.caf.faces.bean.BaseFacesBean.resolveDataBinding(BaseFacesBean.java:225)
at com.webMethods.caf.wm_tn_dls_listdatasets.Wm_tn_dls_listDataSetsDefaultviewView.getRuleRolesProviderDLS(Wm_tn_dls_listDataSetsDefaultviewView.java:125)
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:585)
at com.sun.faces.el.PropertyResolverImpl.getValue(PropertyResolverImpl.java:79)
at com.webMethods.caf.faces.el.XPathPropertyResolver.getValue(XPathPropertyResolver.java:79)
at com.webMethods.caf.faces.data.el.ContentProviderPropertyResolver.getValue(ContentProviderPropertyResolver.java:27)
at com.webMethods.caf.faces.data.el.ViewPropertyResolver.getValue(ViewPropertyResolver.java:39)
at com.sun.faces.el.impl.ArraySuffix.evaluate(ArraySuffix.java:167)
at com.sun.faces.el.impl.ComplexValue.evaluate(ComplexValue.java:151)
at com.sun.faces.el.impl.ExpressionEvaluatorImpl.evaluate(ExpressionEvaluatorImpl.java:243)
at com.sun.faces.el.ValueBindingImpl.getValue(ValueBindingImpl.java:173)
at com.sun.faces.el.ValueBindingImpl.getValue(ValueBindingImpl.java:154)
at com.webMethods.caf.faces.application.CAFValueBinding.getValue(CAFValueBinding.java:53)
at com.webMethods.caf.faces.component.table.html.DataTable.getValue(DataTable.java:530)
at com.webMethods.caf.faces.component.table.html.DataTable.getContentProvider(DataTable.java:1605)
at com.webMethods.caf.faces.component.table.html.DataTable.isRowAvailable(DataTable.java:231)
at com.webMethods.caf.faces.component.table.html.DataTable.saveDescendantState(DataTable.java:1540)
at com.webMethods.caf.faces.component.table.html.DataTable.setRowIndex(DataTable.java:366)
at com.webMethods.caf.faces.render.html.BaseHtmlRenderer.registerClientSideComponents(BaseHtmlRenderer.java:117)
at com.webMethods.caf.faces.render.html.BaseHtmlRenderer.registerClientSideComponents(BaseHtmlRenderer.java:154)
at com.webMethods.caf.faces.render.html.BaseHtmlRenderer.registerClientSideComponents(BaseHtmlRenderer.java:154)
at com.webMethods.caf.faces.render.html.BaseHtmlRenderer.writeSharedIncludes(BaseHtmlRenderer.java:94)
at com.webMethods.caf.faces.render.html.BaseHtmlRenderer.encodeBegin(BaseHtmlRenderer.java:55)
at javax.faces.component.UIComponentBase.encodeBegin(UIComponentBase.java:683)
at com.webMethods.caf.faces.component.util.ComponentUtils.renderComponent(ComponentUtils.java:72)
at com.webMethods.caf.faces.component.util.ComponentUtils.renderComponent(ComponentUtils.java:80)
at com.webMethods.caf.faces.view.BaseViewHandler.renderResponse(BaseViewHandler.java:258)
at com.webMethods.caf.faces.view.BaseViewHandler.renderView(BaseViewHandler.java:124)
at com.webMethods.portal.faces.view.PortalViewHandler.renderView(PortalViewHandler.java:99)
at com.webMethods.caf.faces.portlet.PortletLifecycle$RenderResponsePhase.execute(PortletLifecycle.java:680)
at com.webMethods.caf.faces.portlet.PortletLifecycle.phase(PortletLifecycle.java:249)
at com.webMethods.caf.faces.portlet.PortletLifecycle.render(PortletLifecycle.java:179)
at com.webMethods.caf.faces.portlet.FacesPortlet.render(FacesPortlet.java:417)
at com.webMethods.portal.framework.portletcontainer.impl.PortletApplicationHandler.process(PortletApplicationHandler.java:492)
at com.webMethods.portal.framework.portletcontainer.servlet.PortletServlet.service(PortletServlet.java:58)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:689)
at org.mortbay.jetty.servlet.ServletHolder.handle(ServletHolder.java:428)
at org.mortbay.jetty.servlet.WebApplicationHandler.dispatch(WebApplicationHandler.java:473)
at org.mortbay.jetty.servlet.Dispatcher.dispatch(Dispatcher.java:286)
at org.mortbay.jetty.servlet.Dispatcher.include(Dispatcher.java:163)
at com.webMethods.portal.framework.portletcontainer.PortletContainer.dispatch(PortletContainer.java:220)
at com.webMethods.portal.framework.portletcontainer.PortletContainer.process(PortletContainer.java:129)
at com.webMethods.portal.framework.portletcontainer.PortletContainer.renderPortlet(PortletContainer.java:102)
at com.webMethods.portal.framework.portletcontainer.beans.PortletBean.processRequest(PortletBean.java:166)
at com.webMethods.portal.framework.portletcontainer.beans.PortletBean.getContentInternal(PortletBean.java:72)
at com.webMethods.portal.framework.portlet.beans.BasicPortletBean.getContent(BasicPortletBean.java:143)
at com.webMethods.portal.mech.portlet.impl.PortletMechanics.getPortletContent(PortletMechanics.java:95)
at com.webMethods.portal.mech.storage.page.PortletHelper.renderContent(PortletHelper.java:403)
at com.webMethods.portal.mech.storage.page.PortletHelper.renderContent(PortletHelper.java:375)
at com.webMethods.portal.framework.presentation.renderers.FolderRenderer.renderPortlet(FolderRenderer.java:260)
at com.webMethods.portal.framework.presentation.renderers.FolderRenderer.renderColumn(FolderRenderer.java:203)
at com.webMethods.portal.framework.presentation.renderers.FolderRenderer.renderRow(FolderRenderer.java:164)
at com.webMethods.portal.framework.presentation.renderers.FolderRenderer.renderContent(FolderRenderer.java:91)
at com.webMethods.portal.framework.presentation.renderers.FolderRenderer.renderPageContent(FolderRenderer.java:68)
at com.webMethods.portal.framework.presentation.renderers.DefaultRenderer.render(DefaultRenderer.java:188)
at com.webMethods.portal.framework.presentation.PresentationManager.handlePres(PresentationManager.java:359)
at com.webMethods.portal.framework.dispatch.DispatchManager.pres(DispatchManager.java:618)
at com.webMethods.portal.framework.dispatch.DispatchManager.handle(DispatchManager.java:458)
at com.webMethods.portal.framework.dispatch.DispatchManager.handleDispatch(DispatchManager.java:371)
at com.webMethods.portal.framework.impl.PortalServlet.service(PortalServlet.java:242)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:689)
at org.mortbay.jetty.servlet.ServletHolder.handle(ServletHolder.java:428)
at org.mortbay.jetty.servlet.WebApplicationHandler$CachedChain.doFilter(WebApplicationHandler.java:830)
at com.webMethods.portal.framework.impl.NTLMFilter.doFilter(NTLMFilter.java:50)
at org.mortbay.jetty.servlet.WebApplicationHandler$CachedChain.doFilter(WebApplicationHandler.java:821)
at com.webMethods.caf.faces.servlet.GZIPFilter.doFilter(GZIPFilter.java:34)
at org.mortbay.jetty.servlet.WebApplicationHandler$CachedChain.doFilter(WebApplicationHandler.java:821)
at org.mortbay.jetty.servlet.WebApplicationHandler.dispatch(WebApplicationHandler.java:471)
at org.mortbay.jetty.servlet.ServletHandler.handle(ServletHandler.java:568)
at org.mortbay.http.HttpContext.handle(HttpContext.java:1530)
at org.mortbay.jetty.servlet.WebApplicationContext.handle(WebApplicationContext.java:633)
at org.mortbay.http.HttpContext.handle(HttpContext.java:1482)
at com.webMethods.portal.webApplication.WmWebAppContext.handle(WmWebAppContext.java:159)
at org.mortbay.http.HttpServer.service(HttpServer.java:909)
at org.mortbay.http.HttpConnection.service(HttpConnection.java:820)
at org.mortbay.http.HttpConnection.handleNext(HttpConnection.java:986)
at org.mortbay.http.HttpConnection.handle(HttpConnection.java:837)
at org.mortbay.http.SocketListener.handleConnection(SocketListener.java:245)
at org.mortbay.util.ThreadedServer.handle(ThreadedServer.java:357)
at org.mortbay.util.ThreadPool$PoolThread.run(ThreadPool.java:534)

2011-04-27 17:21:14 EDT (webservice : WARN) [RID:2] - java.rmi.RemoteException: org.xml.sax.SAXParseException: Premature end of file.; nested exception is:
org.xml.sax.SAXParseException: Premature end of file.
at electric.soap.http.reference.SOAPToHTTP.handle(SOAPToHTTP.java:163)
at electric.soap.references.logging.LoggingSOAPReference.handle(LoggingSOAPReference.java:57)
at electric.jaxrpc.handler.JAXRPCReference.handle(JAXRPCReference.java:76)
at com.webMethods.soap.module.SOAPModuleReference.handle(SOAPModuleReference.java:70)
at electric.soap.references.interceptor.InterceptorSOAPReference.handle(InterceptorSOAPReference.java:69)
at electric.soap.java.reference.JavaToSOAP.handle(JavaToSOAP.java:72)
at electric.soap.java.reference.JavaToSOAP.invoke(JavaToSOAP.java:238)
at electric.soap.java.reference.JavaToSOAP.invoke(JavaToSOAP.java:165)
at electric.proxy.handler.Proxy.invoke(Proxy.java:126)
at $Proxy1.query(Unknown Source)
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:585)
at com.webMethods.caf.wsclient.proxy.impl.WSClientDynamicProxy.invokeMethod(WSClientDynamicProxy.java:84)
at com.webMethods.caf.wsclient.proxy.impl.WSClientDynamicProxy.invoke(WSClientDynamicProxy.java:128)
at $Proxy0.query(Unknown Source)
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:585)
at com.webMethods.caf.faces.data.object.ObjectMethodContentProvider.refresh(ObjectMethodContentProvider.java:366)
at com.webMethods.caf.faces.bean.BaseFacesBean.resolveDataBinding(BaseFacesBean.java:237)
at com.webMethods.caf.wm_tn_dls_listdatasets.Wm_tn_dls_listDataSetsDefaultviewView.getQuery(Wm_tn_dls_listDataSetsDefaultviewView.java:48)
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:585)
at com.sun.faces.el.PropertyResolverImpl.getValue(PropertyResolverImpl.java:79)
at com.webMethods.caf.faces.el.XPathPropertyResolver.getValue(XPathPropertyResolver.java:79)
at com.webMethods.caf.faces.data.el.ContentProviderPropertyResolver.getValue(ContentProviderPropertyResolver.java:27)
at com.webMethods.caf.faces.data.el.ViewPropertyResolver.getValue(ViewPropertyResolver.java:39)
at com.sun.faces.el.impl.ArraySuffix.evaluate(ArraySuffix.java:167)
at com.sun.faces.el.impl.ComplexValue.evaluate(ComplexValue.java:151)
at com.sun.faces.el.impl.ExpressionEvaluatorImpl.evaluate(ExpressionEvaluatorImpl.java:243)
at com.sun.faces.el.ValueBindingImpl.getValue(ValueBindingImpl.java:173)
at com.sun.faces.el.ValueBindingImpl.getValue(ValueBindingImpl.java:154)
at com.webMethods.caf.faces.application.CAFValueBinding.getValue(CAFValueBinding.java:53)
at com.webMethods.caf.faces.bean.BaseFacesBean.resolveExpression(BaseFacesBean.java:99)
at com.webMethods.caf.faces.bean.BaseFacesBean._resolveDataBinding(BaseFacesBean.java:338)
at com.webMethods.caf.faces.bean.BaseFacesBean.resolveDataBinding(BaseFacesBean.java:225)
at com.webMethods.caf.wm_tn_dls_listdatasets.Wm_tn_dls_listDataSetsDefaultviewView.getRuleRolesProviderDLS(Wm_tn_dls_listDataSetsDefaultviewView.java:125)
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:585)
at com.sun.faces.el.PropertyResolverImpl.getValue(PropertyResolverImpl.java:79)
at com.webMethods.caf.faces.el.XPathPropertyResolver.getValue(XPathPropertyResolver.java:79)
at com.webMethods.caf.faces.data.el.ContentProviderPropertyResolver.getValue(ContentProviderPropertyResolver.java:27)
at com.webMethods.caf.faces.data.el.ViewPropertyResolver.getValue(ViewPropertyResolver.java:39)
at com.sun.faces.el.impl.ArraySuffix.evaluate(ArraySuffix.java:167)
at com.sun.faces.el.impl.ComplexValue.evaluate(ComplexValue.java:151)
at com.sun.faces.el.impl.ExpressionEvaluatorImpl.evaluate(ExpressionEvaluatorImpl.java:243)
at com.sun.faces.el.ValueBindingImpl.getValue(ValueBindingImpl.java:173)
at com.sun.faces.el.ValueBindingImpl.getValue(ValueBindingImpl.java:154)
at com.webMethods.caf.faces.application.CAFValueBinding.getValue(CAFValueBinding.java:53)
at com.webMethods.caf.faces.component.table.html.DataTable.getValue(DataTable.java:530)
at com.webMethods.caf.faces.component.table.html.DataTable.getContentProvider(DataTable.java:1605)
at com.webMethods.caf.faces.component.table.html.DataTable.isRowAvailable(DataTable.java:231)
at com.webMethods.caf.faces.component.table.html.DataTable.saveDescendantState(DataTable.java:1540)
at com.webMethods.caf.faces.component.table.html.DataTable.setRowIndex(DataTable.java:366)
at com.webMethods.caf.faces.render.html.BaseHtmlRenderer.registerClientSideComponents(BaseHtmlRenderer.java:117)
at com.webMethods.caf.faces.render.html.BaseHtmlRenderer.registerClientSideComponents(BaseHtmlRenderer.java:154)
at com.webMethods.caf.faces.render.html.BaseHtmlRenderer.registerClientSideComponents(BaseHtmlRenderer.java:154)
at com.webMethods.caf.faces.render.html.BaseHtmlRenderer.writeSharedIncludes(BaseHtmlRenderer.java:94)
at com.webMethods.caf.faces.render.html.BaseHtmlRenderer.encodeBegin(BaseHtmlRenderer.java:55)
at javax.faces.component.UIComponentBase.encodeBegin(UIComponentBase.java:683)
at com.webMethods.caf.faces.component.util.ComponentUtils.renderComponent(ComponentUtils.java:72)
at com.webMethods.caf.faces.component.util.ComponentUtils.renderComponent(ComponentUtils.java:80)
at com.webMethods.caf.faces.view.BaseViewHandler.renderResponse(BaseViewHandler.java:258)
at com.webMethods.caf.faces.view.BaseViewHandler.renderView(BaseViewHandler.java:124)
at com.webMethods.portal.faces.view.PortalViewHandler.renderView(PortalViewHandler.java:99)
at com.webMethods.caf.faces.portlet.PortletLifecycle$RenderResponsePhase.execute(PortletLifecycle.java:680)
at com.webMethods.caf.faces.portlet.PortletLifecycle.phase(PortletLifecycle.java:249)
at com.webMethods.caf.faces.portlet.PortletLifecycle.render(PortletLifecycle.java:179)
at com.webMethods.caf.faces.portlet.FacesPortlet.render(FacesPortlet.java:417)
at com.webMethods.portal.framework.portletcontainer.impl.PortletApplicationHandler.process(PortletApplicationHandler.java:492)
at com.webMethods.portal.framework.portletcontainer.servlet.PortletServlet.service(PortletServlet.java:58)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:689)
at org.mortbay.jetty.servlet.ServletHolder.handle(ServletHolder.java:428)
at org.mortbay.jetty.servlet.WebApplicationHandler.dispatch(WebApplicationHandler.java:473)
at org.mortbay.jetty.servlet.Dispatcher.dispatch(Dispatcher.java:286)
at org.mortbay.jetty.servlet.Dispatcher.include(Dispatcher.java:163)
at com.webMethods.portal.framework.portletcontainer.PortletContainer.dispatch(PortletContainer.java:220)
at com.webMethods.portal.framework.portletcontainer.PortletContainer.process(PortletContainer.java:129)
at com.webMethods.portal.framework.portletcontainer.PortletContainer.renderPortlet(PortletContainer.java:102)
at com.webMethods.portal.framework.portletcontainer.beans.PortletBean.processRequest(PortletBean.java:166)
at com.webMethods.portal.framework.portletcontainer.beans.PortletBean.getContentInternal(PortletBean.java:72)
at com.webMethods.portal.framework.portlet.beans.BasicPortletBean.getContent(BasicPortletBean.java:143)
at com.webMethods.portal.mech.portlet.impl.PortletMechanics.getPortletContent(PortletMechanics.java:95)
at com.webMethods.portal.mech.storage.page.PortletHelper.renderContent(PortletHelper.java:403)
at com.webMethods.portal.mech.storage.page.PortletHelper.renderContent(PortletHelper.java:375)
at com.webMethods.portal.framework.presentation.renderers.FolderRenderer.renderPortlet(FolderRenderer.java:260)
at com.webMethods.portal.framework.presentation.renderers.FolderRenderer.renderColumn(FolderRenderer.java:203)
at com.webMethods.portal.framework.presentation.renderers.FolderRenderer.renderRow(FolderRenderer.java:164)
at com.webMethods.portal.framework.presentation.renderers.FolderRenderer.renderContent(FolderRenderer.java:91)
at com.webMethods.portal.framework.presentation.renderers.FolderRenderer.renderPageContent(FolderRenderer.java:68)
at com.webMethods.portal.framework.presentation.renderers.DefaultRenderer.render(DefaultRenderer.java:188)
at com.webMethods.portal.framework.presentation.PresentationManager.handlePres(PresentationManager.java:359)
at com.webMethods.portal.framework.dispatch.DispatchManager.pres(DispatchManager.java:618)
at com.webMethods.portal.framework.dispatch.DispatchManager.handle(DispatchManager.java:458)
at com.webMethods.portal.framework.dispatch.DispatchManager.handleDispatch(DispatchManager.java:371)
at com.webMethods.portal.framework.impl.PortalServlet.service(PortalServlet.java:242)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:689)
at org.mortbay.jetty.servlet.ServletHolder.handle(ServletHolder.java:428)
at org.mortbay.jetty.servlet.WebApplicationHandler$CachedChain.doFilter(WebApplicationHandler.java:830)
at com.webMethods.portal.framework.impl.NTLMFilter.doFilter(NTLMFilter.java:50)
at org.mortbay.jetty.servlet.WebApplicationHandler$CachedChain.doFilter(WebApplicationHandler.java:821)
at com.webMethods.caf.faces.servlet.GZIPFilter.doFilter(GZIPFilter.java:34)
at org.mortbay.jetty.servlet.WebApplicationHandler$CachedChain.doFilter(WebApplicationHandler.java:821)
at org.mortbay.jetty.servlet.WebApplicationHandler.dispatch(WebApplicationHandler.java:471)
at org.mortbay.jetty.servlet.ServletHandler.handle(ServletHandler.java:568)
at org.mortbay.http.HttpContext.handle(HttpContext.java:1530)
at org.mortbay.jetty.servlet.WebApplicationContext.handle(WebApplicationContext.java:633)
at org.mortbay.http.HttpContext.handle(HttpContext.java:1482)
at com.webMethods.portal.webApplication.WmWebAppContext.handle(WmWebAppContext.java:159)
at org.mortbay.http.HttpServer.service(HttpServer.java:909)
at org.mortbay.http.HttpConnection.service(HttpConnection.java:820)
at org.mortbay.http.HttpConnection.handleNext(HttpConnection.java:986)
at org.mortbay.http.HttpConnection.handle(HttpConnection.java:837)
at org.mortbay.http.SocketListener.handleConnection(SocketListener.java:245)
at org.mortbay.util.ThreadedServer.handle(ThreadedServer.java:357)
at org.mortbay.util.ThreadPool$PoolThread.run(ThreadPool.java:534)
Caused by: org.xml.sax.SAXParseException: Premature end of file.
at org.apache.xerces.parsers.DOMParser.parse(Unknown Source)
at org.apache.xerces.jaxp.DocumentBuilderImpl.parse(Unknown Source)
at javax.xml.parsers.DocumentBuilder.parse(DocumentBuilder.java:98)
at electric.xml.dom.DomParserWrapper.parse(DomParserWrapper.java:214)
at electric.xml.dom.DomUtils.parse(DomUtils.java:2486)
at electric.xml.dom.DomUtils.parse(DomUtils.java:2504)
at electric.soap.SOAPMessage.setBytes(SOAPMessage.java:346)
at electric.soap.http.reference.ClientNoAttachments.readResponse(ClientNoAttachments.java:77)
at electric.soap.http.reference.SOAPToHTTP.readResponse(SOAPToHTTP.java:323)
at electric.soap.http.reference.SOAPToHTTP.invoke(SOAPToHTTP.java:210)
at electric.soap.http.reference.SOAPToHTTP.handle(SOAPToHTTP.java:136)
… 122 more

I logged in with Sysadmin., What permissions do i need to check for this error?

Hi,

I am getting ‘Premature End of file’ when clicked any of the B2B pages from MWS version 10.2

Can you please help me out?

I have checked the jdbc pools including central users… but not able to figure out.

It’s a known issue. Run latest dB scripts for mws components, check central user management configuration and acls.

I remember there was also a fix from sag to address this issue.

Hi Mahesh,

The issue is resolved and below are the steps I performed

Restarting the IS, MWS resolved the central user configuration issue.

Renamed the TN license file in config folder resolved ‘Premature end of file’ issue.