Glad that was resolved. I had the same exception but perhaps with a more devious cause. The sample program was working fine, camera.getImage() was working; but my program was not. Pretty much the same code. I found that the imports were different. I had let NetBeans import files as necessary. Things started working when I copied the sequence of imports from the sample program. Weird.
