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 36034 - Null Pointer Exception when deleting unsaved and open JSP
Summary: Null Pointer Exception when deleting unsaved and open JSP
Status: VERIFIED WONTFIX
Alias: None
Product: javaee
Classification: Unclassified
Component: Debugger (show other bugs)
Version: 3.x
Hardware: PC Windows ME/2000
: P4 blocker (vote)
Assignee: Martin Grebac
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2003-09-11 02:13 UTC by Matthew Stevens
Modified: 2004-02-04 16:28 UTC (History)
1 user (show)

See Also:
Issue Type: DEFECT
Exception Reporter:


Attachments
Stack Trace for NPE (4.93 KB, text/plain)
2003-09-11 02:14 UTC, Matthew Stevens
Details
ide.log - with other exceptions in it (37.49 KB, text/plain)
2003-09-11 09:12 UTC, Martin Grebac
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Matthew Stevens 2003-09-11 02:13:55 UTC
Create or mount a web app.  create new JSP.  Open
it, edit it. DO NOT SAVE.  delete it..see stack
trace attached for NPE
Comment 1 Matthew Stevens 2003-09-11 02:14:53 UTC
Created attachment 11589 [details]
Stack Trace for NPE
Comment 2 Matthew Stevens 2003-09-11 02:16:31 UTC
This problem is also seen in the S1AF module because we derive from
JspIEDataObject
Comment 3 Petr Jiricka 2003-09-11 08:53:28 UTC
The exception is coming from the S1AS plugin. CC'ing Ludo, who is
responsible for the plugin. Ludo, any ideas?

Comment 4 Martin Grebac 2003-09-11 09:10:39 UTC
No, this is reproducible with Tomcat only.
The problem is somewhere in compilationcontext code, I believe. I'm
looking at this.
Comment 5 Martin Grebac 2003-09-11 09:12:04 UTC
Created attachment 11590 [details]
ide.log - with other exceptions in it
Comment 6 Martin Grebac 2003-09-11 09:12:58 UTC
There are more exceptions coming before the NPE appears -> see
attached log file.
Comment 7 Martin Grebac 2003-09-11 10:48:02 UTC
NPE fixed in trunk:
http://web.netbeans.org/source/browse/web/core/src/org/netbeans/modules/web/core/jsploader/CompileData.java.diff?r1=1.4&r2=1.5

however, there are still the other informational exceptions in the log
 - therefore leaving this open, but changing priority to P4.

Comment 8 Martin Grebac 2004-01-13 20:36:55 UTC
no compilation in 3.6
Comment 9 L Martinek 2004-02-04 16:28:26 UTC
verified