Skip to Content
author's profile photo Former Member
Former Member

XML Forms rendering

Hi,

I am storing some documents created from XML forms into a new repository created by us in KM. while opening this document from our repository, the content is opened in normal XML file format, instead of expected XML form renderer. But if I choose to edit this document, I am getting it opened in XML renderer. Any solutions to fix it ?

I added my repository to xmlforms_filter, in KM->CM->XMLFormsRepositoyFilter, but I got null pointer exception while editing and content not hyperlinked for directly opening.

Thanks in Advance,

John

Add a comment
10|10000 characters needed characters exceeded

Related questions

2 Answers

  • author's profile photo Former Member
    Former Member
    Posted on Aug 01, 2006 at 12:40 PM

    Hi John,

    1. Have you restart after include your repository in xml filter ?

    2. Which kind of repository you have you created (db,fs,fsdb,dbfs) ?

    Patricio.

    Add a comment
    10|10000 characters needed characters exceeded

  • author's profile photo Former Member
    Former Member
    Posted on Aug 01, 2006 at 12:32 PM

    I am attaching the stacktrace....

    com.sapportals.wcm.repository.ResourceException: Exception while applying filters: null

    at com.sapportals.wcm.repository.ResourceException.fillInStackTrace(ResourceException.java:400)

    at java.lang.Throwable.(Throwable.java:195)

    at java.lang.Exception.(Exception.java:41)

    at com.sapportals.wcm.WcmException.(WcmException.java:59)

    at com.sapportals.wcm.util.content.ContentException.(ContentException.java:34)

    at com.sapportals.wcm.repository.ResourceException.(ResourceException.java:227)

    at com.sapportals.wcm.repository.runtime.CmFilterHandler.handleRuntimeException(CmFilterHandler.java:996)

    at com.sapportals.wcm.repository.runtime.CmFilterHandler.applyContentFilter(CmFilterHandler.java:546)

    at com.sapportals.wcm.repository.runtime.CmFilterHandler.applyContentReadFilter(CmFilterHandler.java:108)

    at com.sapportals.wcm.repository.ContentImpl.applyContentReadFilter(ContentImpl.java:389)

    at com.sapportals.wcm.repository.ContentImpl.initContent(ContentImpl.java:374)

    at com.sapportals.wcm.repository.ContentImpl.getContentType(ContentImpl.java:159)

    at com.sapportals.wcm.service.xmlforms.transformation.ResourceDemultiplexer.getContentStream(ResourceDemultiplexer.java:71)

    at com.sapportals.wcm.service.xmlforms.transformation.Transformation.render(Transformation.java:129)

    at com.sapportals.wcm.service.xmlforms.transformation.Transformation.renderItemOrTemplate(Transformation.java:274)

    at com.sapportals.wcm.app.xmlforms.EditServlet.doGetAction(EditServlet.java:342)

    at com.sapportals.wcm.app.xmlforms.XFBaseServlet.doGet(XFBaseServlet.java:246)

    at javax.servlet.http.HttpServlet.service(HttpServlet.java:740)

    at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)

    at com.sapportals.wcm.app.xmlforms.XFBaseServlet.service(XFBaseServlet.java:134)

    at com.sapportals.wcm.portal.proxy.PCProxyServlet.service(PCProxyServlet.java:334)

    at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)

    at com.sapportals.portal.prt.core.broker.ServletComponentItem$ServletWrapperComponent.doContent(ServletComponentItem.java:110)

    at com.sapportals.portal.prt.component.AbstractPortalComponent.serviceDeprecated(AbstractPortalComponent.java:209)

    at com.sapportals.portal.prt.component.AbstractPortalComponent.service(AbstractPortalComponent.java:114)

    at com.sapportals.portal.prt.core.PortalRequestManager.callPortalComponent(PortalRequestManager.java:328)

    at com.sapportals.portal.prt.core.PortalRequestManager.dispatchRequest(PortalRequestManager.java:136)

    at com.sapportals.portal.prt.core.PortalRequestManager.dispatchRequest(PortalRequestManager.java:189)

    at com.sapportals.portal.prt.component.PortalComponentResponse.include(PortalComponentResponse.java:215)

    at com.sapportals.portal.prt.pom.PortalNode.service(PortalNode.java:646)

    at com.sapportals.portal.prt.core.PortalRequestManager.callPortalComponent(PortalRequestManager.java:328)

    at com.sapportals.portal.prt.core.PortalRequestManager.dispatchRequest(PortalRequestManager.java:136)

    at com.sapportals.portal.prt.core.PortalRequestManager.dispatchRequest(PortalRequestManager.java:189)

    at com.sapportals.portal.prt.core.PortalRequestManager.runRequestCycle(PortalRequestManager.java:753)

    at com.sapportals.portal.prt.connection.ServletConnection.handleRequest(ServletConnection.java:240)

    at com.sapportals.portal.prt.dispatcher.Dispatcher$doService.run(Dispatcher.java:522)

    at java.security.AccessController.doPrivileged(Native Method)

    at com.sapportals.portal.prt.dispatcher.Dispatcher.service(Dispatcher.java:405)

    at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)

    at com.sap.engine.services.servlets_jsp.server.servlet.InvokerServlet.service(InvokerServlet.java:156)

    at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)

    at com.sap.engine.services.servlets_jsp.server.HttpHandlerImpl.runServlet(HttpHandlerImpl.java:390)

    at com.sap.engine.services.servlets_jsp.server.HttpHandlerImpl.handleRequest(HttpHandlerImpl.java:264)

    at com.sap.engine.services.httpserver.server.RequestAnalizer.startServlet(RequestAnalizer.java:347)

    at com.sap.engine.services.httpserver.server.RequestAnalizer.startServlet(RequestAnalizer.java:325)

    at com.sap.engine.services.httpserver.server.RequestAnalizer.invokeWebContainer(RequestAnalizer.java:887)

    at com.sap.engine.services.httpserver.server.RequestAnalizer.handle(RequestAnalizer.java:241)

    at com.sap.engine.services.httpserver.server.Client.handle(Client.java:92)

    at com.sap.engine.services.httpserver.server.Processor.request(Processor.java:148)

    at com.sap.engine.core.service630.context.cluster.session.ApplicationSessionMessageListener.process(ApplicationSessionMessageListener.java:33)

    at com.sap.engine.core.cluster.impl6.session.MessageRunner.run(MessageRunner.java:41)

    at com.sap.engine.core.thread.impl3.ActionObject.run(ActionObject.java:37)

    at java.security.AccessController.doPrivileged(Native Method)

    at com.sap.engine.core.thread.impl3.SingleThread.execute(SingleThread.java:95)

    at com.sap.engine.core.thread.impl3.SingleThread.run(SingleThread.java:160)

    Add a comment
    10|10000 characters needed characters exceeded

Before answering

You should only submit an answer when you are proposing a solution to the poster's problem. If you want the poster to clarify the question or provide more information, please leave a comment instead, requesting additional details. When answering, please include specifics, such as step-by-step instructions, context for the solution, and links to useful resources. Also, please make sure that you answer complies with our Rules of Engagement.
You must be Logged in to submit an answer.

Up to 10 attachments (including images) can be used with a maximum of 1.0 MB each and 10.5 MB total.