Consultor Eletrônico



Kbase P120418: Client session crashes when calling X-DOCUMENT:LOAD and the file cannot be found
Autor   Progress Software Corporation - Progress
Acesso   Público
Publicação   5/26/2010
Status: Verified

SYMPTOM(s):

Client session crashes when calling the X-DOCUMENT:LOAD method

The XML file does not exist at the path specified

Runtime error is generated by the session before it ends

Runtime Error!
Program: <DLC>/bin/prowin32.exe
R6025
-pure virtual function call

Protrace from PROW32.DLL reads:

rcUpdateFieldMap

ERROR-STATUS:GET-MESSAGE(1) returns error 9082

X-NODEREF or X-DOCUMENT <method-name> got an error: <xml-exception>. (9082)

X-NODEREF or X-DOCUMENT <method-name> got an error: Unexpected exception. (9082)

X-NODEREF or X-DOCUMENT delete got an error: Unexpected exception deleting X-DOCUMENT. (9082)"

FACT(s) (Environment):

Windows
OpenEdge 10.1A
OpenEdge 10.1B

CAUSE:

Bug# OE00150474

CAUSE:

This bug is caused by the fact that if the document fails to load with a fatal error the document pointer is null.

FIX:

Upgrade to OpenEdge 10.1C or later. If upgrading to OpenEdge 10.1C or later is not feasible, ensure that the X-document object handle's LOAD() method does not fail due to the non existence of the file to be loaded, wrong HTTP URL address, wrong file directory path, incorrect file name or file corruption etc.