Skip to Content

Archived discussions are read-only. Learn more about SAP Q&A

KM Content Edit Online Error: MalformedInputException

When I tried to use the "Edit Online" for one of the html file that I created using MS Word (then Save As web page-html) in KM content folder.

It appears as the following error:

[code]

sun.io.MalformedInputException

at sun.io.ByteToCharUTF8.convert(ByteToCharUTF8.java(Compiled Code))

at sun.nio.cs.StreamDecoder$ConverterSD.convertInto(StreamDecoder.java(Inlined Compiled Code))

at sun.nio.cs.StreamDecoder$ConverterSD.implRead(StreamDecoder.java(Compiled Code))

at sun.nio.cs.StreamDecoder.read(StreamDecoder.java(Compiled Code))

at java.io.InputStreamReader.read(InputStreamReader.java(Compiled Code))

at java.io.BufferedReader.fill(BufferedReader.java(Compiled Code))

at java.io.BufferedReader.readLine(BufferedReader.java(Compiled Code))

at java.io.BufferedReader.readLine(BufferedReader.java(Compiled Code))

at com.sapportals.wcm.control.edit.ResourceHtmlEditorControl.getContent(ResourceHtmlEditorControl.java:1032)

at com.sapportals.wcm.control.edit.ResourceHtmlEditorControl.renderContent(ResourceHtmlEditorControl.java:1247)

at com.sapportals.wcm.control.edit.ResourceHtmlEditorControl.render(ResourceHtmlEditorControl.java:440)

at com.sapportals.wcm.control.edit.ResourceEditOnlineDescisionControl.render(ResourceEditOnlineDescisionControl.java:196)

at com.sapportals.wdf.layout.HorizontalLayout.renderControls(HorizontalLayout.java(Compiled Code))

at com.sapportals.wdf.stack.Pane.render(Pane.java(Compiled Code))

at com.sapportals.wdf.stack.PaneStack.render(PaneStack.java(Inlined Compiled Code))

at com.sapportals.wdf.layout.HorizontalLayout.renderPanes(HorizontalLayout.java(Compiled Code))

at com.sapportals.wdf.stack.Pane.render(Pane.java(Compiled Code))

at com.sapportals.wdf.stack.PaneStack.render(PaneStack.java(Inlined Compiled Code))

at com.sapportals.wdf.layout.HorizontalLayout.renderPanes(HorizontalLayout.java(Compiled Code))

at com.sapportals.wdf.stack.Pane.render(Pane.java(Compiled Code))

at com.sapportals.wdf.stack.PaneStack.render(PaneStack.java(Inlined Compiled Code))

at com.sapportals.wdf.layout.HorizontalLayout.renderPanes(HorizontalLayout.java(Compiled Code))

at com.sapportals.wdf.stack.Pane.render(Pane.java(Compiled Code))

at com.sapportals.wdf.stack.PaneStack.render(PaneStack.java(Inlined Compiled Code))

at com.sapportals.wdf.WdfCompositeController.internalRender(WdfCompositeController.java(Compiled Code))

at com.sapportals.wdf.WdfCompositeController.buildComposition(WdfCompositeController.java(Compiled Code))

at com.sapportals.htmlb.AbstractCompositeComponent.preRender(AbstractCompositeComponent.java(Compiled Code))

at com.sapportals.htmlb.Container.preRender(Container.java(Compiled Code))

at com.sapportals.htmlb.Container.preRender(Container.java(Compiled Code))

at com.sapportals.htmlb.Container.preRender(Container.java(Inlined Compiled Code))

at com.sapportals.portal.htmlb.PrtContext.render(PrtContext.java(Compiled Code))

at com.sapportals.htmlb.page.DynPage.doOutput(DynPage.java(Compiled Code))

at com.sapportals.wcm.portal.component.base.KMControllerDynPage.doOutput(KMControllerDynPage.java(Compiled Code))

at com.sapportals.htmlb.page.PageProcessor.handleRequest(PageProcessor.java(Compiled Code))

at com.sapportals.portal.htmlb.page.PageProcessorComponent.doContent(PageProcessorComponent.java(Compiled Code))

at com.sapportals.wcm.portal.component.base.ControllerComponent.doContent(ControllerComponent.java(Compiled Code))

at com.sapportals.portal.prt.component.AbstractPortalComponent.serviceDeprecated(AbstractPortalComponent.java(Compiled Code))

at com.sapportals.portal.prt.component.AbstractPortalComponent.service(AbstractPortalComponent.java(Compiled Code))

at com.sapportals.portal.prt.core.PortalRequestManager.callPortalComponent(PortalRequestManager.java(Compiled Code))

at com.sapportals.portal.prt.core.PortalRequestManager.dispatchRequest(PortalRequestManager.java(Compiled Code))

at com.sapportals.portal.prt.core.PortalRequestManager.dispatchRequest(PortalRequestManager.java(Compiled Code))

at com.sapportals.portal.prt.component.PortalComponentResponse.include(PortalComponentResponse.java(Compiled Code))

at com.sapportals.portal.prt.pom.PortalNode.service(PortalNode.java(Compiled Code))

at com.sapportals.portal.prt.core.PortalRequestManager.callPortalComponent(PortalRequestManager.java(Compiled Code))

at com.sapportals.portal.prt.core.PortalRequestManager.dispatchRequest(PortalRequestManager.java(Compiled Code))

at com.sapportals.portal.prt.core.PortalRequestManager.dispatchRequest(PortalRequestManager.java(Compiled Code))

at com.sapportals.portal.prt.core.PortalRequestManager.runRequestCycle(PortalRequestManager.java(Compiled Code))

at com.sapportals.portal.prt.connection.ServletConnection.handleRequest(ServletConnection.java(Compiled Code))

at com.sapportals.portal.prt.dispatcher.Dispatcher$doService.run(Dispatcher.java(Compiled Code))

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

at java.security.AccessController.doPrivileged(AccessController.java(Compiled Code))

at com.sapportals.portal.prt.dispatcher.Dispatcher.service(Dispatcher.java(Compiled Code))

at javax.servlet.http.HttpServlet.service(HttpServlet.java(Compiled Code))

at com.sap.engine.services.servlets_jsp.server.servlet.InvokerServlet.service(InvokerServlet.java(Compiled Code))

at javax.servlet.http.HttpServlet.service(HttpServlet.java(Compiled Code))

at com.sap.engine.services.servlets_jsp.server.HttpHandlerImpl.runServlet(HttpHandlerImpl.java(Compiled Code))

at com.sap.engine.services.servlets_jsp.server.HttpHandlerImpl.handleRequest(HttpHandlerImpl.java(Compiled Code))

at com.sap.engine.services.httpserver.server.RequestAnalizer.startServlet(RequestAnalizer.java(Inlined Compiled Code))

at com.sap.engine.services.httpserver.server.RequestAnalizer.startServlet(RequestAnalizer.java(Compiled Code))

at com.sap.engine.services.httpserver.server.RequestAnalizer.invokeWebContainer(RequestAnalizer.java(Compiled Code))

at com.sap.engine.services.httpserver.server.RequestAnalizer.handle(RequestAnalizer.java(Compiled Code))

at com.sap.engine.services.httpserver.server.Client.handle(Client.java(Inlined Compiled Code))

at com.sap.engine.services.httpserver.server.Processor.request(Processor.java(Compiled Code))

at com.sap.engine.core.service630.context.cluster.session.ApplicationSessionMessageListener.process(ApplicationSessionMessageListener.java(Compiled Code))

at com.sap.engine.core.cluster.impl6.session.MessageRunner.run(MessageRunner.java(Compiled Code))

at com.sap.engine.core.thread.impl3.ActionObject.run(ActionObject.java(Compiled Code))

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

at java.security.AccessController.doPrivileged(AccessController.java(Compiled Code))

at com.sap.engine.core.thread.impl3.SingleThread.execute(SingleThread.java(Compiled Code))

at com.sap.engine.core.thread.impl3.SingleThread.run(SingleThread.java(Compiled Code))

[/code]

I understand that it is related to the Unicode type of the file. In this case, how do I fix the problem and allow the file to be able to edit online or locally?

Thanks,

Kent

Former Member
Former Member replied

HTML from word and other code generators doesn't work fine with online HTML editor.

Only HTML files created using the Online HTML editor will work fine.

Check help documentation http://help.sap.com/saphelp_nw04s/helpdata/en/e6/62f8cb7afd764e9600360257202bc1/content.htm

"You can use the HTML editor to create or change texts with simple formatting online. This is a ‘what you see is what you get’ editor."

You have to used edit locally in your case.

Regards,

Prasanna Krishnamurthy

0 View this answer in context
Not what you were looking for? View more on this topic or Ask a question