PD4ML v4 Forums PD4ML v3 Archived Forums (Read Only) Troubleshooting Java 6.0_24b07 crashes while in finalize of PD4Device Re: Re: Java 6.0_24b07 crashes while in finalize of PD4Device

#28435

Beacause we get repeatedly the same problem with the same stacktrace.

At the end of the render method of the PD4ML class the dispose method of the PD4Device class will be called.
This method calls the close method on the PD4Device member of type “c” and sets the “c” reference to null.
So if the dispose method gets called twice calling finalize on PD4Device, the c.close method should not be called again , should it?
So why will the c.close method be called during finalyze?
Any idea?
Kindly
Lutz