Unhandled Exception:Attempt to access field or met

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

patmaba(Posted 2007) [#1]
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.


Chris C(Posted 2007) [#2]
have you enabled debug support...


patmaba(Posted 2007) [#3]
yes, this is the message from debug


simonh(Posted 2007) [#4]
What line no.? Any source?


patmaba(Posted 2007) [#5]
the code open the source code of TList.


Chris C(Posted 2007) [#6]
have you tried stepping through the code from the beginning?


patmaba(Posted 2007) [#7]
Error is here :
glDrawElements(GL_TRIANGLES,surf.no_tris*3,GL_UNSIGNED_SHORT,surf.tris)


simonh(Posted 2007) [#8]
Source needed...