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

Summary: 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
Product: cnd Reporter: Alexander Simon <alexvsimon>
Component: Code ModelAssignee: issues@cnd <issues>
Status: RESOLVED DUPLICATE    
Severity: normal    
Priority: P3    
Version: 8.1   
Hardware: All   
OS: All   
Issue Type: DEFECT Exception Reporter: 221467
Attachments: stacktrace

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 ***