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.
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.
Created attachment 20978 [details] java.lang.reflect.InvocationTargetException at java.awt.EventQueue.invokeAndWait(EventQueue.java:851)
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...
Already known problem. Thanks. *** This issue has been marked as a duplicate of 49497 ***
Verified as duplicate.