I ALWAYS get errors saying ‘‘The file “flower0.jpg” is missing or inaccessible, make sure the URL is valid or that the file has been added to your sketch and is readable.
The file “flower1.jpg” is missing or inaccessible, make sure the URL is valid or that the file has been added to your sketch and is readable.
The file “flower2.jpg” is missing or inaccessible, make sure the URL is valid or that the file has been added to your sketch and is readable.
NullPointerException
Could not run the sketch (Target VM failed to initialize).
For more information, read revisions.txt and Help ? Troubleshooting.’’
Even though I have doubled checked on how and where I saved the images (name etc) I still can’t get past this.
All I see is a file names sketch and inside that file there is the file with the processing code, another processing code file that exists because I wrote the class on a different tab inside processing and nothing else. There is no data folder. I made a folder inside that folder and put my images inside and it still doesn’t work.
Yes the correspoding images appears (same as the ones I was trying to use before) and this message prints C:\Users\USER\AppData\Local\Temp\untitled4877301069392334631sketches\sketch_210104a\data/flower0.jpg.jpeg
C:\Users\USER\AppData\Local\Temp\untitled4877301069392334631sketches\sketch_210104a\data/flower1.jpg.jpg
C:\Users\USER\AppData\Local\Temp\untitled4877301069392334631sketches\sketch_210104a\data/flower2.jpg.jpg
3