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 200551 - ClassNotFoundException: org.netbeans.modules.web.common.api.LexerUtils
Summary: ClassNotFoundException: org.netbeans.modules.web.common.api.LexerUtils
Status: RESOLVED DUPLICATE of bug 201021
Alias: None
Product: javaee
Classification: Unclassified
Component: Web Project (show other bugs)
Version: 7.0
Hardware: All All
: P3 normal (vote)
Assignee: Jaroslav Tulach
URL:
Keywords:
: 200548 200574 200585 (view as bug list)
Depends on:
Blocks:
 
Reported: 2011-07-31 15:24 UTC by Maksim Khramov
Modified: 2011-09-02 13:53 UTC (History)
8 users (show)

See Also:
Issue Type: DEFECT
Exception Reporter: 180293


Attachments
stacktrace (9.89 KB, text/plain)
2011-07-31 15:24 UTC, Maksim Khramov
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Maksim Khramov 2011-07-31 15:24:03 UTC
Build: NetBeans IDE Dev (Build nbms-and-javadoc-7537-on-20110715)
VM: Java HotSpot(TM) 64-Bit Server VM, 17.1-b03, Java(TM) SE Runtime Environment, 1.6.0_22-b04
OS: Windows 7

Stacktrace: 
java.lang.ClassNotFoundException: org.netbeans.modules.web.common.api.LexerUtils
   at java.net.URLClassLoader$1.run(URLClassLoader.java:202)
   at java.security.AccessController.doPrivileged(AccessController.java:0)
   at java.net.URLClassLoader.findClass(URLClassLoader.java:190)
   at java.lang.ClassLoader.loadClass(ClassLoader.java:307)
   at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:301)
   at java.lang.ClassLoader.loadClass(ClassLoader.java:248)
Comment 1 Maksim Khramov 2011-07-31 15:24:07 UTC
Created attachment 109716 [details]
stacktrace
Comment 2 Jaroslav Tulach 2011-08-01 06:21:29 UTC
Versioning, versioning, versioning. Web guys, try to learn a bit about it:
http://wiki.netbeans.org/VersioningPolicy
Comment 3 Marek Fukala 2011-08-02 07:45:27 UTC
web.indent is new in the modules list

web.indent requires (and always required) web.common/1.13. 

the missing class in web.common is there for ages

the friends package visibility in web.common hasn't changed for ages

all of them are autoload modules.

Since web.indent is apparently loaded and always required only 1.13 of web.common it is a mystery to me why the LexerUtils cannot be loaded 

Jardo, can you please help in explaining it?
Comment 4 Jaroslav Tulach 2011-08-05 12:33:39 UTC
OK, thanks for investigation. The problem seems to be quite common recently (bug 200548, bug 200574, bug 200585). This does not suggest some kind of weird race condition in module system and classloading. Rather trivial packaging error elsewhere.
Comment 5 Jaroslav Tulach 2011-08-05 12:34:14 UTC
*** Bug 200585 has been marked as a duplicate of this bug. ***
Comment 6 Jaroslav Tulach 2011-08-05 12:34:17 UTC
*** Bug 200574 has been marked as a duplicate of this bug. ***
Comment 7 Jaroslav Tulach 2011-08-05 12:34:31 UTC
*** Bug 200548 has been marked as a duplicate of this bug. ***
Comment 8 Jaroslav Tulach 2011-09-02 13:53:24 UTC

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