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 267980 - [newcodemodel] Start entry path should be absolute!
Summary: [newcodemodel] Start entry path should be absolute!
Status: VERIFIED FIXED
Alias: None
Product: cnd
Classification: Unclassified
Component: Code Model (show other bugs)
Version: Dev
Hardware: PC Solaris
: P2 normal (vote)
Assignee: Vladimir Voskresensky
URL:
Keywords: 82_HR_FIX
: 262844 (view as bug list)
Depends on:
Blocks:
 
Reported: 2016-09-12 15:47 UTC by Alexander Simon
Modified: 2016-09-20 12:15 UTC (History)
2 users (show)

See Also:
Issue Type: DEFECT
Exception Reporter:


Attachments
stacktrace (2.14 KB, text/plain)
2016-09-19 16:03 UTC, Alexander Simon
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Alexander Simon 2016-09-12 15:47:59 UTC
Tests on Windows test machine has a SEVERE message in log:

    [junit] SEVERE: Start entry path should be absolute! FS=r_tester@spb-avtovo.ru.oracle.com Path=C:\usr\include\c++\4.1.2\bits\locale_facets.h
    [junit] java.lang.Exception: Start entry path should be absolute! FS=r_tester@spb-avtovo.ru.oracle.com Path=C:\usr\include\c++\4.1.2\bits\locale_facets.h
    [junit] @[Fix registration KeyBasedUID on FileKey (/usr/include, /usr/include/c++/4.1.2/bits/locale_facets.h)]
    [junit] 	at org.netbeans.modules.cnd.utils.CndUtils.severe(CndUtils.java:210)
    [junit] 	at org.netbeans.modules.cnd.utils.CndUtils.assertTrue(CndUtils.java:191)
    [junit] 	at org.netbeans.modules.cnd.apt.support.api.StartEntry.<init>(StartEntry.java:74)
    [junit] 	at org.netbeans.modules.cnd.modelimpl.csm.core.ProjectBase.getIncludeHandler(ProjectBase.java:1503)
    [junit] 	at org.netbeans.modules.cnd.modelimpl.csm.core.ProjectBase.createPreprocHandler(ProjectBase.java:1466)
    [junit] 	at org.netbeans.modules.cnd.modelimpl.csm.core.ProjectBase.createDefaultPreprocHandler(ProjectBase.java:3426)
    [junit] 	at org.netbeans.modules.cnd.modelimpl.csm.core.ProjectBase.restorePreprocHandler(ProjectBase.java:3393)
    [junit] 	at org.netbeans.modules.cnd.modelimpl.csm.core.ProjectBase.createPreprocHandlerFromStates(ProjectBase.java:1669)
    [junit] 	at org.netbeans.modules.cnd.modelimpl.csm.core.ProjectBase.createPreprocHandlerFromState(ProjectBase.java:1540)
    [junit] 	at org.netbeans.modules.cnd.modelimpl.parser.clank.ClankTokenStreamProducer.getTokenStreamOfIncludedFile(ClankTokenStreamProducer.java:134)
    [junit] 	at org.netbeans.modules.cnd.modelimpl.csm.core.FileImpl.getTokenStreamOfIncludedFile(FileImpl.java:1373)
    [junit] 	at org.netbeans.modules.cnd.modelimpl.csm.core.FileImpl.fixFakeIncludeRegistrations(FileImpl.java:2050)
    [junit] 	at org.netbeans.modules.cnd.modelimpl.csm.core.FileImpl.fixFakeRegistrations(FileImpl.java:1992)
    [junit] 	at org.netbeans.modules.cnd.modelimpl.csm.core.FileImpl.onProjectParseFinished(FileImpl.java:906)
    [junit] 	at org.netbeans.modules.cnd.modelimpl.csm.core.FakeRegistrationWorker$FixRegistrationRunnable.run(FakeRegistrationWorker.java:146)
    [junit] 	at org.openide.util.RequestProcessor$Task.run(RequestProcessor.java:1443)
    [junit] 	at org.netbeans.modules.openide.util.GlobalLookup.execute(GlobalLookup.java:68)
    [junit] 	at org.openide.util.lookup.Lookups.executeWith(Lookups.java:303)
    [junit] 	at org.openide.util.RequestProcessor$Processor.run(RequestProcessor.java:2058)
Comment 1 Alexander Simon 2016-09-12 15:49:06 UTC
For more info see hudson build job cnd-test-winxp/12910
Comment 2 Vladimir Kvashin 2016-09-13 12:11:30 UTC
*** Bug 262844 has been marked as a duplicate of this bug. ***
Comment 3 Vladimir Kvashin 2016-09-13 12:13:06 UTC
Note that some more info can be found in the issue 267980 that I marked as a duplicate of this one. But in this one we are much closer to the place where problem appears.
Comment 4 Vladimir Kvashin 2016-09-13 12:14:12 UTC
(In reply to Vladimir Kvashin from comment #3)
> Note that some more info can be found in the issue 267980...
Sure I meant the issue 262844, sorry for the typo
Comment 5 Vladimir Voskresensky 2016-09-19 15:40:57 UTC
Alexander, please, help me to reproduce it on your Windows system.
Comment 6 Vladimir Voskresensky 2016-09-19 15:42:06 UTC
it might be the duplicate of https://netbeans.org/bugzilla/show_bug.cgi?id=268070
Comment 7 Alexander Simon 2016-09-19 16:03:56 UTC
Created attachment 162116 [details]
stacktrace

reparse quote sample (ordinary remote)
Comment 8 Vladimir Voskresensky 2016-09-19 17:16:17 UTC
Thanks for the reproducible test case
fixed
http://hg.netbeans.org/cnd-main/rev/d6aed977127a
Comment 9 Quality Engineering 2016-09-20 02:37:54 UTC
Integrated into 'main-silver', will be available in build *201609200002* on http://bits.netbeans.org/dev/nightly/ (upload may still be in progress)

Changeset: http://hg.netbeans.org/main-silver/rev/d6aed977127a
User: Vladimir Voskresensky <vv159170@netbeans.org>
Log: fixed #267980 - [newcodemodel] Start entry path should be absolute!
- use normalized path
Comment 10 soldatov 2016-09-20 11:35:39 UTC
Verified in internal build (Quote on \\Host\folder)
Comment 11 Alexander Simon 2016-09-20 12:13:20 UTC
transplanted in releases, branch release82:
http://hg.netbeans.org/releases/rev/155a7af13727
http://hg.netbeans.org/releases/rev/fcd54d5ad1cf
increment spec version:
http://hg.netbeans.org/releases/rev/e7da9da74605
Comment 12 Alexander Simon 2016-09-20 12:15:48 UTC
(In reply to Alexander Simon from comment #11)
> transplanted in releases, branch release82:
> http://hg.netbeans.org/releases/rev/155a7af13727
> http://hg.netbeans.org/releases/rev/fcd54d5ad1cf
> increment spec version:
> http://hg.netbeans.org/releases/rev/e7da9da74605
Sorry, should be:
transplanted in releases, branch release82:
http://hg.netbeans.org/releases/rev/e5f0790b5655
increment spec version:
http://hg.netbeans.org/releases/rev/14efeef6d7b2