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 115170 - Cannot create j2se project after uninstall of CND pack
Summary: Cannot create j2se project after uninstall of CND pack
Status: VERIFIED FIXED
Alias: None
Product: cnd
Classification: Unclassified
Component: -- Other -- (show other bugs)
Version: 6.x
Hardware: All All
: P2 blocker (vote)
Assignee: Thomas Preisler
URL:
Keywords:
Depends on: 114106
Blocks:
  Show dependency tree
 
Reported: 2007-09-10 15:42 UTC by Jaromir Uhrik
Modified: 2007-09-19 15:41 UTC (History)
3 users (show)

See Also:
Issue Type: DEFECT
Exception Reporter:


Attachments
Log with NoClassDefFoundError (98.72 KB, text/plain)
2007-09-10 15:45 UTC, Jaromir Uhrik
Details
collection of deleted files (5.27 KB, text/plain)
2007-09-11 11:04 UTC, Jiri Rechtacek
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Jaromir Uhrik 2007-09-10 15:42:22 UTC
Product Version: NetBeans IDE 6.0 Beta 1 (Build 200709100000) 
Java: 1.5.0_07; Java HotSpot(TM) Client VM 1.5.0_07-87 
System: Mac OS X version 10.4.10 running on i386; MacRoman; en_US (nb)

1.Go to Tools|Plugins and install all available plugins including c/c++
2.After the installation the IDE restarts
3.Uninstall c/c++
4.Try to create j2se project (in main menu select File|New Project and then Java|Java Application. Then push Next and
Fininsh button).
->The New Java Application wizard hangs because the exception appears - see messages.log
Comment 1 Jaromir Uhrik 2007-09-10 15:45:06 UTC
Created attachment 48510 [details]
Log with NoClassDefFoundError
Comment 2 Jaromir Uhrik 2007-09-10 15:47:26 UTC
Jirko, I am adding you on cc. Could you please look at this issue to make sure it is not an issue of Plugin Manager? Thanks.
Comment 3 Marian Mirilovic 2007-09-10 16:22:49 UTC
P2 - need to be solved for NB 6.0 - I don't think users would be facing this problem very often, but I think it's
painful if one could not create J2SE project - just because she uninstalled CND
Comment 4 Jiri Rechtacek 2007-09-11 08:30:35 UTC
I'll investigate the problem on PM side. Let you know my findings.
Comment 5 Jiri Rechtacek 2007-09-11 11:02:33 UTC
I tried on NetBeans IDE Dev (Build 070911) build with C/C++ pack. I uninstall C/C++ plugin in Plugin Manager. See
attachment which contains raw list of files being removed from my disk while uninstalling plugin C/C++. Then I did
restart IDE and then create J2SE project. All works for me. It means that the only problem what I see is C/C++ could
hold some caches which blocks creating J2SE. After integration issue 114106 - Force restart IDE on uninstall this
problem should disappear.
So, I propose to leave this issue still open and try reproduce it again after impl. issue 114106, it's planned for this
week.
Comment 6 Jiri Rechtacek 2007-09-11 11:04:09 UTC
Created attachment 48567 [details]
collection of deleted files
Comment 7 Jiri Rechtacek 2007-09-13 10:05:39 UTC
FYI: impl of issue 114106 was integrated into Dev build 2007/09/12. Try to reproduce with some recent build.
Comment 8 Thomas Preisler 2007-09-13 19:15:37 UTC
I cannot reproduce it now. If I choose "Restart Later" after having uninstalled C/C++, the C/C++ modules are still active and everything works as expected. 
The modules are uninstalled only after restarting the IDE and, again, everything works as expected.

The core of the problem (C/C++ projects not cleaning up) may not have been fixed by this.

Should I close (as FIXED) or downgrade? I prefer to close the issue and open another addressing the specific problem if it poses a problem.
Comment 9 Jiri Rechtacek 2007-09-14 08:23:24 UTC
Well, it makes sense to me. I prefer to close this as fixed and optionally fire an another issue. Thanks
Comment 10 Thomas Preisler 2007-09-14 16:46:19 UTC
Fixed.
Comment 11 Jaromir Uhrik 2007-09-19 15:41:14 UTC
I cannot reproduce this issue in the following build:
Product Version: NetBeans IDE Dev (Build 200709190000) 
Java: 1.5.0_07; Java HotSpot(TM) Client VM 1.5.0_07-87 
System: Mac OS X version 10.4.10 running on i386; MacRoman; en_US (nb)