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 256912 - [newcodemodel]There is no code model when project is placed in folder with non-ASCII symbols in path
Summary: [newcodemodel]There is no code model when project is placed in folder with no...
Status: VERIFIED FIXED
Alias: None
Product: cnd
Classification: Unclassified
Component: Code Model (show other bugs)
Version: 8.1
Hardware: PC Linux
: P1 normal (vote)
Assignee: Vladimir Kvashin
URL:
Keywords: REGRESSION
: 256327 256929 (view as bug list)
Depends on:
Blocks: 256327
  Show dependency tree
 
Reported: 2015-12-02 08:17 UTC by Alexander Simon
Modified: 2015-12-21 19:09 UTC (History)
1 user (show)

See Also:
Issue Type: DEFECT
Exception Reporter:


Attachments
IDE log (92.37 KB, text/plain)
2015-12-02 08:20 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 08:17:41 UTC
Code model is broken if absolute path of project location contains non ASCII chars.

Step to reproduce:
- create Welcome sample in the folder with non ASCII chars
- open welcome.cc file
See all identifiers are red.

IDE info:
>Log Session: Wednesday, December 2, 2015 12:11:36 PM MSK
>System Info: 
  Product Version         = NetBeans IDE Dev (Build 20151124-d766fe407965) (#d766fe407965)
  Operating System        = Linux version 3.13.0-70-generic running on amd64
  Java; VM; Vendor        = 1.8.0; Java HotSpot(TM) 64-Bit Server VM 25.0-b69; Oracle Corporation
  Runtime                 = Java(TM) SE Runtime Environment 1.8.0-b129
  Java Home               = /usr/lib/jvm/jdk1.8.0/jre
  System Locale; Encoding = ru_RU (nb); UTF-8
Comment 1 Alexander Simon 2015-12-02 08:20:07 UTC
Created attachment 157604 [details]
IDE log
Comment 2 Alexander Simon 2015-12-02 15:22:33 UTC
*** Bug 256929 has been marked as a duplicate of this bug. ***
Comment 3 Alexander Simon 2015-12-02 15:23:29 UTC
See root cause stack in the bug #256929
Comment 4 Alexander Simon 2015-12-02 16:04:40 UTC
see also bug #256933
Comment 5 Vladimir Kvashin 2015-12-10 16:03:07 UTC
Fixes in sputnik:
038616415cbd
e37bd83e761f 
4df7b568a35d
628752c192b6

Fixes on elif:
63fc20732f1f
3efe634f40e9
Comment 6 Vladimir Kvashin 2015-12-10 16:56:36 UTC
*** Bug 256327 has been marked as a duplicate of this bug. ***
Comment 7 Quality Engineering 2015-12-16 02:30:47 UTC
Integrated into 'main-silver', will be available in build *201512160002* on http://bits.netbeans.org/dev/nightly/ (upload may still be in progress)

Changeset: http://hg.netbeans.org/main-silver/rev/90acfea5b029
User: Vladimir Kvashin <vkvashin@netbeans.org>
Log: fixed #256912 - [newcodemodel]There is no code model when project is placed in folder with non-ASCII symbols in path
- use utf8-based services for CharSequences (path names and Url)
(transplanted from 3efe634f40e91470f245df85bf26cc99f7392fb0)
Comment 8 soldatov 2015-12-21 19:09:06 UTC
Verified in NetBeans 8.1 with latest internal patches