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 255875 - AssertionError: local file resolved in remote folder rfs:alsimon@beta.ru.oracle.com:22/usr/include: FileEntry{ Name=E:\projects\cmake-2.6.4\Example\Demo\hello.h, Size=85, ModTime=2324908227, Dir=Direc
Summary: AssertionError: local file resolved in remote folder rfs:alsimon@beta.ru.orac...
Status: VERIFIED FIXED
Alias: None
Product: cnd
Classification: Unclassified
Component: Code Model (show other bugs)
Version: 8.1
Hardware: All All
: P1 normal (vote)
Assignee: Vladimir Voskresensky
URL:
Keywords: 81_HR_FIX
Depends on:
Blocks:
 
Reported: 2015-10-12 12:31 UTC by Alexander Simon
Modified: 2015-10-26 15:42 UTC (History)
2 users (show)

See Also:
Issue Type: DEFECT
Exception Reporter: 220496


Attachments
stacktrace (4.62 KB, text/plain)
2015-10-12 12:31 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-10-12 12:31:34 UTC
Build: NetBeans IDE Dev (Build 20151012-d6e86730abb9)
VM: Java HotSpot(TM) 64-Bit Server VM, 23.25-b01, Java(TM) SE Runtime Environment, 1.7.0_25-b17
OS: Windows 7

User Comments:
alexvsimon: click on hyper link in file that belongs to project in shared mode

alexvsimon: open file in created project (shared mode)

alexvsimon: find usages




Stacktrace: 
java.lang.AssertionError: local file resolved in remote folder rfs:alsimon@beta.ru.oracle.com:22/usr/include:
FileEntry{
Name=E:\projects\cmake-2.6.4\Example\Demo\hello.h, Size=85, ModTime=2324908227,
Dir=DirectoryEntry{Name=E:\projects\cmake-2.6.4\Example\Demo},
UID=2, UniqueID=UniqueID{Device=-9223372036854775808, File=1298861814}, IsNamedPipe=false, InPCH=false, IsValid=true, File=unique_ptr{destroyed=false, Ptr={delegate=}}
}
   at org.netbeans.modules.cnd.apt.impl.support.clank.ClankPPCallback.createResolvedPath(ClankPPCallback.java:235)
   at org.netbeans.modules.cnd.apt.impl.support.clank.ClankPPCallback.onInclusionDirective(ClankPPCallback.java:171)
   at org.clang.tools.services.support.FileInfoCallback.InclusionDirective(FileInfoCallback.java:265)
   at org.clang.lex.Preprocessor.HandleIncludeDirective(Preprocessor.java:7893)
   at org.clang.lex.Preprocessor.HandleIncludeDirective(Preprocessor.java:7719)
   at org.clang.lex.Preprocessor.HandleIncludeDirective(Preprocessor.java:7688)
Comment 1 Alexander Simon 2015-10-12 12:31:36 UTC
Created attachment 156669 [details]
stacktrace
Comment 2 Vladimir Voskresensky 2015-10-12 14:16:33 UTC
Serious, Needs Investigation.
Comment 3 Vladimir Voskresensky 2015-10-12 15:30:34 UTC
suggestion for Unresolved Path 
#include <config.h>
Breaks mixed remote
Comment 4 Vladimir Voskresensky 2015-10-12 15:38:34 UTC
updated binary
http://hg.netbeans.org/cnd-main/rev/23da7fb3eeea

fixed in library:
https://hg.kenai.com/hg/sputnik~main/rev/3774ec55d3ed
Comment 5 Alexander Simon 2015-10-12 16:45:19 UTC
The issue is not reproduced after the fix.
Comment 6 Quality Engineering 2015-10-13 01:33:20 UTC
Integrated into 'main-silver', will be available in build *201510130002* on http://bits.netbeans.org/dev/nightly/ (upload may still be in progress)

Changeset: http://hg.netbeans.org/main-silver/rev/23da7fb3eeea
User: Vladimir Voskresensky <vv159170@netbeans.org>
Log: fixed #255875 - AssertionError: local file resolved in remote folder (binaries)
- when resolve again pass SearchPath and RelativePath when called with active callback
Comment 7 ilia 2015-10-13 13:33:44 UTC
Transplanted to releases:
  http://hg.netbeans.org/releases/rev/674ba03bb885 [fixed #255875 - AssertionError: local file resolved in remote folder (binaries)]
Comment 8 soldatov 2015-10-26 15:42:17 UTC
Verified in NetBeans IDE 8.1 (Build 201510222201)
In FCS I don't see so much exceptions. And I can't reproduce this exception too. I will mark bug as a VERIFIED.