Exception in thread "Thread-0" java.lang.NullPointerException
843810Oct 6 2004 — edited Jun 27 2008Hi!When running my program, I get this error message :
Exception in thread "Thread-0" java.lang.NullPointerException
at traitement.OCR.setOcrTif(OCR.java:45)
at traitement.FormResults.<init>(FormResults.java:168)
at interfaces.ServerInterface.run(ServerInterface.java:107)
at java.lang.Thread.run(Unknown Source)
It happens actually when I use this line : number = image.getSubimage(x,y,w,h);
I don't understant cause it used to work and now with another image I have this problem...
Well if anyone could tell me : hey dude you're stupid it's obvious, I will be glad to be stupid!!
Thanks!