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 38054 - ClassCastException in AbstractLookup
Summary: ClassCastException in AbstractLookup
Status: VERIFIED DUPLICATE of bug 36339
Alias: None
Product: platform
Classification: Unclassified
Component: Lookup (show other bugs)
Version: 3.x
Hardware: Sun Solaris
: P2 blocker (vote)
Assignee: Jaroslav Tulach
URL:
Keywords:
Depends on:
Blocks: 37883
  Show dependency tree
 
Reported: 2003-12-12 15:29 UTC by Martin Entlicher
Modified: 2008-12-22 19:48 UTC (History)
0 users

See Also:
Issue Type: DEFECT
Exception Reporter:


Attachments
The ClassCastException. (1.47 KB, text/plain)
2003-12-12 15:33 UTC, Martin Entlicher
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Martin Entlicher 2003-12-12 15:29:53 UTC
I've got this exception when I added a new module
to the system, which had the same code name as
some old one and removed the old one.

Steps to reproduce:
Run build #200312101900 with an empty user dir.
Mount one or two JavaCVS filesystems and exit.

Remove modules/javacvs.jar and
modules/ext/cvsclient.jar from the installation
directory. Add javacvscompat.jar into modules/
folder. You get javacvscompat.jar by building
javacvs/compat module.

Start the IDE with the same user dir.

During the IDE start following messages were
printed into ide.log:
Warning: the module
/home/me97925/NetBeansIDE-dev-200312101900/netbeans/modules/javacvs.jar
could not be found, ignoring...
New modules:
        org.netbeans.modules.cvsclient/1 [2.0
${buildnumber}]

This is O.K.

But after modules were turned on:
Turning on modules:
        org.openide/1 [4.17 200312101900]
        ...
        org.netbeans.modules.web.taglibed/1 [1.12
200312101900]
Turning on modules:
        org.netbeans.modules.cvsclient/1 [2.0
${buildnumber}]

the ClassCastException was thrown and IDE did not
start. The main() was interrupted.

I had to kill the IDE. The second start was
successfull.
Comment 1 Martin Entlicher 2003-12-12 15:33:42 UTC
Created attachment 12553 [details]
The ClassCastException.
Comment 2 Jaroslav Tulach 2003-12-15 09:57:17 UTC
I have fixed this on 2003-12-11

*** This issue has been marked as a duplicate of 36339 ***
Comment 3 Marian Mirilovic 2004-02-27 13:45:03 UTC
verified duplicate