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 45649 - Open JSP in opened Ant project throws NPE
Summary: Open JSP in opened Ant project throws NPE
Status: CLOSED FIXED
Alias: None
Product: javaee
Classification: Unclassified
Component: Web Project (show other bugs)
Version: 4.x
Hardware: All All
: P2 blocker (vote)
Assignee: Pavel Buzek
URL:
Keywords:
: 45391 (view as bug list)
Depends on:
Blocks:
 
Reported: 2004-06-28 15:58 UTC by zikmund
Modified: 2006-03-24 10:34 UTC (History)
0 users

See Also:
Issue Type: DEFECT
Exception Reporter:


Attachments
NullPointerException (3.08 KB, text/plain)
2004-06-28 15:59 UTC, zikmund
Details

Note You need to log in before you can comment on or make changes to this bug.
Description zikmund 2004-06-28 15:58:51 UTC
Build 200406271800

1) Open an existing Web ant project (created and
closed)
2) Open (double click) a JSP
3) NPE -- see attachment
Comment 1 zikmund 2004-06-28 15:59:21 UTC
Created attachment 16045 [details]
NullPointerException
Comment 2 Pavel Buzek 2004-06-30 16:18:49 UTC
In fact you have to restart the IDE to get this exception.
The problem was not in JSP but in reading project.xml (reading is done
lazilly and was triggered by JSP editor trying to access informaiotn
about web module). Empty context-path tag was causing the NPE.
Comment 3 zikmund 2004-07-01 09:18:09 UTC
Verified.
Comment 4 Pavel Buzek 2004-10-06 00:37:12 UTC
*** Issue 45391 has been marked as a duplicate of this issue. ***