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 56716 - Exception on JSTLExample project creation
Summary: Exception on JSTLExample project creation
Status: CLOSED DUPLICATE of bug 49497
Alias: None
Product: editor
Classification: Unclassified
Component: -- Other -- (show other bugs)
Version: 4.x
Hardware: All All
: P3 blocker (vote)
Assignee: issues@editor
URL:
Keywords: RANDOM
Depends on:
Blocks:
 
Reported: 2005-03-21 10:05 UTC by zikmund
Modified: 2007-11-05 13:44 UTC (History)
0 users

See Also:
Issue Type: DEFECT
Exception Reporter:


Attachments
java.lang.reflect.InvocationTargetException at java.awt.EventQueue.invokeAndWait(EventQueue.java:851) (1.93 KB, text/plain)
2005-03-21 10:06 UTC, zikmund
Details

Note You need to log in before you can comment on or make changes to this bug.
Description zikmund 2005-03-21 10:05:32 UTC
Build 200503201900

I have (most probably) created JSTLExample project (or other project from
Samples/Web) and this exception appeared - see attachment.
I haven't edited any of project's JSPs.
Comment 1 zikmund 2005-03-21 10:06:20 UTC
Created attachment 20978 [details]
java.lang.reflect.InvocationTargetException at java.awt.EventQueue.invokeAndWait(EventQueue.java:851)
Comment 2 Marek Fukala 2005-03-21 10:34:10 UTC
Hmmm, this is very strange. 

Calling 

FoldHierarchy fh = ... ;
fh.getComponent().getDocument();

returned org.openide.text.FilterDocument instead of BaseDocument.

So following code in updateFolds() method causes the CCE:

JspFoldManager:368: ((AbstractDocument)getDocument()).readLock();

I have no idea why this happens and AFAIK have no possibility to handle it
somehow in my code. Moreover the problem seems to be rare, so I cannot reproduce it.

Rassigning to editor module...
Comment 3 Martin Roskanin 2005-03-21 13:20:01 UTC
Already known problem. Thanks.

*** This issue has been marked as a duplicate of 49497 ***
Comment 4 zikmund 2005-03-31 16:58:21 UTC
Verified as duplicate.