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.

Bug 152229 - Profile Main Project disabled if Hibernate Support plug-in is uninstalled
Summary: Profile Main Project disabled if Hibernate Support plug-in is uninstalled
Status: RESOLVED WORKSFORME
Alias: None
Product: profiler
Classification: Unclassified
Component: Ide (show other bugs)
Version: 7.0
Hardware: All All
: P3 blocker (vote)
Assignee: J Bachorik
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2008-11-03 19:30 UTC by nimarukan
Modified: 2011-10-05 16:10 UTC (History)
0 users

See Also:
Issue Type: DEFECT
Exception Reporter:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description nimarukan 2008-11-03 19:30:48 UTC
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.)
Comment 1 Petr Cyhelsky 2008-12-12 09:57:30 UTC
WORKSFORME on 6.5 FCS, was it maybe another plugin? Please reopen if it occurs again.
Comment 2 kamilparal 2011-05-31 20:40:06 UTC
I see the same problem in NetBeans 7.0, it happens when I remove "Java Persistence" module.
Comment 3 J Bachorik 2011-10-05 16:10:46 UTC
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.