Win a copy of The Little Book of Impediments (e-book only) this week in the Agile and Other Processes forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Exception in thread "AWT-EventQueue-1" java.lang.NullPointerException

 
Moayad Abu Jaber
Ranch Hand
Posts: 80
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Dear rancher,
I write application in applet the applet access the scanner and scanning the page after finish scanning save file into TIFF extension.

check my code below I called it into button action:



I check these objects "tifFile" and "tiffImage" all of them have a value
the first two rows you will see the value of these objects
you can see the exception below:


 
Ivan Ivanofff
Greenhorn
Posts: 2
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I have similar problem with JAI.
Check policies, written in java.policy. There must be a string like this: grant codeBase <url> { permission java.security.AllPermission; };
More details you can see here: http://j-integra.intrinsyc.com/support/kb/article.aspx?id=30128
 
Moayad Abu Jaber
Ranch Hand
Posts: 80
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Thanks for you replay,
Actually I forgot to post how I solved this problem, In my code I missed to add BufferedImage to ArrayList

really was funny problem
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic