Consultor Eletrônico



Kbase P149239: System Error in a .NET event handler when using CLEAR method of proDataSet then deleting query
Autor   Progress Software Corporation - Progress
Acesso   Público
Publicação   8/4/2009
Status: Unverified

SYMPTOM(s):

System Error in a .NET event handler when using CLEAR method of proDataSet then deleting query

Red X across UltraGrid control

FACT(s) (Environment):

ABL Stack trace shows last line of code DELETE QUERY
Windows
OpenEdge 10.2A

CAUSE:

Bug# OE00187017

CAUSE:

The problem occurs when deleting a query object which was the TOP-NAV-QUERY of a proDataSet after using the CLEAR method on the dataset. This causes a memory stomp because of improperly referenced memory.

FIX:

To workaround this issue don't use the CLEAR method on the proDataSet, rather use DELETE OBJECT to delete it and then recreate it when needed.