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 32895 - NPE form ParseSourceRequest.getBuildTarget
Summary: NPE form ParseSourceRequest.getBuildTarget
Status: CLOSED DUPLICATE of bug 28151
Alias: None
Product: java
Classification: Unclassified
Component: Unsupported (show other bugs)
Version: 3.x
Hardware: PC Windows ME/2000
: P1 blocker (vote)
Assignee: Tomas Hurka
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2003-04-15 10:06 UTC by Jan Becicka
Modified: 2007-09-26 09:14 UTC (History)
1 user (show)

See Also:
Issue Type: DEFECT
Exception Reporter:


Attachments
NPE (1.41 KB, text/plain)
2003-04-15 10:07 UTC, Jan Becicka
Details
Forgotten from merge (3.16 KB, patch)
2003-04-15 11:23 UTC, Svata Dedic
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Jan Becicka 2003-04-15 10:06:42 UTC
Exception was thrown when I started to edit java file.
Comment 1 Jan Becicka 2003-04-15 10:07:18 UTC
Created attachment 9949 [details]
NPE
Comment 2 Jan Becicka 2003-04-15 10:13:45 UTC
I'm unable to compile -> P1
Comment 3 Vitezslav Stejskal 2003-04-15 10:48:47 UTC
Tomasi, could you please look at it. Thanks.
Comment 4 Svata Dedic 2003-04-15 11:23:59 UTC
Created attachment 9953 [details]
Forgotten from merge
Comment 5 Svata Dedic 2003-04-15 11:25:11 UTC
I forgot to merge changes to this file. Please see the attached diff; note 
that there were some changes made (by Vita ?) from 7th April. I can adapt 
the diff to fit the current state. 
 
Comment 6 Svata Dedic 2003-04-15 11:48:19 UTC
Honzo -- what project is it ? The sample one or some other you have 
created from template ? If it is a new project, which template was used to 
create it ? 
 
[for some reasons, Lookup.lookup(JavaProject.class) returned null on the 
project's Lookup 
Comment 7 Svata Dedic 2003-04-15 11:50:04 UTC
(and you may safely disregard the patch I attached, I think, the problem 
seems to lie elsewhere) 
Comment 8 Jan Becicka 2003-04-15 12:17:37 UTC
I used template "New Java Application from Existing Sources".
I think :o)
Comment 9 Vitezslav Stejskal 2003-04-15 13:11:37 UTC
Hmm, couldn't it be the same problem as issue #28151. The symptomp is
that the NPE can be reproduced only when you close and reopen the
project and then do 'something' (e.g. edit the file in this case).
Comment 10 Tomas Zezula 2003-04-18 15:42:20 UTC
The issue 28151 is a actual reason of this.

*** This issue has been marked as a duplicate of 28151 ***
Comment 11 Jan Becicka 2003-11-25 14:02:26 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 12 Jan Becicka 2003-11-25 14:11:20 UTC
---> CLOSED