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.
In NetBeans 6.5 rc2, "Profile main project" becomes disabled without explanation if the "Hibernate Support" plug-in is uninstalled. Steps to reproduce: 1. install NetBeans 6.5 rc2 2. Tools | plug-ins | installed plug-ins Uninstall many plug-ins, including Hibernate Support (to trim footprint) 3. restart 4. Try to run Profile | Profile Main Project Actual: During step 2, there was no indication that Java Profiler depends on Hibernate. In step 4, Profile Main Project is disabled without explanation. Expected: During step 2, expected warning that uninstalling Hibernate Support will disable Java Profiler, or expect that Java Profiler would be uninstalled if it depends on Hibernate Support. Notes: This might have been the cause of issue 122454. I was unable to diagnose the problem then. This time I was able to diagnose it by reinstalling netbeans (which was itself not straightforward) and noticing Profile Main Project was fixed, then uninstalling plug-ins one-by-one until I found the dependency. This took a couple hours so I don't expect users who run into this problem will do it. (Reinstalling netbeans was not straightforward because when I just ran the installer, it refused to reinstall over an existing installation [said all modules were already installed, even though some plug-ins were uninstalled], and when I ran the uninstaller it did not remove everything, so when I ran the installer after uninstalling, it refused to install into the same directory [said directory is not empty]. It finally installed after deleting directory.)
WORKSFORME on 6.5 FCS, was it maybe another plugin? Please reopen if it occurs again.
I see the same problem in NetBeans 7.0, it happens when I remove "Java Persistence" module.
Works ok in the latest dev builds of NetBeans 7.1 Disabling/removing of Hibernate and Java Persistance has no effect on the profiler whatsoever.