on 06-24-2015 9:59 PM
On application exit we are getting:
PowerBuilder application execution error(R0002). It points to a Null object reference and specifies the line and object but there is no way to debug it because the application has exited. Anyway to debug this? Any ideas?
Charles
Hi Charles;
Is there ...
1) Any Code in the SystemError event of the Application Object?
2) Is there any code in the Close event of the application object?
3) have you tried setting the PB IDE System Property ... Just In Time Debugging
BTW: does the code at the Line & object its reporting on the NULL error make sense as a possible null object error?
Regards ... Chris
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Charles;
I would first of all try removing all the code in the SystemError and Close events of the Application object and see what happens. If nothing else and the error occurs - you can eliminate those aspects as causing the problem.
My father - being a mechanical engineer - always said in these types of situations ... "always look at the last thing(s) that were changed as the strong possibility of the current problem". So, I would ask the same ... what recent changes might have caused this instability?
Regards ... Chris
Run the app with a /pbdebug command line argument. That will give you a log file of exactly what the app is doing. Check to see what was happening when the crash happens.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
78 | |
9 | |
9 | |
7 | |
7 | |
6 | |
6 | |
5 | |
5 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.