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

Summary: If a project is deleted while its artificial libraries are still being parsed, and assertion occurs
Product: cnd Reporter: Vladimir Kvashin <vkvashin>
Component: Code ModelAssignee: nnnnnk <nnnnnk>
Status: RESOLVED WONTFIX    
Severity: blocker    
Priority: P4    
Version: 6.x   
Hardware: All   
OS: All   
Issue Type: DEFECT Exception Reporter:

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