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 60018 - NPE when CC is called on JSP comment open tag
Summary: NPE when CC is called on JSP comment open tag
Status: VERIFIED FIXED
Alias: None
Product: javaee
Classification: Unclassified
Component: JSP (show other bugs)
Version: 5.x
Hardware: PC Windows XP
: P3 blocker (vote)
Assignee: Marek Fukala
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2005-06-15 12:06 UTC by Jiri Kovalsky
Modified: 2005-09-05 10:15 UTC (History)
0 users

See Also:
Issue Type: DEFECT
Exception Reporter:


Attachments
NPE thrown when CC was invoked on JSP comment open tag. (684 bytes, text/plain)
2005-06-15 12:08 UTC, Jiri Kovalsky
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Jiri Kovalsky 2005-06-15 12:06:31 UTC
Development build #200506142000 of NetBeans 4.2
Windows XP, JDK 1.5.0_03 build #06

Description:
============
Each attempt to invoke code completion on JSP comment open tag throws below
attached exception.

Steps to reproduce:
===================
1. Create new sample web application.
2. Set you cursor at position 3:3 in index.jsp i.e.: <%|--
3. Press CTRL+Space. NPE will be thrown.
Comment 1 Jiri Kovalsky 2005-06-15 12:08:33 UTC
Created attachment 22694 [details]
NPE thrown when CC was invoked on JSP comment open tag.
Comment 2 Marek Fukala 2005-06-20 10:56:21 UTC
fixed 

Checking in JspCompletionQuery.java;
/cvs/web/jspsyntax/src/org/netbeans/modules/web/core/syntax/completion/JspCompletionQuery.java,v
 <--  JspCompletionQuery.java
new revision: 1.4; previous revision: 1.3
done
Comment 3 Jiri Kovalsky 2005-06-21 07:32:36 UTC
Verified in development build #200506201800 of NetBeans 4.2.