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 171339 - IllegalStateException: Embedding language: text/x-java, LH: org.netbeans.api.java.lexer.JavaTokenId$1, skip[1, 1];no-join not declared to join sections. ETL<95,109> TC=5, IHC=5830579
Summary: IllegalStateException: Embedding language: text/x-java, LH: org.netbeans.api....
Status: RESOLVED FIXED
Alias: None
Product: editor
Classification: Unclassified
Component: Lexer (show other bugs)
Version: 6.x
Hardware: All All
: P2 blocker (vote)
Assignee: Miloslav Metelka
URL: http://statistics.netbeans.org/except...
Keywords:
: 171505 172011 173353 (view as bug list)
Depends on:
Blocks:
 
Reported: 2009-09-02 17:20 UTC by Oleg Khokhlov
Modified: 2009-10-20 14:20 UTC (History)
5 users (show)

See Also:
Issue Type: DEFECT
Exception Reporter: 157596


Attachments
stacktrace (4.22 KB, text/plain)
2009-09-02 17:20 UTC, Oleg Khokhlov
Details
stacktrace (6.73 KB, text/plain)
2009-09-08 14:38 UTC, pribyl
Details
stacktrace (7.15 KB, text/plain)
2009-09-11 10:19 UTC, Martin Schovanek
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Oleg Khokhlov 2009-09-02 17:20:08 UTC
Build: NetBeans IDE Dev (Build 200908311509)
VM: Java HotSpot(TM) Client VM, 14.1-b02, Java(TM) SE Runtime Environment, 1.6.0_15-b03
OS: Windows XP, 5.1, x86

User Comments:
ovk: opened jsp files

mkroll: Edit some Text in the Editorfield.



Stacktrace: 
java.lang.IllegalStateException: Embedding language: text/x-java, LH: org.netbeans.api.java.lexer.JavaTokenId$1, skip[1, 1];no-join not declared to join sections. ETL<95,109> TC=5, IHC=5830579
        at org.netbeans.lib.lexer.JoinTokenList.initTokenList(JoinTokenList.java:609)
        at org.netbeans.lib.lexer.JoinTokenList.init(JoinTokenList.java:547)
        at org.netbeans.lib.lexer.JoinTokenList.create(JoinTokenList.java:95)
        at org.netbeans.lib.lexer.TokenListList.<init>(TokenListList.java:128)
        at org.netbeans.lib.lexer.TokenHierarchyOperation.tokenListList(TokenHierarchyOperation.java:435)
        at org.netbeans.lib.lexer.EmbeddingContainer.embeddedTokenList(EmbeddingContainer.java:196)
Comment 1 Oleg Khokhlov 2009-09-02 17:20:13 UTC
Created attachment 86990 [details]
stacktrace
Comment 2 Miloslav Metelka 2009-09-04 14:51:41 UTC
Do you have any sample file where the problem could be reproduced? Thanks.
Comment 3 Oleg Khokhlov 2009-09-04 15:51:16 UTC
In new IDE I open PerformanceTestFolderWebApp project (in netbeans repository - performance/web/test/qa-functional/data)
and try to open jsp files from Web Pages/jsp100 folder while project is scanned
After scanning is finished I get this exception
Comment 4 pribyl 2009-09-08 14:38:37 UTC
Build: NetBeans IDE Dev (Build 200909071948)
VM: Java HotSpot(TM) Client VM, 14.1-b02, Java(TM) SE Runtime Environment, 1.6.0_15-b03
OS: Windows XP, 5.1, x86

User Comments: 
I opened 10 .jsp files at once

Stacktrace: 
java.lang.IllegalStateException: Embedding language: text/x-java, LH: org.netbeans.api.java.lexer.JavaTokenId$1, skip[1, 1];no-join not declared to join sections. ETL<64,74> TC=5, IHC=10007966
        at org.netbeans.lib.lexer.JoinTokenList.initTokenList(JoinTokenList.java:609)
        at org.netbeans.lib.lexer.JoinTokenList.init(JoinTokenList.java:547)
        at org.netbeans.lib.lexer.JoinTokenList.create(JoinTokenList.java:95)
        at org.netbeans.lib.lexer.TokenListList.<init>(TokenListList.java:128)
        at org.netbeans.lib.lexer.TokenHierarchyOperation.tokenListList(TokenHierarchyOperation.java:435)
        at org.netbeans.lib.lexer.EmbeddingContainer.embeddedTokenList(EmbeddingContainer.java:196)
Comment 5 pribyl 2009-09-08 14:38:41 UTC
Created attachment 87276 [details]
stacktrace
Comment 6 Exceptions Reporter 2009-09-09 15:49:33 UTC
This issue already has 5 duplicates 
see http://statistics.netbeans.org/exceptions/detail.do?id=157596
Comment 7 Martin Schovanek 2009-09-11 10:18:55 UTC
Build: NetBeans IDE Dev (Build 200909081533)
VM: Java HotSpot(TM) 64-Bit Server VM, 14.1-b02-92, Java(TM) SE Runtime Environment, 1.6.0_15-b03-226
OS: Mac OS X, 10.5.8, x86_64

User Comments: 
Openning all JSPs from ./projects/EtrakWebApp/web/jsp/accounting. You can download it at http://beetle.czech/~jb105785/projects.rar

Stacktrace: 
java.lang.IllegalStateException: Embedding language: text/x-java, LH: org.netbeans.api.java.lexer.JavaTokenId$1, skip[1, 1];no-join not declared to join sections. ETL<64,74> TC=5, IHC=799340421
        at org.netbeans.lib.lexer.JoinTokenList.initTokenList(JoinTokenList.java:609)
        at org.netbeans.lib.lexer.JoinTokenList.init(JoinTokenList.java:547)
        at org.netbeans.lib.lexer.JoinTokenList.create(JoinTokenList.java:95)
        at org.netbeans.lib.lexer.TokenListList.<init>(TokenListList.java:128)
        at org.netbeans.lib.lexer.TokenHierarchyOperation.tokenListList(TokenHierarchyOperation.java:435)
        at org.netbeans.lib.lexer.EmbeddingContainer.embeddedTokenList(EmbeddingContainer.java:196)
Comment 8 Martin Schovanek 2009-09-11 10:19:00 UTC
Created attachment 87486 [details]
stacktrace
Comment 9 Exceptions Reporter 2009-09-11 10:19:05 UTC
This issue already has 6 duplicates 
see http://statistics.netbeans.org/exceptions/detail.do?id=157596
Comment 10 Martin Schovanek 2009-09-11 10:25:03 UTC
It makes the editor almost unusable => P2
Comment 11 Miloslav Metelka 2009-09-14 17:06:19 UTC
Reproduced. I will add some more debugging to find out why is there a request to join token lists with non-joining
embedding.
Comment 12 Miloslav Metelka 2009-09-14 17:18:22 UTC
*** Issue 172011 has been marked as a duplicate of this issue. ***
Comment 13 Miloslav Metelka 2009-09-17 10:28:28 UTC
http://hg.netbeans.org/jet-main/rev/23e5c2da19cf
Comment 14 Quality Engineering 2009-09-18 22:51:28 UTC
Integrated into 'main-golden', will be available in build *200909181401* on http://bits.netbeans.org/dev/nightly/ (upload may still be in progress)
Changeset: http://hg.netbeans.org/main-golden/rev/23e5c2da19cf
User: Miloslav Metelka <mmetelka@netbeans.org>
Log: #171339 - IllegalStateException: Embedding language: text/x-java, LH: org.netbeans.api.java.lexer.JavaTokenId$1, skip[1, 1];no-join not declared to join sections. ETL<95,109> TC=5, IHC=5830579.
Comment 15 Miloslav Metelka 2009-09-23 15:44:06 UTC
*** Issue 171505 has been marked as a duplicate of this issue. ***
Comment 16 David Konecny 2009-09-25 00:45:36 UTC
*** Issue 172245 has been marked as a duplicate of this issue. ***
Comment 17 David Konecny 2009-09-30 22:42:14 UTC
*** Issue 173353 has been marked as a duplicate of this issue. ***