[progress Communities] [progress Openedge Abl] Forum Post: Dialog Window Destructor Dispose...

  • Thread starter Thread starter steasdale
  • Start date Start date
Status
Not open for further replies.
S

steasdale

Guest
I keep getting the following progress error when the Destructor is being run in a dialog window: System.NullReferenceException: Object reference not set to an instance of an object. This happens when the following command is being executed: IF VALID-OBJECT (components) THEN DO : CAST (components, System.IDisposable):Dispose(). END . When I message out the following: THIS-OBJECT:components:Components:Count, the count is equal to 2, so something is definitely there to be disposed of. I am using progress 10.2B. When I comment out all the code in the Destructor the error no longer appears - so how can I dispose of the components without the progress error? Thanks Steve

Continue reading...
 
Status
Not open for further replies.
Back
Top