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 207907 - NoClassDefFoundError: Could not initialize class org.netbeans.modules.j2ee.deployment.impl.ServerRegistry
Summary: NoClassDefFoundError: Could not initialize class org.netbeans.modules.j2ee.de...
Status: RESOLVED INCOMPLETE
Alias: None
Product: serverplugins
Classification: Unclassified
Component: Infrastructure (show other bugs)
Version: 7.1
Hardware: All All
: P3 normal (vote)
Assignee: Petr Hejl
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2012-01-30 12:04 UTC by er_abhi211288
Modified: 2012-03-28 14:11 UTC (History)
2 users (show)

See Also:
Issue Type: DEFECT
Exception Reporter: 150533


Attachments
stacktrace (4.39 KB, text/plain)
2012-01-30 12:04 UTC, er_abhi211288
Details

Note You need to log in before you can comment on or make changes to this bug.
Description er_abhi211288 2012-01-30 12:04:04 UTC
Build: NetBeans IDE 7.1 (Build 201112071828)
VM: Java HotSpot(TM) Client VM, 22.0-b10, Java(TM) SE Runtime Environment, 1.7.0_02-b13
OS: Windows XP

User Comments:
GUEST: i just clicked at server option in Services.

mantiss: Services -> Servers ->Add server...

GUEST: tools-->server

er_abhi211288: I just install the the NetBeans and open a J2EE project.




Stacktrace: 
java.lang.NoClassDefFoundError: Could not initialize class org.netbeans.modules.j2ee.deployment.impl.ServerRegistry
   at org.netbeans.modules.j2ee.deployment.impl.bridge.AbstractServerLookup.init(AbstractServerLookup.java:125)
   at org.netbeans.modules.j2ee.deployment.impl.bridge.AbstractServerLookup.beforeLookup(AbstractServerLookup.java:117)
   at org.openide.util.lookup.AbstractLookup$R.beforeLookup(AbstractLookup.java:1155)
   at org.openide.util.lookup.ProxyLookup$R.myBeforeLookup(ProxyLookup.java:680)
   at org.openide.util.lookup.ProxyLookup$R.beforeLookup(ProxyLookup.java:691)
   at org.openide.util.lookup.ProxyLookup$R.myBeforeLookup(ProxyLookup.java:680)
Comment 1 er_abhi211288 2012-01-30 12:04:07 UTC
Created attachment 115381 [details]
stacktrace
Comment 2 Jaroslav Tulach 2012-02-01 17:39:36 UTC
Evaluate in ServerRegistry.
Comment 3 Petr Hejl 2012-03-28 14:11:55 UTC
NCDFE on ServerRegistry thrown from AbstractServerLookup? I have no idea how this could happen. Both class are part of the same module.

Looks like it happens time to time. Could it be a module version clash? Are there any steps to reproduce?