cancel
Showing results for 
Search instead for 
Did you mean: 

Cannot create callable object or action in GP

Former Member
0 Kudos
86

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

Accepted Solutions (0)

Answers (4)

Answers (4)

Former Member
0 Kudos

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

richard_hirsch
Active Contributor
0 Kudos

Hi,

Have you tried the solution proposed by Austin Chinn (see second post in this thread).

Dick

Former Member
0 Kudos

Hi,

I was getting the following error while trying to create an Action in GP :-

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

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

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

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

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

I tried the solution proposed by Austin Chinn, but still Iam facing the problem with a new message prior to the exception as follows :-

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

I tried searching for SAPEU09_0-10003026.SCA file in the Marketplace (https://websmp208.sap-ag.de) but could not locate it anywhere.

I looked in the following sections :-

SAP Support Portal -> Downloads -> SAP Software Distribution Center

and also

SAP Support Portal -> Downloads -> SAP Installations & Upgrades

and also

SAP Support Portal -> Downloads -> SAP Support Packages

Could anyone provide me the details of where to download it in the marketplace web site ?

Thanking you in advance,

Rajkumar

richard_hirsch
Active Contributor
0 Kudos

Hi,

I just tried it and I found the file. Go the <a href="Go to https://websmp208.sap-ag.de/swdc">Software Download</a> and then search for "SAPEU09". You should find the file.

Dick

Former Member
0 Kudos

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

Former Member
0 Kudos

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

richard_hirsch
Active Contributor
0 Kudos

Hi Aliaksei,

Which GP SCA did you unpack? I tried to find it in the SDM directory and couldn't find anything.

Thanks.

Dick

Former Member
0 Kudos

I had the same problem with NW2004s SP9 trial when I tried to create a gp process or open an existing one. I downloaded "SAPEU09_0-10003026.SCA.zip" from the marketplace and deployed the whole thing via SDM (I knew it has more than I need in order to fix the problem, but I didn't mind since it is my own sandbox. Of course it took a long time to load). After that, the problem is fixed. I hav not tested if this problem is also existing in my newly-installed dev system (we downloaded the software and installed it 3 weeks ago).

Hope it helps.

--

Harrison Li

richard_hirsch
Active Contributor
0 Kudos

Hi,

just wanted to say that Harrison's suggestion solved my problem.

Thanks.

Dick

Former Member
0 Kudos

Glad to hear that it helps.

I tested our dev system installed several weeks ago and it doesn't have that problem.

Harrison

Austin
Product and Topic Expert
Product and Topic Expert
0 Kudos

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/<SID>/<JCxx>/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.

Former Member
0 Kudos

I have the same problem on NW04s SP9 Trial.

But this stack trace appears only for action creation.

Is there more simple way to fix it. Do I have to redeploy this application several times or only once?

richard_hirsch
Active Contributor
0 Kudos

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