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.
This issue was reported manually by kaareal. It already has 3 duplicates Build: NetBeans IDE Dev (Build nbms-and-javadoc-7542-on-20110718) VM: Java HotSpot(TM) 64-Bit Server VM, 20.1-b02-383, Java(TM) SE Runtime Environment, 1.6.0_26-b03-383-11A511 OS: Mac OS X Stacktrace: java.lang.NoClassDefFoundError: org/netbeans/modules/web/common/api/LexerUtils at org.netbeans.modules.web.indent.api.support.MarkupAbstractIndenter.indexOfOpenTag(MarkupAbstractIndenter.java:820) at org.netbeans.modules.web.indent.api.support.MarkupAbstractIndenter.removeFullyProcessedTags(MarkupAbstractIndenter.java:842) at org.netbeans.modules.web.indent.api.support.MarkupAbstractIndenter.getIndentFromState(MarkupAbstractIndenter.java:360) at org.netbeans.modules.web.indent.api.support.MarkupAbstractIndenter.getLineIndent(MarkupAbstractIndenter.java:407) at org.netbeans.modules.web.indent.api.support.AbstractIndenter.processLanguage(AbstractIndenter.java:1190) at org.netbeans.modules.web.indent.api.support.AbstractIndenter.calculateIndentation(AbstractIndenter.java:345)
Created attachment 110025 [details] stacktrace
The exception report 524145 has following modules: org.netbeans.modules.web.common [1.13 201106200600] org.netbeans.modules.web.indent [1.0 nbms-and-javadoc-7601-on-20110728] $ hg log -r 194058 changeset: 194058:b9d56631184f parent: 193969:da029cd9e62e user: Antonin Nebuzelsky <anebuzelsky@netbeans.org> date: Fri May 13 20:40:02 2011 +0200 summary: Incrementing spec. versions in trunk after 7.0.1. This revision release version 1.13 of web.common. web.indent module has been introduced after that during work on 7.1. To make it work, you had to add friends: $ hg diff -r b9d56631184f:default web.common/nbproject/project.xml diff -r b9d56631184f -r 02f13927a115 web.common/nbproject/project.xml --- a/web.common/nbproject/project.xml Fri May 13 20:40:02 2011 +0200 +++ b/web.common/nbproject/project.xml Fri Sep 02 12:04:34 2011 +0200 @@ -153,19 +153,21 @@ <friend-packages> + <friend>org.netbeans.modules.web.flyingsaucer</friend> + <friend>org.netbeans.modules.web.indent</friend> + <friend>org.netbeans.modules.web.jsf</friend> Remember everytime you add new friend, you are changing API of your module and you need to version it properly.
*** Bug 201040 has been marked as a duplicate of this bug. ***
*** Bug 200551 has been marked as a duplicate of this bug. ***
fixed. web-main#6c3360aeb25a - the web.indent part web-main#d0a1b7017266 - the web.common part Thanks Jardo for the problem evaluation.
and the web.flyinsaucer in contrib#bea597dd217e is fixed as well
Integrated into 'main-golden' Changeset: http://hg.netbeans.org/main-golden/rev/6c3360aeb25a User: Marek Fukala <mfukala@netbeans.org> Log: #201021 - NoClassDefFoundError: org/netbeans/modules/web/common/api/LexerUtils