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 255685 - Exception: Can not get library for artificial project; folder=C:\Developer\msys64\mingw64\x86_64-w64-mingw32\include curFile=INITIAL FileImpl @-522386095:2063714351 C:\Developer\mingw64\freeglut\inclu
Summary: Exception: Can not get library for artificial project; folder=C:\Developer\ms...
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: Alexander Simon
URL:
Keywords: 81_HR_FIX
: 255867 (view as bug list)
Depends on:
Blocks:
 
Reported: 2015-10-05 07:10 UTC by MackSix
Modified: 2015-10-26 15:43 UTC (History)
5 users (show)

See Also:
Issue Type: DEFECT
Exception Reporter: 220302


Attachments
stacktrace (3.45 KB, text/plain)
2015-10-05 07:10 UTC, MackSix
Details

Note You need to log in before you can comment on or make changes to this bug.
Description MackSix 2015-10-05 07:10:14 UTC
This issue was reported manually by alexvsimon.
It already has 2 duplicates 


Build: NetBeans IDE Dev (Build 201510010328)
VM: Java HotSpot(TM) 64-Bit Server VM, 25.60-b23, Java(TM) SE Runtime Environment, 1.8.0_60-b27
OS: Windows 7

User Comments:
MackSix: More of the same. This was thrown after the last exception report was sent. 

Testing this bugfix: https://netbeans.org/bugzilla/show_bug.cgi?id=255258

opening and closing netbeans wile projects are parsed and opening properties while projects are parsed.

MackSix: Testing this bugfix: https://netbeans.org/bugzilla/show_bug.cgi?id=255258

opening and closing netbeans wile projects are parsed and opening properties while projects are parsed.




Stacktrace: 
java.lang.Exception: Can not get library for artificial project; folder=C:\Developer\msys64\mingw64\x86_64-w64-mingw32\include curFile=INITIAL FileImpl @-522386095:2063714351 C:\Developer\mingw64\freeglut\include\GL\freeglut_std.h prj:1893796058KeyBasedUID on ProjectKey C:\Developer\mingw64\freeglut\include NOT_BEING_PARSED path=ResPath{C:\Developer\msys64\mingw64\x86_64-w64-mingw32\include\GL\glu.h in C:\Developer\msys64\mingw64\x86_64-w64-mingw32\include} baseProject=C:\Developer\mingw64\freeglut\include org.netbeans.modules.cnd.modelimpl.csm.core.LibProjectImpl @1171557805:1171557805
   at org.netbeans.modules.cnd.utils.CndUtils.severe(CndUtils.java:206)
   at org.netbeans.modules.cnd.utils.CndUtils.assertTrue(CndUtils.java:191)
   at org.netbeans.modules.cnd.modelimpl.csm.core.LibraryManager.resolveFileProjectOnInclude(LibraryManager.java:255)
   at org.netbeans.modules.cnd.modelimpl.parser.clank.ClankTokenStreamProducer$FileTokenStreamCallback.onInclusionDirective(ClankTokenStreamProducer.java:361)
   at org.netbeans.modules.cnd.apt.impl.support.clank.ClankPPCallback.onInclusionDirective(ClankPPCallback.java:195)
   at org.clang.tools.services.support.FileInfoCallback.InclusionDirective(FileInfoCallback.java:265)
Comment 1 MackSix 2015-10-05 07:10:17 UTC
Created attachment 156509 [details]
stacktrace
Comment 2 Vladimir Voskresensky 2015-10-05 12:35:19 UTC
Looks serious. Needs investigation
Comment 3 DimaZh 2015-10-08 11:46:40 UTC
Raising to P1
Comment 4 Alexander Simon 2015-10-09 13:39:36 UTC
fixed, change set:
http://hg.netbeans.org/cnd-main/rev/e16dd7222cda
Comment 5 Alexander Simon 2015-10-09 13:40:16 UTC
Vladimir K.
please, review the fix
Comment 6 Vladimir Kvashin 2015-10-12 16:22:08 UTC
I reviewed the fix, I think it is correct and safe.
Comment 7 Alexander Simon 2015-10-13 09:25:31 UTC
transplanted to release81
http://hg.netbeans.org/releases/rev/0801d310108a
Comment 8 Vladimir Voskresensky 2015-10-14 07:41:29 UTC
*** Bug 255867 has been marked as a duplicate of this bug. ***
Comment 9 MackSix 2015-10-14 16:52:52 UTC
I have been working with NetBeans IDE 8.1 RC2 (Build 201510122201) and have no exception. It seems to be fine.
Comment 10 soldatov 2015-10-26 15:43:37 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.