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 255751

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: editor Reporter: kprovance
Component: LexerAssignee: Miloslav Metelka <mmetelka>
Status: NEW ---    
Severity: normal CC: Andrey1990, Corneliu, kprovance
Priority: P3    
Version: 8.0   
Hardware: All   
OS: All   
Issue Type: DEFECT Exception Reporter: 213343
Attachments: stacktrace

Description kprovance 2015-10-06 23:58:12 UTC
Build: NetBeans IDE 8.0.2 (Build 201411181905)
VM: Java HotSpot(TM) 64-Bit Server VM, 25.25-b02, Java(TM) SE Runtime Environment, 1.8.0_25-b18
OS: Windows XP

User Comments:
GUEST: ?

GUEST: unknown

GUEST: <???????????????>d

GUEST: dunno, just noticed error icon

GUEST: <Please provide a description of the problem or the steps to reproduce>

GUEST: Debuging the PHP code

kprovance: ugh...no idea.  It just poped up, this notice.

GUEST: opened project

GUEST: ok this is i don't know how to do.thnk you

GUEST: edit code

GUEST: I don't know. I haven't any problem with this.

GUEST: editing PHP code

GUEST: Happened during background scanning of PHP project.




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=9, tokenList.modCount()=10, rootModCount=10
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.move(TokenSequence.java:679)
   at com.junichi11.netbeans.php.enhancements.editor.completion.ParameterCompletionProvider$AsyncCompletionQueryImpl.query(ParameterCompletionProvider.java:126)
   at org.netbeans.spi.editor.completion.support.AsyncCompletionTask.run(AsyncCompletionTask.java:223)
   at org.openide.util.RequestProcessor$Task.run(RequestProcessor.java:1423)
   at org.openide.util.RequestProcessor$Processor.run(RequestProcessor.java:2033)
Comment 1 kprovance 2015-10-06 23:58:15 UTC
Created attachment 156572 [details]
stacktrace