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 56940 - JSPFolding - workaround for FilterDocument instead of BaseDocument
Summary: JSPFolding - workaround for FilterDocument instead of BaseDocument
Status: CLOSED FIXED
Alias: None
Product: javaee
Classification: Unclassified
Component: JSP (show other bugs)
Version: 4.x
Hardware: All All
: P3 blocker (vote)
Assignee: Marek Fukala
URL:
Keywords:
Depends on: 49497
Blocks:
  Show dependency tree
 
Reported: 2005-03-24 15:39 UTC by zikmund
Modified: 2006-03-24 12:58 UTC (History)
0 users

See Also:
Issue Type: DEFECT
Exception Reporter:


Attachments
java.lang.reflect.InvocationTargetException at java.awt.EventQueue.invokeAndWait(EventQueue.java:851) (2.07 KB, text/plain)
2005-03-24 15:40 UTC, zikmund
Details

Note You need to log in before you can comment on or make changes to this bug.
Description zikmund 2005-03-24 15:39:18 UTC
Build 20050324-0408

Main problem is in issue 49497.
We could do a workaround in JSP folding if issue 49497 will not be fixed in 4.1.

See attached exception and duplicate issue 56716.
Comment 1 zikmund 2005-03-24 15:40:27 UTC
Created attachment 21107 [details]
java.lang.reflect.InvocationTargetException at java.awt.EventQueue.invokeAndWait(EventQueue.java:851)
Comment 2 Marek Fukala 2005-03-24 16:00:18 UTC
OK - I will do a workaround fix on our side if the Issue #49497 is not fixed
until (HR day - 1).
Comment 3 Marek Fukala 2005-03-31 12:57:16 UTC
"fixed". It is absolutelly terrible hack. See diff if you want to feel sick. But
AFAIK there is no other way on our side :-(. I will remove the hack when Issue
#49497 is fixed.

The diff:
http://web.netbeans.org/source/browse/web/jspsyntax/src/org/netbeans/modules/web/core/syntax/folding/JspFoldManager.java?r1=1.30&r2=1.31

Checking in JspFoldManager.java;
/cvs/web/jspsyntax/src/org/netbeans/modules/web/core/syntax/folding/JspFoldManager.java,v
 <--  JspFoldManager.java
new revision: 1.31; previous revision: 1.30
done
Checking in JspFoldManager.java;
/cvs/web/jspsyntax/src/org/netbeans/modules/web/core/syntax/folding/JspFoldManager.java,v
 <--  JspFoldManager.java
new revision: 1.31; previous revision: 1.30
done
Comment 4 zikmund 2005-05-25 15:49:16 UTC
Verified.