Skip to Content

Archived discussions are read-only. Learn more about SAP Q&A

OBJECTS_OBJREF_NOT_ASSIGNED

Hello,

Pls i want immediate reply.. i got this error.. i will give full points...ps help me

Runtime Errors OBJECTS_OBJREF_NOT_ASSIGNED

Exception CX_SY_REF_IS_INITIAL

Date and Time 02.08.2008 13:31:48

-


-


Short text

Access via 'NULL' object reference not possible.

-


-


What happened?

Error in the ABAP Application Program

The current ABAP program "ZNARI_CLASS" had to be terminated because it has

come across a statement that unfortunately cannot be executed.

-


-


What can you do?

Note down which actions and inputs caused the error.

To process the problem further, contact you SAP system

administrator.

Using Transaction ST22 for ABAP Dump Analysis, you can look

at and manage termination messages, and you can also

keep them for a long time.

-


-


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 and

therefore caused a runtime error.

The reason for the exception is:

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

access a component (variable: "CAL1").

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.

-


-


How to correct the error

Probably the only way to eliminate the error is to correct the program.

-

If the error occures in a non-modified SAP program, you may be able to

find an interim solution in an SAP Note.

If you have access to SAP Notes, carry out a search with the following

keywords:

"OBJECTS_OBJREF_NOT_ASSIGNED" "CX_SY_REF_IS_INITIAL"

"ZNARI_CLASS" or "ZNARI_CLASS"

"START-OF-SELECTION"

If you cannot solve the problem yourself and want to send an error

notification to SAP, include the following information:

1. The description of the current problem (short dump)

To save the description, choose "System->List->Save->Local File

(Unconverted)".

2. Corresponding system log

Display the system log by calling transaction SM21.

Restrict the time interval to 10 minutes before and five minutes

after the short dump. Then choose "System->List->Save->Local File

(Unconverted)".

3. If the problem occurs in a problem of your own or a modified SAP

program: The source code of the program

In the editor, choose "Utilities->More

Utilities->Upload/Download->Download".

4. Details about the conditions under which the error occurred or which

actions and input led to the error.

-


-


System environment

SAP-Release 700

Application server... "lenita"

Network address...... "192.168.10.253"

Operating system..... "Windows NT"

Release.............. "5.2"

Hardware type........ "2x Intel 801586"

Character length.... 16 Bits

Pointer length....... 32 Bits

Work process number.. 1

Shortdump setting.... "full"

Database server... "LENITA"

Database type..... "MSSQL"

Database name..... "PRD"

Database user ID.. "prd"

Char.set.... "C"

SAP kernel....... 700

created (date)... "Apr 2 2006 23:08:16"

create on........ "NT 5.0 2195 Service Pack 4 x86 MS VC++ 13.10"

Database version. "SQL_Server_8.00 "

Patch level. 52

Patch text.. " "

Database............. "MSSQL 7.00.699 or higher, MSSQL 8.00.194"

SAP database version. 700

Operating system..... "Windows NT 5.0, Windows NT 5.1, Windows NT 5.2"

Memory consumption

Roll.... 8176

EM...... 13587912

Heap.... 0

Page.... 204800

MM Used. 569680

MM Free. 474136

-


-


User and Transaction

Client.............. 222

User................ "ABAPUSER"

Language key........ "E"

Transaction......... "SE38 "

Program............. "ZNARI_CLASS"

Screen.............. "SAPMSSY0 1000"

Screen line......... 6

-


-


Information on where terminated

Termination occurred in the ABAP program "ZNARI_CLASS" - in

"START-OF-SELECTION".

The main program was "ZNARI_CLASS ".

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

of the (Include) program "ZNARI_CLASS".

-


-


Source Code Extract

-


Line

SourceCde

-


1

&----


2

*& Report ZNARI_CLASS

3

*&

4

&----


5

*&

6

*&

7

&----


8

9

REPORT ZNARI_CLASS.

10

11

12

13

DATA : CAL1 TYPE REF TO ZCALLING4.

14

15

START-OF-SELECTION.

16

>>>>>

CALL METHOD CAL1->DISPLAY.

-


-


Contents of system fields

-


Name

Val.

-


SY-SUBRC

0

SY-INDEX

0

SY-TABIX

1

SY-DBCNT

0

SY-FDPOS

0

SY-LSIND

0

SY-PAGNO

0

SY-LINNO

1

SY-COLNO

1

SY-PFKEY

SY-UCOMM

SY-TITLE

REPORT TO CALL GLOBAL CLASS.

SY-MSGTY

SY-MSGID

SY-MSGNO

000

SY-MSGV1

SY-MSGV2

SY-MSGV3

SY-MSGV4

SY-MODNO

0

SY-DATUM

20080802

SY-UZEIT

133147

SY-XPROG

RSDBRUNT

SY-XFORM

%_INIT_PBO_FIRST

-


-


Active Calls/Events

-


No. Ty. Program Include Line

Name

-


1 EVENT ZNARI_CLASS ZNARI_CLASS 17

START-OF-SELECTION

-


-


Chosen variables

-


Name

Val.

-


No. 1 Ty. EVENT

Name START-OF-SELECTION

-


CAL1

F0000000

F0000000

%_DUMMY$$

2222

0000

0000

0000

-


-


Internal notes

The termination was triggered in function "ab_jclom"

of the SAP kernel, in line 4703 of the module

"//bas/700_REL/src/krn/runt/abmethod.c#6".

The internal operation just processed is "clom".

Internal mode was started at 20080802133147.

-


-


Active Calls in SAP Kernel

-


Lines of C Stack in Kernel (Structure Differs on Each Platform)

-


SAP (R) - R/3(TM) Callstack, Version 1.0

Copyright (C) SAP AG. All rights reserved.

Callstack without Exception:

App : disp+work.EXE (pid=2640)

When : 8/2/2008 13:31:48.187

Threads : 2

Computer Name : LENITA

User Name : SAPServicePRD

Number of Processors: 2

Processor Type: x86 Family 15 Model 3 Stepping 4

Windows Version : 5.2 Current Build: 3790

State Dump for Thread Id b64

eax=0a400000 ebx=00000340 ecx=00000002 edx=00000058 esi=00000340 edi=00000000

eip=7c8285ec esp=053fbea0 ebp=053fbf10 iopl=0 nv up ei ng nz ac po cy

cs=001b ss=0023 ds=0023 es=0023 fs=003b gs=0000 efl=00000297

function : KiFastSystemCallRet

7c8285ec c3 ret

7c8285ed 8da42400000000 lea esp,[esp] ss:053fbea0=7c827d0b

7c8285f4 8d642400 lea esp,[esp] ss:294aa4b3=????????

FramePtr ReturnAd Param#1 Param#2 Param#3 Param#4 Function Name

053fbf10 77e61c8d 00000340 0001d4c0 00000000 053fbf48 ntdll!KiFastSystemCallRet

053fbf24 0100b3aa 00000340 0001d4c0 00000001 7c38b5c8 kernel32!WaitForSingleObject

053fbf48 0055b4ac 0055b4e5 7c38b5c8 7c38b5c8 7c38b5c8 disp+work!NTDebugProcess [ntstcdbg.c (501)]

053fbf4c 0055b4e5 7c38b5c8 7c38b5c8 7c38b5c8 01d35ab0 disp+work!NTStack [dptstack.c (1365)]

053fbf68 0055b519 7c38b5c8 00000000 008536a8 7c38b5c8 disp+work!CTrcStack2 [dptstack.c (352)]

053fbf74 008536a8 7c38b5c8 00000000 005f0059 00310030 disp+work!CTrcStack [dptstack.c (182)]

053fbf98 008569fa 4119dfb8 00000000 00000000 053fc030 disp+work!rabax_CStackSave [abrabax.c (6871)

053fc070 006cf952 013a80e8 013a80b0 0000125f 1e1fc1c8 disp+work!ab_rabax [abrabax.c (1213)]

053fd09c 0067bb56 00000008 4119e8f4 00000000 053fd104 disp+work!ab_jclom [abmethod.c (4703)]

053fd104 007af315 51bd965c 00000000 053fd130 00000000 disp+work!ab_extri [abextri.c (552)]

053fd118 007af71f 01410030 00000000 0000000c 00000000 disp+work!ab_xevent [abrunt1.c (339)]

053fd130 008a6581 51bd8150 00000000 0000008e 00000025 disp+work!ab_trigg [abrunt1.c (141)]

053fd148 00596b3d 51bd8150 51bd965c 00000000 00590053 disp+work!ab_run [absubmit.c (403)]

053fd270 00598503 00000000 51bd8150 00000000 00000000 disp+work!dynpmcal [dymainstp.c (2273)]

053fd284 00597b13 00000001 51bd8150 00000003 053ffd04 disp+work!dynppai0 [dymainstp.c (1108)]

053fd2a0 0056dcf1 51bd8150 00000001 00000000 00000002 disp+work!dynprctl [dymainstp.c (359)]

053ffd04 00471848 00000013 ffffffff 00000001 00494960 disp+work!dynpen00 [dymain.c (1405)]

053ffd0c ffffffff 00000001 00494960 00000002 01c72400 disp+work!Thdynpen00 [thxxhead.c (4632)]

053ffee0 00494ee2 00000001 00000000 00000000 00430000 <nosymbols>

053fff00 00421150 00000000 00000000 7ffdb000 053fff60 disp+work!ThStart [thxxhead.c (1145)]

053fff14 00401080 00000003 055569d0 00000001 00000000 disp+work!DpMain [dpxxdisp.c (1113)]

053fff60 011a94a0 00000003 055569d0 055574a0 01bd5000 disp+work!nlsui_main [thxxanf.c (82)]

053fffc0 77e6f23b 00000000 00000000 7ffdb000 00000000 disp+work!wmainCRTStartup [crtexe.c (395)]

053ffff0 00000000 011a935d 00000000 00905a4d 00000003 kernel32!ProcessIdToSessionId

State Dump for Thread Id cb0

eax=00000001 ebx=00000103 ecx=7c829f59 edx=00440000 esi=00000000 edi=00000000

eip=7c8285ec esp=0763fec0 ebp=0763ff04 iopl=0 nv up ei pl zr na po nc

cs=001b ss=0023 ds=0023 es=0023 fs=003b gs=0000 efl=00000246

function : KiFastSystemCallRet

7c8285ec c3 ret

7c8285ed 8da42400000000 lea esp,[esp] ss:0763fec0=7c8270fb

7c8285f4 8d642400 lea esp,[esp] ss:2b6ee4d3=????????

FramePtr ReturnAd Param#1 Param#2 Param#3 Param#4 Function Name

0763ff04 010f7ffc 000006c0 00000000 00000000 0555fb18 ntdll!KiFastSystemCallRet

0763ff84 7c349565 00000000 00000000 00000000 0555fa80 disp+work!SigIMsgFunc [signt.c (594)]

0763ffb8 77e64829 0555fa80 00000000 00000000 0555fa80 MSVCR71!endthreadex

0763ffec 00000000 7c3494f6 0555fa80 00000000 00000000 kernel32!GetModuleHandleA

-


-


List of ABAP programs affected

-


Index

Typ

Program

Group

Date

Time

Size

Lang.

-


0

Prg

ZNARI_CLASS

0

02.08.2008

13:31:45

16384

E

1

Prg

SAPMSSY0

1

02.12.2006

16:29:39

90112

E

2

Prg

SAPMSSYD

1

02.12.2006

16:29:36

21504

E

3

Prg

SAPFSYSCALLS

1

09.09.2004

14:18:32

8192

E

4

Prg

RSDBRUNT

0

02.12.2006

16:29:28

251904

E

5

Typ

RSSCR

0

30.03.2005

10:21:45

5120

6

Prg

RSDBSPBL

0

30.03.2005

10:21:58

72704

E

7

Prg

SAPDB__S

0

30.03.2005

10:22:01

18432

E

8

Prg

RSDBSPMC

0

02.12.2006

16:12:36

78848

E

9

Typ

DDSHDESCR

0

03.09.1997

03:05:16

4096

10

Typ

SPPARAMS

0

07.05.1997

13:10:38

2048

11

Typ

SPPARAMS

0

07.05.1997

13:10:38

2048

12

Prg

SAPLSABE

12

09.09.2004

14:18:36

13312

E

13

Prg

SAPLSECU

13

06.02.2007

17:51:46

86016

E

14

Typ

RSSUBINFO

0

14.10.1999

22:01:03

3072

15

Prg

%_CRSDS

0

18.02.2005

14:15:39

10240

E

16

Typ

RSDSEXPR

0

20.08.1998

10:57:18

3072

17

Prg

SAPFSPOR

1

09.09.2004

14:18:32

15360

E

18

Prg

SAPLSCNT

18

18.02.2005

14:16:06

30720

E

19

Typ

DYCBOX

0

20.08.1998

11:16:53

3072

20

Prg

SAPLSVSM

20

18.02.2005

14:16:06

27648

E

21

Prg

SAPLSGUI

21

02.12.2006

16:29:39

82944

E

22

Prg

SAPLSTTM

22

05.07.2005

13:10:18

69632

E

23

Prg

SAPLSBDC

23

05.07.2005

13:10:18

44032

E

24

Prg

CL_DATAPROVIDER===============CP

24

28.02.2005

21:00:46

49152

E

25

Prg

%_CCNTL

24

18.02.2005

14:15:08

15360

E

26

Typ

OBJ_RECORD

0

14.02.1998

08:30:43

2048

27

Prg

SAPLSTUP

27

08.03.2005

19:04:31

73728

E

28

Prg

SAPLCNDP

28

02.12.2006

15:06:02

193536

E

29

Prg

SAPSHDTV

18

05.01.2005

16:26:16

33792

E

30

Prg

SAPFGUICNTL

1

18.02.2005

14:15:08

24576

E

31

Prg

SAPLOLEA

31

05.07.2005

13:10:18

96256

E

32

Prg

SAPLSFES

32

06.02.2007

17:51:50

256000

E

33

Prg

SAPLSPLUGIN

33

09.09.2004

14:18:36

8192

E

34

Typ

ARFCRDATA

0

13.02.2005

18:20:24

7168

35

Prg

SAPLGRFC

35

13.02.2005

18:20:25

16384

E

36

Typ

SWCBCONT

0

15.11.2000

17:55:11

3072

37

Typ

OLE_VERBS

0

04.04.1995

16:02:20

2048

38

Typ

OLE_PA

0

04.04.1995

16:02:19

2048

39

Prg

CX_SY_REF_IS_INITIAL==========CP

39

05.07.2005

13:10:16

10240

E

40

Typ

SCX_SRCPOS

0

18.05.2004

14:07:11

2048

41

Prg

CX_DYNAMIC_CHECK==============CP

41

05.07.2005

13:10:16

10240

E

42

Prg

CX_ROOT=======================CP

42

05.07.2005

13:10:16

11264

E

43

Prg

CX_NO_CHECK===================CP

43

05.07.2005

13:10:16

10240

E

-


-


Directory of Application Tables

-


Name Date Time Lngth

Val.

-


Program ZNARI_CLASS

-


SYST 09.09.2004 14:18:12 00004612

\0\0\0\0\x0001\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\x0001

-


-


ABAP Control Blocks (CONT)

-


Index

Name

Fl

PAR0

PAR1

PAR2

PAR3

PAR4

PAR5

PAR6

Source Code

Line

-


38

PERP

80

0002

<SYSINI>

49

39

ENDM

00

0000

<SYSINI>

50

40


00

0000

<SYSINI>

50

41

xper

06

E90D

0012

0019

<SYSINI>

55

43

PERP

80

0001

<SYSINI>

55

44

PERP

80

0002

<SYSINI>

55

45

ENDM

00

0000

<SYSINI>

56

46


00

0000

<SYSINI>

56

47

xper

06

2F0C

001F

001D

ZNARI_CLASS

9

49

PERP

80

0001

ZNARI_CLASS

9

50

PERP

80

001E

ZNARI_CLASS

9

51


00

0000

ZNARI_CLASS

9

>>>>>

clom

00

0000

0020

0001

0000

0000

0000

0000

ZNARI_CLASS

17

56

PAR2

00

0000

0001

0000

ZNARI_CLASS

17

58


00

0000

ZNARI_CLASS

17

59

xper

06

0DB9

0021

0022

ZNARI_CLASS

18

61

PERP

80

0001

ZNARI_CLASS

18

62

PERP

80

0023

ZNARI_CLASS

18

63


00

0000

ZNARI_CLASS

18

64

PARA

00

0000

0024

0025

ZNARI_CLASS

18

-


regards,

Balaram

Former Member

Helpful Answer

by
Not what you were looking for? View more on this topic or Ask a question