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 - 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
Summary: java.util.ConcurrentModificationException: Caller uses obsolete token sequenc...
Status: RESOLVED FIXED
Alias: None
Product: cnd
Classification: Unclassified
Component: -- Other -- (show other bugs)
Version: 8.1
Hardware: All All
: P3 normal (vote)
Assignee: Alexander Simon
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2016-05-27 04:46 UTC by Exceptions Reporter
Modified: 2016-07-11 10:40 UTC (History)
1 user (show)

See Also:
Issue Type: DEFECT
Exception Reporter: 222725


Attachments
stacktrace (996 bytes, text/plain)
2016-05-27 04:46 UTC, Exceptions Reporter
Details

Note You need to log in before you can comment on or make changes to this bug.
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