Skip to Main Content

Java APIs

Announcement

For appeals, questions and feedback about Oracle Forums, please email oracle-forums-moderators_us@oracle.com. Technical questions should be asked in the appropriate category. Thank you!

Exception in thread "Thread-0" java.lang.NullPointerException

843810Oct 6 2004 — edited Jun 27 2008
Hi!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!
Comments
Locked Post
New comments cannot be posted to this locked post.
Post Details
Locked on Jul 25 2008
Added on Oct 6 2004
3 comments
1,994 views