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 256626 - [newcodemodel] AssertionError: Didn't allow wide strings in
Summary: [newcodemodel] AssertionError: Didn't allow wide strings in
Status: RESOLVED FIXED
Alias: None
Product: cnd
Classification: Unclassified
Component: Code Model (show other bugs)
Version: 8.1
Hardware: All All
: P3 normal (vote)
Assignee: Vladimir Kvashin
URL:
Keywords:
: 256543 (view as bug list)
Depends on:
Blocks:
 
Reported: 2015-11-16 14:51 UTC by Vladimir Voskresensky
Modified: 2016-01-28 13:22 UTC (History)
1 user (show)

See Also:
Issue Type: DEFECT
Exception Reporter: 221193


Attachments
stacktrace (3.85 KB, text/plain)
2015-11-16 14:51 UTC, Vladimir Voskresensky
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Vladimir Voskresensky 2015-11-16 14:51:08 UTC
Build: NetBeans IDE 8.1 (Build 20151116-3d5ad1f845f6)
VM: Java HotSpot(TM) 64-Bit Server VM, 25.66-b17, Java(TM) SE Runtime Environment, 1.8.0_66-b17
OS: SunOS

User Comments:
vv159170: /net/volvo/export/devarea/osprojects/gcc-master/gcc/testsuite/gcc.dg/pragma-message.c




Stacktrace: 
java.lang.AssertionError: Didn't allow wide strings in
   at org.clang.lex.Preprocessor.FinishLexStringLiteral(Preprocessor.java:2489)
   at org.clang.lex.impl.PragmaStatics$PragmaMessageHandler.HandlePragma(PragmaStatics.java:413)
   at org.clang.lex.PragmaNamespace.HandlePragma(PragmaNamespace.java:146)
   at org.clang.lex.Preprocessor.HandlePragmaDirective(Preprocessor.java:8809)
   at org.clang.lex.Preprocessor.HandleDirective(Preprocessor.java:4308)
   at org.clang.lex.Lexer.LexTokenInternal(Lexer.java:2800)
Comment 1 Vladimir Voskresensky 2015-11-16 14:51:10 UTC
Created attachment 157360 [details]
stacktrace
Comment 2 Vladimir Voskresensky 2015-11-16 14:51:51 UTC
*** Bug 256543 has been marked as a duplicate of this bug. ***
Comment 3 Vladimir Kvashin 2015-12-10 16:43:21 UTC
Unfortunately This one is still valid.
Comment 4 Vladimir Kvashin 2015-12-11 09:23:04 UTC
To reproduce it's enough to add the following line (without closing quote) to the code:

#pragma message "
Comment 5 Vladimir Kvashin 2015-12-11 10:44:47 UTC
Fix is integrated into sputnik:
5b419e66a259
I'm not closing the bug as I haven't yet made a binary update.
Comment 6 Vladimir Kvashin 2015-12-14 17:52:53 UTC
fixes in sputnik:
 5b419e66a259
 1fe1d0198004
updated binaries in cnd (release81)
 5d4174b4621c
Comment 7 ilia 2016-01-28 13:22:31 UTC
Removing 81patch-candidate because there are no any changesets fixing this bug in releases or even in cnd-main.