cancel
Showing results for 
Search instead for 
Did you mean: 

short dump when open view layout

former_member375669
Participant
0 Kudos

hi experts,

i make a copy of UI element that is a transparent container that have a lot of another UI element. then i save it.

now when i open the layout it returns a short dump..

is there any way by which i can open my layout.

please help me.

points will be awarded

thanks

ashish

Accepted Solutions (1)

Accepted Solutions (1)

Madhu2004
Active Contributor
0 Kudos

Hi ,

In the copied fields check whether all the fields are binded . If not remove the filds which are not binded and try.

Madhu

former_member375669
Participant
0 Kudos

Hi madhu and alex

ya u r right but i am not able to open the layout..

is there any way by which i can open the view layout .

thanks.

Former Member
0 Kudos

hi ashish....

are you not able to open only the layout part(preview) but can see the ui elements present in it?

---regards,

alex b justin

former_member375669
Participant
0 Kudos

hi

no alex when i double click on the view then it gives a short dump ,

i can open the component controler and window and all other objects but not the view.

thanks

Former Member
0 Kudos

hi ashish........

i dont think anything can be done.

just one last chance...

right click on the view which throws this dump and select copy.

copy it into a new view ant try opening it.

but before saving create the respective nodes and attributes.

---regards,

alex b justin

former_member375669
Participant
0 Kudos

hi alex

i have tried it but unfotunetly it doesnt work.

is there any way by which i can set the first tab to be open when we double click on the view. By default it opens the layout tab first. i think there must be some setings by which we can open any another tab.

thanks

Former Member
0 Kudos

hi ashish....

here is your solution:

create another view v2 or use an existing one.

open v2 and click the properties tab.

now click your previous view that throws the dump.

by default it will open in the properties tab.

---regards,

alex b justin

former_member375669
Participant
0 Kudos

thanks alex

it works

if u can try to do some thing on my previous problem then it will be a great help..

thanks

Former Member
0 Kudos

hi ashish......

in case of your previous so called problem...........

now you will be able to access your context.

you can create the respective nodes and attributes that would suit your ui elements.

---regards,

alex b justin

former_member375669
Participant
0 Kudos

thanks alex,

now i am doing the same,

great thanks and regards

ashish

Answers (1)

Answers (1)

Former Member
0 Kudos

hi ashish....

what is the message of the short dump you get......

may be you need for some patches too.

--regards,

alex b justin

former_member375669
Participant
0 Kudos

hi alex,

I have created previously some objects. an i think it is not a problem of patchs.

i am giving u the text of short dump, i think it comes becouse i copied the element but some UI elements wants necessory binding and some other attributes that i have not spacify, now when i try to open the layout it try to create the tree of UI elements appear in right of screen.. i think it gives a problem becouse of that...

Short text

Access via 'NULL' object reference not possible.

What happened?

Error in the ABAP Application Program

The current ABAP program "CL_WDR_VD_ADAPTER=============CP" had to be

terminated because it has

come across a statement that unfortunately cannot be executed.

TEXT APPEAR IN SHORT DUMP

Error analysis

An exception occurred that is explained in detail below.

The exception, which is assigned to class 'CX_SY_REF_IS_INITIAL', was not

caught in

procedure "CREATE_ADAPTER_BY_ELEMENT" "(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:

You attempted to use a 'NULL' object reference (points to 'nothing')

access a component.

An object reference must point to an object (an instance of a class)

before it can be used to access components.

Either the reference was never set or it was set to 'NULL' using the

CLEAR statement.

thanks

Former Member
0 Kudos

hi ashish....

if you have copied your uielemnt container into the same view then it shows the error because of thename conflict...

or in another case they might have been linked with your context nodes which might not have been present in your current view.

so only it throws a null object reference..

it is always better to copy the whole view.

--regards,

alex b justin