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 198466 - All of a suddfen, all the classes of the project show a "duplicate class" error.
Summary: All of a suddfen, all the classes of the project show a "duplicate class" error.
Status: RESOLVED DUPLICATE of bug 197983
Alias: None
Product: java
Classification: Unclassified
Component: Source (show other bugs)
Version: 7.0
Hardware: PC Windows XP
: P3 normal (vote)
Assignee: Jan Lahoda
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2011-05-10 07:32 UTC by nnovic
Modified: 2012-11-07 14:52 UTC (History)
1 user (show)

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 nnovic 2011-05-10 07:32:53 UTC
Product Version = NetBeans IDE 7.0 (Build 201104080000)
Operating System = Windows XP version 5.1 running on x86
Java; VM; Vendor = 1.6.0_18
Runtime = Java HotSpot(TM) Client VM 16.0-b13

The project was compiling and running just fine. Then a imported the project into a subversion repository. I can build the project without any error, but then when I want to run it I get a NoClassDeftFoundError exception for the main class. Then I try to deleted manually the "build" directory of the project. But it doesn't solve the issue. I try this a few times, and then all the classes in the project show a red dot with an exclamation mark: the ide  tells me they are all duplicates, which is actually not the case.

Then I close netbeans 7.0 and reopens the same project with netbeans 6.9, and everything works smoothly. no "duplicate class" eror, no "NoClassDefFoundError" exceptoin. 

Then I close netbeans 6.9 and reopens the same project with netbean 7.0, but the "duplicate class" errors are back.

I have uninstalled the CVS, Subvsersion and Local History plugins from netbeans 7.0, but the errors are still there.
Comment 1 Jan Lahoda 2012-11-07 14:52:19 UTC
Same as bug #197983, I guess.

*** This bug has been marked as a duplicate of bug 197983 ***