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.
NOTE: this is related to Mac OS 10.1 not 10.0.4, you need to add 10.1 to the OS drop-down list. I'm getting the following exception during the 3.3 IDE start-up sequence: java.lang.IllegalArgumentException: Already enabled: Module[org.netbeans.modules.httpserver] at org.netbeans.core.modules.ModuleManager.simulateEnable(ModuleMan ager.java:635) at org.netbeans.core.modules.ModuleList.installNew(ModuleList.java:439) at org.netbeans.core.modules.ModuleSystem.installNew(ModuleSystem.jav a:261) at org.netbeans.core.NonGui.run(NonGui.java:546) at org.netbeans.core.Main.run(Main.java:216) at org.openide.TopManager.initializeTopManager(TopManager.java:120) at org.openide.TopManager.getDefault(TopManager.java:81) at org.netbeans.core.Main.main(Main.java:325) at org.netbeans.core.TopThreadGroup.run(TopThreadGroup.java:90) at java.lang.Thread.run(Thread.java:496) The start-up splash screen stays up with 'Adding new modules...' displayed and the start-up sequence hangs with the Mac 'running watch' mouse pointer icon. I waited several minutes for forward progress and got none. Finally did a ctrl-c in the shell I ran runide.sh in. I saw this same problem in the recent Q builds and had to ditch trying to use them. I will attach the entire output to the shell where I ran runide.sh as well as my runide.sh script. This is from an install of 3.3 beta using the dt.jar for Mac OS X as instructed. Regards, Barry
Created attachment 3153 [details] shell output during nb 3.3 start-up showing bug
Created attachment 3154 [details] the runide.sh I used to launch nb 3.3
I have discovered what I think my be the cause of this bug. Looking around at what was un-zipped and un-tared (by Stuffit Expander, the default un-zip tool for Mac OS X) I noticed that several of the files in /Applications/netbeans/system/Modules have had their filenames truncated either by Stuffit or by OS X. The listing of that dir looks like this: [localhost:netbeans/system/Modules] barry% ll total 312 drwxr-xr-x 41 barry staff 1350 Oct 25 17:35 . drwxr-xr-x 4 barry staff 92 Oct 25 17:35 .. -rw-r--r-- 1 barry staff 521 Oct 22 15:39 org-apache-tools-ant- module.xml -rw-r--r-- 1 barry staff 542 Oct 22 15:39 org-netbeans- modules-apisupport -rw-r--r-- 1 barry staff 524 Oct 22 15:39 org-netbeans- modules-applet.xml -rw-r--r-- 1 barry staff 532 Oct 22 15:39 org-netbeans- modules-autoupdate -rw-r--r-- 1 barry staff 522 Oct 22 15:39 org-netbeans- modules-beans.xml -rw-r--r-- 1 barry staff 499 Oct 22 15:39 org-netbeans- modules-classfile. -rw-r--r-- 1 barry staff 522 Oct 22 15:39 org-netbeans- modules-clazz.xml -rw-r--r-- 1 barry staff 528 Oct 22 15:39 org-netbeans- modules-cvsclient. -rw-r--r-- 1 barry staff 506 Oct 22 15:39 org-netbeans- modules-debugger-c -rw-r--r-- 1 barry staff 539 Oct 22 15:39 org-netbeans- modules-debugger-d -rw-r--r-- 1 barry staff 537 Oct 22 15:39 org-netbeans- modules-debugger-j -rw-r--r-- 1 barry staff 524 Oct 22 15:39 org-netbeans- modules-editor.xml -rw-r--r-- 1 barry staff 532 Oct 22 15:39 org-netbeans- modules-extbrowser -rw-r--r-- 1 barry staff 520 Oct 22 15:39 org-netbeans- modules-form.xml -rw-r--r-- 1 barry staff 520 Oct 22 15:39 org-netbeans- modules-html.xml -rw-r--r-- 1 barry staff 532 Oct 22 15:39 org-netbeans- modules-httpserver -rw-r--r-- 1 barry staff 530 Oct 22 15:39 org-netbeans- modules-i18n-form. -rw-r--r-- 1 barry staff 520 Oct 22 15:39 org-netbeans- modules-i18n.xml -rw-r--r-- 1 barry staff 522 Oct 22 15:39 org-netbeans- modules-image.xml -rw-r--r-- 1 barry staff 503 Oct 22 15:39 org-netbeans- modules-j2eeserver -rw-r--r-- 1 barry staff 534 Oct 22 15:39 org-netbeans- modules-jarpackage -rw-r--r-- 1 barry staff 520 Oct 22 15:39 org-netbeans- modules-java.xml -rw-r--r-- 1 barry staff 526 Oct 22 15:39 org-netbeans- modules-javadoc.xm -rw-r--r-- 1 barry staff 520 Oct 22 15:39 org-netbeans- modules-jndi.xml -rw-r--r-- 1 barry staff 528 Oct 22 15:39 org-netbeans- modules-projects.x -rw-r--r-- 1 barry staff 532 Oct 22 15:39 org-netbeans- modules-proper.1 -rw-r--r-- 1 barry staff 546 Oct 22 15:39 org-netbeans- modules-properties -rw-r--r-- 1 barry staff 518 Oct 22 15:39 org-netbeans- modules-rmi.xml -rw-r--r-- 1 barry staff 530 Oct 22 15:39 org-netbeans- modules-scripting. -rw-r--r-- 1 barry staff 520 Oct 22 15:39 org-netbeans- modules-text.xml -rw-r--r-- 1 barry staff 532 Oct 22 15:39 org-netbeans- modules-usersguide -rw-r--r-- 1 barry staff 530 Oct 22 15:39 org-netbeans- modules-utilities. -rw-r--r-- 1 barry staff 530 Oct 22 15:39 org-netbeans- modules-vcs-advanc -rw-r--r-- 1 barry staff 539 Oct 22 15:39 org-netbeans- modules-vcs-cmdlin -rw-r--r-- 1 barry staff 495 Oct 22 15:39 org-netbeans- modules-vcscore.xm -rw-r--r-- 1 barry staff 537 Oct 22 15:39 org-netbeans- modules-web-core-s -rw-r--r-- 1 barry staff 523 Oct 22 15:39 org-netbeans- modules-web-core.x -rw-r--r-- 1 barry staff 532 Oct 22 15:39 org-netbeans- modules-web-tomcat -rw-r--r-- 1 barry staff 485 Oct 22 15:39 org-openidex-util.xml Notice the truncations. Where can I find a manifest of all the files in a typical 3.3 install? If I can find this I can manually repair the files and try the IDE again. Barry
This bug was related to the way that the downloaded tar.gz file was expanded by Stuffit Expander or something with Mac OS X, not sure which. When I gunzipped and untarred the file from the command line (using gunzip and tar), the file names were no longer truncated and the IDE started up normally. When I download files like this in Internet Exploder 5.1 (Mac), Stuffit Expander automagically un-zips and un-tars with obviously bad results. Interestingly though, I don't think this corruption happened when I downloaded and 3.2.1. You probably should see if you can duplicate this problem (in case it's just dumb old me) and warn Mac developers on your 'using NetBeans on Mac OS X' page. Barry
OK, making this into a request for the website to warn MacOS X users of potential problems with their unstuffer, and a clue to look for truncated file names in case of similar problems.
Warning about potential problem with expanding tar.gz on Mac OS X was added to Mac OS X HOWTO page at www.netbeans.org/articles/mac.html
Tomas, are bad unstuffers still an issue?
Ping ... Tomas ?
Probably not, but I have to check.
Expanding .zip with Suffit is OK. Expanding .tag.gz with /usr/bin/tar is also OK.
So does that mean that the warning on all download pages : "... Mac OS X users must use GNU tar on their ... platforms for .tar.gz files" is now wrong and should be removed ?
It is not wrong, but it is obsolete.
Tomasi, sorry, I don't understand. Should I remove this text from the downloads pages, or not ?
You can remove it.
Thanks Tomas; I've staged this internally, should propagate in a few hours.
We recently moved out from Collabnet's infrastructure