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 119276 - If a project is deleted while its artificial libraries are still being parsed, and assertion occurs
Summary: If a project is deleted while its artificial libraries are still being parsed...
Status: RESOLVED WONTFIX
Alias: None
Product: cnd
Classification: Unclassified
Component: Code Model (show other bugs)
Version: 6.x
Hardware: All All
: P4 blocker (vote)
Assignee: nnnnnk
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2007-10-17 20:47 UTC by Vladimir Kvashin
Modified: 2009-12-21 06:26 UTC (History)
0 users

See Also:
Issue Type: DEFECT
Exception Reporter:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Vladimir Kvashin 2007-10-17 20:47:14 UTC
This situation occurs in tests (org.netbeans.modules.cnd.repository.access.CloseProjectWhenParsingLib). In the case
project is removed (so it's persistence is deleted) while its libraries are still being parsed, an assertion occurs:

java.lang.AssertionError: null start project for /usr/include/langinfo.h
org.netbeans.modules.cnd.modelimpl.parser.apt.APTProjectFileBasedWalker.<init>(APTProjectFileBasedWalker.java:73)
        at org.netbeans.modules.cnd.modelimpl.parser.apt.APTParseFileWalker.<init>(APTParseFileWalker.java:75)
        at org.netbeans.modules.cnd.modelimpl.csm.core.FileImpl.doParse(FileImpl.java:604)
        at org.netbeans.modules.cnd.modelimpl.csm.core.FileImpl._parse(FileImpl.java:492)
        at org.netbeans.modules.cnd.modelimpl.csm.core.FileImpl.parse(FileImpl.java:466)
        at org.netbeans.modules.cnd.modelimpl.csm.core.FileImpl.ensureParsed(FileImpl.java:263)
        at org.netbeans.modules.cnd.modelimpl.csm.core.ParserThread.run(ParserThread.java:89)
        at org.netbeans.modules.cnd.modelimpl.csm.core.ParserThreadManager$Wrapper.run(ParserThreadManager.java:82)
        at java.lang.Thread.run(Thread.java:595)

All attempts to reproduce this situation in the IDE failed.
Nevertheless I believe this is a bug and should be fixed.
Comment 1 Quality Engineering 2009-12-21 06:26:41 UTC
This bug was reported against NetBeans IDE 6.0 or an older release, or against a non-maintained module. NetBeans team does not have enough resources to get to this issue, therefore we are closing the issue as a WONTFIX. If you are interested in providing a patch for this bug, please see our NetFIX guidelines for how to proceed. 

We apologize for any inconvenience.


Thank you.
The NetBeans Team