We are about to switch to a new forum software. Until then we have removed the registration on this forum.
I am writing a dashboard UI for an arduino and am running into the error "pushmatrix cannot use push more than 32 times" this appears to be caused when a pushmatrix is used too many times without popmatrix. I am not totally sure what is causing it as all my pushes have pops. Additionally I tried putting all my different draw sections in try statements so I could see what was causing the problem, but this did not stop the error from happening. This makes me think I am not catching it in a try because there is really no drawing going on outside a try at this point. Finally, I am using the graphica library to plot the data in real time from the arduino. All graphing is in seperate try statements, so its the same thing.
Does anybody know what exception I should use for this error? Right now I am using runtime.