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 33026 - NPE while running project with JAR File build target as default one
Summary: NPE while running project with JAR File build target as default one
Status: CLOSED FIXED
Alias: None
Product: projects
Classification: Unclassified
Component: Generic Infrastructure (show other bugs)
Version: 3.x
Hardware: PC All
: P1 blocker (vote)
Assignee: Vitezslav Stejskal
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2003-04-17 16:39 UTC by David Kaspar
Modified: 2003-12-11 14:14 UTC (History)
0 users

See Also:
Issue Type: DEFECT
Exception Reporter:


Attachments
NPE (2.18 KB, text/plain)
2003-04-17 16:39 UTC, David Kaspar
Details

Note You need to log in before you can comment on or make changes to this bug.
Description David Kaspar 2003-04-17 16:39:03 UTC
How to reproduce:
1) Have a sample project.
2) Add new JAR File build target.
3) Set it as default.
4) Execute project.
5) ERROR - NPE is shown instead of executing
project. - see attachment
Comment 1 David Kaspar 2003-04-17 16:39:32 UTC
Created attachment 10004 [details]
NPE
Comment 2 Ondrej Rypacek 2003-04-18 17:25:59 UTC
org.netbeans.modules.java.classpath.DefaultPathProvider.createGraph(DefaultPathProvider.java:405)
 passes NULL for Configuration into my BTD.getDependency().

As null is invalid at this place the bug is in projects infra.

Comment 3 Vitezslav Stejskal 2003-04-20 19:01:16 UTC
Well, the classpath API doesn't support configuration yet (there is
some task filed to implement it, but I don't have the number handy).
Anyway the path-builder shouldn't use the null, but the active
configuration of the project as a temporary solution.

org/netbeans/modules/java/classpath/Attic/DefaultPathProvider.java new
revision: 1.1.4.16;
Comment 4 Jan Becicka 2003-11-25 14:04:06 UTC
As described in
http://www.netbeans.org/servlets/ReadMsg?msgId=619519&listName=nbdiscuss the
current work on projects prototype has been stopped.

Marking issue as VERIFIED --->
Comment 5 Jan Becicka 2003-11-25 14:13:15 UTC
---> CLOSED