2013 Aug 01 10:51 AM
Hello.
I have an application which crashes in an apparently random way, with the same user and data, one time crashes and other doesn't.
The ShrtText of the dump:
Access not possible using 'NULL' object reference.
Attempt to access a component using 'NULL' object reference (points
to nothing).
An object reference must point to an object (an instance of a class)
before you can use it to access components (variable: " ").
Either the reference has not yet been set, or it has been reset to
'NULL' by a CLEAR statement.
The main program was "SAPMHTTP ".
The termination occurred in line 7 of the source code of the (Include)
program "LZPAC01$01" (ZPAC is my Z BSP aplication)
Source Code Extract:
*******************************************************************
* THIS FILE IS GENERATED BY THE FUNCTION LIBRARY. *
* NEVER CHANGE IT MANUALLY, PLEASE! *
*******************************************************************
INCLUDE LZPAC01V01 .
FUNCTION $$UNIT$$ Z_PAC_CREAR_USUARIO <----- Dump is produced here
SAP Release.............. "640"
Somebody can give me any idea of the cause or solution? I know is very short information, but it is all can I give you :S
Thanks in advance.
2013 Aug 01 11:52 AM
Hi,
Please try to debug. You have used an object which is not been assigned yet. Check why it is assigned in some cases and not assigned in other cases, You can compare both and find the issue.
Thanks,
Viji.