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 - NPE in SourceForBinaryImpl
Summary: NPE in SourceForBinaryImpl
Status: RESOLVED FIXED
Alias: None
Product: apisupport
Classification: Unclassified
Component: Project (show other bugs)
Version: 6.x
Hardware: All All
: P4 blocker (vote)
Assignee: Jesse Glick
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2008-05-15 16:56 UTC by _ zeled
Modified: 2008-05-20 05:10 UTC (History)
0 users

See Also:
Issue Type: DEFECT
Exception Reporter:


Attachments
proposed fix (1.21 KB, text/plain)
2008-05-15 16:57 UTC, _ zeled
Details

Note You need to log in before you can comment on or make changes to this bug.
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.