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 88170

Summary: io.FileNotFoundException on broken links
Product: cnd Reporter: julieg <julieg>
Component: Code ModelAssignee: Vladimir Voskresensky <vv159170>
Status: CLOSED FIXED    
Severity: blocker    
Priority: P1    
Version: 5.x   
Hardware: All   
OS: All   
Issue Type: DEFECT Exception Reporter:

Description julieg 2006-10-28 00:06:56 UTC
java.io.FileNotFoundException:
/net/sqa35/export/home/isv/build/my_firefox/firefox-1.5.0.3.default/build/accessible/src/atk/nsAccessibleText.cpp
(No such file or directory) 
        at java.io.FileInputStream.open(Native Method)
        at java.io.FileInputStream.<init>(FileInputStream.java:106)
        at
org.netbeans.modules.cnd.modelimpl.csm.core.FileBufferFile.getInputStream(FileBufferFile.java:100)
        at
org.netbeans.modules.cnd.modelimpl.cache.impl.FileCacheSyncBridge.createAPT(FileCacheSyncBridge.java:292)
        at
org.netbeans.modules.cnd.modelimpl.cache.impl.FileCacheSyncBridge.findCacheWithAST(FileCacheSyncBridge.java:192)
        at
org.netbeans.modules.cnd.modelimpl.cache.impl.CacheManagerImpl.findCacheWithAST(CacheManagerImpl.java:86)
        at
org.netbeans.modules.cnd.modelimpl.cache.CacheManager.findCacheWithAST(CacheManager.java:77)
        at
org.netbeans.modules.cnd.modelimpl.csm.core.FileImpl.doCachedASTParse(FileImpl.java:612)

        at
org.netbeans.modules.cnd.modelimpl.csm.core.FileImpl._parse(FileImpl.java:395)
        at
org.netbeans.modules.cnd.modelimpl.csm.core.FileImpl.parse(FileImpl.java:368)
        at
org.netbeans.modules.cnd.modelimpl.csm.core.FileImpl.ensureParsed(FileImpl.java:200)
read.java:60)
        at
org.netbeans.modules.cnd.modelimpl.csm.core.ParserThreadManager$Wrapper.run(ParserThreadManager.java:52)
Comment 1 _ gordonp 2006-10-28 01:18:34 UTC
Assigning to Vladimir Voskresensky because its too close to code freeze to
leave unassigned P1s. Feel free to discuss with Vladimir K and reassign if
desired (currently, you have fewer bugs that Vladimir and Alexander).
Comment 2 Vladimir Voskresensky 2006-10-28 09:10:27 UTC
we need to disable printing stack trace in case of expected exceptions. Use
logger  to inform about problem, but do not print stack trace.
Comment 3 Vladimir Voskresensky 2006-10-28 09:24:12 UTC
fixed

cvs log:
Checking in CacheManagerImpl.java;
/cvs/cnd/modelimpl/src/org/netbeans/modules/cnd/modelimpl/cache/impl/Attic/CacheManagerImpl.java,v
 <--  CacheManagerImpl.java
new revision: 1.1.2.12; previous revision: 1.1.2.11
done
Checking in FileCacheSyncBridge.java;
/cvs/cnd/modelimpl/src/org/netbeans/modules/cnd/modelimpl/cache/impl/Attic/FileCacheSyncBridge.java,v
 <--  FileCacheSyncBridge.java
new revision: 1.1.2.9; previous revision: 1.1.2.8
done