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 60058 - Help window for end tags displays "null"
Summary: Help window for end tags displays "null"
Status: VERIFIED FIXED
Alias: None
Product: javaee
Classification: Unclassified
Component: Code (show other bugs)
Version: 5.x
Hardware: PC Windows XP
: P3 blocker (vote)
Assignee: Marek Fukala
URL:
Keywords:
: 60063 (view as bug list)
Depends on:
Blocks:
 
Reported: 2005-06-15 14:32 UTC by Jiri Kovalsky
Modified: 2005-12-20 12:17 UTC (History)
0 users

See Also:
Issue Type: DEFECT
Exception Reporter:


Attachments

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

Description:
============
Help window for closing HTML tags does not help much because it displays only
"null".

Steps to reproduce:
===================
1. Create new sample web application.
2. Set cursor at position 19:9 in index.jsp i.e.: </he|ad>
3. Press CTRL+Space to invoke code completion.
4. One item </head> will show up.
5. Now press CTRL+Shift+Space to invoke help window.
6. It will show up but will contain only "null".
Comment 1 Jiri Kovalsky 2005-06-15 14:41:48 UTC
*** Issue 60063 has been marked as a duplicate of this issue. ***
Comment 2 Marek Fukala 2005-10-10 16:02:53 UTC
fixed

Checking in
html/editor/lib/src/org/netbeans/editor/ext/html/HTMLCompletionQuery.java;
/cvs/html/editor/lib/src/org/netbeans/editor/ext/html/HTMLCompletionQuery.java,v
 <--  HTMLCompletionQuery.java
new revision: 1.20; previous revision: 1.19
done
Checking in html/editor/lib/src/org/netbeans/editor/ext/html/HTMLSyntaxSupport.java;
/cvs/html/editor/lib/src/org/netbeans/editor/ext/html/HTMLSyntaxSupport.java,v 
<--  HTMLSyntaxSupport.java
new revision: 1.22; previous revision: 1.21
done
Comment 3 Jiri Kovalsky 2005-11-04 14:02:03 UTC
It works fine for HTML end tags but does not for taglib custom tags. Please try
the following steps to reproduce:

1. Create new sample web application project.
2. Using "Libraries" node add JSTL 1.1.
3. Uncomment <%@taglib directive at line 9 and also remove comment tags at lines
28 and 33.
4. Delete c:if> at line 32.
5. Set cursor at position 32:7 i.e. </| and press CTRL+Space.
6. Code completion shows up but help window is empty.
7. Press Down arrow and Up arrow.
8. Note that help window contain help for <body> tag although </c:if> is selected.

Trying to verify in development build #200511031900 of NetBeans 5.0.
Comment 4 Marek Fukala 2005-11-04 14:13:49 UTC
Lets fix it also for JSPs. The original issue was about HTML... ok ok ... I am
fixing... :-)
Comment 5 Marek Fukala 2005-11-04 14:56:16 UTC
fixed for JSP end tags

Checking in
web/jspsyntax/src/org/netbeans/modules/web/core/syntax/JspSyntaxSupport.java;
/cvs/web/jspsyntax/src/org/netbeans/modules/web/core/syntax/JspSyntaxSupport.java,v
 <--  JspSyntaxSupport.java
new revision: 1.76; previous revision: 1.75
done
Checking in
web/jspsyntax/src/org/netbeans/modules/web/core/syntax/completion/JspCompletionItem.java;
/cvs/web/jspsyntax/src/org/netbeans/modules/web/core/syntax/completion/JspCompletionItem.java,v
 <--  JspCompletionItem.java
new revision: 1.9; previous revision: 1.8
done
Comment 6 Jiri Kovalsky 2005-12-20 12:17:56 UTC
Verifying in development build #200512192030 of NetBeans 5.0.