Welcome to the MacNN Forums.

If this is your first visit, be sure to check out the FAQ by clicking the link above. You may have to register before you can post: click the register link above to proceed. To start viewing messages, select the forum that you want to visit from the selection below.

You are here: MacNN Forums > Software - Troubleshooting and Discussion > Developer Center > can't run applet default stationery? huh?

can't run applet default stationery? huh?
Thread Tools
Fresh-Faced Recruit
Join Date: Oct 2000
Status: Offline
Reply With Quote
Feb 22, 2001, 04:44 PM
 

well, this is puzzling me - i use project builder to create a new project using the default applet stationery, and i can't get it to run!

when hit run, i get:
----------------------
I/O exception while reading: /example1.html (No such file or directory)
Make sure that example1.html is a file and is readable.

appletviewer has exited with status 1.
----------------------

default java *application* stationery works fine, as does compilation for both java applets and applications, so all the regular java bits seem to be doing what they're supposed to. oh, yeah, "example1.html" exists and is in the same folder as the project file. i'm sure it's something really silly, but....
"we is confronted by an insurmountable tidal wave of opportunity." -pogo
     
Dedicated MacNNer
Join Date: Jun 2000
Location: Dundas, Ontario, Canada
Status: Offline
Reply With Quote
Mar 7, 2001, 11:41 AM
 
This is just a shot in the dark so bear with me but it sounds as though the problem is just a problem with the project path. Based on the error that is the only thing that I can think of. I have noticed that during the setup for a new project you have to hit enter before the finish button when it is creating the directory. I have never finished without hitting enter so I am not sure if this could be the cause. See what happens if you copy this Example1.html into the directory of the last project you were writing before this and into the parent directory of the one you are using now.
That probably isn't much help but you never know.

Sorry I coudn't be any more help,
Jeff.
Spectral Class
"Shedding Light on Innovation"
     
Fresh-Faced Recruit
Join Date: Oct 2000
Status: Offline
Reply With Quote
Mar 7, 2001, 02:35 PM
 
yeah, i've noticed that, too - that's a pretty good idea, but that wasn't the case this time. Console.app was reporting an error that was saying something to the effect that "example1.html" was a directory, not a file. i had a power outage here, and the fsck that runs after a hard reboot seems to have fixed it, which leads me to believe that it was some kind of directory corruption. applet stationery is running fine for me, now. woo!

thanks for your suggestion...
-k
"we is confronted by an insurmountable tidal wave of opportunity." -pogo
     
   
Thread Tools
Forum Links
Forum Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts
BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On
Top
Privacy Policy
All times are GMT -5. The time now is 12:27 PM.
All contents of these forums © 1995-2011 MacNN. All rights reserved.
Branding + Design: www.gesamtbild.com
vBulletin v.3.8.7 © 2000-2011, Jelsoft Enterprises Ltd., Content Relevant URLs by vBSEO 3.3.2