Win a copy of Think Java: How to Think Like a Computer Scientist this week in the Java in General forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Sunday 11pm - defeated by BLOB . Want to see whether you can do this ?

 
achana chan
Ranch Hand
Posts: 277
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi.
Dare I hope for one of those helpful hints I have been getting on and off ???
I have managed to "serialize" an image from a Blob (either .jpg or .gif) - that's the good news.
Trying to display them from the serialized record has been a disaster :
=> demoApplet: Connection com.developer.Tunnel.RemotedemoClient@659db7 has been initialized.
java.lang.NullPointerException
at sun.java2d.pipe.DrawImage.copyImage(Unknown Source)
at sun.java2d.pipe.DrawImage.copyImage(Unknown Source)
at sun.java2d.SunGraphics2D.drawImage(Unknown Source)
at sun.java2d.SunGraphics2D.drawImage(Unknown Source)
at com.developer.Tunnel.demoApplet.paint(demoApplet.java:235)
at sun.awt.RepaintArea.paint(Unknown Source)
at sun.awt.windows.WComponentPeer.handleEvent(Unknown Source)
at java.awt.Component.dispatchEventImpl(Unknown Source)
*******
Here is the code :

Regards
exhausted!
[ November 03, 2002: Message edited by: achana chan ]
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic