Unhandled Exception:Attempt to access field or met

BlitzMax Modules Forums/MiniB3D/Unhandled Exception:Attempt to access field or met

This is a feedback.

I compiled my sources with the last version of minib3d v40.
I obtain errors of execution which I did not have before with minib3d v30.

Unhandled Exception:Attempt to access field or method of Null object

I d'ont know why and where. i give feedback when i will found the problem.

have you enabled debug support...

yes, this is the message from debug

What line no.? Any source?

the code open the source code of TList.

have you tried stepping through the code from the beginning?

Error is here :
glDrawElements(GL_TRIANGLES,surf.no_tris*3,GL_UNSIGNED_SHORT,surf.tris)

Source needed...