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)
   proce55inf fails at startup on OSX (jaguar)
« Previous topic | Next topic »

Pages: 1 
   Author  Topic: proce55inf fails at startup on OSX (jaguar)  (Read 401 times)
sdewitt


proce55inf fails at startup on OSX (jaguar)
« on: Dec 1st, 2002, 2:00am »

It was running great for a while, but now every time I try to launch I get an error that the java script could not be loaded.
 
 Sam DeWitt
 
fry


WWW
Re: proce55inf fails at startup on OSX (jaguar)
« Reply #1 on: Dec 1st, 2002, 7:21pm »

is that all the error says? if there's a more specific message, could you post that?
 
is there anything that changed about your setup? (i.e. you moved the Proce55ing directory to another location on your machine?)
 
sdewitt


Re: proce55inf fails at startup on OSX (jaguar)
« Reply #2 on: Dec 2nd, 2002, 5:00am »

The exact error message is -
 
 Cannot Launch Java Application
 
 uncaught exception in main method:
 java.lang.nullpointerexception
 
fry


WWW
Re: proce55inf fails at startup on OSX (jaguar)
« Reply #3 on: Dec 2nd, 2002, 8:11pm »

are you using the alpha version of java 1.4 instead of the standard 1.3.1 install? it seems that that alpha java has a bug that causes things to crash on startup.
 
(if you're not sure what version you're using, open up a terminal and type "java -version")
« Last Edit: Dec 2nd, 2002, 8:12pm by fry »  
sdewitt


Re: proce55inf fails at startup on OSX (jaguar)
« Reply #4 on: Dec 4th, 2002, 4:04am »

nope! here is he terminal info -
 
 
[Sam-DeWitts-Computer:~] samdewitt% java -version
java version "1.3.1"
Java(TM) 2 Runtime Environment, Standard Edition (build 1.3.1-root_1.3.1_020714-12:46)
Java HotSpot(TM) Client VM (build 1.3.1_03-69, mixed mode)
[Sam-DeWitts-Computer:~] samdewitt%  
 
jes

WWW
Re: proce55inf fails at startup on OSX (jaguar)
« Reply #5 on: Dec 4th, 2002, 5:23am »

Is 0046 located in your /Applications folder on your boot drive?
 
jes

WWW
Re: proce55inf fails at startup on OSX (jaguar)
« Reply #6 on: Dec 5th, 2002, 5:56am »

.....nevermind....mine is installed in /Applications, and yet it has quit working now, as well.  Very strange, I can't imagine why an app would work a few times (as it did shortly after moving it to /Applicatons), then several days later begin to fail.
 
Jack
 
fry


WWW
Re: proce55inf fails at startup on OSX (jaguar)
« Reply #7 on: Dec 5th, 2002, 6:10am »

how about removing the 'sketch.properties' file from the 'lib' folder, and see if that helps.
 
juancarlos

juananorga WWW
Re: proce55inf fails at startup on OSX (jaguar)
« Reply #8 on: Dec 5th, 2002, 10:08pm »

I've been having the same problem. It is very strange because it doesn't happen right away. I was able to use it a few times and then it just stopped working. I reinstalled it and it started working fine again. I've gone through this process a few times now. I'm running Java 1.3.1 and OS 10.2.2 on a 500mhz iBook.
 
fry


WWW
Re: proce55inf fails at startup on OSX (jaguar)
« Reply #9 on: Dec 6th, 2002, 12:19am »

yeah, my current guess is that sketch.properties may become mangled, since that's one of the few things that dealt with on startup.
 
if someone could zip/stuff a copy of their processing-0046 directory (the whole thing) that has the problem and send me a copy, i could take a closer look (don't worry, i'm too busy to steal your work ). i haven't had a chance to use it long enough on a mac to get it to happen.
 
have any windows people had this problem?
 
jes

WWW
Re: proce55inf fails at startup on OSX (jaguar)
« Reply #10 on: Dec 6th, 2002, 4:52am »

I checked the lib directory, and there is no sketch.properties file. Thinking maybe you misspoke, I tested it by individually deleting the pde.properties and then the pde_macosx.properties files.  No difference, still quits with the same error.
 
Here's a link to my non-working 0046
http://www.jigglingwhisker.com/proce55ing-0046.sit
 
Jack
 
fry


WWW
Re: proce55inf fails at startup on OSX (jaguar)
« Reply #11 on: Dec 6th, 2002, 7:44am »

thanks, got it. i'll check it out.
 
fry


WWW
Re: proce55inf fails at startup on OSX (jaguar)
« Reply #12 on: Dec 7th, 2002, 12:26am »

it's freaking out about the .DS_Store file being created in the sketchbook directory.  
 
for the time being, if you run into the problem, just remove the .DS_Store file in your sketchbook directory.
 
that fixed the crashing with the version that was posted for me, not sure if other .DS_Store files elsewhere in the sketchbook cause the same trouble, but this would explain the strange intermittency of the bug--that things work for a while, until you open the folder in the finder and the DS_Store file gets created.
 
i think DS_Store is being reported as a folder, rather than a file, by java. at any rate, i'll have a workaround for the problem in 47.
 
thanks everyone for the thorough reporting..
 
Pages: 1 

« Previous topic | Next topic »