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 59745 - NbTopManager.get :Must be initialized already
Summary: NbTopManager.get :Must be initialized already
Status: VERIFIED DUPLICATE of bug 59741
Alias: None
Product: platform
Classification: Unclassified
Component: Module System (show other bugs)
Version: 5.x
Hardware: All All
: P1 blocker (vote)
Assignee: Jaroslav Tulach
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2005-06-08 15:01 UTC by pzajac
Modified: 2008-12-23 08:39 UTC (History)
3 users (show)

See Also:
Issue Type: DEFECT
Exception Reporter:


Attachments
stacktrace (1.74 KB, text/plain)
2005-06-08 15:02 UTC, pzajac
Details

Note You need to log in before you can comment on or make changes to this bug.
Description pzajac 2005-06-08 15:01:26 UTC
[200506072010]
I installed the CVS Lite from autoupdate. I got this exception during netbeans
startup:

java.lang.AssertionError: Must be initialized already
        at org.netbeans.core.NbTopManager.get(NbTopManager.java:99)
        at
org.netbeans.modules.versioning.system.cvss.ModuleLifecycleManager.validate(ModuleLifecycleManager.java:48)
        at org.netbeans.core.startup.NbInstaller.prepare(NbInstaller.java:133)
        at org.netbeans.ModuleManager.enable(ModuleManager.java:810)
        at org.netbeans.core.startup.ModuleList.installNew(ModuleList.java:383)
        at org.netbeans.core.startup.ModuleList.trigger(ModuleList.java:317)
        at org.netbeans.core.startup.ModuleSystem.restore(ModuleSystem.java:242)
        at org.netbeans.core.startup.Main.getModuleSystem(Main.java:212)
        at org.netbeans.core.startup.Main.start(Main.java:360)
        at org.netbeans.core.startup.TopThreadGroup.run(TopThreadGroup.java:90
Comment 1 pzajac 2005-06-08 15:02:28 UTC
Created attachment 22557 [details]
stacktrace
Comment 2 pzajac 2005-06-08 15:37:19 UTC
It can be reproduced when the Lite VCS is installed together with error stripes
and sugestions modules from autoupdate. I had to delete userdir because the
exception was thrown on every startup and the IDE therefore didn't start up. Do
I  mark it like P1. 


Comment 3 Jesse Glick 2005-06-08 19:37:08 UTC
Looks like an AU versioning problem. ... but if CVS Lite was directly referring
to NbTopManager, as this stack trace implies (BAD!), then probably core's
manifest should have been changed to /2 to signal an incompatible change and
make sure old clients could not be installed at all.

*** This issue has been marked as a duplicate of 59741 ***
Comment 4 Jaroslav Tulach 2005-06-09 10:26:23 UTC
Definitively there is an incompatible change in core. Module classes are 
moved, NbTopManager does not work the way it used to. Shall I upgrade to 
core/2? I would say yes. If you want me to do it, please reopen this issue or 
assign me another one. 
Comment 5 Tomas Danek 2005-08-02 09:38:22 UTC
Petre, please have a look at this and try to verify, this should be fixed now..
Btw CVS lite on autoupdate?? I can see only CVS versioning system in autoupdate. 
Comment 6 pzajac 2005-08-03 14:27:53 UTC
v