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 168900 - Invoking format took 16,590 ms.
Summary: Invoking format took 16,590 ms.
Status: VERIFIED FIXED
Alias: None
Product: javaee
Classification: Unclassified
Component: JSP (show other bugs)
Version: 6.x
Hardware: All All
: P2 blocker (vote)
Assignee: Jindrich Sedek
URL: http://statistics.netbeans.org/except...
Keywords:
Depends on:
Blocks:
 
Reported: 2009-07-21 15:41 UTC by Jindrich Sedek
Modified: 2009-10-01 18:28 UTC (History)
9 users (show)

See Also:
Issue Type: DEFECT
Exception Reporter: 153987


Attachments
nps snapshot (15.42 KB, bin/nps)
2009-07-21 15:41 UTC, Jindrich Sedek
Details
nps snapshot (15.43 KB, bin/nps)
2009-07-23 12:57 UTC, kawazu428
Details
nps snapshot (11.03 KB, bin/nps)
2009-07-23 13:16 UTC, kawazu428
Details
nps snapshot (7.19 KB, bin/nps)
2009-07-23 13:22 UTC, kawazu428
Details
nps snapshot (37.96 KB, bin/nps)
2009-08-14 08:04 UTC, Exceptions Reporter
Details
nps snapshot (19.95 KB, bin/nps)
2009-08-14 08:33 UTC, Exceptions Reporter
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Jindrich Sedek 2009-07-21 15:41:10 UTC
Build: NetBeans IDE Dev (Build 200907210201)
VM: Java HotSpot(TM) Client VM, 11.3-b02, Java(TM) SE Runtime Environment, 1.6.0_13-b03
OS: SunOS, 5.11, x86

User Comments:
jsedek: [web/jsp editor]
reformating JSF page
jsf indenter is probably blocked after calling Utilitis.acquireParserLock and it wait for 
Parsing & Indexing Loop that is waiting for URL connection open by TldLibrary parser


Maximal alredy reported slowness was 16590 ms, average is 16590
Comment 1 Jindrich Sedek 2009-07-21 15:41:15 UTC
Created attachment 85019 [details]
nps snapshot
Comment 2 Marek Fukala 2009-07-21 16:18:17 UTC
yep, there is a xml catalog missing when the TLDs are parsed so some of the resources are downloaded from internet.

Another issue is that the parsing of the taglibs shouln't block the parsing infrastructure (call from the
HtmlSourceTask) in web.jsf module.

I may implement the querying of the TLD data via indexing which would help to solve this as well since now the libraries
are scanned after each ide start again.
Comment 3 Marek Fukala 2009-07-22 10:47:47 UTC
I have create the EntityResolver so the resource are not usually downloaded.
Comment 4 kawazu428 2009-07-23 12:57:25 UTC
Build: NetBeans IDE Dev (Build 200907210201)
VM: Java HotSpot(TM) Server VM, 14.0-b16, Java(TM) SE Runtime Environment, 1.6.0_14-b08
OS: Linux, 2.6.28-13-generic, i386

User Comments: 
used code formatting in a small java class
Maximal alredy reported slowness was 16590 ms, average is 10428
Comment 5 kawazu428 2009-07-23 12:57:29 UTC
Created attachment 85124 [details]
nps snapshot
Comment 6 kawazu428 2009-07-23 13:16:29 UTC
Build: NetBeans IDE Dev (Build 200907210201)
VM: Java HotSpot(TM) Server VM, 14.0-b16, Java(TM) SE Runtime Environment, 1.6.0_14-b08
OS: Linux, 2.6.28-13-generic, i386

User Comments: 
run a junit test and switched through the output windows
Maximal alredy reported slowness was 16590 ms, average is 8026
Comment 7 kawazu428 2009-07-23 13:16:38 UTC
Created attachment 85129 [details]
nps snapshot
Comment 8 kawazu428 2009-07-23 13:22:04 UTC
Build: NetBeans IDE Dev (Build 200907210201)
VM: Java HotSpot(TM) Server VM, 14.0-b16, Java(TM) SE Runtime Environment, 1.6.0_14-b08
OS: Linux, 2.6.28-13-generic, i386

User Comments: 
ran a junit test.
Maximal alredy reported slowness was 16590 ms, average is 6931
Comment 9 kawazu428 2009-07-23 13:22:16 UTC
Created attachment 85131 [details]
nps snapshot
Comment 10 Jindrich Sedek 2009-07-23 15:26:44 UTC
Latest snapshost seems to be caused by different issue, I've already fixed auto reporter.
Comment 11 Exceptions Reporter 2009-08-13 13:03:21 UTC
This issue already has 5 duplicates 
see http://statistics.netbeans.org/exceptions/detail.do?id=153987
Comment 12 Marek Fukala 2009-08-13 13:15:47 UTC
Jindro, please manage this issue. The last 4 reports belongs to java.
Comment 13 Exceptions Reporter 2009-08-14 08:04:45 UTC
Build: NetBeans IDE Dev (Build 200908022240)
VM: Java HotSpot(TM) Client VM, 14.0-b16, Java(TM) SE Runtime Environment, 1.6.0_14-b08
OS: Windows Vista, 6.0, x86

User Comments: 
Cutting and pasting text in the Editor
Maximum slowness yet reported was 16590 ms, average is 7664
Comment 14 Exceptions Reporter 2009-08-14 08:04:51 UTC
Created attachment 86229 [details]
nps snapshot
Comment 15 Exceptions Reporter 2009-08-14 08:04:57 UTC
This issue already has 6 duplicates 
see http://statistics.netbeans.org/exceptions/detail.do?id=153987
Comment 16 Exceptions Reporter 2009-08-14 08:33:46 UTC
Build: NetBeans IDE Dev (Build 200908022240)
VM: Java HotSpot(TM) Client VM, 14.0-b16, Java(TM) SE Runtime Environment, 1.6.0_14-b08
OS: Windows Vista, 6.0, x86

User Comments: 
Editing code in the Editor
Maximum slowness yet reported was 16590 ms, average is 7595
Comment 17 Exceptions Reporter 2009-08-14 08:33:49 UTC
Created attachment 86231 [details]
nps snapshot
Comment 18 Exceptions Reporter 2009-08-14 08:33:56 UTC
This issue already has 7 duplicates 
see http://statistics.netbeans.org/exceptions/detail.do?id=153987
Comment 19 Exceptions Reporter 2009-08-26 05:58:29 UTC
This issue already has 12 duplicates 
see http://statistics.netbeans.org/exceptions/detail.do?id=153987
Comment 20 Exceptions Reporter 2009-08-26 07:40:42 UTC
This issue already has 13 duplicates 
see http://statistics.netbeans.org/exceptions/detail.do?id=153987
Comment 21 Exceptions Reporter 2009-08-27 04:53:19 UTC
This issue already has 14 duplicates 
see http://statistics.netbeans.org/exceptions/detail.do?id=153987
Comment 22 Petr Jiricka 2009-09-14 10:04:57 UTC
The first problem was fixed: http://hg.netbeans.org/web-main/rev/5e68626fa2c0

The other reports are false duplicates, so I am marking this as fixed so a new bug is reported for the other duplicates.
Comment 23 Jindrich Sedek 2009-09-23 14:30:09 UTC
verified.
NetBeans IDE Dev (Build 200909221401)