|
Author |
Topic: 0046 problem with OSX (Read 427 times) |
|
jes
|
0046 problem with OSX
« on: Nov 23rd, 2002, 4:15pm » |
|
Using OSX 10.2.2 with Java 1.3.1, the app launches, creates a dated sketch_xxxxxx in the sketchbook->default directory but then stops with this error: Uncaught exception in main method: java.lang.NullPointerException Quit I tried running it from the terminal with: java -cp lib:lib/build: Proce55ing.app/Contents/Resources/Java/pde.jar: Proce55ing. app/Contents/Resources/Java/kjc.jar: Proce55ing.app/Contents/Resources/Java/oro.jar: Proce55ing.app/Contents/Resources/Java/comm.jar PdeBase and get this error: Exception in thread "main" java.lang.NoClassDefFoundError: app/Contents/Resources/Java/kjc/jar: Proce55ing/app/Contents/Resources/Java/oro/jar: Proce55ing/app/Contents/Resources/Java/comm/jar Anyone else having this problem on OSX? Jack
|
|
|
|
fry
|
Re: 0046 problem with OSX
« Reply #1 on: Nov 25th, 2002, 7:28pm » |
|
hmm.. that's a nasty one if others are indeed having trouble with it. please let us know if it's happening all the time, etc. re: running from the terminal, you have spaces after the some of the : colons, so that's what's causing trouble..
|
|
|
|
jes
|
Re: 0046 problem with OSX
« Reply #2 on: Nov 26th, 2002, 5:45am » |
|
Yes..it happens all the time. I've yet to successfully launch 0046. re: spaces...I put the spaces in there because it looks like : P is some sort of smiley on this bulletin board...ie, on the commandline I don't have the spaces
|
« Last Edit: Nov 26th, 2002, 5:48am by jes » |
|
|
|
|
jes
|
Re: 0046 problem with OSX
« Reply #3 on: Nov 26th, 2002, 4:25pm » |
|
To isolate whether the problem is specific to my machine (OS version), I tried to run 0046 on an iBook with 10.2.1, and a Dual 500 with 10.1.4....same error/result, no launch. Don't know if it's related, but my students are not able to launch 0046 on the Win2K machines at school (0044 runs fine). The app quits before it ever actually launches. (ie, no error, just doesn't launch). I've run 0046 on my Win2K/XP machines at home without problem, so.....maybe this shoud be another "issue".
|
|
|
|
fry
|
Re: 0046 problem with OSX
« Reply #4 on: Nov 26th, 2002, 5:20pm » |
|
ah, right.. the smileys. not sure what's going on with 46.. that's really strange. 46 is a bit more complicated than previous releases (so i'm not entirely surprised), though nobody that i work with here has had any trouble using it yet (making it more difficult for me to debug what's going on). i don't suppose you're using a non-english system are you? i just found out last night than it doesn't seem to run on japanese mac os x, for instance. or can you think of anything else that might be causing trouble? thanks for the updates...
|
« Last Edit: Nov 26th, 2002, 5:23pm by fry » |
|
|
|
|
jes
|
Re: 0046 problem with OSX
« Reply #5 on: Nov 27th, 2002, 6:37am » |
|
...Regular old English here... I can't think of any similarities between the three systems I've tried it on. (OS version, hardware, extra software, etc...all different) All three have some version of "Developer Tools"........ On a hunch, I just decided to move 0046 to the boot drive's Applications folder...wallah...now it runs. I usually keep all my applications on another drive, and it looks like 0046 only runs in the default Applications directory. On the other systems, I was trying to run it from the Desktop, so they were failing as well. Great, so this is solved, though I hate having to confine it to the default Applications directory. Unfortunately, I notice that none of my sketchbooks (from 0044) in the default directory are showing up in the Open menu....we should be able to open 0044 files shouldn't we?
|
|
|
|
fry
|
Re: 0046 problem with OSX
« Reply #6 on: Nov 27th, 2002, 7:24am » |
|
to use your previous sketches, you'll have to move the contents of the folder sketchbook/default from 0044 into sketchbook/default of the 46 release. thanks for debugging the other issue.. it's odd about the problems with running from the desktop. i'm wondering if there are strange permissions things happening. i coulda sworn i've run it from the desktop before (or at least my own user dir). oughta be fixable for 47, at any rate.
|
|
|
|
jes
|
Re: 0046 problem with OSX
« Reply #7 on: Nov 28th, 2002, 12:23am » |
|
on Nov 27th, 2002, 7:24am, fry wrote:to use your previous sketches, you'll have to move the contents of the folder sketchbook/default from 0044 into sketchbook/default of the 46 release. |
| That's what I'm saying. I put my 0044 sketches in the new 0046 sketchbook/default folder, yet they don't show up in the menu (and can't be accessed). I ended up individually opening the sketches in 0044 and copy/pasting them into a new 0046 document. Anyway, thanks for your help, the new version is very much improved on OSX.
|
|
|
|
fry
|
Re: 0046 problem with OSX
« Reply #8 on: Nov 28th, 2002, 2:23am » |
|
interesting.. from the sounds of it, i think this may be related to the other problem you were having (that it wouldn't work from the desktop foder, only applications), though in a different way. will require some osx hacking to see what exactly it's doing. time to for me to pony up the $1249 for an ibook..
|
|
|
|
jes
|
Re: 0046 problem with OSX
« Reply #9 on: Nov 28th, 2002, 4:18am » |
|
be careful...next thing you know, you'll be selling your soul for the extra 1G and a Ti
|
|
|
|
brendanberg
|
Re: 0046 problem with OSX
« Reply #10 on: Nov 28th, 2002, 7:48am » |
|
i'm having a similar problem... p5 will launch from the disk image, but will not draw the sketch name bar doesn't appear (possibly b/c the image is read-only)... i managed to run p5 from the applications folder once, but i think when i moved my sketches over from 0044 it broke: "uncaught exception in main method: java.lang.NullPointerException" i tried reinstalling and running 'java -cp lib:lib/build: ...' and it worked fine (and would open from the icon afterwards) again, after i moved my sketches over it broke permanently... it now gives me this when i run 'java -cp lib:lib/build: ...' : Exception in thread "main" java.lang.NullPointerException at PdeBase.addSketches(PdeBase.java:598 ) // inserted space; eight paren makes a smiley: at PdeBase.addSketches(PdeBase.java:615) at PdeBase.rebuildSketchbookMenu(PdeBase.java:575) at PdeBase.<init>(PdeBase.java:362) at PdeBase.main(PdeBase.java:102)
|
« Last Edit: Nov 29th, 2002, 1:25am by brendanberg » |
|
--Berg
|
|
|
fry
|
Re: 0046 problem with OSX
« Reply #11 on: Nov 30th, 2002, 11:43pm » |
|
yeah, looks like the same problem.. the code for reading the sketchbook is slightly different in this release (so that the examples can be nested) so that seems to be causing trouble. i'll see about what's going on with the mac as part of the bug fixing for 47. thanks for the reporting, this is useful stuff. the speed of the g4 might be tempting but the ibook is far prettier and cheaper
|
« Last Edit: Nov 30th, 2002, 11:45pm by fry » |
|
|
|
|
fry
|
Re: 0046 problem with OSX
« Reply #12 on: Jan 26th, 2003, 1:20am » |
|
(fixed in 0047, moved to bug fixes)
|
|
|
|
|