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

Cannot create callable object or action in GP

Hello Everybody,

I have installed Portal SP08 on my WAS. Now, I am trying to create some test callable objects and actions in the GP design time. But, at the time of creating it it gives me following error.

com.sap.tc.webdynpro.repository.RepositoryRuntimeException: Failed to get Related Model Object for the object ontoBrowser, relation UsedComponent.

at com.sap.tc.webdynpro.repository.model.DelegatorRepositoryModelClass.getRelatedModelObject(DelegatorRepositoryModelClass.java:640)

at com.sap.tc.webdynpro.progmodel.repository.IWDComponentUsageInfo$Implementation.getUsedComponentInternal(IWDComponentUsageInfo.java:216)

at com.sap.tc.webdynpro.progmodel.components.ComponentUsage.<init>(ComponentUsage.java:67)

at com.sap.tc.webdynpro.progmodel.controller.Component.createComponentUsage(Component.java:822)

at com.sap.tc.webdynpro.progmodel.controller.Component.getComponentUsageInternal(Component.java:472)

at com.sap.tc.webdynpro.progmodel.controller.Component.subscribeToEvent(Component.java:695)

at com.sap.tc.webdynpro.progmodel.generation.DelegatingView.subscribeSelfToEvent(DelegatingView.java:109)

at com.sap.caf.eu.gp.dt.grouping.wdp.InternalVGroup.wdDoInit(InternalVGroup.java:301)

at com.sap.tc.webdynpro.progmodel.generation.DelegatingView.doInit(DelegatingView.java:61)

at com.sap.tc.webdynpro.progmodel.controller.Controller.initController(Controller.java:215)

at com.sap.tc.webdynpro.progmodel.view.View.initController(View.java:445)

at com.sap.tc.webdynpro.progmodel.controller.Controller.init(Controller.java:200)

at com.sap.tc.webdynpro.progmodel.view.ViewManager.getView(ViewManager.java:700)

at com.sap.tc.webdynpro.progmodel.view.ViewManager.bind(ViewManager.java:546)

at com.sap.tc.webdynpro.progmodel.view.ViewManager.getView(ViewManager.java:715)

at com.sap.tc.webdynpro.progmodel.view.ViewManager.bindRoot(ViewManager.java:570)

at com.sap.tc.webdynpro.progmodel.view.ViewManager.init(ViewManager.java:155)

at com.sap.tc.webdynpro.progmodel.view.InterfaceView.initController(InterfaceView.java:43)

at com.sap.tc.webdynpro.progmodel.controller.Controller.init(Controller.java:200)

at com.sap.tc.webdynpro.progmodel.view.ViewManager.getView(ViewManager.java:700)

at com.sap.tc.webdynpro.progmodel.view.ViewManager.bind(ViewManager.java:546)

at com.sap.tc.webdynpro.progmodel.view.ViewManager.makeVisible(ViewManager.java:780)

at com.sap.tc.webdynpro.progmodel.view.ViewManager.onComponentCreated(ViewManager.java:258)

at com.sap.tc.webdynpro.progmodel.components.ComponentUsage.fireComponentCreated(ComponentUsage.java:575)

at com.sap.tc.webdynpro.progmodel.components.ComponentUsage.createComponentInternal(ComponentUsage.java:175)

at com.sap.tc.webdynpro.progmodel.components.ComponentUsage.createComponent(ComponentUsage.java:116)

at com.sap.caf.eu.gp.ui.hdt.activitydt.CActivityDT.internalInit(CActivityDT.java:358)

at com.sap.caf.eu.gp.ui.hdt.activitydt.wdp.InternalCActivityDT.internalInit(InternalCActivityDT.java:175)

at com.sap.caf.eu.gp.ui.hdt.activitydt.CActivityDTView.onPlugfromDispatch(CActivityDTView.java:191)

at com.sap.caf.eu.gp.ui.hdt.activitydt.wdp.InternalCActivityDTView.wdInvokeEventHandler(InternalCActivityDTView.java:145)

at com.sap.tc.webdynpro.progmodel.generation.DelegatingView.invokeEventHandler(DelegatingView.java:87)

at com.sap.tc.webdynpro.clientserver.cal.ClientApplication.navigate(ClientApplication.java:826)

at com.sap.tc.webdynpro.clientserver.cal.ClientComponent.navigate(ClientComponent.java:873)

at com.sap.tc.webdynpro.clientserver.window.WindowPhaseModel.doNavigation(WindowPhaseModel.java:498)

at com.sap.tc.webdynpro.clientserver.window.WindowPhaseModel.processRequest(WindowPhaseModel.java:144)

at com.sap.tc.webdynpro.clientserver.window.WebDynproWindow.processRequest(WebDynproWindow.java:330)

at com.sap.tc.webdynpro.clientserver.cal.AbstractClient.executeTasks(AbstractClient.java:143)

at com.sap.tc.webdynpro.clientserver.session.ApplicationSession.doProcessing(ApplicationSession.java:299)

at com.sap.tc.webdynpro.clientserver.session.ClientSession.doApplicationProcessingStandalone(ClientSession.java:707)

at com.sap.tc.webdynpro.clientserver.session.ClientSession.doApplicationProcessing(ClientSession.java:661)

at com.sap.tc.webdynpro.clientserver.session.ClientSession.doProcessing(ClientSession.java:229)

at com.sap.tc.webdynpro.clientserver.session.RequestManager.doProcessing(RequestManager.java:152)

at com.sap.tc.webdynpro.serverimpl.defaultimpl.DispatcherServlet.doContent(DispatcherServlet.java:62)

at com.sap.tc.webdynpro.serverimpl.defaultimpl.DispatcherServlet.doPost(DispatcherServlet.java:53)

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

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:100)

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

Caused by: com.sap.tc.webdynpro.repository.RepositoryRuntimeException: XMLParser: Bad attribute list. Expected WhiteSpace, / or >: (:main:, row:1, col:491)

at com.sap.tc.webdynpro.repository.persistence.xml.XMLConfigurationParserWriter.startParsing(XMLConfigurationParserWriter.java:178)

at com.sap.tc.webdynpro.repository.persistence.xml.XMLPersistence.doReadVMO(XMLPersistence.java:126)

at com.sap.tc.webdynpro.repository.persistence.RepositoryPersistence.readVMO(RepositoryPersistence.java:356)

at com.sap.tc.webdynpro.repository.persistence.RepositoryPersistence.doFindRepositoryObject(RepositoryPersistence.java:598)

at com.sap.tc.webdynpro.repository.persistence.RepositoryPersistence.findRepositoryObject(RepositoryPersistence.java:170)

at com.sap.tc.webdynpro.repository.model.Repository.findRepositoryObjectInternal(Repository.java:590)

at com.sap.tc.webdynpro.repository.model.RepositoryObjectRelation$XMLGuidWrapper.getModelObject(RepositoryObjectRelation.java:462)

at com.sap.tc.webdynpro.repository.persistence.RepositoryPersistence.getCurrentLayerObject(RepositoryPersistence.java:702)

at com.sap.tc.webdynpro.repository.model.Repository.getCurrentLayerObject(Repository.java:1483)

at com.sap.tc.webdynpro.repository.model.NonSharedRelationToOne.doMergeInheritedTarget(NonSharedRelationToOne.java:85)

at com.sap.tc.webdynpro.repository.model.NonSharedRelationToOne.mergeInheritedTargets(NonSharedRelationToOne.java:49)

at com.sap.tc.webdynpro.repository.model.RelationToOne.getTarget(RelationToOne.java:93)

at com.sap.tc.webdynpro.repository.model.AbstractRepositoryModelClass.getRelatedModelObject(AbstractRepositoryModelClass.java:234)

at com.sap.tc.webdynpro.repository.model.DelegatorRepositoryModelClass.getRelatedModelObject(DelegatorRepositoryModelClass.java:636)

... 59 more

Caused by: com.sap.engine.lib.xml.parser.NestedSAXParserException: XMLParser: Bad attribute list. Expected WhiteSpace, / or >: (:main:, row:1, col:491)(:main:, row=1, col=491) -> com.sap.engine.lib.xml.parser.ParserException: XMLParser: Bad attribute list. Expected WhiteSpace, / or >:(:main:, row:1, col:491)

at com.sap.engine.lib.xml.parser.SAXParser.parse(SAXParser.java:148)

at com.sap.tc.webdynpro.repository.persistence.xml.XMLConfigurationParserWriter.startParsing(XMLConfigurationParserWriter.java:166)

... 72 more

Caused by: com.sap.engine.lib.xml.parser.ParserException: XMLParser: Bad attribute list. Expected WhiteSpace, / or >:(:main:, row:1, col:491)

at com.sap.engine.lib.xml.parser.XMLParser.scanAttList(XMLParser.java:1566)

at com.sap.engine.lib.xml.parser.XMLParser.scanElement(XMLParser.java:1687)

at com.sap.engine.lib.xml.parser.XMLParser.scanDocument(XMLParser.java:2792)

at com.sap.engine.lib.xml.parser.XMLParser.parse0(XMLParser.java:227)

at com.sap.engine.lib.xml.parser.AbstractXMLParser.parseAndCatchException(AbstractXMLParser.java:141)

at com.sap.engine.lib.xml.parser.AbstractXMLParser.parse(AbstractXMLParser.java:156)

at com.sap.engine.lib.xml.parser.AbstractXMLParser.parse(AbstractXMLParser.java:259)

at com.sap.engine.lib.xml.parser.Parser.parseWithoutSchemaValidationProcessing(Parser.java:278)

at com.sap.engine.lib.xml.parser.Parser.parse(Parser.java:340)

at com.sap.engine.lib.xml.parser.SAXParser.parse(SAXParser.java:125)

... 73 more

Anybody come across such errors?

Regards,

Bhavik

Add a comment
10|10000 characters needed characters exceeded

Related questions

4 Answers

  • author's profile photo Former Member
    Former Member
    Posted on Sep 18, 2006 at 08:39 PM

    Hello Bhavik,

    Yes, we have seen this issue before.

    This error message can happen when there is a problem with the CAF deployment (typically when upgrading from SP7 to SP8).

    The problem is usually solved by undeploying and redeploying the sap.com/cafeugpuidtcompcons Development Component (DC) through the J2EE Visual Administrator (Go to server -> service -> deploy)

    Once you undeploy this DC, you need to deploy the same DC again, through the SDM.

    To undeploy, first copy the SDA file from

    /user/sap/ / /SDM/root/origin/ sap.com/caf/eu/gp/ui/dt/comp/cons/MAINxxxxx to a temporary location. Next, redeploy it with the SDM and be sure to select the option that allows deployment of the same SDA version. (If there are several folders of MAINxxxxxxx, select the newest one.)

    Regards,

    Austin.

    Add a comment
    10|10000 characters needed characters exceeded

    • Hi Austin,

      I have the same problem on the NW04s SP9 Trial. I tried redeploying the SDA (as you suggested) without success. It apears that a XML file is corrupted.

      Does anyone know a solution to this problem or which XML file has the problem. It might be possible to correct the file manually.

      Thanks.

      Dick

  • author's profile photo Former Member
    Former Member
    Posted on Oct 23, 2006 at 11:05 AM

    Some time ago I had the same problem. To fix that I unpacked the initially deployed GP sca, unpacked the DEEPLOYARCHIVES folder and redeployed ALL the web dynpro related archives. The problem was fixed from the first redeployment attempt. To select related to wd archives check the "ui" token in dev archive name.

    It seems your symptom is not in scope of the SAP note which recommneds to redeploy cafeugpuicons archive.

    Best regards,

    Aliaksei

    Add a comment
    10|10000 characters needed characters exceeded

  • author's profile photo Former Member
    Former Member
    Posted on Oct 23, 2006 at 12:29 PM

    I unpacked the GP SCA which I previously deployed on engine. I migrated from SP8 to SP9 and I deployed full GP SP9 sca. So, after that your problem is reproduced and and I unpacked this sca, retrieved all the wd archives and redeployed again.

    If you don't have this SCA you need to downoload full GP sca archive from market place. Pay attention on the SP level of dowloaded sca(j2ee engine SP level must == GP SP level). In this case I recommend you to redeploy not only UI archives but whole sca, because of possible patches differences.

    Best regards,

    Aliaksei

    Add a comment
    10|10000 characters needed characters exceeded

  • author's profile photo Former Member
    Former Member
    Posted on Nov 22, 2006 at 08:44 PM

    I also need to redeploy the SAP EU however I using the Sneak Peak and do not have access on the market place to get the download "SAPEU09_0-10003026.SCA.zip" suggested by Harrison Li.

    Does any one have another way to get the zip file.

    Thank you very much

    Rick Laird

    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.