wood burning stoves 2.0*
The moose likes JDBC and the fly likes Sunday 11pm - defeated by BLOB . Want to see whether you can do this ? Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of EJB 3 in Action this week in the EJB and other Java EE Technologies forum!
JavaRanch » Java Forums » Databases » JDBC
Bookmark "Sunday 11pm - defeated by BLOB . Want to see whether you can do this ?" Watch "Sunday 11pm - defeated by BLOB . Want to see whether you can do this ?" New topic
Author

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

achana chan
Ranch Hand

Joined: Jul 29, 2002
Posts: 277
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 ]

humanum errare est.
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Sunday 11pm - defeated by BLOB . Want to see whether you can do this ?
 
Similar Threads
gridbag layout in panels
How to use AWT's Frame()???
Cannot add actionListener to Button ?!?
grid bag panels overlap : please HELP if you can
paint(Graphics gr) returns nullpointerexception ?