FAQ
Cover
This is the archive Discourse for the Processing (ALPHA) software.
Please visit the new Processing forum for current information.

   Processing 1.0 _ALPHA_
   Bugs
   Bug Fixes, Implemented Suggestions
(Moderator: fry)
   image nonexistant
« Previous topic | Next topic »

Pages: 1 
   Author  Topic: image nonexistant  (Read 295 times)
benelek

35160983516098 WWW Email
image nonexistant
« on: Feb 21st, 2003, 12:46pm »

i don't know if anyone's pointed this out yet... it seems like the kind of thing that would be picked out in the first week.
 
try compiling a sketch that is told to open an image that doesn't exist. p5 will freeze.
 
-jacob
 
fry


WWW
Re: image nonexistant
« Reply #1 on: Feb 21st, 2003, 2:25pm »

yeah, i think glen first pointed this out, it was buried somewhere else:
http://proce55ing.net/discourse/yabb/board_Proce55ing_software__bugs_action_display_num_1039409900.html
 
it's a nasty one, but might be a simple fix, so i'll try to look into it for 52.
 
benelek

35160983516098 WWW Email
Re: image nonexistant
« Reply #2 on: Feb 21st, 2003, 2:41pm »

also, is it just me or does the export to web function ignore the exporting (copying from the data folder) of images?
 
fry


WWW
Re: image nonexistant
« Reply #3 on: Feb 22nd, 2003, 4:08pm »

it shouldn't.. if it's ignoring those files then that would be a bug.
 
however, it doesn't copy the 'data' folder directly, it slurps up its contents and puts it all in the .jar file that's built. you can try opening the .jar file with a zip program (it's just a zip file) to see if it all worked.
 
benelek

35160983516098 WWW Email
Re: image nonexistant
« Reply #4 on: Feb 23rd, 2003, 12:51am »

 hm.. the image is indeed in the exported JAR file, but unless i place the uncompressed image in the applet folder, the applet still won't run.
 
  on my home computer, without the uncompressed img, the applet places a little red "x" in the top left corner of the applet, and once uploaded to my web site, it calls "Exception:java.lang.NullPointerException".
 
  once i place the image back into the applet folder, it works fine.
 
  in any case... most people probably experience a slight pause when loading a java applet. would this be caused by either the server or your computer having to uncompress the class files?
 
-jacob
 
fry


WWW
Re: image nonexistant
« Reply #5 on: Feb 24th, 2003, 6:24am »

i think these problems are related.. it's trying to find the image and then can't recover after its initial failure.
 
the little hiccup would normally be a pause while the image is slurped down.
 
at any rate, i've hopefully just completed the fix, which means it'll be in 52.
 
fry


WWW
Re: image nonexistant
« Reply #6 on: Mar 5th, 2003, 10:31pm »

fixed in 0052, which will be available within the next few hours from the download location. let us know if it's still broken.
 
Pages: 1 

« Previous topic | Next topic »