Skip to Content
0
Former Member
Nov 20, 2012 at 09:16 PM

EP 7.31 - Errors after transporting WPC content and Configuration objects.

78 Views

Hi Forum,

I have developed some custom WPC WebForms (on EP 7.3 Ehp1 i.e. 7.31 SP004) and they are working fine on Sandbox. Then, transported from Sandbox to Dev.

Portal conent (iViews and WPC templates) ------------ Using Portal Transport Package (xxxxx.epa)

KM Conent (supporting images & XSL, XML, CSS) ------------ Using KM Export (xxxx.kmc)

WPC Config Objects (WebContent types, Web Resource Types, Document Styles, XML Document Types etc...) ------------- Using Content Management ----> Actions ---> Export (xxxxx.configarchive)

After transport on the target (Dev) system the WPC conent is not getting displayed and I am seeing errors instead of Webforms content in the WPC Page.

I tried, re-publishing the page with no luck. When I created a new page and try to to place wpc web-form on to it (including standard forms like Banner, Article) the form editor is reporting WebContentType not found though all the webcontent types, resource types

Checked the thread http://scn.sap.com/thread/3220608 and I can only find the "EditorTool" at a different path "System Administration -> Permissions ->Security Zones -> sap.com ->netweaver.kmc-->low-safety-->com.sap.nw.pcc.xmleditor-->components-->EditorTool" and changed the permissions as mentioned in the thread and this didn't work.

Checked the SAP Note 1710848 and the error is not relavent.

Errors in the Log :-

Exception ID:07:52_20/11/12_0017_69058550
[EXCEPTION]
com.sapportals.portal.prt.component.PortalComponentException: Error in service call of Portal Component
Application name : com.sap.nw.pcc.xmleditor
Component : pcd:com.sap.portal.system/pcc/rt_content/com.sap.portal.pcc/StagingAreaId/HomePage/6columnpage/6columnpage/1350490621
Component class : com.sap.portal.prt.component.CachablePortalComponent
User : ramesh.kotagiri
at com.sap.portal.prt.core.PortalRequestManager.handlePortalComponentException(PortalRequestManager.java:765)
at com.sap.portal.prt.core.PortalRequestManager.callPortalComponent(PortalRequestManager.java:245)
at com.sap.portal.prt.core.PortalRequestManager.dispatchRequest(PortalRequestManager.java:107)
at com.sapportals.portal.prt.core.async.AsyncIncludeRunnable.run(AsyncIncludeRunnable.java:119)
at com.sap.engine.core.thread.execution.Executable.run(Executable.java:122)
at com.sap.engine.core.thread.execution.Executable.run(Executable.java:101)
at com.sap.engine.core.thread.execution.CentralExecutor$SingleThread.run(CentralExecutor.java:328)
Caused by: com.sapportals.portal.prt.runtime.PortalRuntimeException: PortalRuntimeException
at com.sap.nw.pcc.ui.XmlEditorRenderer.doContent(XmlEditorRenderer.java:124)
at com.sapportals.portal.prt.component.AbstractPortalComponent.serviceDeprecated(AbstractPortalComponent.java:205)
at com.sapportals.portal.prt.component.AbstractPortalComponent.service(AbstractPortalComponent.java:121)
at com.sap.portal.prt.component.CachablePortalComponent.service(CachablePortalComponent.java:137)
at com.sap.portal.prt.core.RequestDispatcherFactory$PortalComponentRequestDispatcher$5.service(RequestDispatcherFactory.java:308)
at com.sap.engine.services.servlets_jsp.server.deploy.impl.module.IRequestDispatcherImpl.dispatch(IRequestDispatcherImpl.java:270)
at com.sap.portal.prt.core.RequestDispatcherFactory$PortalComponentRequestDispatcher.service(RequestDispatcherFactory.java:298)
at com.sap.portal.prt.core.PortalRequestManager.callPortalComponent(PortalRequestManager.java:229)
... 5 more
Caused by: com.sap.portal.pcc.pccservices.PCCException: Error processing the resource
at com.sap.nw.pcc.kmfacade.impl.PccKmFactory.getPublishedPage(PccKmFactory.java:107)
at com.sap.nw.pcc.ui.PCCAbstractRenderer.getAssignedResource(PCCAbstractRenderer.java:88)
at com.sap.nw.pcc.ui.XmlEditorRenderer.doContent(XmlEditorRenderer.java:114)
... 12 more
Caused by: java.lang.NullPointerException: while trying to invoke the method com.sapportals.wcm.repository.IResource.getContent() of an object loaded from local variable 'outputXml'
at com.sap.nw.pcc.kmfacade.impl.PccKmFactory.getPublishedPage(PccKmFactory.java:101)
... 14 more

---------------------------------------------------------------------------------------

07:52_20/11/12_0017_69058550
[EXCEPTION]
com.sap.portal.pcc.pccservices.PCCException: Error processing the resource
at com.sap.nw.pcc.kmfacade.impl.PccKmFactory.getPublishedPage(PccKmFactory.java:107)
at com.sap.nw.pcc.ui.PCCAbstractRenderer.getAssignedResource(PCCAbstractRenderer.java:88)
at com.sap.nw.pcc.ui.XmlEditorRenderer.doContent(XmlEditorRenderer.java:114)
at com.sapportals.portal.prt.component.AbstractPortalComponent.serviceDeprecated(AbstractPortalComponent.java:205)
at com.sapportals.portal.prt.component.AbstractPortalComponent.service(AbstractPortalComponent.java:121)
at com.sap.portal.prt.component.CachablePortalComponent.service(CachablePortalComponent.java:137)
at com.sap.portal.prt.core.RequestDispatcherFactory$PortalComponentRequestDispatcher$5.service(RequestDispatcherFactory.java:308)
at com.sap.engine.services.servlets_jsp.server.deploy.impl.module.IRequestDispatcherImpl.dispatch(IRequestDispatcherImpl.java:270)
at com.sap.portal.prt.core.RequestDispatcherFactory$PortalComponentRequestDispatcher.service(RequestDispatcherFactory.java:298)
at com.sap.portal.prt.core.PortalRequestManager.callPortalComponent(PortalRequestManager.java:229)
at com.sap.portal.prt.core.PortalRequestManager.dispatchRequest(PortalRequestManager.java:107)
at com.sapportals.portal.prt.core.async.AsyncIncludeRunnable.run(AsyncIncludeRunnable.java:119)
at com.sap.engine.core.thread.execution.Executable.run(Executable.java:122)
at com.sap.engine.core.thread.execution.Executable.run(Executable.java:101)
at com.sap.engine.core.thread.execution.CentralExecutor$SingleThread.run(CentralExecutor.java:328)
Caused by: java.lang.NullPointerException: while trying to invoke the method com.sapportals.wcm.repository.IResource.getContent() of an object loaded from local variable 'outputXml'
at com.sap.nw.pcc.kmfacade.impl.PccKmFactory.getPublishedPage(PccKmFactory.java:101)

------------------------------------------------------------------------------------------------

Any pointers will be highly appreciated.

Regards,

Ramesh.