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 49300 - Custom tags coloring and completion sometimes doesn't work when you leave a JSP opened in editor and restart IDE
Summary: Custom tags coloring and completion sometimes doesn't work when you leave a J...
Status: CLOSED WORKSFORME
Alias: None
Product: javaee
Classification: Unclassified
Component: JSP (show other bugs)
Version: 4.x
Hardware: PC All
: P3 blocker (vote)
Assignee: Marek Fukala
URL:
Keywords: RANDOM
Depends on:
Blocks:
 
Reported: 2004-09-20 17:09 UTC by Marek Fukala
Modified: 2006-03-24 10:13 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 Marek Fukala 2004-09-20 17:09:40 UTC
[20040920]
To reproduce:
1) have a WP with JSTL added
2) create a JSP and add e.g. core taglib from JSTL
3) add a tag from core e.g. <out value="hehe"/>
=> the tag is colored right and CC works
4) leave the JSP opened in editor
5) restart IDE
=> sometimes (cannot specify when) the page is not
parsed and so the coloring and code completion
doesn't work.

workaround: close and open the JSP file.

This may be casued by the first commit for Issue
#45934:

BaseJspEditorSupport.java - new revision: 1.38;
previous revision: 1.37
TagLibParseSupport.java - new revision: 1.27;
previous revision: 1.26
Comment 1 Marek Fukala 2004-09-20 17:23:00 UTC
I have just looked at the mentioned commit and realized that the
problem should not be caused by it. 
Since EditorCookie.Observable.PROP_OPENED_PANES property change is
fired even when the editor window is not opened directly by an user
(during the startup) the code I suspected works fine.
Comment 2 Marek Fukala 2004-10-04 13:28:05 UTC
I added some debug information for this issue - a stacktrace should be
displayed together with a message when the problematic situation arises. 

If you encounter this situation please attach the provided stacktrace
to this issue. I will help me to investigate where the problem is.
Comment 3 Martin Schovanek 2004-10-06 14:28:44 UTC
After discussion changed to P3. There is no reproducible case for now.
Comment 4 Marek Fukala 2004-10-27 10:39:11 UTC
noone from QE is able to reproduce and there are also no complains
from external users. For now I am leaving this issue opened and
setting TM to next release.
Comment 5 Marek Fukala 2005-02-09 16:08:02 UTC
This problem hasn't been seen for a long time => closing. If you
encountered the problem please reopen this issue and add some
description about situation when it happend.
Comment 6 Jiri Kovalsky 2006-02-28 09:32:51 UTC
Works fine for me too in FCS build #200601251500 of NetBeans 5.0.