File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
  • 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
  • 0
  • 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 ]
 
It is sorta covered in the JavaRanch Style Guide.
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic