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 256929 - AssertionError: [ /home/as204739/????????/Welcome_2/welcome.cc] char$ptr$CharSequence can wrap only one-byte-per-symbol strings but has [15]='?' Forgot to decode string to utf8 bytes and use NativePo
Summary: AssertionError: [ /home/as204739/????????/Welcome_2/welcome.cc] char$ptr$Char...
Status: RESOLVED DUPLICATE of bug 256912
Alias: None
Product: cnd
Classification: Unclassified
Component: Code Model (show other bugs)
Version: 8.1
Hardware: All All
: P3 normal (vote)
Assignee: issues@cnd
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2015-12-02 14:56 UTC by Alexander Simon
Modified: 2015-12-02 15:22 UTC (History)
0 users

See Also:
Issue Type: DEFECT
Exception Reporter: 221467


Attachments
stacktrace (3.59 KB, text/plain)
2015-12-02 14:56 UTC, Alexander Simon
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Alexander Simon 2015-12-02 14:56:54 UTC
Build: NetBeans IDE 8.1 (Build 20151202-a167ece411eb)
VM: OpenJDK 64-Bit Server VM, 24.91-b01, OpenJDK Runtime Environment, 1.7.0_91-b02
OS: Linux

User Comments:
alexvsimon: investigation of the bug #256912




Stacktrace: 
java.lang.AssertionError: [ /home/as204739/????????/Welcome_2/welcome.cc] char$ptr$CharSequence can wrap only one-byte-per-symbol strings but has [15]='?'
	Forgot to decode string to utf8 bytes and use NativePointer.create_char$ptr(byte[] array)?
   at org.clank.support.char$ptr$CharSequence.<init>(char.java:61)
   at org.clank.support.char$ptr$CharSequence.<init>(char.java:41)
   at org.clank.support.NativePointer.create_char$ptr(NativePointer.java:927)
   at org.netbeans.modules.cnd.apt.impl.support.clank.ClankMemoryBufferImpl.<init>(ClankMemoryBufferImpl.java:62)
   at org.netbeans.modules.cnd.apt.impl.support.clank.ClankMemoryBufferImpl.create(ClankMemoryBufferImpl.java:56)
   at org.netbeans.modules.cnd.apt.impl.support.clank.ClankDriverImpl.preprocessImpl(ClankDriverImpl.java:154)
Comment 1 Alexander Simon 2015-12-02 14:56:56 UTC
Created attachment 157616 [details]
stacktrace
Comment 2 Alexander Simon 2015-12-02 15:22:33 UTC

*** This bug has been marked as a duplicate of bug 256912 ***