Home » Developer & Programmer » Forms » ERROR: Abnormal termination, Error Code: C0000005 ACCESS_VIOLATION (again)
ERROR: Abnormal termination, Error Code: C0000005 ACCESS_VIOLATION (again) [message #416124] Thu, 30 July 2009 09:57 Go to next message
symphony
Messages: 4
Registered: July 2009
Junior Member
DECLARE
	jo ora_java.jobject;
	ex ora_java.jobject;

BEGIN
	JO := GetGRNDetailsPortClient.new;
		:BLOCK1.VENDOR_NAME := GetGRNDetailsPortClient.getDetails(JO,:BLOCK1.VENDOR_CODE);
--	message(GetGRNDetailsPortClient.getDetails(JO,'A6547'));
EXCEPTION
WHEN ORA_JAVA.JAVA_ERROR then 
message('Unable to call out to Java, ' ||ORA_JAVA.LAST_ERROR,ACKNOWLEDGE);
WHEN ORA_JAVA.EXCEPTION_THROWN then 
ex := ORA_JAVA.LAST_EXCEPTION;
message('Error : '||Exception_.toString(ex),ACKNOWLEDGE);
WHEN OTHERS THEN
MESSAGE('Other error',ACKNOWLEDGE);
END;

I am invoking this code from WHEN_BUTTON-PRESSED trigger in forms 10g. This is invoking the stub. And is giving me the same error. Can anyone give me any inputs on how you solved the issue?
[EDITED by DJM: split topic from old thread and applied [code] tags]

[Updated on: Thu, 30 July 2009 23:03] by Moderator

Report message to a moderator

Re: ERROR: Abnormal termination, Error Code: C0000005 ACCESS_VIOLATION (again) [message #416162 is a reply to message #416124] Thu, 30 July 2009 23:01 Go to previous message
djmartin
Messages: 10181
Registered: March 2005
Location: Surges Bay TAS Australia
Senior Member
Account Moderator
Please do not hijack an existing thread (http://www.orafaq.com/forum/t/148475/67467/) and place your code between 'code' tags!

Is this your first form?

David

[Updated on: Thu, 30 July 2009 23:06]

Report message to a moderator

Previous Topic: Services to be stopped when we install Oracle9i on Windows 2003
Next Topic: How to blink a image item
Goto Forum:
  


Current Time: Thu Apr 25 18:36:06 CDT 2024