Skip to Content
avatar image
Former Member

OBJECTS_OBJREF_NOT_ASSIGNED error on selection

Hi Experts,

I am getting crazy trying to figure out whats going on here. I have a Webdynpro screen for creating purchase requisitions and it has been showing a OBJECTS_OBJREF_NOT_ASSIGNED runtime error to the test user when he selects a value on a RadioButtonGroupByIndex control. I was able to see the error only twice and I have been trying all day to reproduce it with no luck. The onSelect event of my control is binded to a dummy action that does nothing but a round trip to the server, this is to update some values of a node (with supply function) that gets invalidated from the view's WDDOMODIFYVIEW everytime.

The short dump doesn't show any of my code, its all standard calls from the HTTP request until it gets to CL_WDR_CONTEXT_ELEMENT=>IF_WD_CONTEXT_ELEMENT~GET_ATTRIBUTE_REF line 24:

attr_info = me->node_info->if_wd_context_node_info~get_attribute( name_only ).

This is crashing because for some strange reason me->node_info comes null, and the most weird thing is that the attribute info that its trying to get is from a VENDOR field of other node that has nothing to do with the invalidated node, and the active calls doesn't even get me to the invalidate function.

I know its almost impossible that someone can solve my problem only with this data since its a complex and weird thing but maybe if God exists someone here has experimented something similar and can bring some light to me pleaseeeee

Thanks all!

Add comment
10|10000 characters needed characters exceeded

  • Get RSS Feed

2 Answers

  • Best Answer
    Jun 07, 2011 at 07:31 AM

    Maybe you defined some node/attribute with a kardinality 0...n or the like and in some cases you try to access this node/attribute via lead selection and it's initial..... other than guessing it's hard to help here indeed :-///

    Add comment
    10|10000 characters needed characters exceeded

  • avatar image
    Former Member
    Jun 07, 2011 at 08:14 AM

    Hi ,

    Seems to me that the node is initial as already suggested by Lucas.You can change the cardinality to 1..1 or 1..n

    Add comment
    10|10000 characters needed characters exceeded

    • Former Member Former Member

      Hi Daniel!

      Yes, we found this Post very useful, because we were having the same Short Dump!!!

      In our case, we were trying to develop a custom Search Help, that was called by the press button User-Event. For that, we were invoking "cl_wdr_value_help_handler=>handle_value_help".

      At first, everything seemed to work fine..., but when the WD popup screen got closed, we got the same Short Dump as you were describing in your post!

      So for us, the solution was also the same: Inform the Optional VIEW parameter into the method call.

      Regards!

      Carles