on 06-25-2010 12:05 PM
Hi All,
I am getting the dump "Dynamic type conflict when assigning references". In my application I have used a table control inside which I have input field, text view and text edit.
I guess the text edit is creating the issue. The error analysis report is below :
If anyone have any idea about the issue, please help.
Error analysis
An exception occurred that is explained in detail below.
The exception, which is assigned to class 'CX_SY_MOVE_CAST_ERROR', was not
caught in
procedure "IF_WDR_VIEW_ELEMENT_ADAPTER~SET_CONTENT" "(METHOD)", nor was it
propagated by a RAISING clause.
Since the caller of the procedure could not have anticipated that the
exception would occur, the current program is terminated.
The reason for the exception is:
It was tried to assign a reference to a rereference variable using the
'CAST' operation ('?=' or 'MOVE ?TO').
However, the current content of the source variable does not fit into
the target variable.
source type: "\CLASS-POOL=/1WDA/L0STANDARD\CLASS=CL_TEXT_EDIT"
target type: "\INTERFACE=/1WDA/VTABLE_CELL_EDITOR"
Information on where terminated
Termination occurred in the ABAP program "/1WDA/L3STANDARD==============CP" -
in "IF_WDR_VIEW_ELEMENT_ADAPTER~SET_CONTENT".
The main program was "SAPMHTTP ".
In the source code you have the termination point in line 2290
of the (Include) program "/1WDA/L3STANDARD==============CCIMP".
The termination is caused because exception "CX_SY_MOVE_CAST_ERROR" occurred in
procedure "IF_WDR_VIEW_ELEMENT_ADAPTER~SET_CONTENT" "(METHOD)", but it was
neither handled locally nor declared
in the RAISING clause of its signature.
The procedure is in program "/1WDA/L3STANDARD==============CP "; its source
code begins in line
2034 of the (Include program "/1WDA/L3STANDARD==============CCIMP ".
2265 if va__CONTENT_READONLY is bound and
2266 va__CONTENT_READONLY->IFUR_NW5__CONTROL~_IID <> ifur_nw5_invisible=>_iid_invisible.
2267 IFUR_NW5_SAPTABLECELL~HASCONTENT = abap_true.
2268 else.
2269 IFUR_NW5_SAPTABLECELL~HASCONTENT = abap_false.
2270 endif.
2271 endif.
2272
2273 * >> ProvideCONTENT
2274
2275 IF mv_CONTENT_READONLY <> va__CONTENT_READONLY.
2276 finalize_adapter( mv_CONTENT_READONLY ).
2277 mv_CONTENT_READONLY ?= va__CONTENT_READONLY.
2278 ENDIF.
2279
2280 * >> property-Aggregation mv_CONTENT_EDITABLE
2281 DATA va__CONTENT_EDITABLE TYPE REF TO /1WDA/VTABLE_CELL_EDITOR. "#EC NEEDED
2282 * >> UCA STANDARD|TABLE_CELL|CONTENT_EDITABLE
2283 data adp_uielement type ref to /1WDA/VUIELEMENT. "#EC NEEDED
2284 if mv_CONTENT_READONLY is not bound and
2285 mv_WD_TABLE_CELL_EDITOR is bound.
2286 va__CONTENT_EDITABLE ?= mv_CONTENT_EDITABLE.
2287 IF va__CONTENT_EDITABLE is bound and va__CONTENT_EDITABLE->m_view_element = mv_WD_TABLE_
2288 ELSE.
2289
>>>>> va__CONTENT_EDITABLE ?= create_by_view_element(
2291 view_element = mv_WD_TABLE_CELL_EDITOR
2292 parent = me
2293 ).
Hi Everyone,
Thanks for your replies.
We raised an OSS call for the same and got the below response.
Dear Customer,
I've analized your actual problem and found out that you are using a notallowed combination of text edit as cell editor within table for
clasical Web Dynpro ABAP rendering. The text edit as cell editor work in701 releases when the lightspeed rendering is enabled. However in case
that you want to used
lightspeed rendering, I would suggest to upgrade on a higher
SP level than SP4 as for technical reason we can only deliver
corrections for Unified Rendering first from SP04.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
I am not passing any value to it. I have a table control with the Text Edit which I am using for getting my input. The dump arises in displaying the initial screen itself ( not after giving the inputs).
Initially I had this dump only in the portal side and not in backend. In portal side we set the parameter sap-wd-lightspeed to X and it was working fine.
Now all of a sudden I am getting the error in backend. In portal its still working fine.
Any idea about that parameter?
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
It sounds like you have the lightspeed renderer disabled globally in your system. That is not advisable. Lightspeed is the 7.01 version of the WD renderer. With it disabled, you don't have support for any of the new features in 7.01. If I remember right, you could use a TextEdit in a CellEditor of a table in 7.0. This would explain the dump. My suggestion - reactivate Lightspeed globally.
Hi,
Put a break-point in the std code where it dumps & try to see what table Field/value is being referenced here. If you find it, Then check what values you are passing & if that is correct.
Thanks,
Phani
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
I think you should report this as a bug. The dump is saying that the CL_TEXT_EDIT class is not compatible with the table cell editor becuase it doesn't contain the VTABLE_CELL_EDITOR interface. I can't really see how this dump that this is something you have done wrong.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Please help
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
85 | |
10 | |
10 | |
10 | |
7 | |
6 | |
6 | |
5 | |
4 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.