Skip to Content
0
Former Member
Apr 29, 2011 at 08:04 PM

Short Dump with using GOS Object for Direct Attachment

439 Views

Hi All,

I am using the GOS Objects to create an attachment without using the GOS Toolbar. I am getting the following short dump.

SET HANDLER: Reference to handler object cannot be NULL.

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

terminated because it has

come across a statement that unfortunately cannot be executed.

When specification a handler for an event in the SET HANDLER statement,

the reference "IS_SERVICE-SERVICE" to the handler instance cannot be NULL.

Program CL_GOS_TOOLBOX_VIEW===========CP

Include CL_GOS_TOOLBOX_VIEW===========CM004

Row 69

Module type (METHOD)

Module Name DISPATCH_SERVICE

=============================================

When I click on SET HANDLER statement, control leads to method DISPATCH_SERVICE in class CL_GOS_TOOLBOX_VIEW.

=============================================

I am exactly following the steps as given in the below code sample

http://www.sdn.sap.com/irj/scn/index?rid=/library/uuid/0e6b0d95-0a01-0010-4696-ca0a48de5fb3

Any help is greatly appreciated.

Thanks,

Geetha