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 269130

Summary: [newcodemodel] AssertionError: Cannot modify const object!
Product: cnd Reporter: tbrunhoff <tbrunhoff>
Component: Code ModelAssignee: Vladimir Voskresensky <vv159170>
Status: VERIFIED FIXED    
Severity: normal    
Priority: P2    
Version: Dev   
Hardware: All   
OS: All   
Issue Type: DEFECT Exception Reporter: 227318
Bug Depends on: 268970    
Bug Blocks:    
Attachments: stacktrace

Description tbrunhoff 2016-11-26 16:09:20 UTC
Build: NetBeans IDE Dev (Build 201610100002)
VM: Java HotSpot(TM) 64-Bit Server VM, 25.45-b02, Java(TM) SE Runtime Environment, 1.8.0_45-b14
OS: Linux

User Comments:
tbrunhoff: starting a debug session.




Stacktrace: 
java.lang.AssertionError: Cannot modify const object!
   at org.clank.support.AbstractArrayPointerType.$preInc(AbstractArrayPointerType.java:51)
   at org.clank.support.AbstractArrayPointerType.$preInc(AbstractArrayPointerType.java:18)
   at org.clang.lex.Lexer.IsStartOfConflictMarker(Lexer.java:4690)
   at org.clang.lex.Lexer.LexTokenInternal(Lexer.java:2651)
   at org.clang.lex.Lexer.Lex(Lexer.java:377)
   at org.clang.lex.Preprocessor.Lex(Preprocessor.java:3521)
Comment 1 tbrunhoff 2016-11-26 16:09:22 UTC
Created attachment 163034 [details]
stacktrace
Comment 2 Vladimir Voskresensky 2016-11-28 12:04:21 UTC
it was fixed as https://hg.kenai.com/hg/sputnik~main/rev/009ce16eb14c.
Will be part of the next libs.clank update
Comment 3 Quality Engineering 2016-12-03 03:04:14 UTC
Integrated into 'main-silver', will be available in build *201612030001* on http://bits.netbeans.org/dev/nightly/ (upload may still be in progress)

Changeset: http://hg.netbeans.org/main-silver/rev/25844de6e2c3
User: Vladimir Voskresensky <vv159170@netbeans.org>
Log: fixing #268970 - [newcodemodel] Fix Clank 3.9 upgrade
(also includes fix for #269130 - [newcodemodel] AssertionError: Cannot modify const object! )
(transplanted from 6e1b3037918da2f0f6bd95f880a2c351522eff04)
Comment 4 Vladimir Voskresensky 2016-12-10 10:40:35 UTC
v.