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 262248

Summary: java.util.ConcurrentModificationException: Caller uses obsolete token sequence which is no longer valid. Underlying token hierarchy has been modified by insertion or removal or a custom language embed
Product: cnd Reporter: Exceptions Reporter <exceptions_reporter>
Component: -- Other --Assignee: Alexander Simon <alexvsimon>
Status: RESOLVED FIXED    
Severity: normal CC: alexvsimon
Priority: P3    
Version: 8.1   
Hardware: All   
OS: All   
Issue Type: DEFECT Exception Reporter: 222725
Attachments: stacktrace

Description Exceptions Reporter 2016-05-27 04:46:08 UTC
This issue was reported manually by alexvsimon.
It already has 1 duplicates 


Build: Oracle Solaris Studio 12.4 (2014/10/03 bc3251f82efb)
VM: Java HotSpot(TM) 64-Bit Server VM, 25.60-b23, Java(TM) SE Runtime Environment, 1.8.0_60-b27
OS: Linux

User Comments:
GUEST: don't know what happened




Stacktrace: 
java.util.ConcurrentModificationException: Caller uses obsolete token sequence which is no longer valid. Underlying token hierarchy has been modified by insertion or removal or a custom language embedding was created.TS.modCount=386, tokenList.modCount()=387, rootModCount=387
Please report a bug against a module that calls lexer's code e.g. java, php etc. but not the lexer module itself.
   at org.netbeans.api.lexer.TokenSequence.checkValid(TokenSequence.java:805)
   at org.netbeans.api.lexer.TokenSequence.moveNext(TokenSequence.java:485)
   at com.sun.tools.tuxedo.completion.TuxedoCompletion$Query.doQuery(TuxedoCompletion.java:114)
   at com.sun.tools.tuxedo.completion.TuxedoCompletion$Query.query(TuxedoCompletion.java:74)
   at org.netbeans.spi.editor.completion.support.AsyncCompletionTask.run(AsyncCompletionTask.java:223)
   at org.openide.util.RequestProcessor$Task.run(RequestProcessor.java:1423)
Comment 1 Exceptions Reporter 2016-05-27 04:46:10 UTC
Created attachment 159898 [details]
stacktrace
Comment 2 Alexander Simon 2016-07-11 10:40:59 UTC
fixed in studio sources, change set d6c8b1f16e29