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 135163

Summary: NPE in SourceForBinaryImpl
Product: apisupport Reporter: _ zeled <zeled>
Component: ProjectAssignee: Jesse Glick <jglick>
Status: RESOLVED FIXED    
Severity: blocker    
Priority: P4    
Version: 6.x   
Hardware: All   
OS: All   
Issue Type: DEFECT Exception Reporter:
Attachments: proposed fix

Description _ zeled 2008-05-15 16:56:10 UTC
If a <built-to> item of an extra compilation unit is pointing to a single file instead of a directory or an archive
file, NetBeans displays lots of NPE when scanning and compiling project dependencies of NetBeans modules.
Even if its a misusage of <built-to> items, NetBeans should not fail to scan and compile project dependencies. It is
better to ignore error or just write a trace to message.log.
Comment 1 _ zeled 2008-05-15 16:57:47 UTC
Created attachment 61438 [details]
proposed fix
Comment 2 Jesse Glick 2008-05-15 17:47:08 UTC
Accepted with modifications to log message, thanks. core-main #94663e8fc0cd
Comment 3 Quality Engineering 2008-05-20 05:10:56 UTC
Integrated into 'main-golden', available in NB_Trunk_Production #206 build
Changeset: http://hg.netbeans.org/main/rev/94663e8fc0cd
User: Jesse Glick <jglick@netbeans.org>
Log: #135163: behave more robustly when a <built-to> entry is not a dir or JAR.