This Bugzilla instance is a read-only archive of historic NetBeans bug reports. To report a bug in NetBeans please follow the project's instructions for reporting issues.
I'm running MacOS X 10.3.3 with Java 1.4.2 Update. If I launch Netbeans 4.0b2, wait for it to stop bubbling, then choose "Open Project" from the File menu I get a NullPointerException somewhere in Apple's aqua classes. The dialog that pops up shows me the stack trace, asks me to report it here, and refuses to go away. Actually, it goes away only to immediately reappear, requiring a force-quit to be rid of it. I'll upload messages.log as an attachment.
Created attachment 17961 [details] messages.log
Reassigning to projects.
Tim, any idea what this is? Reporter, are you using the most recent released version of the JDK for Mac OS X?
Some problem in Aqua L&F. Does not happen on JDK 1.4.2_05-141.3, which I'm using, so not really anything we can do on the NetBeans end. I'd recommend upgrading - 1.4.2_03 is not the latest version for mac, and there are *lots* of fixes to bugs we reported to Apple that affect NetBeans in 1.4.2_05.
I'm using 1.4.2_03-117.1, which I thought was the most recent Apple has released. How does one get anything newer? I'm not a complete idiot but I have no idea. If this bug effects everyone with 1.4.2_03 and not just me, it might be wise to mention it in the release notes and explain how to upgrade the JDK.
Sign up for the Apple Developer Connection - developer.apple.com - but Software Update should get you at least some version of 1.4.2_05 - it's been available for some time now. I haven't heard of this issue before, nor did I ever see it when I was running 1.4.2_03, FWIW. Looking at the stack trace, I don't see any way we could even hack around it - the file chooser would end up displaying no files view at best. Possible workaround (though less pretty): run with -ui javax.swing.plaf.metal.MetalLookAndFeel (you can edit this into the default settings in $NB_HOME/etc/netbeans.conf) Sorry I can't be of more help on this, but there's really nothing I can do about this.
Should warn Mac users about using obsolete JDK versions.
First, there's no need to apologize. I have no personal interest in this bug. I just reported it because in an attempt to help the relatively small mac netbeans community. I probably won't even be touching netbeans again until 4.0 beta 3 because of key mapping issues (see bug#46811). I ran the 1.4.2 updater in the first day or two it was available from Software Update and it reports 1.4.2_03-117. It is possible that Apple later updated the 1.4.2 updater to install a _05 build, but Software Update does show it in its list of available update--perhaps it does not permit installing the "same" update twice. I poked around http://apple.com/java but couldn't find any way to update to a more recent version. I would guess many other mac netbeans folk would be in the same boat. I am a member of the ADC (but only the free kind of member) but didn't think of looking there. Poking around on the developer pages I found Table 2 of http://developer.apple.com/technotes/tn2002/tn2110.html to be interesting. There also seems to be a "1.4.2 Update 2" which isn't listed in the table. I don't have access to my mac right now, so I'll have to investigate this later. I am a member of the ADC (but only the free kind of member) but didn't think of looking there. Poking around on the developer pages I found Table 2 of http://developer.apple.com/technotes/tn2002/tn2110.html to be interesting. There also seems to be a "1.4.2 Update 2" which isn't listed in the table. I don't have access to my mac right now, so I'll have to investigate this later. I am an competent Swing developer, btw, but haven't done much with the mac LnFs.
On ADC, click the "Download Software" link. I'm the free kind of member as well, and have been able to get the latest 1.4.2 there. "update 2" is probably what you want.