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 46047 - NPE at .jasper.compiler.Mark.getURL():213
Summary: NPE at .jasper.compiler.Mark.getURL():213
Status: CLOSED FIXED
Alias: None
Product: javaee
Classification: Unclassified
Component: JSP (show other bugs)
Version: 4.x
Hardware: PC Linux
: P2 blocker (vote)
Assignee: Martin Grebac
URL:
Keywords: TOMCAT
Depends on:
Blocks:
 
Reported: 2004-07-12 15:42 UTC by Martin Schovanek
Modified: 2006-03-24 10:16 UTC (History)
0 users

See Also:
Issue Type: DEFECT
Exception Reporter:


Attachments
NPE (947 bytes, text/plain)
2004-07-12 15:42 UTC, Martin Schovanek
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Martin Schovanek 2004-07-12 15:42:23 UTC
[#200407111800, jdk1.5.0-beta3]

Steps to reproduce:
-------------------
1) create a .jsp like:
<jspX:root xmlns:jsp="..."/>
2) compile it [F9]

IDE throws:
java.lang.NullPointerException
	at
org.apache.jasper.compiler.Mark.getURL(Mark.java:213)
Comment 1 Martin Schovanek 2004-07-12 15:42:57 UTC
Created attachment 16204 [details]
NPE
Comment 2 Martin Schovanek 2004-07-12 15:58:24 UTC
I got this NPE for several other errors e.g. missing or invalid
'version' attribute in the <jsp:root element.
Comment 3 Martin Schovanek 2004-07-13 10:23:58 UTC
Sorry for typo in the step 1) should be 'create a .jspx (XML syntax)...'

Reproducible on jdk1.5.0 and jdk1.4.2_04.
Comment 4 Martin Grebac 2004-07-13 14:22:38 UTC
This is a Jasper bug. See:
http://nagoya.apache.org/bugzilla/show_bug.cgi?id=30073
Comment 5 Martin Grebac 2004-07-22 15:21:50 UTC
bug is not fixed in Tomcat 5.0.27
Comment 6 Martin Grebac 2004-08-31 16:20:08 UTC
Fixed in trunk by Tomcat 5.0.28 compiler integration.
Comment 7 Martin Schovanek 2004-09-07 14:32:33 UTC
v