cancel
Showing results for 
Search instead for 
Did you mean: 

The ASSERT condition was violated.

Former Member
0 Kudos

When I test my Webdynpro application,I get a short dump related to assert condition.

Error analysis
    The following checkpoint group was used: "No checkpoint group specified"

    If in the ASSERT statement the addition FIELDS was used, you can find
    the content of the first 8 specified fields in the following overview:
    " (not used) "
    " (not used) "
    " (not used) "
    " (not used) "
    " (not used) "
    " (not used) "
    " (not used) "
    " (not used) "

Source Code Extract

Line  SourceCde

    1 METHOD dispatch_nw7_event.
    2   DATA: l_event_handler TYPE REF TO if_wdr_nw7_event_handler.
    3
    4   l_event_handler = get_nw7_event_handler( i_event_handler_id ).
>>>>>   assert l_event_handler is not initial.
    6
    7   " View-based Delta Rendering: tracking of client events
    8   raise event on_nw7_handle_event
    9     exporting
   10       event_handler = l_event_handler
   11       event_name    = i_event_name.
   12
   13
   14   l_event_handler->handle_event(
   15       i_event_name       = i_event_name
   16       i_event_parameters = i_event_parameters
   17       i_update_data      = i_update_data
   18       i_event_queue      = i_event_queue ).
   19 ENDMETHOD.

Can anyone help me out ?

Accepted Solutions (0)

Answers (3)

Answers (3)

Former Member
0 Kudos

Hi Chaitanya,

We are also facing the same problem. This seems to pretty old Thread..

How did you fix this issue? SAP Note? if so, which one?

Thanks,

Ajay Mukundan

Former Member
0 Kudos

Please try this OSS note correction.

Note 1559475 - WDA: Short dump ASSERTION_FAILED in DISPATCH_NW7_EVENT

good luck,

Anirut W.

Former Member
0 Kudos

hi, the description is so abstract...

About the EXCEPTION, it seems as if i have also encountered..But not very certain..

I can remember, when i use "Check box" and "Check box group" wrongly, then the EXCEPTION appeared.

Finally, i checked out that:

I have made one mistake in using the Parameter "WDEVENT" in Action-handler.

For example, i add one parameter named "INDEX" in the parameter list of the action-handler.However, in "WDEVENT", there is no one parameter named "INDEX" at runtime...

So, i'd suggest you that you can check the action handler if you have any action, and check whether you use the paramer wrong..

Hope it can help a little.

Best wishes.