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.
Build: NetBeans IDE Dev (Build 080618) VM: Java HotSpot(TM) Client VM, 11.0-b12, Java(TM) SE Runtime Environment, 1.6.0_10-beta-b25 OS: Linux, 2.6.25.4-smp, i386 User comments: STACKTRACE: (first 10 lines) java.lang.AssertionError: ').submit()document.getElementById(ack_form'1:E at org.mozilla.javascript.TokenStream.getToken(TokenStream.java:358) at org.netbeans.modules.javascript.editing.lexer.JsLexer.nextToken(JsLexer.java:195) at org.netbeans.lib.lexer.LexerInputOperation.nextToken(LexerInputOperation.java:178) at org.netbeans.lib.lexer.JoinTokenList.init(JoinTokenList.java:104) at org.netbeans.lib.lexer.TokenListList.<init>(TokenListList.java:128) at org.netbeans.lib.lexer.TokenHierarchyOperation.tokenListList(TokenHierarchyOperation.java:408) at org.netbeans.lib.lexer.EmbeddingContainer.embeddedTokenList(EmbeddingContainer.java:173) at org.netbeans.api.lexer.TokenSequence.embeddedImpl(TokenSequence.java:353) at org.netbeans.api.lexer.TokenSequence.embedded(TokenSequence.java:301) at org.netbeans.modules.html.editor.coloring.EmbeddingHighlightsContainer$Highlights._moveNext(EmbeddingHighlightsContainer.java:208)
Created attachment 63060 [details] jsp
This issue has already 10 duplicates see http://statistics.netbeans.org/exceptions/detail.do?id=66705
Created attachment 63116 [details] stacktrace
Not sure about the component - please reassign if needed, thanks. To reproduce, try to open http://www.netbeans.org/nonav/issues/showattachment.cgi/60360/autoScriptSetup.jsp, there are plenty of JS errors in this file.
Marku, do you know who should take a look at this issue please? Thanks a lot.
lexer issue I belive. There is currently a P1 assigned to Mila causing a lot of problems especially in editors with many embeddings - see issue 137579.
Created attachment 63147 [details] stacktrace
Created attachment 63161 [details] stacktrace
Created attachment 63162 [details] stacktrace
Created attachment 63191 [details] stacktrace
Created attachment 63220 [details] stacktrace
Created attachment 63535 [details] stacktrace
33 duplicates!
Took the liberty to change this to a P1. It causes an annoying exception bombardment on each NB startup. As the exception occurs with build 200806271402 http://www.netbeans.org/issues/show_bug.cgi?id=137579 is either not fixed or does not fix this issue. Georg
I'm already working on a fix. I expect to have it ready tomorrow.
Created attachment 63765 [details] stacktrace
Created attachment 63766 [details] another file to reproduce the problem
The original change in lexer which caused this problem (f6b2e0181e07) has been rolled back in 6.5M1 branch as well as any subsequent changes in lexer (the rollback affected only files in the lexer module, files in other modules remain untouched). This problem shouldn't be reproducible anymore in the 6.5M1 branch, and so this bug should no longer be a stopper for M1. http://hg.netbeans.org/release65_m1?cmd=changeset;node=a413d7e43d64
This issue has already 50 duplicates see http://statistics.netbeans.org/exceptions/detail.do?id=66705
Finally I have a fix that should eliminate the problem. Besides unit tests I have tested it on my >20 testing jsps and I did not encounter any problem so far. I have rewritten the join sections relexing considerably to be more readable and stable. This should eliminate most of other recently enetered problems too. http://hg.netbeans.org/main/rev/68f150822f13
Integrated into 'main-golden', available in NB_Trunk_Production #298 build Changeset: http://hg.netbeans.org/main/rev/68f150822f13 User: Miloslav Metelka <mmetelka@netbeans.org> Log: #137668 - AssertionError: ').submit()document.getElementById(ack_form'1:E.