Skip to Content
0
Former Member
Feb 23, 2009 at 05:52 AM

OCARuntime Exception/ Not able to do local deployment

18 Views

Hi All,

I am facing two problems .

I am trying to develop a mobile application using Web Dynpro (Web dynpro for Handheld perspective).

I did the following.

Create a Service add DO(using DOE), add Operation then build.

I added this service in the UI component as a dependency and created a applicaiton and did all the bindings(Model to Controller Context binding then controller to View).

A) In view Layout I have mapped a table to a Node X, and a text field to a attribut of the same node X.

After successful download of the data on client I am able to see the Data in Client and in the table but not in the textfield.Once I click the radio button on the table the datagets displayed on the textfiel with a Error Saying "Internam Error Please check Log"and the log gives the following

<r id="1235366750751" t="10:55:50" d="2009-02-23" s="I" c="000" u="" g="" m="Logging initialized">

<f n="LocationName" v=" (com.sap.tc.mobile.logging.impl.FileLogger:)"/>

<f n="ThreadName" v="main"/>

</r>

sap.com tcmobilewdlitecontainer could not be found. Trying to use the default bundle.">

<f n="LocationName" v=" (com.sap.tc.mobile.wdlite.renderer.exception.OCAExceptionLocalizeHelper:)"/>

<f n="ThreadName" v="main"/>

</r>

<r id="1235367240376" t="11:04:00" d="2009-02-23" s="E" c="000" u="SISLMOB2" g="en" m="Internal Error. Please check the log file. --&gt; com.sap.tc.mobile.wdlite.ocaexceptions.OCARuntimeException: sf.access.notallowed

_ at com.sap.tc.mobile.sf.OcaDataObjectNode.setAttributeValueNative_(OcaDataObjectNode.java:192)

at com.sap.tc.mobile.sf.OcaBaseNode.setAttributeValue(OcaBaseNode.java:47)

at com.sap.tc.mobile.wdlite.progmodel.core.context.NodeElement.setAttributeValue(NodeElement.java:124)

at com.sap.tc.mobile.wdlite.progmodel.core.context.NodeElementWrapper.setAttributeValue(NodeElementWrapper.java:60)

at com.sap.tc.mobile.wdlite.progmodel.core.context.ContextNode.setAttributeValue(ContextNode.java:585)

at com.sap.tc.mobile.wdlite.progmodel.core.context.ContextNode.setAttributeValue(ContextNode.java:572)

at com.sap.tc.mobile.wdlite.progmodel.core.context.ContextNodeMapped.setAttributeValue(ContextNodeMapped.java:138)

at com.sap.tc.mobile.wdlite.progmodel.core.context.Attribute.setValue(Attribute.java:116)

at com.sap.tc.mobile.wdlite.progmodel.core.context.Attribute.listenValueChanged(Attribute.java:106)

at com.sap.tc.mobile.wdlite.progmodel.core.ValueHolder.setValue(ValueHolder.java:38)

at com.sap.tc.mobile.wdlite.progmodel.core.ValueHolder.setValue(ValueHolder.java:29)

at com.sap.tc.mobile.wdlite.progmodel.core.viewelement.Property.setValue(Property.java:136)

at com.sap.tc.mobile.wdlite.renderer.api.UIElement.syncValueHolderProperty(UIElement.java:306)

at com.sap.tc.mobile.wdlite.renderer.api.UIElement.setValue(UIElement.java:330)

at com.sap.tc.mobile.wdlite.renderer.api.UIFieldChoice.setValue(UIFieldChoice.java:130)

at com.sap.tc.mobile.wdlite.renderer.api.UIFieldChoice.setProperty(UIFieldChoice.java:103)

at com.sap.tc.mobile.wdlite.renderer.api.UIElement.listenValueChanged(UIElement.java:266)

at com.sap.tc.mobile.wdlite.progmodel.core.ValueHolder.setValue(ValueHolder.java:38)

at com.sap.tc.mobile.wdlite.progmodel.core.viewelement.Property.listenContextNodeCursorChanged(Property.java:173)

at com.sap.tc.mobile.wdlite.progmodel.core.context.ContextNode.notifyCursorChanged(ContextNode.java:621)

B) After downloading the data on client I exit the client and do some modifications in the NWDS and try to deploy locally , then the Data that was downloaded gets erased .

I am not able to see the changes or else teh changes are seen but no data is displayed.

Plz help

Regards,

Renuka