cancel
Showing results for 
Search instead for 
Did you mean: 

Shortdump on grant approval of project phases

Former Member
0 Kudos

Hi,

A phase in a project is created abd then released after assigning a suitable resource as responsible for approval and approval process is started.

Resource logs on to project management view in portal, clicks on approvals tab to view list on approvals pending for his/her approval.

System works well up to this point.

When the resource opens the approval, enters a comments and clicks on grant approval button, we get a short dump.

" Access via 'NULL' object reference not possible"

However we do not get any short dump if resource rejects the approval, the system status correctly gets updated as rejected.

Following are a detailed ST22 analysis of the shortdump

Class- /WDA/LADOBE

Termination occurred in the ABAP program "/1WDA/LADOBE=========

in "IF_WDR_VIEW_ELEMENT_ADAPTER~SET_CONTENT".

The main program was "SAPMHTTP ".

In the source code you have the termination point in line 216

of the (Include) program "/1WDA/LADOBE==================CCIMP".

The URL &A& possibly contains evil script

cx_wd_general=>raise( msg = CL_WDR_TEXTS=>URL_CONTAINS_EVIL_SCRIPT a = /1WDA/VINTERACTIVE_FORM_ACTIVE~mv_TEMPLATE_SOURCE ). "#EC NOTEXT

endif.

oldurl = /1WDA/VINTERACTIVE_FORM_ACTIVE~mv_TEMPLATE_SOURCE.

  • >> property-UCA mv_FILENAME

  • >> UCA ADOBE|INTERACTIVE_FORM|FILENAME

concatenate /1WDA/VINTERACTIVE_FORM_ACTIVE~mv_TEMPLATE_SOURCE '.pdf' into mv_FILENAME. "#EC NOTEXT "#EC NOTEXT

  • >> property-UCA /1WDA/VINTERACTIVE_FORM~mv_SERVICE_HANDLER

  • >> UCA ADOBE|INTERACTIVE_FORM|SERVICE_HANDLER

if /1WDA/VINTERACTIVE_FORM_ACTIVE~mv_TEMPLATE_SOURCE is not initial.

if /1WDA/VINTERACTIVE_FORM~mv_SERVICE_HANDLER is not bound.

create object /1WDA/VINTERACTIVE_FORM~mv_SERVICE_HANDLER

exporting

i_form_name = /1WDA/VINTERACTIVE_FORM_ACTIVE~mv_TEMPLATE_SOURCE.

else.

  • check, if the template source has been changed

if /1WDA/VINTERACTIVE_FORM_ACTIVEmv_TEMPLATE_SOURCE <> /1WDA/VINTERACTIVE_FORMmv_SERVICE_HANDLER->m_form_name.

  • reinit the handler class

free /1WDA/VINTERACTIVE_FORM~mv_SERVICE_HANDLER.

create object /1WDA/VINTERACTIVE_FORM~mv_SERVICE_HANDLER

exporting

i_form_name = /1WDA/VINTERACTIVE_FORM_ACTIVE~mv_TEMPLATE_SOURCE.

endif.

endif.

endif.

  • >> property-UCA IFUR_NW5_ACTIVEXCONTAINER~CODEBASE

  • >> UCA ADOBE|INTERACTIVE_FORM_ACTIVE|CODEBASE

IFUR_NW5_ACTIVEXCONTAINERCODEBASE = /1WDA/VINTERACTIVE_FORMmv_SERVICE_HANDLER->m_cab_file.

(IT FAILS HERE)

Thanks for looking at this issue

Accepted Solutions (0)

Answers (1)

Answers (1)

Former Member
0 Kudos

Has some one experiences this issue before, Is there any fix for this problem??.

Thanks for sharing your thoughts